diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..7ad1c14 Binary files /dev/null and b/bun.lockb differ diff --git a/dist/css/tool.css b/dist/css/tool.css index 61d3a7d..7988e46 100644 --- a/dist/css/tool.css +++ b/dist/css/tool.css @@ -1 +1 @@ -/*! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border-color:rgba(var(--colors-gray-200));border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Nunito Sans,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:rgba(var(--colors-gray-400));opacity:1}input::placeholder,textarea::placeholder{color:rgba(var(--colors-gray-400));opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}:root{--colors-primary-50:240,249,255;--colors-primary-100:224,242,254;--colors-primary-200:186,230,253;--colors-primary-300:125,211,252;--colors-primary-400:56,189,248;--colors-primary-500:14,165,233;--colors-primary-600:2,132,199;--colors-primary-700:3,105,161;--colors-primary-800:7,89,133;--colors-primary-900:12,74,110;--colors-primary-950:8,47,73;--colors-inherit:inherit;--colors-current:currentColor;--colors-transparent:transparent;--colors-black:0,0,0;--colors-white:255,255,255;--colors-slate-50:248,250,252;--colors-slate-100:241,245,249;--colors-slate-200:226,232,240;--colors-slate-300:203,213,225;--colors-slate-400:148,163,184;--colors-slate-500:100,116,139;--colors-slate-600:71,85,105;--colors-slate-700:51,65,85;--colors-slate-800:30,41,59;--colors-slate-900:15,23,42;--colors-slate-950:2,6,23;--colors-gray-50:248,250,252;--colors-gray-100:241,245,249;--colors-gray-200:226,232,240;--colors-gray-300:203,213,225;--colors-gray-400:148,163,184;--colors-gray-500:100,116,139;--colors-gray-600:71,85,105;--colors-gray-700:51,65,85;--colors-gray-800:30,41,59;--colors-gray-900:15,23,42;--colors-gray-950:2,6,23;--colors-zinc-50:250,250,250;--colors-zinc-100:244,244,245;--colors-zinc-200:228,228,231;--colors-zinc-300:212,212,216;--colors-zinc-400:161,161,170;--colors-zinc-500:113,113,122;--colors-zinc-600:82,82,91;--colors-zinc-700:63,63,70;--colors-zinc-800:39,39,42;--colors-zinc-900:24,24,27;--colors-zinc-950:9,9,11;--colors-neutral-50:250,250,250;--colors-neutral-100:245,245,245;--colors-neutral-200:229,229,229;--colors-neutral-300:212,212,212;--colors-neutral-400:163,163,163;--colors-neutral-500:115,115,115;--colors-neutral-600:82,82,82;--colors-neutral-700:64,64,64;--colors-neutral-800:38,38,38;--colors-neutral-900:23,23,23;--colors-neutral-950:10,10,10;--colors-stone-50:250,250,249;--colors-stone-100:245,245,244;--colors-stone-200:231,229,228;--colors-stone-300:214,211,209;--colors-stone-400:168,162,158;--colors-stone-500:120,113,108;--colors-stone-600:87,83,78;--colors-stone-700:68,64,60;--colors-stone-800:41,37,36;--colors-stone-900:28,25,23;--colors-stone-950:12,10,9;--colors-red-50:254,242,242;--colors-red-100:254,226,226;--colors-red-200:254,202,202;--colors-red-300:252,165,165;--colors-red-400:248,113,113;--colors-red-500:239,68,68;--colors-red-600:220,38,38;--colors-red-700:185,28,28;--colors-red-800:153,27,27;--colors-red-900:127,29,29;--colors-red-950:69,10,10;--colors-orange-50:255,247,237;--colors-orange-100:255,237,213;--colors-orange-200:254,215,170;--colors-orange-300:253,186,116;--colors-orange-400:251,146,60;--colors-orange-500:249,115,22;--colors-orange-600:234,88,12;--colors-orange-700:194,65,12;--colors-orange-800:154,52,18;--colors-orange-900:124,45,18;--colors-orange-950:67,20,7;--colors-amber-50:255,251,235;--colors-amber-100:254,243,199;--colors-amber-200:253,230,138;--colors-amber-300:252,211,77;--colors-amber-400:251,191,36;--colors-amber-500:245,158,11;--colors-amber-600:217,119,6;--colors-amber-700:180,83,9;--colors-amber-800:146,64,14;--colors-amber-900:120,53,15;--colors-amber-950:69,26,3;--colors-yellow-50:254,252,232;--colors-yellow-100:254,249,195;--colors-yellow-200:254,240,138;--colors-yellow-300:253,224,71;--colors-yellow-400:250,204,21;--colors-yellow-500:234,179,8;--colors-yellow-600:202,138,4;--colors-yellow-700:161,98,7;--colors-yellow-800:133,77,14;--colors-yellow-900:113,63,18;--colors-yellow-950:66,32,6;--colors-lime-50:247,254,231;--colors-lime-100:236,252,203;--colors-lime-200:217,249,157;--colors-lime-300:190,242,100;--colors-lime-400:163,230,53;--colors-lime-500:132,204,22;--colors-lime-600:101,163,13;--colors-lime-700:77,124,15;--colors-lime-800:63,98,18;--colors-lime-900:54,83,20;--colors-lime-950:26,46,5;--colors-green-50:240,253,244;--colors-green-100:220,252,231;--colors-green-200:187,247,208;--colors-green-300:134,239,172;--colors-green-400:74,222,128;--colors-green-500:34,197,94;--colors-green-600:22,163,74;--colors-green-700:21,128,61;--colors-green-800:22,101,52;--colors-green-900:20,83,45;--colors-green-950:5,46,22;--colors-emerald-50:236,253,245;--colors-emerald-100:209,250,229;--colors-emerald-200:167,243,208;--colors-emerald-300:110,231,183;--colors-emerald-400:52,211,153;--colors-emerald-500:16,185,129;--colors-emerald-600:5,150,105;--colors-emerald-700:4,120,87;--colors-emerald-800:6,95,70;--colors-emerald-900:6,78,59;--colors-emerald-950:2,44,34;--colors-teal-50:240,253,250;--colors-teal-100:204,251,241;--colors-teal-200:153,246,228;--colors-teal-300:94,234,212;--colors-teal-400:45,212,191;--colors-teal-500:20,184,166;--colors-teal-600:13,148,136;--colors-teal-700:15,118,110;--colors-teal-800:17,94,89;--colors-teal-900:19,78,74;--colors-teal-950:4,47,46;--colors-cyan-50:236,254,255;--colors-cyan-100:207,250,254;--colors-cyan-200:165,243,252;--colors-cyan-300:103,232,249;--colors-cyan-400:34,211,238;--colors-cyan-500:6,182,212;--colors-cyan-600:8,145,178;--colors-cyan-700:14,116,144;--colors-cyan-800:21,94,117;--colors-cyan-900:22,78,99;--colors-cyan-950:8,51,68;--colors-sky-50:240,249,255;--colors-sky-100:224,242,254;--colors-sky-200:186,230,253;--colors-sky-300:125,211,252;--colors-sky-400:56,189,248;--colors-sky-500:14,165,233;--colors-sky-600:2,132,199;--colors-sky-700:3,105,161;--colors-sky-800:7,89,133;--colors-sky-900:12,74,110;--colors-sky-950:8,47,73;--colors-blue-50:239,246,255;--colors-blue-100:219,234,254;--colors-blue-200:191,219,254;--colors-blue-300:147,197,253;--colors-blue-400:96,165,250;--colors-blue-500:59,130,246;--colors-blue-600:37,99,235;--colors-blue-700:29,78,216;--colors-blue-800:30,64,175;--colors-blue-900:30,58,138;--colors-blue-950:23,37,84;--colors-indigo-50:238,242,255;--colors-indigo-100:224,231,255;--colors-indigo-200:199,210,254;--colors-indigo-300:165,180,252;--colors-indigo-400:129,140,248;--colors-indigo-500:99,102,241;--colors-indigo-600:79,70,229;--colors-indigo-700:67,56,202;--colors-indigo-800:55,48,163;--colors-indigo-900:49,46,129;--colors-indigo-950:30,27,75;--colors-violet-50:245,243,255;--colors-violet-100:237,233,254;--colors-violet-200:221,214,254;--colors-violet-300:196,181,253;--colors-violet-400:167,139,250;--colors-violet-500:139,92,246;--colors-violet-600:124,58,237;--colors-violet-700:109,40,217;--colors-violet-800:91,33,182;--colors-violet-900:76,29,149;--colors-violet-950:46,16,101;--colors-purple-50:250,245,255;--colors-purple-100:243,232,255;--colors-purple-200:233,213,255;--colors-purple-300:216,180,254;--colors-purple-400:192,132,252;--colors-purple-500:168,85,247;--colors-purple-600:147,51,234;--colors-purple-700:126,34,206;--colors-purple-800:107,33,168;--colors-purple-900:88,28,135;--colors-purple-950:59,7,100;--colors-fuchsia-50:253,244,255;--colors-fuchsia-100:250,232,255;--colors-fuchsia-200:245,208,254;--colors-fuchsia-300:240,171,252;--colors-fuchsia-400:232,121,249;--colors-fuchsia-500:217,70,239;--colors-fuchsia-600:192,38,211;--colors-fuchsia-700:162,28,175;--colors-fuchsia-800:134,25,143;--colors-fuchsia-900:112,26,117;--colors-fuchsia-950:74,4,78;--colors-pink-50:253,242,248;--colors-pink-100:252,231,243;--colors-pink-200:251,207,232;--colors-pink-300:249,168,212;--colors-pink-400:244,114,182;--colors-pink-500:236,72,153;--colors-pink-600:219,39,119;--colors-pink-700:190,24,93;--colors-pink-800:157,23,77;--colors-pink-900:131,24,67;--colors-pink-950:80,7,36;--colors-rose-50:255,241,242;--colors-rose-100:255,228,230;--colors-rose-200:254,205,211;--colors-rose-300:253,164,175;--colors-rose-400:251,113,133;--colors-rose-500:244,63,94;--colors-rose-600:225,29,72;--colors-rose-700:190,18,60;--colors-rose-800:159,18,57;--colors-rose-900:136,19,55;--colors-rose-950:76,5,25}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(var(--colors-blue-500),0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(var(--colors-blue-500),0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.static{position:static}.mb-6{margin-bottom:1.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.flex{display:flex}.flex-col{flex-direction:column}.justify-center{justify-content:center}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.text-gray-600{color:rgba(var(--colors-gray-600))}.text-gray-900{color:rgba(var(--colors-gray-900))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.tabs{color:rgba(var(--colors-gray-400));-moz-column-gap:1rem;column-gap:1rem;display:flex;flex:none;font-size:.875rem;line-height:1.5rem;min-width:100%;li{button{border-color:transparent;border-radius:.25rem;border-width:1px;color:rgba(var(--colors-gray-500));cursor:pointer;display:flex;min-height:2rem;padding-bottom:.375rem;padding-left:.875rem;padding-right:.875rem;padding-top:.375rem;width:100%}button:hover{background-color:rgba(var(--colors-gray-50))}button:focus{outline:2px solid transparent;outline-offset:2px}button:is(.dark *){color:rgba(var(--colors-gray-500))}button:hover:is(.dark *){background-color:rgba(var(--colors-gray-800))}button{&.active{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgba(var(--colors-primary-500));color:rgba(var(--colors-primary-600));font-weight:700}&.active:is(.dark *){background-color:rgba(var(--colors-gray-800))}&.active:is(.dark *){color:rgba(var(--colors-primary-600))}}}}[dir=ltr] .tabs{li{button{text-align:left}}}[dir=rtl] .tabs{li{button{text-align:right}}}.nova-settings-form{button[type=submit]{--tw-text-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-color:rgba(var(--colors-primary-200));align-items:center;background-color:rgba(var(--colors-primary-500));border-radius:.25rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(255 255 255/var(--tw-text-opacity));cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:700;height:2.25rem;justify-content:center;line-height:1.25rem;padding-left:.75rem;padding-right:.75rem;position:relative}button[type=submit]:hover{background-color:rgba(var(--colors-primary-400))}button[type=submit]:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}button[type=submit]:is(.dark *){color:rgba(var(--colors-gray-900))}button[type=submit]:is(.dark *){--tw-ring-color:rgba(var(--colors-gray-600))}.panel-group{display:grid;margin-bottom:1rem;position:relative;row-gap:2rem}.panel-group>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.panel-group{.panel{-moz-column-gap:1rem;column-gap:1rem;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:2rem}.panel .panel-title{word-wrap:break-word;grid-column:span 1/span 1;white-space:break-spaces}@media (min-width:768px){.panel>.panel-content{grid-column:span 2/span 2}}}}@media (min-width:768px){.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-end{justify-content:flex-end}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0}[dir=ltr] .md\:space-x-3>:not([hidden])~:not([hidden]){margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}[dir=rtl] .md\:space-x-3>:not([hidden])~:not([hidden]){margin-left:calc(.75rem*var(--tw-space-x-reverse));margin-right:calc(.75rem*(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}} +/*! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border-color:rgba(var(--colors-gray-200));border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Nunito Sans,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:rgba(var(--colors-gray-400));opacity:1}input::placeholder,textarea::placeholder{color:rgba(var(--colors-gray-400));opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}:root{--colors-primary-50:240,249,255;--colors-primary-100:224,242,254;--colors-primary-200:186,230,253;--colors-primary-300:125,211,252;--colors-primary-400:56,189,248;--colors-primary-500:14,165,233;--colors-primary-600:2,132,199;--colors-primary-700:3,105,161;--colors-primary-800:7,89,133;--colors-primary-900:12,74,110;--colors-primary-950:8,47,73;--colors-inherit:inherit;--colors-current:currentColor;--colors-transparent:transparent;--colors-black:0,0,0;--colors-white:255,255,255;--colors-slate-50:248,250,252;--colors-slate-100:241,245,249;--colors-slate-200:226,232,240;--colors-slate-300:203,213,225;--colors-slate-400:148,163,184;--colors-slate-500:100,116,139;--colors-slate-600:71,85,105;--colors-slate-700:51,65,85;--colors-slate-800:30,41,59;--colors-slate-900:15,23,42;--colors-slate-950:2,6,23;--colors-gray-50:248,250,252;--colors-gray-100:241,245,249;--colors-gray-200:226,232,240;--colors-gray-300:203,213,225;--colors-gray-400:148,163,184;--colors-gray-500:100,116,139;--colors-gray-600:71,85,105;--colors-gray-700:51,65,85;--colors-gray-800:30,41,59;--colors-gray-900:15,23,42;--colors-gray-950:2,6,23;--colors-zinc-50:250,250,250;--colors-zinc-100:244,244,245;--colors-zinc-200:228,228,231;--colors-zinc-300:212,212,216;--colors-zinc-400:161,161,170;--colors-zinc-500:113,113,122;--colors-zinc-600:82,82,91;--colors-zinc-700:63,63,70;--colors-zinc-800:39,39,42;--colors-zinc-900:24,24,27;--colors-zinc-950:9,9,11;--colors-neutral-50:250,250,250;--colors-neutral-100:245,245,245;--colors-neutral-200:229,229,229;--colors-neutral-300:212,212,212;--colors-neutral-400:163,163,163;--colors-neutral-500:115,115,115;--colors-neutral-600:82,82,82;--colors-neutral-700:64,64,64;--colors-neutral-800:38,38,38;--colors-neutral-900:23,23,23;--colors-neutral-950:10,10,10;--colors-stone-50:250,250,249;--colors-stone-100:245,245,244;--colors-stone-200:231,229,228;--colors-stone-300:214,211,209;--colors-stone-400:168,162,158;--colors-stone-500:120,113,108;--colors-stone-600:87,83,78;--colors-stone-700:68,64,60;--colors-stone-800:41,37,36;--colors-stone-900:28,25,23;--colors-stone-950:12,10,9;--colors-red-50:254,242,242;--colors-red-100:254,226,226;--colors-red-200:254,202,202;--colors-red-300:252,165,165;--colors-red-400:248,113,113;--colors-red-500:239,68,68;--colors-red-600:220,38,38;--colors-red-700:185,28,28;--colors-red-800:153,27,27;--colors-red-900:127,29,29;--colors-red-950:69,10,10;--colors-orange-50:255,247,237;--colors-orange-100:255,237,213;--colors-orange-200:254,215,170;--colors-orange-300:253,186,116;--colors-orange-400:251,146,60;--colors-orange-500:249,115,22;--colors-orange-600:234,88,12;--colors-orange-700:194,65,12;--colors-orange-800:154,52,18;--colors-orange-900:124,45,18;--colors-orange-950:67,20,7;--colors-amber-50:255,251,235;--colors-amber-100:254,243,199;--colors-amber-200:253,230,138;--colors-amber-300:252,211,77;--colors-amber-400:251,191,36;--colors-amber-500:245,158,11;--colors-amber-600:217,119,6;--colors-amber-700:180,83,9;--colors-amber-800:146,64,14;--colors-amber-900:120,53,15;--colors-amber-950:69,26,3;--colors-yellow-50:254,252,232;--colors-yellow-100:254,249,195;--colors-yellow-200:254,240,138;--colors-yellow-300:253,224,71;--colors-yellow-400:250,204,21;--colors-yellow-500:234,179,8;--colors-yellow-600:202,138,4;--colors-yellow-700:161,98,7;--colors-yellow-800:133,77,14;--colors-yellow-900:113,63,18;--colors-yellow-950:66,32,6;--colors-lime-50:247,254,231;--colors-lime-100:236,252,203;--colors-lime-200:217,249,157;--colors-lime-300:190,242,100;--colors-lime-400:163,230,53;--colors-lime-500:132,204,22;--colors-lime-600:101,163,13;--colors-lime-700:77,124,15;--colors-lime-800:63,98,18;--colors-lime-900:54,83,20;--colors-lime-950:26,46,5;--colors-green-50:240,253,244;--colors-green-100:220,252,231;--colors-green-200:187,247,208;--colors-green-300:134,239,172;--colors-green-400:74,222,128;--colors-green-500:34,197,94;--colors-green-600:22,163,74;--colors-green-700:21,128,61;--colors-green-800:22,101,52;--colors-green-900:20,83,45;--colors-green-950:5,46,22;--colors-emerald-50:236,253,245;--colors-emerald-100:209,250,229;--colors-emerald-200:167,243,208;--colors-emerald-300:110,231,183;--colors-emerald-400:52,211,153;--colors-emerald-500:16,185,129;--colors-emerald-600:5,150,105;--colors-emerald-700:4,120,87;--colors-emerald-800:6,95,70;--colors-emerald-900:6,78,59;--colors-emerald-950:2,44,34;--colors-teal-50:240,253,250;--colors-teal-100:204,251,241;--colors-teal-200:153,246,228;--colors-teal-300:94,234,212;--colors-teal-400:45,212,191;--colors-teal-500:20,184,166;--colors-teal-600:13,148,136;--colors-teal-700:15,118,110;--colors-teal-800:17,94,89;--colors-teal-900:19,78,74;--colors-teal-950:4,47,46;--colors-cyan-50:236,254,255;--colors-cyan-100:207,250,254;--colors-cyan-200:165,243,252;--colors-cyan-300:103,232,249;--colors-cyan-400:34,211,238;--colors-cyan-500:6,182,212;--colors-cyan-600:8,145,178;--colors-cyan-700:14,116,144;--colors-cyan-800:21,94,117;--colors-cyan-900:22,78,99;--colors-cyan-950:8,51,68;--colors-sky-50:240,249,255;--colors-sky-100:224,242,254;--colors-sky-200:186,230,253;--colors-sky-300:125,211,252;--colors-sky-400:56,189,248;--colors-sky-500:14,165,233;--colors-sky-600:2,132,199;--colors-sky-700:3,105,161;--colors-sky-800:7,89,133;--colors-sky-900:12,74,110;--colors-sky-950:8,47,73;--colors-blue-50:239,246,255;--colors-blue-100:219,234,254;--colors-blue-200:191,219,254;--colors-blue-300:147,197,253;--colors-blue-400:96,165,250;--colors-blue-500:59,130,246;--colors-blue-600:37,99,235;--colors-blue-700:29,78,216;--colors-blue-800:30,64,175;--colors-blue-900:30,58,138;--colors-blue-950:23,37,84;--colors-indigo-50:238,242,255;--colors-indigo-100:224,231,255;--colors-indigo-200:199,210,254;--colors-indigo-300:165,180,252;--colors-indigo-400:129,140,248;--colors-indigo-500:99,102,241;--colors-indigo-600:79,70,229;--colors-indigo-700:67,56,202;--colors-indigo-800:55,48,163;--colors-indigo-900:49,46,129;--colors-indigo-950:30,27,75;--colors-violet-50:245,243,255;--colors-violet-100:237,233,254;--colors-violet-200:221,214,254;--colors-violet-300:196,181,253;--colors-violet-400:167,139,250;--colors-violet-500:139,92,246;--colors-violet-600:124,58,237;--colors-violet-700:109,40,217;--colors-violet-800:91,33,182;--colors-violet-900:76,29,149;--colors-violet-950:46,16,101;--colors-purple-50:250,245,255;--colors-purple-100:243,232,255;--colors-purple-200:233,213,255;--colors-purple-300:216,180,254;--colors-purple-400:192,132,252;--colors-purple-500:168,85,247;--colors-purple-600:147,51,234;--colors-purple-700:126,34,206;--colors-purple-800:107,33,168;--colors-purple-900:88,28,135;--colors-purple-950:59,7,100;--colors-fuchsia-50:253,244,255;--colors-fuchsia-100:250,232,255;--colors-fuchsia-200:245,208,254;--colors-fuchsia-300:240,171,252;--colors-fuchsia-400:232,121,249;--colors-fuchsia-500:217,70,239;--colors-fuchsia-600:192,38,211;--colors-fuchsia-700:162,28,175;--colors-fuchsia-800:134,25,143;--colors-fuchsia-900:112,26,117;--colors-fuchsia-950:74,4,78;--colors-pink-50:253,242,248;--colors-pink-100:252,231,243;--colors-pink-200:251,207,232;--colors-pink-300:249,168,212;--colors-pink-400:244,114,182;--colors-pink-500:236,72,153;--colors-pink-600:219,39,119;--colors-pink-700:190,24,93;--colors-pink-800:157,23,77;--colors-pink-900:131,24,67;--colors-pink-950:80,7,36;--colors-rose-50:255,241,242;--colors-rose-100:255,228,230;--colors-rose-200:254,205,211;--colors-rose-300:253,164,175;--colors-rose-400:251,113,133;--colors-rose-500:244,63,94;--colors-rose-600:225,29,72;--colors-rose-700:190,18,60;--colors-rose-800:159,18,57;--colors-rose-900:136,19,55;--colors-rose-950:76,5,25}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(var(--colors-blue-500),0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(var(--colors-blue-500),0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.static{position:static}.mb-6{margin-bottom:1.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.flex{display:flex}.flex-col{flex-direction:column}.justify-center{justify-content:center}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.font-thin{font-weight:100}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.tabs{color:rgba(var(--colors-gray-400));-moz-column-gap:1rem;column-gap:1rem;display:flex;flex:none;font-size:.875rem;line-height:1.5rem;min-width:100%;li{button{border-color:transparent;border-radius:.25rem;border-width:1px;color:rgba(var(--colors-gray-500));cursor:pointer;display:flex;min-height:2rem;padding-bottom:.375rem;padding-left:.875rem;padding-right:.875rem;padding-top:.375rem;width:100%}button:hover{background-color:rgba(var(--colors-gray-50))}button:focus{outline:2px solid transparent;outline-offset:2px}button:is(.dark *){color:rgba(var(--colors-gray-500))}button:hover:is(.dark *){background-color:rgba(var(--colors-gray-800))}button{&.active{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgba(var(--colors-primary-500));color:rgba(var(--colors-primary-600));font-weight:700}&.active:is(.dark *){background-color:rgba(var(--colors-gray-800))}&.active:is(.dark *){color:rgba(var(--colors-primary-600))}}}}[dir=ltr] .tabs{li{button{text-align:left}}}[dir=rtl] .tabs{li{button{text-align:right}}}.nova-settings-form{button[type=submit]{--tw-text-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-color:rgba(var(--colors-primary-200));align-items:center;background-color:rgba(var(--colors-primary-500));border-radius:.25rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(255 255 255/var(--tw-text-opacity));cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:700;height:2.25rem;justify-content:center;line-height:1.25rem;padding-left:.75rem;padding-right:.75rem;position:relative}button[type=submit]:hover{background-color:rgba(var(--colors-primary-400))}button[type=submit]:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}button[type=submit]:is(.dark *){color:rgba(var(--colors-gray-900))}button[type=submit]:is(.dark *){--tw-ring-color:rgba(var(--colors-gray-600))}.panel-group{display:grid;margin-bottom:1rem;position:relative;row-gap:2rem}.panel-group>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.panel-group{.panel{-moz-column-gap:1rem;column-gap:1rem;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:2rem}.panel .panel-title{word-wrap:break-word;grid-column:span 1/span 1;white-space:break-spaces}@media (min-width:768px){.panel>.panel-content{grid-column:span 2/span 2}}}}@media (min-width:768px){.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-end{justify-content:flex-end}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0}[dir=ltr] .md\:space-x-3>:not([hidden])~:not([hidden]){margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}[dir=rtl] .md\:space-x-3>:not([hidden])~:not([hidden]){margin-left:calc(.75rem*var(--tw-space-x-reverse));margin-right:calc(.75rem*(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}} diff --git a/dist/js/tool.js b/dist/js/tool.js index dfb5491..c670b5b 100644 --- a/dist/js/tool.js +++ b/dist/js/tool.js @@ -1,2 +1,2 @@ /*! For license information please see tool.js.LICENSE.txt */ -(()=>{var t,e={4173:(t,e,r)=>{"use strict";var n={};r.r(n),r.d(n,{hasBrowserEnv:()=>le,hasStandardBrowserEnv:()=>fe,hasStandardBrowserWebWorkerEnv:()=>he});const o=Vue;var i={class:"panel-group"},a={class:"flex mt-4 flex-col md:flex-row md:items-center justify-center md:justify-end space-y-2 md:space-y-0 md:space-x-3"},s=["disabled","loading"];var u=r(2126),c=r.n(u),l={nested:{type:Boolean,default:!1},preventInitialLoading:{type:Boolean,default:!1},showHelpText:{type:Boolean,default:!1},shownViaNewRelationModal:{type:Boolean,default:!1},resourceId:{type:[Number,String]},resourceName:{type:String},relatedResourceId:{type:[Number,String]},relatedResourceName:{type:String},field:{type:Object,required:!0},viaResource:{type:String,required:!1},viaResourceId:{type:[String,Number],required:!1},viaRelationship:{type:String,required:!1},relationshipType:{type:String,default:""},shouldOverrideMeta:{type:Boolean,default:!1},disablePagination:{type:Boolean,default:!1},clickAction:{type:String,default:"view",validator:function(t){return["edit","select","ignore","detail"].includes(t)}},mode:{type:String,default:"form",validator:function(t){return["form","modal","action-modal","action-fullscreen"].includes(t)}}};function f(t){return c()(l,t)}function p(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==r.g?r.g:{}}const h="function"==typeof Proxy,d="devtools-plugin:setup";let y,v;function m(){return void 0!==y||("undefined"!=typeof window&&window.performance?(y=!0,v=window.performance):void 0!==r.g&&(null===(t=r.g.perf_hooks)||void 0===t?void 0:t.performance)?(y=!0,v=r.g.perf_hooks.performance):y=!1),y?v.now():Date.now();var t}class g{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const r={};if(t.settings)for(const e in t.settings){const n=t.settings[e];r[e]=n.defaultValue}const n=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const t=localStorage.getItem(n),e=JSON.parse(t);Object.assign(o,e)}catch(t){}this.fallbacks={getSettings:()=>o,setSettings(t){try{localStorage.setItem(n,JSON.stringify(t))}catch(t){}o=t},now:()=>m()},e&&e.on("plugin:settings:set",((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((r=>{this.targetQueue.push({method:e,args:t,resolve:r})}))})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function b(t,e){const r=t,n=p(),o=p().__VUE_DEVTOOLS_GLOBAL_HOOK__,i=h&&r.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&i){const t=i?new g(r,o):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else o.emit(d,t,e)}var w="store";function O(t,e){Object.keys(t).forEach((function(r){return e(t[r],r)}))}function E(t){return null!==t&&"object"==typeof t}function S(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;j(t,r,[],t._modules.root,!0),_(t,r,e)}function _(t,e,r){var n=t._state,i=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,s={},u={},c=(0,o.effectScope)(!0);c.run((function(){O(a,(function(e,r){s[r]=function(t,e){return function(){return t(e)}}(e,t),u[r]=(0,o.computed)((function(){return s[r]()})),Object.defineProperty(t.getters,r,{get:function(){return u[r].value},enumerable:!0})}))})),t._state=(0,o.reactive)({data:e}),t._scope=c,t.strict&&function(t){(0,o.watch)((function(){return t._state.data}),(function(){0}),{deep:!0,flush:"sync"})}(t),n&&r&&t._withCommit((function(){n.data=null})),i&&i.stop()}function j(t,e,r,n,o){var i=!r.length,a=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!i&&!o){var s=P(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit((function(){s[u]=n.state}))}var c=n.context=function(t,e,r){var n=""===e,o={dispatch:n?t.dispatch:function(r,n,o){var i=R(r,n,o),a=i.payload,s=i.options,u=i.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:n?t.commit:function(r,n,o){var i=R(r,n,o),a=i.payload,s=i.options,u=i.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(o,{getters:{get:n?function(){return t.getters}:function(){return A(t,e)}},state:{get:function(){return P(t.state,r)}}}),o}(t,a,r);n.forEachMutation((function(e,r){!function(t,e,r,n){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){r.call(t,n.state,e)}))}(t,a+r,e,c)})),n.forEachAction((function(e,r){var n=e.root?r:a+r,o=e.handler||e;!function(t,e,r,n){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o,i=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(t,n,o,c)})),n.forEachGetter((function(e,r){!function(t,e,r,n){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return r(n.state,n.getters,t.state,t.getters)}}(t,a+r,e,c)})),n.forEachChild((function(n,i){j(t,e,r.concat(i),n,o)}))}function A(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,n)===e){var i=o.slice(n);Object.defineProperty(r,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function P(t,e){return e.reduce((function(t,e){return t[e]}),t)}function R(t,e,r){return E(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}var T="vuex:mutations",N="vuex:actions",k="vuex",C=0;function F(t,e){b({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(r){r.addTimelineLayer({id:T,label:"Vuex Mutations",color:L}),r.addTimelineLayer({id:N,label:"Vuex Actions",color:L}),r.addInspector({id:k,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),r.on.getInspectorTree((function(r){if(r.app===t&&r.inspectorId===k)if(r.filter){var n=[];I(n,e._modules.root,r.filter,""),r.rootNodes=n}else r.rootNodes=[D(e._modules.root,"")]})),r.on.getInspectorState((function(r){if(r.app===t&&r.inspectorId===k){var n=r.nodeId;A(e,n),r.state=function(t,e,r){e="root"===r?e:e[r];var n=Object.keys(e),o={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(n.length){var i=function(t){var e={};return Object.keys(t).forEach((function(r){var n=r.split("/");if(n.length>1){var o=e,i=n.pop();n.forEach((function(t){o[t]||(o[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),o=o[t]._custom.value})),o[i]=M((function(){return t[r]}))}else e[r]=M((function(){return t[r]}))})),e}(e);o.getters=Object.keys(i).map((function(t){return{key:t.endsWith("/")?U(t):t,editable:!1,value:M((function(){return i[t]}))}}))}return o}((o=e._modules,(a=(i=n).split("/").filter((function(t){return t}))).reduce((function(t,e,r){var n=t[e];if(!n)throw new Error('Missing module "'+e+'" for path "'+i+'".');return r===a.length-1?n:n._children}),"root"===i?o:o.root._children)),"root"===n?e.getters:e._makeLocalGettersCache,n)}var o,i,a})),r.on.editInspectorState((function(r){if(r.app===t&&r.inspectorId===k){var n=r.nodeId,o=r.path;"root"!==n&&(o=n.split("/").filter(Boolean).concat(o)),e._withCommit((function(){r.set(e._state.data,o,r.state.value)}))}})),e.subscribe((function(t,e){var n={};t.payload&&(n.payload=t.payload),n.state=e,r.notifyComponentUpdate(),r.sendInspectorTree(k),r.sendInspectorState(k),r.addTimelineEvent({layerId:T,event:{time:Date.now(),title:t.type,data:n}})})),e.subscribeAction({before:function(t,e){var n={};t.payload&&(n.payload=t.payload),t._id=C++,t._time=Date.now(),n.state=e,r.addTimelineEvent({layerId:N,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:n}})},after:function(t,e){var n={},o=Date.now()-t._time;n.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},t.payload&&(n.payload=t.payload),n.state=e,r.addTimelineEvent({layerId:N,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:n}})}})}))}var L=8702998,B={label:"namespaced",textColor:16777215,backgroundColor:6710886};function U(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function D(t,e){return{id:e||"root",label:U(e),tags:t.namespaced?[B]:[],children:Object.keys(t._children).map((function(r){return D(t._children[r],e+r+"/")}))}}function I(t,e,r,n){n.includes(r)&&t.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:e.namespaced?[B]:[]}),Object.keys(e._children).forEach((function(o){I(t,e._children[o],r,n+o+"/")}))}function M(t){try{return t()}catch(t){return t}}var V=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=("function"==typeof r?r():r)||{}},q={namespaced:{configurable:!0}};q.namespaced.get=function(){return!!this._rawModule.namespaced},V.prototype.addChild=function(t,e){this._children[t]=e},V.prototype.removeChild=function(t){delete this._children[t]},V.prototype.getChild=function(t){return this._children[t]},V.prototype.hasChild=function(t){return t in this._children},V.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},V.prototype.forEachChild=function(t){O(this._children,t)},V.prototype.forEachGetter=function(t){this._rawModule.getters&&O(this._rawModule.getters,t)},V.prototype.forEachAction=function(t){this._rawModule.actions&&O(this._rawModule.actions,t)},V.prototype.forEachMutation=function(t){this._rawModule.mutations&&O(this._rawModule.mutations,t)},Object.defineProperties(V.prototype,q);var z=function(t){this.register([],t,!1)};function H(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return void 0;H(t.concat(n),e.getChild(n),r.modules[n])}}z.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},z.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,r){return t+((e=e.getChild(r)).namespaced?r+"/":"")}),"")},z.prototype.update=function(t){H([],this.root,t)},z.prototype.register=function(t,e,r){var n=this;void 0===r&&(r=!0);var o=new V(e,r);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&O(e.modules,(function(e,o){n.register(t.concat(o),e,r)}))},z.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1],n=e.getChild(r);n&&n.runtime&&e.removeChild(r)},z.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1];return!!e&&e.hasChild(r)};var W=function(t){var e=this;void 0===t&&(t={});var r=t.plugins;void 0===r&&(r=[]);var n=t.strict;void 0===n&&(n=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new z(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(i,t,e)},this.commit=function(t,e,r){return s.call(i,t,e,r)},this.strict=n;var u=this._modules.root.state;j(this,u,[],this._modules.root),_(this,u),r.forEach((function(t){return t(e)}))},G={state:{configurable:!0}};W.prototype.install=function(t,e){t.provide(e||w,this),t.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&F(t,this)},G.state.get=function(){return this._state.data},G.state.set=function(t){0},W.prototype.commit=function(t,e,r){var n=this,o=R(t,e,r),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),u=this._mutations[i];u&&(this._withCommit((function(){u.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,n.state)})))},W.prototype.dispatch=function(t,e){var r=this,n=R(t,e),o=n.type,i=n.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,r.state)}))}catch(t){0}var u=s.length>1?Promise.all(s.map((function(t){return t(i)}))):s[0](i);return new Promise((function(t,e){u.then((function(e){try{r._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,r.state)}))}catch(t){0}t(e)}),(function(t){try{r._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,r.state,t)}))}catch(t){0}e(t)}))}))}},W.prototype.subscribe=function(t,e){return S(t,this._subscribers,e)},W.prototype.subscribeAction=function(t,e){return S("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},W.prototype.watch=function(t,e,r){var n=this;return(0,o.watch)((function(){return t(n.state,n.getters)}),e,Object.assign({},r))},W.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},W.prototype.registerModule=function(t,e,r){void 0===r&&(r={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),j(this,this.state,t,this._modules.get(t),r.preserveState),_(this,this.state)},W.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){delete P(e.state,t.slice(0,-1))[t[t.length-1]]})),x(this)},W.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},W.prototype.hotUpdate=function(t){this._modules.update(t),x(this,!0)},W.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(W.prototype,G);X((function(t,e){var r={};return Y(e).forEach((function(e){var n=e.key,o=e.val;r[n]=function(){var e=this.$store.state,r=this.$store.getters;if(t){var n=Q(this.$store,"mapState",t);if(!n)return;e=n.context.state,r=n.context.getters}return"function"==typeof o?o.call(this,e,r):e[o]},r[n].vuex=!0})),r}));var J=X((function(t,e){var r={};return Y(e).forEach((function(e){var n=e.key,o=e.val;r[n]=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var n=this.$store.commit;if(t){var i=Q(this.$store,"mapMutations",t);if(!i)return;n=i.context.commit}return"function"==typeof o?o.apply(this,[n].concat(e)):n.apply(this.$store,[o].concat(e))}})),r})),$=X((function(t,e){var r={};return Y(e).forEach((function(e){var n=e.key,o=e.val;o=t+o,r[n]=function(){if(!t||Q(this.$store,"mapGetters",t))return this.$store.getters[o]},r[n].vuex=!0})),r}));X((function(t,e){var r={};return Y(e).forEach((function(e){var n=e.key,o=e.val;r[n]=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var n=this.$store.dispatch;if(t){var i=Q(this.$store,"mapActions",t);if(!i)return;n=i.context.dispatch}return"function"==typeof o?o.apply(this,[n].concat(e)):n.apply(this.$store,[o].concat(e))}})),r}));function Y(t){return function(t){return Array.isArray(t)||E(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function X(t){return function(e,r){return"string"!=typeof e?(r=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,r)}}function Q(t,e,r){return t._modulesNamespaceMap[r]}var K=r(983),Z=r(2016),tt=r.n(Z);function et(t){return Boolean(!tt()(t)&&""!==t)}function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ot(t){for(var e=1;e1?window.history.back():!this.navigateBackUsingHistory&&et(t)?Nova.visit(t,{replace:!0}):Nova.visit("/")}}),ot({},$(["canLeaveForm","canLeaveFormToPreviousPage"]));function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ut(t){for(var e=1;e{const e=ft.call(t);return dt[e]||(dt[e]=e.slice(8,-1).toLowerCase())});var dt;const yt=t=>(t=t.toLowerCase(),e=>ht(e)===t),vt=t=>e=>typeof e===t,{isArray:mt}=Array,gt=vt("undefined");const bt=yt("ArrayBuffer");const wt=vt("string"),Ot=vt("function"),Et=vt("number"),St=t=>null!==t&&"object"==typeof t,xt=t=>{if("object"!==ht(t))return!1;const e=pt(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},_t=yt("Date"),jt=yt("File"),At=yt("Blob"),Pt=yt("FileList"),Rt=yt("URLSearchParams");function Tt(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,o;if("object"!=typeof t&&(t=[t]),mt(t))for(n=0,o=t.length;n0;)if(n=r[o],e===n.toLowerCase())return n;return null}const kt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Ct=t=>!gt(t)&&t!==kt;const Ft=(Lt="undefined"!=typeof Uint8Array&&pt(Uint8Array),t=>Lt&&t instanceof Lt);var Lt;const Bt=yt("HTMLFormElement"),Ut=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Dt=yt("RegExp"),It=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Tt(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},Mt="abcdefghijklmnopqrstuvwxyz",Vt="0123456789",qt={DIGIT:Vt,ALPHA:Mt,ALPHA_DIGIT:Mt+Mt.toUpperCase()+Vt};const zt=yt("AsyncFunction"),Ht={isArray:mt,isArrayBuffer:bt,isBuffer:function(t){return null!==t&&!gt(t)&&null!==t.constructor&&!gt(t.constructor)&&Ot(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Ot(t.append)&&("formdata"===(e=ht(t))||"object"===e&&Ot(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&bt(t.buffer),e},isString:wt,isNumber:Et,isBoolean:t=>!0===t||!1===t,isObject:St,isPlainObject:xt,isUndefined:gt,isDate:_t,isFile:jt,isBlob:At,isRegExp:Dt,isFunction:Ot,isStream:t=>St(t)&&Ot(t.pipe),isURLSearchParams:Rt,isTypedArray:Ft,isFileList:Pt,forEach:Tt,merge:function t(){const{caseless:e}=Ct(this)&&this||{},r={},n=(n,o)=>{const i=e&&Nt(r,o)||o;xt(r[i])&&xt(n)?r[i]=t(r[i],n):xt(n)?r[i]=t({},n):mt(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t(Tt(e,((e,n)=>{r&&Ot(e)?t[n]=lt(e,r):t[n]=e}),{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&pt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:ht,kindOfTest:yt,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(mt(t))return t;let e=t.length;if(!Et(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:Bt,hasOwnProperty:Ut,hasOwnProp:Ut,reduceDescriptors:It,freezeMethods:t=>{It(t,((e,r)=>{if(Ot(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Ot(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return mt(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:Nt,global:kt,isContextDefined:Ct,ALPHABET:qt,generateString:(t=16,e=qt.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&Ot(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(St(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=mt(t)?[]:{};return Tt(t,((t,e)=>{const i=r(t,n+1);!gt(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:zt,isThenable:t=>t&&(St(t)||Ot(t))&&Ot(t.then)&&Ot(t.catch)};function Wt(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}Ht.inherits(Wt,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:Ht.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Gt=Wt.prototype,Jt={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Jt[t]={value:t}})),Object.defineProperties(Wt,Jt),Object.defineProperty(Gt,"isAxiosError",{value:!0}),Wt.from=(t,e,r,n,o,i)=>{const a=Object.create(Gt);return Ht.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Wt.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const $t=Wt;var Yt=r(8628).hp;function Xt(t){return Ht.isPlainObject(t)||Ht.isArray(t)}function Qt(t){return Ht.endsWith(t,"[]")?t.slice(0,-2):t}function Kt(t,e,r){return t?t.concat(e).map((function(t,e){return t=Qt(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const Zt=Ht.toFlatObject(Ht,{},null,(function(t){return/^is[A-Z]/.test(t)}));const te=function(t,e,r){if(!Ht.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Ht.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Ht.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Ht.isSpecCompliantForm(e);if(!Ht.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(Ht.isDate(t))return t.toISOString();if(!s&&Ht.isBlob(t))throw new $t("Blob is not supported. Use a Buffer instead.");return Ht.isArrayBuffer(t)||Ht.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Yt.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(Ht.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Ht.isArray(t)&&function(t){return Ht.isArray(t)&&!t.some(Xt)}(t)||(Ht.isFileList(t)||Ht.endsWith(r,"[]"))&&(s=Ht.toArray(t)))return r=Qt(r),s.forEach((function(t,n){!Ht.isUndefined(t)&&null!==t&&e.append(!0===a?Kt([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!Xt(t)||(e.append(Kt(o,r,i),u(t)),!1)}const l=[],f=Object.assign(Zt,{defaultVisitor:c,convertValue:u,isVisitable:Xt});if(!Ht.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Ht.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Ht.forEach(r,(function(r,i){!0===(!(Ht.isUndefined(r)||null===r)&&o.call(e,r,Ht.isString(i)?i.trim():i,n,f))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e};function ee(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function re(t,e){this._pairs=[],t&&te(t,this,e)}const ne=re.prototype;ne.append=function(t,e){this._pairs.push([t,e])},ne.toString=function(t){const e=t?function(e){return t.call(this,e,ee)}:ee;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const oe=re;function ie(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ae(t,e,r){if(!e)return t;const n=r&&r.encode||ie,o=r&&r.serialize;let i;if(i=o?o(e,r):Ht.isURLSearchParams(e)?e.toString():new oe(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const se=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ht.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ue={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:oe,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},le="undefined"!=typeof window&&"undefined"!=typeof document,fe=(pe="undefined"!=typeof navigator&&navigator.product,le&&["ReactNative","NativeScript","NS"].indexOf(pe)<0);var pe;const he="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,de={...n,...ce};const ye=function(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&Ht.isArray(n)?n.length:i,s)return Ht.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&Ht.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&Ht.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n{e(function(t){return Ht.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null};const ve={transitional:ue,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Ht.isObject(t);o&&Ht.isHTMLForm(t)&&(t=new FormData(t));if(Ht.isFormData(t))return n?JSON.stringify(ye(t)):t;if(Ht.isArrayBuffer(t)||Ht.isBuffer(t)||Ht.isStream(t)||Ht.isFile(t)||Ht.isBlob(t))return t;if(Ht.isArrayBufferView(t))return t.buffer;if(Ht.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return te(t,new de.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return de.isNode&&Ht.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=Ht.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return te(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Ht.isString(t))try{return(e||JSON.parse)(t),Ht.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||ve.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&Ht.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw $t.from(t,$t.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:de.classes.FormData,Blob:de.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ht.forEach(["delete","get","head","post","put","patch"],(t=>{ve.headers[t]={}}));const me=ve,ge=Ht.toObjectSet(["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"]),be=Symbol("internals");function we(t){return t&&String(t).trim().toLowerCase()}function Oe(t){return!1===t||null==t?t:Ht.isArray(t)?t.map(Oe):String(t)}function Ee(t,e,r,n,o){return Ht.isFunction(n)?n.call(this,e,r):(o&&(e=r),Ht.isString(e)?Ht.isString(n)?-1!==e.indexOf(n):Ht.isRegExp(n)?n.test(e):void 0:void 0)}class Se{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=we(e);if(!o)throw new Error("header name must be a non-empty string");const i=Ht.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Oe(t))}const i=(t,e)=>Ht.forEach(t,((t,r)=>o(t,r,e)));return Ht.isPlainObject(t)||t instanceof this.constructor?i(t,e):Ht.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&ge[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=we(t)){const r=Ht.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Ht.isFunction(e))return e.call(this,t,r);if(Ht.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=we(t)){const r=Ht.findKey(this,t);return!(!r||void 0===this[r]||e&&!Ee(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=we(t)){const o=Ht.findKey(r,t);!o||e&&!Ee(0,r[o],o,e)||(delete r[o],n=!0)}}return Ht.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!Ee(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Ht.forEach(this,((n,o)=>{const i=Ht.findKey(r,o);if(i)return e[i]=Oe(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Oe(n),r[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Ht.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Ht.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach((t=>r.set(t))),r}static accessor(t){const e=(this[be]=this[be]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=we(t);e[n]||(!function(t,e){const r=Ht.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return Ht.isArray(t)?t.forEach(n):n(t),this}}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ht.reduceDescriptors(Se.prototype,(({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}})),Ht.freezeMethods(Se);const xe=Se;function _e(t,e){const r=this||me,n=e||r,o=xe.from(n.headers);let i=n.data;return Ht.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function je(t){return!(!t||!t.__CANCEL__)}function Ae(t,e,r){$t.call(this,null==t?"canceled":t,$t.ERR_CANCELED,e,r),this.name="CanceledError"}Ht.inherits(Ae,$t,{__CANCEL__:!0});const Pe=Ae;const Re=de.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];Ht.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),Ht.isString(n)&&a.push("path="+n),Ht.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Te(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ne=de.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=Ht.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};const ke=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let l=a,f=0;for(;l!==i;)f+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};c[e?"download":"upload"]=!0,t(c)}}const Fe={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=xe.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(Ht.isFormData(n))if(de.hasStandardBrowserEnv||de.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const f=Te(t.baseURL,t.url);function p(){if(!l)return;const n=xe.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new $t("Request failed with status code "+r.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),ae(f,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(p)},l.onabort=function(){l&&(r(new $t("Request aborted",$t.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new $t("Network Error",$t.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||ue;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new $t(e,n.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,t,l)),l=null},de.hasStandardBrowserEnv&&(u&&Ht.isFunction(u)&&(u=u(t)),u||!1!==u&&Ne(f))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&Re.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in l&&Ht.forEach(o.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),Ht.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",Ce(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ce(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{l&&(r(!e||e.type?new Pe(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(f);h&&-1===de.protocols.indexOf(h)?r(new $t("Unsupported protocol "+h+":",$t.ERR_BAD_REQUEST,t)):l.send(n||null)}))}};Ht.forEach(Fe,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Le=t=>`- ${t}`,Be=t=>Ht.isFunction(t)||null===t||!1===t,Ue=t=>{t=Ht.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let r=e?t.length>1?"since :\n"+t.map(Le).join("\n"):" "+Le(t[0]):"as no adapter specified";throw new $t("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function De(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Pe(null,t)}function Ie(t){De(t),t.headers=xe.from(t.headers),t.data=_e.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Ue(t.adapter||me.adapter)(t).then((function(e){return De(t),e.data=_e.call(t,t.transformResponse,e),e.headers=xe.from(e.headers),e}),(function(e){return je(e)||(De(t),e&&e.response&&(e.response.data=_e.call(t,t.transformResponse,e.response),e.response.headers=xe.from(e.response.headers))),Promise.reject(e)}))}const Me=t=>t instanceof xe?{...t}:t;function Ve(t,e){e=e||{};const r={};function n(t,e,r){return Ht.isPlainObject(t)&&Ht.isPlainObject(e)?Ht.merge.call({caseless:r},t,e):Ht.isPlainObject(e)?Ht.merge({},e):Ht.isArray(e)?e.slice():e}function o(t,e,r){return Ht.isUndefined(e)?Ht.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!Ht.isUndefined(e))return n(void 0,e)}function a(t,e){return Ht.isUndefined(e)?Ht.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(Me(t),Me(e),!0)};return Ht.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);Ht.isUndefined(a)&&i!==s||(r[n]=a)})),r}const qe="1.6.8",ze={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{ze[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const He={};ze.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.8] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new $t(n(o," has been removed"+(e?" in "+e:"")),$t.ERR_DEPRECATED);return e&&!He[o]&&(He[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};const We={assertOptions:function(t,e,r){if("object"!=typeof t)throw new $t("options must be an object",$t.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new $t("option "+i+" must be "+r,$t.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new $t("Unknown option "+i,$t.ERR_BAD_OPTION)}},validators:ze},Ge=We.validators;class Je{constructor(t){this.defaults=t,this.interceptors={request:new se,response:new se}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Ve(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&We.assertOptions(r,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1),null!=n&&(Ht.isFunction(n)?e.paramsSerializer={serialize:n}:We.assertOptions(n,{encode:Ge.function,serialize:Ge.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&Ht.merge(o.common,o[e.method]);o&&Ht.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=xe.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,f=0;if(!s){const t=[Ie.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);f{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new Pe(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new Ye((function(e){t=e})),cancel:t}}}const Xe=Ye;const Qe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qe).forEach((([t,e])=>{Qe[e]=t}));const Ke=Qe;const Ze=function t(e){const r=new $e(e),n=lt($e.prototype.request,r);return Ht.extend(n,$e.prototype,r,{allOwnKeys:!0}),Ht.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Ve(e,r))},n}(me);Ze.Axios=$e,Ze.CanceledError=Pe,Ze.CancelToken=Xe,Ze.isCancel=je,Ze.VERSION=qe,Ze.toFormData=te,Ze.AxiosError=$t,Ze.Cancel=Ze.CanceledError,Ze.all=function(t){return Promise.all(t)},Ze.spread=function(t){return function(e){return t.apply(null,e)}},Ze.isAxiosError=function(t){return Ht.isObject(t)&&!0===t.isAxiosError},Ze.mergeConfig=Ve,Ze.AxiosHeaders=xe,Ze.formToJSON=t=>ye(Ht.isHTMLForm(t)?new FormData(t):t),Ze.getAdapter=Ue,Ze.HttpStatusCode=Ke,Ze.default=Ze;const tr=Ze,{Axios:er,AxiosError:rr,CanceledError:nr,isCancel:or,CancelToken:ir,VERSION:ar,all:sr,Cancel:ur,isAxiosError:cr,spread:lr,toFormData:fr,AxiosHeaders:pr,HttpStatusCode:hr,formToJSON:dr,getAdapter:yr,mergeConfig:vr}=tr;r(7124),r(3111);var mr=r(4815),gr=r.n(mr);r(1617),r(5022),r(5171);function br(t){return br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},br(t)}function wr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Or(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=br(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=br(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==br(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Er(t){return Er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Er(t)}function Sr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xr(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Fr(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function Lr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Fr(i,n,o,a,s,"next",t)}function s(t){Fr(i,n,o,a,s,"throw",t)}a(void 0)}))}}const Br={components:{Panel:Nr},props:{group:String},computed:{title:function(){var t,e=this;return(null===(t=this.resources.find((function(t){return t.group===e.group})))||void 0===t?void 0:t.title)||"Nova Settings"},current_resources:function(){var t=this;return this.resources.filter((function(e){return e.group===t.group}))}},data:function(){return{loading:!1,resources:[],errors:new jr.I}},mounted:function(){var t=this;return Lr(Cr().mark((function e(){return Cr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getFields();case 2:case"end":return e.stop()}}),e)})))()},unmounted:function(){this.resources=[],this.activeTab=null,this.loading=!1,this.errors.clear()},methods:{getFields:function(){var t=this;return Lr(Cr().mark((function e(){var r;return Cr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.loading=!0,e.next=4,Nova.request().get("/nova-vendor/nova-settings/".concat(t.group));case 4:r=e.sent,t.resources=r.data.resources,t.loading=!1,e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),t.loading=!1,jr.I.record(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))()},update:function(){var t=this;return Lr(Cr().mark((function e(){var r,n,o;return Cr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.errors.clear(),r=new FormData,t.current_resources.forEach((function(t){return t.fields.forEach((function(t){return t.fill(r)}))})),r.append("_method","POST"),e.next=7,Nova.request().post("/nova-vendor/nova-settings/".concat(t.group),r);case 7:t.errors.clear(),Nova.success("Settings have been saved!"),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),422===(null===e.t0||void 0===e.t0||null===(n=e.t0.response)||void 0===n?void 0:n.status)&&null!==e.t0&&void 0!==e.t0&&null!==(o=e.t0.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.errors&&(t.errors=new jr.I(e.t0.response.data.errors||{})),console.log(e.t0);case 15:case"end":return e.stop()}}),e,null,[[0,11]])})))()}}};const Ur=(0,r(6262).A)(Br,[["render",function(t,e,r,n,u,c){var l=(0,o.resolveComponent)("Head"),f=(0,o.resolveComponent)("Heading"),p=(0,o.resolveComponent)("Panel");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createVNode)(l,{title:"Nova Settings"===c.title?c.title:"".concat(c.title," • Nova Settings")},null,8,["title"]),(0,o.createVNode)(f,{class:"mb-6"},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(c.title),1)]})),_:1}),(0,o.createElementVNode)("form",{autocomplete:"off",onSubmit:e[0]||(e[0]=(0,o.withModifiers)((function(){return c.update&&c.update.apply(c,arguments)}),["prevent","stop"])),class:"nova-settings-form"},[(0,o.createElementVNode)("div",i,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(c.current_resources,(function(t,e){var r=t.fields,n=t.title,i=t.description;return(0,o.openBlock)(),(0,o.createBlock)(p,{key:e,title:n,description:i,fields:r,errors:u.errors},null,8,["title","description","fields","errors"])})),128))]),(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("button",{type:"submit",dusk:"update-button",label:"Save Settings",disabled:u.loading,loading:u.loading}," Save Settings ",8,s)])],32)])}]]),Dr=Ur;Nova.booting((function(t,e){Nova.inertia("NovaSettings",Dr)}))},4351:()=>{},6262:(t,e)=>{"use strict";e.A=(t,e)=>{const r=t.__vccOpts||t;for(const[t,n]of e)r[t]=n;return r}},983:(t,e,r)=>{function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var o=n(r(7028)),i=r(6254),a=n(r(3339));function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},r.handleBackForwardVisit=function(t){var e=this;window.history.state.version=t.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then((function(){e.restoreScrollPositions(),b(t)}))},r.locationVisit=function(t,e){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:e})),window.location.href=t.href,v(window.location).href===v(t).href&&window.location.reload()}catch(t){return!1}},r.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(t){return!1}},r.handleLocationVisit=function(t){var e,r,n,o,i=this,a=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),t.url+=window.location.hash,t.rememberedState=null!=(e=null==(r=window.history.state)?void 0:r.rememberedState)?e:{},t.scrollRegions=null!=(n=null==(o=window.history.state)?void 0:o.scrollRegions)?n:[],this.setPage(t,{preserveScroll:a.preserveScroll,preserveState:!0}).then((function(){a.preserveScroll&&i.restoreScrollPositions(),b(t)}))},r.isLocationVisitResponse=function(t){return t&&409===t.status&&t.headers["x-inertia-location"]},r.isInertiaResponse=function(t){return null==t?void 0:t.headers["x-inertia"]},r.createVisitId=function(){return this.visitId={},this.visitId},r.cancelVisit=function(t,e){var r=e.cancelled,n=void 0!==r&&r,o=e.interrupted,i=void 0!==o&&o;!t||t.completed||t.cancelled||t.interrupted||(t.cancelToken.cancel(),t.onCancel(),t.completed=!1,t.cancelled=n,t.interrupted=i,g(t),t.onFinish(t))},r.finishVisit=function(t){t.cancelled||t.interrupted||(t.completed=!0,t.cancelled=!1,t.interrupted=!1,g(t),t.onFinish(t))},r.resolvePreserveOption=function(t,e){return"function"==typeof t?t(e):"errors"===t?Object.keys(e.props.errors||{}).length>0:t},r.visit=function(t,r){var n=this,i=void 0===r?{}:r,a=i.method,u=void 0===a?e.IT.GET:a,l=i.data,p=void 0===l?{}:l,h=i.replace,g=void 0!==h&&h,b=i.preserveScroll,w=void 0!==b&&b,O=i.preserveState,E=void 0!==O&&O,S=i.only,x=void 0===S?[]:S,_=i.headers,j=void 0===_?{}:_,A=i.errorBag,P=void 0===A?"":A,R=i.forceFormData,T=void 0!==R&&R,N=i.onCancelToken,k=void 0===N?function(){}:N,C=i.onBefore,F=void 0===C?function(){}:C,L=i.onStart,B=void 0===L?function(){}:L,U=i.onProgress,D=void 0===U?function(){}:U,I=i.onFinish,M=void 0===I?function(){}:I,V=i.onCancel,q=void 0===V?function(){}:V,z=i.onSuccess,H=void 0===z?function(){}:z,W=i.onError,G=void 0===W?function(){}:W,J=i.queryStringArrayFormat,$=void 0===J?"brackets":J,Y="string"==typeof t?d(t):t;if(!function t(e){return e instanceof File||e instanceof Blob||e instanceof FileList&&e.length>0||e instanceof FormData&&Array.from(e.values()).some((function(e){return t(e)}))||"object"==typeof e&&null!==e&&Object.values(e).some((function(e){return t(e)}))}(p)&&!T||p instanceof FormData||(p=f(p)),!(p instanceof FormData)){var X=y(u,Y,p,$),Q=X[1];Y=d(X[0]),p=Q}var K={url:Y,method:u,data:p,replace:g,preserveScroll:w,preserveState:E,only:x,headers:j,errorBag:P,forceFormData:T,queryStringArrayFormat:$,cancelled:!1,completed:!1,interrupted:!1};if(!1!==F(K)&&function(t){return m("before",{cancelable:!0,detail:{visit:t}})}(K)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var Z=this.createVisitId();this.activeVisit=s({},K,{onCancelToken:k,onBefore:F,onStart:B,onProgress:D,onFinish:M,onCancel:q,onSuccess:H,onError:G,queryStringArrayFormat:$,cancelToken:o.CancelToken.source()}),k({cancel:function(){n.activeVisit&&n.cancelVisit(n.activeVisit,{cancelled:!0})}}),function(t){m("start",{detail:{visit:t}})}(K),B(K),o({method:u,url:v(Y).href,data:u===e.IT.GET?{}:p,params:u===e.IT.GET?p:{},cancelToken:this.activeVisit.cancelToken.token,headers:s({},j,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},x.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":x.join(",")}:{},P&&P.length?{"X-Inertia-Error-Bag":P}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(t){p instanceof FormData&&(t.percentage=Math.round(t.loaded/t.total*100),function(t){m("progress",{detail:{progress:t}})}(t),D(t))}}).then((function(t){var e;if(!n.isInertiaResponse(t))return Promise.reject({response:t});var r=t.data;x.length&&r.component===n.page.component&&(r.props=s({},n.page.props,r.props)),w=n.resolvePreserveOption(w,r),(E=n.resolvePreserveOption(E,r))&&null!=(e=window.history.state)&&e.rememberedState&&r.component===n.page.component&&(r.rememberedState=window.history.state.rememberedState);var o=Y,i=d(r.url);return o.hash&&!i.hash&&v(o).href===i.href&&(i.hash=o.hash,r.url=i.href),n.setPage(r,{visitId:Z,replace:g,preserveScroll:w,preserveState:E})})).then((function(){var t=n.page.props.errors||{};if(Object.keys(t).length>0){var e=P?t[P]?t[P]:{}:t;return function(t){m("error",{detail:{errors:t}})}(e),G(e)}return m("success",{detail:{page:n.page}}),H(n.page)})).catch((function(t){if(n.isInertiaResponse(t.response))return n.setPage(t.response.data,{visitId:Z});if(n.isLocationVisitResponse(t.response)){var e=d(t.response.headers["x-inertia-location"]),r=Y;r.hash&&!e.hash&&v(r).href===e.href&&(e.hash=r.hash),n.locationVisit(e,!0===w)}else{if(!t.response)return Promise.reject(t);m("invalid",{cancelable:!0,detail:{response:t.response}})&&c.show(t.response.data)}})).then((function(){n.activeVisit&&n.finishVisit(n.activeVisit)})).catch((function(t){if(!o.isCancel(t)){var e=m("exception",{cancelable:!0,detail:{exception:t}});if(n.activeVisit&&n.finishVisit(n.activeVisit),e)return Promise.reject(t)}}))}},r.setPage=function(t,e){var r=this,n=void 0===e?{}:e,o=n.visitId,i=void 0===o?this.createVisitId():o,a=n.replace,s=void 0!==a&&a,u=n.preserveScroll,c=void 0!==u&&u,l=n.preserveState,f=void 0!==l&&l;return Promise.resolve(this.resolveComponent(t.component)).then((function(e){i===r.visitId&&(t.scrollRegions=t.scrollRegions||[],t.rememberedState=t.rememberedState||{},(s=s||d(t.url).href===window.location.href)?r.replaceState(t):r.pushState(t),r.swapComponent({component:e,page:t,preserveState:f}).then((function(){c||r.resetScrollPositions(),s||b(t)})))}))},r.pushState=function(t){this.page=t,window.history.pushState(t,"",t.url)},r.replaceState=function(t){this.page=t,window.history.replaceState(t,"",t.url)},r.handlePopstateEvent=function(t){var e=this;if(null!==t.state){var r=t.state,n=this.createVisitId();Promise.resolve(this.resolveComponent(r.component)).then((function(t){n===e.visitId&&(e.page=r,e.swapComponent({component:t,page:r,preserveState:!1}).then((function(){e.restoreScrollPositions(),b(r)})))}))}else{var o=d(this.page.url);o.hash=window.location.hash,this.replaceState(s({},this.page,{url:o.href})),this.resetScrollPositions()}},r.get=function(t,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(t,s({},n,{method:e.IT.GET,data:r}))},r.reload=function(t){return void 0===t&&(t={}),this.visit(window.location.href,s({},t,{preserveScroll:!0,preserveState:!0}))},r.replace=function(t,e){var r;return void 0===e&&(e={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(r=e.method)?r:"get")+"() instead."),this.visit(t,s({preserveState:!0},e,{replace:!0}))},r.post=function(t,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(t,s({preserveState:!0},n,{method:e.IT.POST,data:r}))},r.put=function(t,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(t,s({preserveState:!0},n,{method:e.IT.PUT,data:r}))},r.patch=function(t,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(t,s({preserveState:!0},n,{method:e.IT.PATCH,data:r}))},r.delete=function(t,r){return void 0===r&&(r={}),this.visit(t,s({preserveState:!0},r,{method:e.IT.DELETE}))},r.remember=function(t,e){var r,n;void 0===e&&(e="default"),w||this.replaceState(s({},this.page,{rememberedState:s({},null==(r=this.page)?void 0:r.rememberedState,(n={},n[e]=t,n))}))},r.restore=function(t){var e,r;if(void 0===t&&(t="default"),!w)return null==(e=window.history.state)||null==(r=e.rememberedState)?void 0:r[t]},r.on=function(t,e){var r=function(t){var r=e(t);t.cancelable&&!t.defaultPrevented&&!1===r&&t.preventDefault()};return document.addEventListener("inertia:"+t,r),function(){return document.removeEventListener("inertia:"+t,r)}},t}(),E={buildDOMElement:function(t){var e=document.createElement("template");e.innerHTML=t;var r=e.content.firstChild;if(!t.startsWith("