@modul/mbui 1.2.0-beta-dev-bfd8df1c → 1.2.0-beta-dev-d5ef6f79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const chipVariants: (props?: {
4
- variant?: "outline" | "primary" | "secondary" | "ghost" | "success" | "primary-outline";
4
+ variant?: "outline" | "primary" | "secondary" | "success" | "primary-outline" | "ghost";
5
5
  size?: "lg" | "md" | "sm" | "xs" | "xxs";
6
6
  } & import("class-variance-authority/dist/types").ClassProp) => string;
7
7
  export interface IChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof chipVariants> {
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
2
  import { TStatus } from './ProgressBarWidget';
3
3
  import { TServiceStatus } from './types';
4
4
  interface IProps {
@@ -8,6 +8,7 @@ interface IProps {
8
8
  date: string;
9
9
  suspendDate: string | null;
10
10
  serviceStatus: TServiceStatus;
11
+ ref?: React.Ref<HTMLElement>;
11
12
  }
12
13
  export declare const progressColor: {
13
14
  Ok: string;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- export declare const PageNavbarCSS = "\n\tsticky\n\ttop-0\n\tcontainer\n\tflex\n\tjustify-between\n\tpx-[--page-content-padd-x]\n\tpt-[env(safe-area-inset-top)]\n\th-[--page-header-height]\n\tw-full\n";
2
+ export declare const PageNavbarCSS = "\n\tfixed\n\ttop-0\n\tcontainer\n\tflex\n\tjustify-between\n\titems-center\n\tpx-[--page-content-padd-x]\n\tpt-[env(safe-area-inset-top)]\n\th-[--page-header-height]\n\tw-full\n";
3
3
  interface IProps {
4
4
  className?: string;
5
5
  children: ReactNode;
@@ -256,7 +256,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
256
256
  pt-[120px]
257
257
  px-[--page-content-padd-x]
258
258
  pb-10
259
- `),u={Ok:{type:"text",variant:"success",description:"Рисков нет"},Norm:{variant:"warning",type:"text",description:"У вашего бизнеса есть риски"},Fiasko:{variant:"critical",type:"text",description:"Ваш бизнес в зоне риска"},Unknown:{variant:"info",type:void 0,description:"Пока у вас недостаточно данных для рассчёта данного показателя - проверьте позже"},Neutral:{variant:"info",type:void 0,description:"Пока у вас недостаточно данных для рассчёта данного показателя - проверьте позже"},NeedPay:{variant:"info",type:void 0,description:""}},l={Ok:{progressCSS:"bg-[linear-gradient(267deg,_#C1E519_21.49%,_#66BF3D_78.33%)]",bg:"hero-ok-bg"},Norm:{progressCSS:"bg-[linear-gradient(267deg,_#FFD25C_21.49%,_#FFAE5C_78.33%)]",bg:"hero-norm-bg"},Fiasko:{progressCSS:"bg-[linear-gradient(267deg,_#FF8366_21.49%,_#F75E5E_78.33%)]",bg:"hero-fiasko-bg"},Unknown:{progressCSS:"",bg:"hero-unknown-bg"},Neutral:{progressCSS:"",bg:"hero-neutral-bg"}};r.progressColor={Ok:"positive",Norm:"warning",Fiasko:"critical"},r.Hero=function(t){var n=t.value,c=t.date,d=t.description,f=t.status,m=t.suspendDate,h=t.serviceStatus;return"Suspended"===h?i.default.createElement("section",{className:(0,o.cn)("hero-bg",l[f].bg,s)},i.default.createElement("div",{className:"flex flex-col mb-4"},i.default.createElement("h1",{className:"text-[40px] leading-[1.1] font-bold mb-4"},"Белый бизнес"),i.default.createElement("p",{className:"font-4"},"Оцениваем ваш бизнес по 16 критериям и определяем возможные риски"),i.default.createElement("div",{className:"flex mx-auto mb-16 gap-x-6 -order-1"},i.default.createElement("p",{className:"flex flex-col items-end self-end"},i.default.createElement("span",{className:"text-dark font-medium mt-7"},"Ваш уровень надёжности"),i.default.createElement("span",{className:"text-[80px] font-bold leading-none -order-1"},n,"%"),i.default.createElement("span",{className:"text-light text-[12px] leading-[1.16] mt-1"},"Актуально на ",c)),i.default.createElement(a.Progress,{className:"h-[212px] shadow-md bg-page",indicatorCSS:l[f].progressCSS,variant:r.progressColor[f],size:"16px",orientation:"vertical",value:n,"aria-hidden":!0}))),i.default.createElement(a.Alert,{variant:"warning",className:"mt-4"},i.default.createElement(a.Alert.Title,null,"Услуга приостановлена с ",m," за неуплату"),i.default.createElement(a.Alert.Description,null,"Подключим снова, как только пополните счёт. Стоимость услуги — 990 ₽ в месяц"))):"Disconnected"===h?i.default.createElement("section",{className:(0,o.cn)("hero-bg",l[f].bg,s)},i.default.createElement("div",{className:"flex flex-col mb-4"},i.default.createElement("h1",{className:"text-[40px] leading-[1.1] font-bold mb-4"},"Белый бизнес"),i.default.createElement("p",{className:"font-4"},"Оцениваем ваш бизнес по 16 критериям и определяем возможные риски"),i.default.createElement("div",{className:"flex mx-auto mb-16 gap-x-6 -order-1 relative"},i.default.createElement("p",{className:"flex flex-col items-end self-end"},i.default.createElement("span",{className:"text-dark font-medium mt-7"},"Ваш уровень надёжности"),i.default.createElement("span",{className:"text-[80px] font-bold leading-none -order-1"},n,"%"),i.default.createElement("span",{className:"text-light text-[12px] leading-[1.16] mt-1"},"Актуально на ".concat(c))),i.default.createElement(a.Progress,{className:"h-[212px] shadow-md bg-page",indicatorCSS:l[f].progressCSS,variant:r.progressColor[f],size:"16px",orientation:"vertical",value:n,"aria-hidden":!0}))),i.default.createElement("div",{className:"space-y-4 mt-10"},i.default.createElement("p",{className:"whitespace-pre-line font-4"},"Налоговая и банк следят за компаниями с низкими налогами, частыми переводами физлицам и сомнительными партнёрами. Это трудно контролировать, а ошибки приводят к блокировке счёта."),i.default.createElement("p",{className:"font-4"},"С опцией «Белый бизнес» мы сами проверим вашу налоговую нагрузку, партнёров, переводы и другие важные параметры — всего 16 показателей."))):i.default.createElement("section",{className:(0,o.cn)("hero-bg",l[f].bg,s)},i.default.createElement("div",{className:"flex flex-col mb-4"},i.default.createElement("h1",{className:"text-[40px] leading-[1.1] font-bold"},"Белый бизнес"),i.default.createElement("div",{className:"flex mx-auto mb-16 gap-x-6 -order-1 relative"},i.default.createElement("p",{className:"flex flex-col items-end self-end"},i.default.createElement("span",{className:"text-dark font-medium mt-7"},"Ваш уровень надёжности"),i.default.createElement("span",{className:"text-[80px] font-bold leading-none -order-1"},n,"%"),i.default.createElement("span",{className:"text-light text-[12px] leading-[1.16] mt-1"},"Актуально на ".concat(c))),i.default.createElement(a.Progress,{className:"h-[212px] shadow-md bg-page",indicatorCSS:l[f].progressCSS,variant:r.progressColor[f],size:"16px",orientation:"vertical",value:n,"aria-hidden":!0}))),i.default.createElement("div",{className:"space-y-4"},i.default.createElement(a.Alert,{variant:u[f].variant,type:u[f].type},i.default.createElement(a.Alert.Description,null,u[f].description)),i.default.createElement("p",{className:"whitespace-pre-line"},d)))},r.Hero.displayName="Hero"},31590:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMTYwIiBmaWxsPSJub25lIj48ZmlsdGVyIGlkPSJiIiB3aWR0aD0iMzA3LjIiIGhlaWdodD0iMjExLjIiIHg9Ii0yNS42IiB5PSItMTYiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPjxmZUNvbG9yTWF0cml4IGluPSJTb3VyY2VBbHBoYSIgcmVzdWx0PSJoYXJkQWxwaGEiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiLz48ZmVPZmZzZXQgZHk9IjkuNiIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEyLjgiLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9IjAgMCAwIDAgMC4xMzMzMzMgMCAwIDAgMCAwLjE1Mjk0MSAwIDAgMCAwIDAuMiAwIDAgMCAwLjEyIDAiLz48ZmVCbGVuZCBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMzkyXzEwNDk0NSIvPjxmZUJsZW5kIGluPSJTb3VyY2VHcmFwaGljIiBpbjI9ImVmZmVjdDFfZHJvcFNoYWRvd18zOTJfMTA0OTQ1IiByZXN1bHQ9InNoYXBlIi8+PC9maWx0ZXI+PG1hc2sgaWQ9ImEiIHdpZHRoPSIyNTYiIGhlaWdodD0iMTYwIiB4PSIwIiB5PSIwIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDI1NnYxNjBIMHoiLz48L21hc2s+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgyNTZ2MTYwSDB6Ii8+PGcgbWFzaz0idXJsKCNhKSI+PGcgZmlsdGVyPSJ1cmwoI2IpIj48cGF0aCBmaWxsPSIjMWQ0MjhhIiBkPSJNMCAwaDI1NnYxNjBIMHoiLz48L2c+PHBhdGggZmlsbD0iIzBmMzU3NyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTkuMiAyMi40aDIzLjY4djIzLjY4aDIzLjY4djIzLjY4aDIzLjY4djIzLjY4SDY2LjU2djIzLjY4SDQyLjg4djIzLjY4SDE5LjJWOTMuNDRoMjMuNjhWNjkuNzZIMTkuMnptNzEuMDQgOTQuNzJWOTMuNDRoMjMuNjh2MjMuNjh6bTIzLjY4IDBoMjMuNjh2MjMuNjhoLTIzLjY4em0tMjMuNjggMEg2Ni41NnYyMy42OGgyMy42OHptMjMuNjgtMjMuNjhWNjkuNzZIOTAuMjRWNDYuMDhINjYuNTZWMjIuNGg0Ny4zNnYyMy42OGgyMy42OHY0Ny4zNnoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4="},31635:(t,r,n)=>{"use strict";n.r(r),n.d(r,{__addDisposableResource:()=>z,__assign:()=>o,__asyncDelegator:()=>N,__asyncGenerator:()=>P,__asyncValues:()=>x,__await:()=>S,__awaiter:()=>p,__classPrivateFieldGet:()=>k,__classPrivateFieldIn:()=>T,__classPrivateFieldSet:()=>E,__createBinding:()=>b,__decorate:()=>u,__disposeResources:()=>_,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>a,__generator:()=>g,__importDefault:()=>C,__importStar:()=>L,__makeTemplateObject:()=>A,__metadata:()=>h,__param:()=>l,__propKey:()=>f,__read:()=>M,__rest:()=>s,__rewriteRelativeImportExtension:()=>Z,__runInitializers:()=>d,__setFunctionName:()=>m,__spread:()=>j,__spreadArray:()=>w,__spreadArrays:()=>I,__values:()=>v,default:()=>R});var i=function(t,r){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(t,r)};function a(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}i(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)};function s(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(t);a<i.length;a++)0>r.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(n[i[a]]=t[i[a]]);return n}function u(t,r,n,i){var a,o=arguments.length,s=o<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,n,i);else for(var u=t.length-1;u>=0;u--)(a=t[u])&&(s=(o<3?a(s):o>3?a(r,n,s):a(r,n))||s);return o>3&&s&&Object.defineProperty(r,n,s),s}function l(t,r){return function(n,i){r(n,i,t)}}function c(t,r,n,i,a,o){function s(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var u,l=i.kind,c="getter"===l?"get":"setter"===l?"set":"value",d=!r&&t?i.static?t:t.prototype:null,f=r||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),m=!1,h=n.length-1;h>=0;h--){var p={};for(var g in i)p[g]="access"===g?{}:i[g];for(var g in i.access)p.access[g]=i.access[g];p.addInitializer=function(t){if(m)throw TypeError("Cannot add initializers after decoration has completed");o.push(s(t||null))};var b=(0,n[h])("accessor"===l?{get:f.get,set:f.set}:f[c],p);if("accessor"===l){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw TypeError("Object expected");(u=s(b.get))&&(f.get=u),(u=s(b.set))&&(f.set=u),(u=s(b.init))&&a.unshift(u)}else(u=s(b))&&("field"===l?a.unshift(u):f[c]=u)}d&&Object.defineProperty(d,i.name,f),m=!0}function d(t,r,n){for(var i=arguments.length>2,a=0;a<r.length;a++)n=i?r[a].call(t,n):r[a].call(t);return i?n:void 0}function f(t){return"symbol"==typeof t?t:"".concat(t)}function m(t,r,n){return"symbol"==typeof r&&(r=r.description?"[".concat(r.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",r):r})}function h(t,r){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,r)}function p(t,r,n,i){return new(n||(n=Promise))(function(a,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function u(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var r;t.done?a(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,u)}l((i=i.apply(t,r||[])).next())})}function g(t,r){var n,i,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=u(0),s.throw=u(1),s.return=u(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(o=0)),o;)try{if(n=1,i&&(a=2&c[0]?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,i=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=r.call(t,o)}catch(t){c=[6,t],i=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var b=Object.create?function(t,r,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(r,n);(!a||("get"in a?!r.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,a)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]};function y(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||b(r,t,n)}function v(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,a,o=n.call(t),s=[];try{for(;(void 0===r||r-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return s}function j(){for(var t=[],r=0;r<arguments.length;r++)t=t.concat(M(arguments[r]));return t}function I(){for(var t=0,r=0,n=arguments.length;r<n;r++)t+=arguments[r].length;for(var i=Array(t),a=0,r=0;r<n;r++)for(var o=arguments[r],s=0,u=o.length;s<u;s++,a++)i[a]=o[s];return i}function w(t,r,n){if(n||2==arguments.length)for(var i,a=0,o=r.length;a<o;a++)!i&&a in r||(i||(i=Array.prototype.slice.call(r,0,a)),i[a]=r[a]);return t.concat(i||Array.prototype.slice.call(r))}function S(t){return this instanceof S?(this.v=t,this):new S(t)}function P(t,r,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,a=n.apply(t,r||[]),o=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(t){return function(r){return Promise.resolve(r).then(t,c)}}),i[Symbol.asyncIterator]=function(){return this},i;function s(t,r){a[t]&&(i[t]=function(r){return new Promise(function(n,i){o.push([t,r,n,i])>1||u(t,r)})},r&&(i[t]=r(i[t])))}function u(t,r){try{var n;(n=a[t](r)).value instanceof S?Promise.resolve(n.value.v).then(l,c):d(o[0][2],n)}catch(t){d(o[0][3],t)}}function l(t){u("next",t)}function c(t){u("throw",t)}function d(t,r){t(r),o.shift(),o.length&&u(o[0][0],o[0][1])}}function N(t){var r,n;return r={},i("next"),i("throw",function(t){throw t}),i("return"),r[Symbol.iterator]=function(){return this},r;function i(i,a){r[i]=t[i]?function(r){return(n=!n)?{value:S(t[i](r)),done:!1}:a?a(r):r}:a}}function x(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,n=t[Symbol.asyncIterator];return n?n.call(t):(t=v(t),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=t[n]&&function(r){return new Promise(function(i,a){var o,s,u;o=i,s=a,u=(r=t[n](r)).done,Promise.resolve(r.value).then(function(t){o({value:t,done:u})},s)})}}}function A(t,r){return Object.defineProperty?Object.defineProperty(t,"raw",{value:r}):t.raw=r,t}var O=Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r},D=function(t){return(D=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r})(t)};function L(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n=D(t),i=0;i<n.length;i++)"default"!==n[i]&&b(r,t,n[i]);return O(r,t),r}function C(t){return t&&t.__esModule?t:{default:t}}function k(t,r,n,i){if("a"===n&&!i)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!i:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:r.get(t)}function E(t,r,n,i,a){if("m"===i)throw TypeError("Private method is not writable");if("a"===i&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!a:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(t,n):a?a.value=n:r.set(t,n),n}function T(t,r){if(null===r||"object"!=typeof r&&"function"!=typeof r)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?r===t:t.has(r)}function z(t,r,n){if(null!=r){var i,a;if("object"!=typeof r&&"function"!=typeof r)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");i=r[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");i=r[Symbol.dispose],n&&(a=i)}if("function"!=typeof i)throw TypeError("Object not disposable.");a&&(i=function(){try{a.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:r,dispose:i,async:n})}else n&&t.stack.push({async:!0});return r}var W="function"==typeof SuppressedError?SuppressedError:function(t,r,n){var i=Error(n);return i.name="SuppressedError",i.error=t,i.suppressed=r,i};function _(t){function r(r){t.error=t.hasError?new W(r,t.error,"An error was suppressed during disposal."):r,t.hasError=!0}var n,i=0;return function a(){for(;n=t.stack.pop();)try{if(!n.async&&1===i)return i=0,t.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return i|=2,Promise.resolve(o).then(a,function(t){return r(t),a()})}else i|=1}catch(t){r(t)}if(1===i)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function Z(t,r){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,n,i,a,o){return n?r?".jsx":".js":!i||a&&o?i+a+"."+o.toLowerCase()+"js":t}):t}let R={__extends:a,__assign:o,__rest:s,__decorate:u,__param:l,__esDecorate:c,__runInitializers:d,__propKey:f,__setFunctionName:m,__metadata:h,__awaiter:p,__generator:g,__createBinding:b,__exportStar:y,__values:v,__read:M,__spread:j,__spreadArrays:I,__spreadArray:w,__await:S,__asyncGenerator:P,__asyncDelegator:N,__asyncValues:x,__makeTemplateObject:A,__importStar:L,__importDefault:C,__classPrivateFieldGet:k,__classPrivateFieldSet:E,__classPrivateFieldIn:T,__addDisposableResource:z,__disposeResources:_,__rewriteRelativeImportExtension:Z}},31641:(t,r,n)=>{"use strict";r.isTomorrow=function(t,r){return(0,o.isSameDay)(t,(0,i.addDays)((0,a.constructNow)(r?.in||t),1),r)};var i=n(82832),a=n(25017),o=n(83472)},31815:(t,r,n)=>{"use strict";var i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(t,r,n,i)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let u of s(r))l.call(t,u)||u===n||a(t,u,{get:()=>r[u],enumerable:!(i=o(r,u))||i.enumerable});return t},d=(t,r,n)=>(n=null!=t?i(u(t)):{},c(!r&&t&&t.__esModule?n:a(n,"default",{value:t,enumerable:!0}),t)),f={};((t,r)=>{for(var n in r)a(t,n,{get:r[n],enumerable:!0})})(f,{Primitive:()=>b,Root:()=>v,dispatchDiscreteCustomEvent:()=>y}),t.exports=c(a({},"__esModule",{value:!0}),f);var m=d(n(54953)),h=d(n(20180)),p=n(56612),g=n(74848),b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,r)=>{let n=m.forwardRef((t,n)=>{let{asChild:i,...a}=t,o=i?p.Slot:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,g.jsx)(o,{...a,ref:n})});return n.displayName=`Primitive.${r}`,{...t,[r]:n}},{});function y(t,r){t&&h.flushSync(()=>t.dispatchEvent(r))}var v=b},31817:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Skeleton=void 0;var i=n(89654);Object.defineProperty(r,"Skeleton",{enumerable:!0,get:function(){return i.Skeleton}})},32083:(t,r,n)=>{"use strict";r.getDaysInYear=function(t,r){let n=(0,a.toDate)(t,r?.in);return Number.isNaN(+n)?NaN:(0,i.isLeapYear)(n)?366:365};var i=n(18657),a=n(36339)},32218:(t,r,n)=>{"use strict";function i(t){return(i="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})(t)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,r){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function u(t,r,n){return(r=l(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function l(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,r||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==i(r)?r:r+""}Object.defineProperty(r,"__esModule",{value:!0}),r.Audio=void 0;var c=n(31635),d=(0,c.__importDefault)(n(54953)),f=(0,c.__importDefault)(n(20967)),m=n(20265);r.Audio=function(t){var r;function n(){var t,r,s;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var l=arguments.length,c=Array(l),f=0;f<l;f++)c[f]=arguments[f];return r=n,s=[].concat(c),r=o(r),u(t=function(t,r){if(r&&("object"==i(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,a()?Reflect.construct(r,s||[],o(this).constructor):r.apply(this,s)),"state",{loadingProgress:0,progress:0,duration:0,status:m.EAudioStatuses.PAUSED,currentTime:0,drag:!1}),u(t,"audioRef",d.default.createRef()),u(t,"getDuration",function(){var r=t.audioRef.current;return Number(t.state.duration||r.duration)}),u(t,"onSliderChange",function(r){var n=t.getDuration(),i=r/100*n;t.seek(i);var a=t.audioRef.current,o=a?a.currentTime/n*100:0;t.setState({progress:o,drag:!0,currentTime:i})}),u(t,"onAfterChange",function(){t.setState({drag:!1})}),u(t,"onButtonClick",function(){switch(t.state.status){case m.EAudioStatuses.LOADING:t.loadCancel();break;case m.EAudioStatuses.PLAYING:t.pause();break;default:t.play()}}),u(t,"onLoadedMetaData",function(r){var n=(r.target||{}).duration;t.setState({duration:n})}),u(t,"onTimeUpdate",function(r){var n=r.target.currentTime,i=n/t.getDuration()*100;t.setState({progress:i,currentTime:n})}),u(t,"onProgress",function(r){var n=r.target||{},i=n.buffered,a=n.duration;t.updateLoadingProgress(i,a)}),u(t,"onPlay",function(){t.setState({status:m.EAudioStatuses.PLAYING})}),u(t,"onPause",function(){t.setState({status:m.EAudioStatuses.PAUSED})}),u(t,"onPlaying",function(){t.state.waitingTimerId&&clearTimeout(t.state.waitingTimerId),t.setState({status:m.EAudioStatuses.PLAYING})}),u(t,"onWaiting",function(r){var n=r.target||{},i=n.buffered,a=n.duration;t.setState({waitingTimerId:setTimeout(function(){t.setState({status:m.EAudioStatuses.LOADING})},5)}),t.updateLoadingProgress(i,a)}),u(t,"onEnded",function(r){r.target.currentTime=0,t.setState({status:m.EAudioStatuses.PAUSED})}),u(t,"onError",function(){t.setState({status:m.EAudioStatuses.PAUSED})}),u(t,"durationRender",function(){var r=t.state.currentTime||t.state.drag?t.state.currentTime:t.state.duration,n="––:––";if(r||0===r){var i=Math.floor(r/60),a=Math.round(r-60*i),o=function(t){return"".concat(t<10?"0":"").concat(t)};n="".concat(o(i),":").concat(o(a))}return n}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&s(n,t),r=[{key:"componentDidMount",value:function(){this.changeVolume(this.props.volume),this.setState({duration:this.props.duration})}},{key:"componentDidUpdate",value:function(t){t.changeVolume!==this.props.volume&&this.changeVolume(this.props.volume)}},{key:"changeVolume",value:function(t){var r=this.audioRef.current;r.volume&&(r.volume=t||.5)}},{key:"play",value:function(){var t=this.audioRef.current;t&&(!t.src||t.src.indexOf("_abortedAudio")>=0)&&(t.src=this.props.src);for(var r=document.getElementsByTagName("audio"),n=r.length-1;n>=0;n--){var i=r.item(n);i!==this.audioRef.current&&i.getAttribute("data-only-one-is-played")&&i.pause()}t.play().catch(function(){t.pause()})}},{key:"pause",value:function(){this.audioRef.current.pause()}},{key:"loadCancel",value:function(){this.pause();var t=this.audioRef.current;t.src&&(t.src="_abortedAudio")}},{key:"seek",value:function(t){this.audioRef.current.currentTime=Math.min(Math.max(t,0),this.getDuration())}},{key:"calcProgress",value:function(t,r){var n=0;if(t&&t.length)for(var i=t.length-1;0<=i;i--)n+=t.end(i)-t.start(i)+1;return Math.min(r&&n!==r?n/r*100:0,100)}},{key:"updateLoadingProgress",value:function(t,r){this.setState({loadingProgress:this.calcProgress(t,r)})}},{key:"getButtonCaption",value:function(){switch(this.state.status){case m.EAudioStatuses.PAUSED:return d.default.createElement("i",{className:"icon-play-solid"});case m.EAudioStatuses.PLAYING:return d.default.createElement("i",{className:"icon-pause"});case m.EAudioStatuses.LOADING:return d.default.createElement("div",null,d.default.createElement("i",{className:"icon-close"}))}}},{key:"render",value:function(){var t=this.props,r=t.src,n=t.fileName,i=t.durationView,a=void 0===i?"right":i,o=t.onlyOneIsPlayed;return d.default.createElement(d.default.Fragment,null,d.default.createElement("div",{className:"player"},d.default.createElement("button",{className:"player__btn",onClick:this.onButtonClick},this.getButtonCaption()),d.default.createElement("div",{className:"player__progress"},d.default.createElement("div",{className:"player__progress-buffer",style:{width:"".concat(this.state.loadingProgress,"%")}}),d.default.createElement(f.default,{value:[this.state.progress?this.state.progress:0],onValueChange:this.onSliderChange,onValueCommit:this.onAfterChange}),"bottom"===a&&d.default.createElement("div",{className:"player__time"},this.durationRender())),"right"===a&&d.default.createElement("div",{className:"player__time"},this.durationRender()),d.default.createElement("audio",{ref:this.audioRef,preload:"none",onLoadedMetadata:this.onLoadedMetaData,onDurationChange:this.onLoadedMetaData,onTimeUpdate:this.onTimeUpdate,onProgress:this.onProgress,onPlay:this.onPlay,onPause:this.onPause,onPlaying:this.onPlaying,onWaiting:this.onWaiting,onEnded:this.onEnded,onAbort:this.onError,onError:this.onError,src:r,"data-only-one-is-played":o?"true":""},d.default.createElement("p",null,d.default.createElement("a",{href:r},n)))))}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,l(i.key),i)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(d.default.Component)},32430:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Page=void 0;var i=(0,n(31635).__importDefault)(n(54953)),a=n(18559),o=n(34218),s=`
259
+ `),u={Ok:{type:"text",variant:"success",description:"Рисков нет"},Norm:{variant:"warning",type:"text",description:"У вашего бизнеса есть риски"},Fiasko:{variant:"critical",type:"text",description:"Ваш бизнес в зоне риска"},Unknown:{variant:"info",type:void 0,description:"Пока у вас недостаточно данных для рассчёта данного показателя - проверьте позже"},Neutral:{variant:"info",type:void 0,description:"Пока у вас недостаточно данных для рассчёта данного показателя - проверьте позже"},NeedPay:{variant:"info",type:void 0,description:""}},l={Ok:{progressCSS:"bg-[linear-gradient(267deg,_#C1E519_21.49%,_#66BF3D_78.33%)]",bg:"hero-ok-bg"},Norm:{progressCSS:"bg-[linear-gradient(267deg,_#FFD25C_21.49%,_#FFAE5C_78.33%)]",bg:"hero-norm-bg"},Fiasko:{progressCSS:"bg-[linear-gradient(267deg,_#FF8366_21.49%,_#F75E5E_78.33%)]",bg:"hero-fiasko-bg"},Unknown:{progressCSS:"",bg:"hero-unknown-bg"},Neutral:{progressCSS:"",bg:"hero-neutral-bg"}};r.progressColor={Ok:"positive",Norm:"warning",Fiasko:"critical"},r.Hero=function(t){var n=t.value,c=t.date,d=t.description,f=t.status,m=t.suspendDate,h=t.serviceStatus,p=t.ref;return"Suspended"===h?i.default.createElement("section",{className:(0,o.cn)("hero-bg",l[f].bg,s),ref:p},i.default.createElement("div",{className:"flex flex-col mb-4"},i.default.createElement("h1",{className:"text-[40px] leading-[1.1] font-bold mb-4"},"Белый бизнес"),i.default.createElement("p",{className:"font-4"},"Оцениваем ваш бизнес по 16 критериям и определяем возможные риски"),i.default.createElement("div",{className:"flex mx-auto mb-16 gap-x-6 -order-1"},i.default.createElement("p",{className:"flex flex-col items-end self-end"},i.default.createElement("span",{className:"text-dark font-medium mt-7"},"Ваш уровень надёжности"),i.default.createElement("span",{className:"text-[80px] font-bold leading-none -order-1"},n,"%"),i.default.createElement("span",{className:"text-light text-[12px] leading-[1.16] mt-1"},"Актуально на ",c)),i.default.createElement(a.Progress,{className:"h-[212px] shadow-md bg-page",indicatorCSS:l[f].progressCSS,variant:r.progressColor[f],size:"16px",orientation:"vertical",value:n,"aria-hidden":!0}))),i.default.createElement(a.Alert,{variant:"warning",className:"mt-4"},i.default.createElement(a.Alert.Title,null,"Услуга приостановлена с ",m," за неуплату"),i.default.createElement(a.Alert.Description,null,"Подключим снова, как только пополните счёт. Стоимость услуги — 990 ₽ в месяц"))):"Disconnected"===h?i.default.createElement("section",{className:(0,o.cn)("hero-bg",l[f].bg,s)},i.default.createElement("div",{className:"flex flex-col mb-4"},i.default.createElement("h1",{className:"text-[40px] leading-[1.1] font-bold mb-4"},"Белый бизнес"),i.default.createElement("p",{className:"font-4"},"Оцениваем ваш бизнес по 16 критериям и определяем возможные риски"),i.default.createElement("div",{className:"flex mx-auto mb-16 gap-x-6 -order-1 relative"},i.default.createElement("p",{className:"flex flex-col items-end self-end"},i.default.createElement("span",{className:"text-dark font-medium mt-7"},"Ваш уровень надёжности"),i.default.createElement("span",{className:"text-[80px] font-bold leading-none -order-1"},n,"%"),i.default.createElement("span",{className:"text-light text-[12px] leading-[1.16] mt-1"},"Актуально на ".concat(c))),i.default.createElement(a.Progress,{className:"h-[212px] shadow-md bg-page",indicatorCSS:l[f].progressCSS,variant:r.progressColor[f],size:"16px",orientation:"vertical",value:n,"aria-hidden":!0}))),i.default.createElement("div",{className:"space-y-4 mt-10"},i.default.createElement("p",{className:"whitespace-pre-line font-4"},"Налоговая и банк следят за компаниями с низкими налогами, частыми переводами физлицам и сомнительными партнёрами. Это трудно контролировать, а ошибки приводят к блокировке счёта."),i.default.createElement("p",{className:"font-4"},"С опцией «Белый бизнес» мы сами проверим вашу налоговую нагрузку, партнёров, переводы и другие важные параметры — всего 16 показателей."))):i.default.createElement("section",{className:(0,o.cn)("hero-bg",l[f].bg,s)},i.default.createElement("div",{className:"flex flex-col mb-4"},i.default.createElement("h1",{className:"text-[40px] leading-[1.1] font-bold"},"Белый бизнес"),i.default.createElement("div",{className:"flex mx-auto mb-16 gap-x-6 -order-1 relative"},i.default.createElement("p",{className:"flex flex-col items-end self-end"},i.default.createElement("span",{className:"text-dark font-medium mt-7"},"Ваш уровень надёжности"),i.default.createElement("span",{className:"text-[80px] font-bold leading-none -order-1"},n,"%"),i.default.createElement("span",{className:"text-light text-[12px] leading-[1.16] mt-1"},"Актуально на ".concat(c))),i.default.createElement(a.Progress,{className:"h-[212px] shadow-md bg-page",indicatorCSS:l[f].progressCSS,variant:r.progressColor[f],size:"16px",orientation:"vertical",value:n,"aria-hidden":!0}))),i.default.createElement("div",{className:"space-y-4"},i.default.createElement(a.Alert,{variant:u[f].variant,type:u[f].type},i.default.createElement(a.Alert.Description,null,u[f].description)),i.default.createElement("p",{className:"whitespace-pre-line"},d)))},r.Hero.displayName="Hero"},31590:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMTYwIiBmaWxsPSJub25lIj48ZmlsdGVyIGlkPSJiIiB3aWR0aD0iMzA3LjIiIGhlaWdodD0iMjExLjIiIHg9Ii0yNS42IiB5PSItMTYiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPjxmZUNvbG9yTWF0cml4IGluPSJTb3VyY2VBbHBoYSIgcmVzdWx0PSJoYXJkQWxwaGEiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiLz48ZmVPZmZzZXQgZHk9IjkuNiIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEyLjgiLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9IjAgMCAwIDAgMC4xMzMzMzMgMCAwIDAgMCAwLjE1Mjk0MSAwIDAgMCAwIDAuMiAwIDAgMCAwLjEyIDAiLz48ZmVCbGVuZCBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMzkyXzEwNDk0NSIvPjxmZUJsZW5kIGluPSJTb3VyY2VHcmFwaGljIiBpbjI9ImVmZmVjdDFfZHJvcFNoYWRvd18zOTJfMTA0OTQ1IiByZXN1bHQ9InNoYXBlIi8+PC9maWx0ZXI+PG1hc2sgaWQ9ImEiIHdpZHRoPSIyNTYiIGhlaWdodD0iMTYwIiB4PSIwIiB5PSIwIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDI1NnYxNjBIMHoiLz48L21hc2s+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgyNTZ2MTYwSDB6Ii8+PGcgbWFzaz0idXJsKCNhKSI+PGcgZmlsdGVyPSJ1cmwoI2IpIj48cGF0aCBmaWxsPSIjMWQ0MjhhIiBkPSJNMCAwaDI1NnYxNjBIMHoiLz48L2c+PHBhdGggZmlsbD0iIzBmMzU3NyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTkuMiAyMi40aDIzLjY4djIzLjY4aDIzLjY4djIzLjY4aDIzLjY4djIzLjY4SDY2LjU2djIzLjY4SDQyLjg4djIzLjY4SDE5LjJWOTMuNDRoMjMuNjhWNjkuNzZIMTkuMnptNzEuMDQgOTQuNzJWOTMuNDRoMjMuNjh2MjMuNjh6bTIzLjY4IDBoMjMuNjh2MjMuNjhoLTIzLjY4em0tMjMuNjggMEg2Ni41NnYyMy42OGgyMy42OHptMjMuNjgtMjMuNjhWNjkuNzZIOTAuMjRWNDYuMDhINjYuNTZWMjIuNGg0Ny4zNnYyMy42OGgyMy42OHY0Ny4zNnoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4="},31635:(t,r,n)=>{"use strict";n.r(r),n.d(r,{__addDisposableResource:()=>z,__assign:()=>o,__asyncDelegator:()=>N,__asyncGenerator:()=>P,__asyncValues:()=>x,__await:()=>S,__awaiter:()=>p,__classPrivateFieldGet:()=>k,__classPrivateFieldIn:()=>T,__classPrivateFieldSet:()=>E,__createBinding:()=>b,__decorate:()=>u,__disposeResources:()=>_,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>a,__generator:()=>g,__importDefault:()=>C,__importStar:()=>L,__makeTemplateObject:()=>A,__metadata:()=>h,__param:()=>l,__propKey:()=>f,__read:()=>M,__rest:()=>s,__rewriteRelativeImportExtension:()=>Z,__runInitializers:()=>d,__setFunctionName:()=>m,__spread:()=>j,__spreadArray:()=>w,__spreadArrays:()=>I,__values:()=>v,default:()=>R});var i=function(t,r){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(t,r)};function a(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}i(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)};function s(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,i=Object.getOwnPropertySymbols(t);a<i.length;a++)0>r.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(n[i[a]]=t[i[a]]);return n}function u(t,r,n,i){var a,o=arguments.length,s=o<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,n,i);else for(var u=t.length-1;u>=0;u--)(a=t[u])&&(s=(o<3?a(s):o>3?a(r,n,s):a(r,n))||s);return o>3&&s&&Object.defineProperty(r,n,s),s}function l(t,r){return function(n,i){r(n,i,t)}}function c(t,r,n,i,a,o){function s(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var u,l=i.kind,c="getter"===l?"get":"setter"===l?"set":"value",d=!r&&t?i.static?t:t.prototype:null,f=r||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),m=!1,h=n.length-1;h>=0;h--){var p={};for(var g in i)p[g]="access"===g?{}:i[g];for(var g in i.access)p.access[g]=i.access[g];p.addInitializer=function(t){if(m)throw TypeError("Cannot add initializers after decoration has completed");o.push(s(t||null))};var b=(0,n[h])("accessor"===l?{get:f.get,set:f.set}:f[c],p);if("accessor"===l){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw TypeError("Object expected");(u=s(b.get))&&(f.get=u),(u=s(b.set))&&(f.set=u),(u=s(b.init))&&a.unshift(u)}else(u=s(b))&&("field"===l?a.unshift(u):f[c]=u)}d&&Object.defineProperty(d,i.name,f),m=!0}function d(t,r,n){for(var i=arguments.length>2,a=0;a<r.length;a++)n=i?r[a].call(t,n):r[a].call(t);return i?n:void 0}function f(t){return"symbol"==typeof t?t:"".concat(t)}function m(t,r,n){return"symbol"==typeof r&&(r=r.description?"[".concat(r.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",r):r})}function h(t,r){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,r)}function p(t,r,n,i){return new(n||(n=Promise))(function(a,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function u(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var r;t.done?a(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,u)}l((i=i.apply(t,r||[])).next())})}function g(t,r){var n,i,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=u(0),s.throw=u(1),s.return=u(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(o=0)),o;)try{if(n=1,i&&(a=2&c[0]?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,i=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=r.call(t,o)}catch(t){c=[6,t],i=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var b=Object.create?function(t,r,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(r,n);(!a||("get"in a?!r.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,a)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]};function y(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||b(r,t,n)}function v(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,a,o=n.call(t),s=[];try{for(;(void 0===r||r-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return s}function j(){for(var t=[],r=0;r<arguments.length;r++)t=t.concat(M(arguments[r]));return t}function I(){for(var t=0,r=0,n=arguments.length;r<n;r++)t+=arguments[r].length;for(var i=Array(t),a=0,r=0;r<n;r++)for(var o=arguments[r],s=0,u=o.length;s<u;s++,a++)i[a]=o[s];return i}function w(t,r,n){if(n||2==arguments.length)for(var i,a=0,o=r.length;a<o;a++)!i&&a in r||(i||(i=Array.prototype.slice.call(r,0,a)),i[a]=r[a]);return t.concat(i||Array.prototype.slice.call(r))}function S(t){return this instanceof S?(this.v=t,this):new S(t)}function P(t,r,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,a=n.apply(t,r||[]),o=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(t){return function(r){return Promise.resolve(r).then(t,c)}}),i[Symbol.asyncIterator]=function(){return this},i;function s(t,r){a[t]&&(i[t]=function(r){return new Promise(function(n,i){o.push([t,r,n,i])>1||u(t,r)})},r&&(i[t]=r(i[t])))}function u(t,r){try{var n;(n=a[t](r)).value instanceof S?Promise.resolve(n.value.v).then(l,c):d(o[0][2],n)}catch(t){d(o[0][3],t)}}function l(t){u("next",t)}function c(t){u("throw",t)}function d(t,r){t(r),o.shift(),o.length&&u(o[0][0],o[0][1])}}function N(t){var r,n;return r={},i("next"),i("throw",function(t){throw t}),i("return"),r[Symbol.iterator]=function(){return this},r;function i(i,a){r[i]=t[i]?function(r){return(n=!n)?{value:S(t[i](r)),done:!1}:a?a(r):r}:a}}function x(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,n=t[Symbol.asyncIterator];return n?n.call(t):(t=v(t),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=t[n]&&function(r){return new Promise(function(i,a){var o,s,u;o=i,s=a,u=(r=t[n](r)).done,Promise.resolve(r.value).then(function(t){o({value:t,done:u})},s)})}}}function A(t,r){return Object.defineProperty?Object.defineProperty(t,"raw",{value:r}):t.raw=r,t}var O=Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r},D=function(t){return(D=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r})(t)};function L(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n=D(t),i=0;i<n.length;i++)"default"!==n[i]&&b(r,t,n[i]);return O(r,t),r}function C(t){return t&&t.__esModule?t:{default:t}}function k(t,r,n,i){if("a"===n&&!i)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!i:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:r.get(t)}function E(t,r,n,i,a){if("m"===i)throw TypeError("Private method is not writable");if("a"===i&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!a:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(t,n):a?a.value=n:r.set(t,n),n}function T(t,r){if(null===r||"object"!=typeof r&&"function"!=typeof r)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?r===t:t.has(r)}function z(t,r,n){if(null!=r){var i,a;if("object"!=typeof r&&"function"!=typeof r)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");i=r[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");i=r[Symbol.dispose],n&&(a=i)}if("function"!=typeof i)throw TypeError("Object not disposable.");a&&(i=function(){try{a.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:r,dispose:i,async:n})}else n&&t.stack.push({async:!0});return r}var W="function"==typeof SuppressedError?SuppressedError:function(t,r,n){var i=Error(n);return i.name="SuppressedError",i.error=t,i.suppressed=r,i};function _(t){function r(r){t.error=t.hasError?new W(r,t.error,"An error was suppressed during disposal."):r,t.hasError=!0}var n,i=0;return function a(){for(;n=t.stack.pop();)try{if(!n.async&&1===i)return i=0,t.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return i|=2,Promise.resolve(o).then(a,function(t){return r(t),a()})}else i|=1}catch(t){r(t)}if(1===i)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function Z(t,r){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,n,i,a,o){return n?r?".jsx":".js":!i||a&&o?i+a+"."+o.toLowerCase()+"js":t}):t}let R={__extends:a,__assign:o,__rest:s,__decorate:u,__param:l,__esDecorate:c,__runInitializers:d,__propKey:f,__setFunctionName:m,__metadata:h,__awaiter:p,__generator:g,__createBinding:b,__exportStar:y,__values:v,__read:M,__spread:j,__spreadArrays:I,__spreadArray:w,__await:S,__asyncGenerator:P,__asyncDelegator:N,__asyncValues:x,__makeTemplateObject:A,__importStar:L,__importDefault:C,__classPrivateFieldGet:k,__classPrivateFieldSet:E,__classPrivateFieldIn:T,__addDisposableResource:z,__disposeResources:_,__rewriteRelativeImportExtension:Z}},31641:(t,r,n)=>{"use strict";r.isTomorrow=function(t,r){return(0,o.isSameDay)(t,(0,i.addDays)((0,a.constructNow)(r?.in||t),1),r)};var i=n(82832),a=n(25017),o=n(83472)},31815:(t,r,n)=>{"use strict";var i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(t,r,n,i)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let u of s(r))l.call(t,u)||u===n||a(t,u,{get:()=>r[u],enumerable:!(i=o(r,u))||i.enumerable});return t},d=(t,r,n)=>(n=null!=t?i(u(t)):{},c(!r&&t&&t.__esModule?n:a(n,"default",{value:t,enumerable:!0}),t)),f={};((t,r)=>{for(var n in r)a(t,n,{get:r[n],enumerable:!0})})(f,{Primitive:()=>b,Root:()=>v,dispatchDiscreteCustomEvent:()=>y}),t.exports=c(a({},"__esModule",{value:!0}),f);var m=d(n(54953)),h=d(n(20180)),p=n(56612),g=n(74848),b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,r)=>{let n=m.forwardRef((t,n)=>{let{asChild:i,...a}=t,o=i?p.Slot:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,g.jsx)(o,{...a,ref:n})});return n.displayName=`Primitive.${r}`,{...t,[r]:n}},{});function y(t,r){t&&h.flushSync(()=>t.dispatchEvent(r))}var v=b},31817:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Skeleton=void 0;var i=n(89654);Object.defineProperty(r,"Skeleton",{enumerable:!0,get:function(){return i.Skeleton}})},32083:(t,r,n)=>{"use strict";r.getDaysInYear=function(t,r){let n=(0,a.toDate)(t,r?.in);return Number.isNaN(+n)?NaN:(0,i.isLeapYear)(n)?366:365};var i=n(18657),a=n(36339)},32218:(t,r,n)=>{"use strict";function i(t){return(i="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})(t)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,r){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function u(t,r,n){return(r=l(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function l(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,r||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==i(r)?r:r+""}Object.defineProperty(r,"__esModule",{value:!0}),r.Audio=void 0;var c=n(31635),d=(0,c.__importDefault)(n(54953)),f=(0,c.__importDefault)(n(20967)),m=n(20265);r.Audio=function(t){var r;function n(){var t,r,s;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var l=arguments.length,c=Array(l),f=0;f<l;f++)c[f]=arguments[f];return r=n,s=[].concat(c),r=o(r),u(t=function(t,r){if(r&&("object"==i(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");var n=t;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,a()?Reflect.construct(r,s||[],o(this).constructor):r.apply(this,s)),"state",{loadingProgress:0,progress:0,duration:0,status:m.EAudioStatuses.PAUSED,currentTime:0,drag:!1}),u(t,"audioRef",d.default.createRef()),u(t,"getDuration",function(){var r=t.audioRef.current;return Number(t.state.duration||r.duration)}),u(t,"onSliderChange",function(r){var n=t.getDuration(),i=r/100*n;t.seek(i);var a=t.audioRef.current,o=a?a.currentTime/n*100:0;t.setState({progress:o,drag:!0,currentTime:i})}),u(t,"onAfterChange",function(){t.setState({drag:!1})}),u(t,"onButtonClick",function(){switch(t.state.status){case m.EAudioStatuses.LOADING:t.loadCancel();break;case m.EAudioStatuses.PLAYING:t.pause();break;default:t.play()}}),u(t,"onLoadedMetaData",function(r){var n=(r.target||{}).duration;t.setState({duration:n})}),u(t,"onTimeUpdate",function(r){var n=r.target.currentTime,i=n/t.getDuration()*100;t.setState({progress:i,currentTime:n})}),u(t,"onProgress",function(r){var n=r.target||{},i=n.buffered,a=n.duration;t.updateLoadingProgress(i,a)}),u(t,"onPlay",function(){t.setState({status:m.EAudioStatuses.PLAYING})}),u(t,"onPause",function(){t.setState({status:m.EAudioStatuses.PAUSED})}),u(t,"onPlaying",function(){t.state.waitingTimerId&&clearTimeout(t.state.waitingTimerId),t.setState({status:m.EAudioStatuses.PLAYING})}),u(t,"onWaiting",function(r){var n=r.target||{},i=n.buffered,a=n.duration;t.setState({waitingTimerId:setTimeout(function(){t.setState({status:m.EAudioStatuses.LOADING})},5)}),t.updateLoadingProgress(i,a)}),u(t,"onEnded",function(r){r.target.currentTime=0,t.setState({status:m.EAudioStatuses.PAUSED})}),u(t,"onError",function(){t.setState({status:m.EAudioStatuses.PAUSED})}),u(t,"durationRender",function(){var r=t.state.currentTime||t.state.drag?t.state.currentTime:t.state.duration,n="––:––";if(r||0===r){var i=Math.floor(r/60),a=Math.round(r-60*i),o=function(t){return"".concat(t<10?"0":"").concat(t)};n="".concat(o(i),":").concat(o(a))}return n}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&s(n,t),r=[{key:"componentDidMount",value:function(){this.changeVolume(this.props.volume),this.setState({duration:this.props.duration})}},{key:"componentDidUpdate",value:function(t){t.changeVolume!==this.props.volume&&this.changeVolume(this.props.volume)}},{key:"changeVolume",value:function(t){var r=this.audioRef.current;r.volume&&(r.volume=t||.5)}},{key:"play",value:function(){var t=this.audioRef.current;t&&(!t.src||t.src.indexOf("_abortedAudio")>=0)&&(t.src=this.props.src);for(var r=document.getElementsByTagName("audio"),n=r.length-1;n>=0;n--){var i=r.item(n);i!==this.audioRef.current&&i.getAttribute("data-only-one-is-played")&&i.pause()}t.play().catch(function(){t.pause()})}},{key:"pause",value:function(){this.audioRef.current.pause()}},{key:"loadCancel",value:function(){this.pause();var t=this.audioRef.current;t.src&&(t.src="_abortedAudio")}},{key:"seek",value:function(t){this.audioRef.current.currentTime=Math.min(Math.max(t,0),this.getDuration())}},{key:"calcProgress",value:function(t,r){var n=0;if(t&&t.length)for(var i=t.length-1;0<=i;i--)n+=t.end(i)-t.start(i)+1;return Math.min(r&&n!==r?n/r*100:0,100)}},{key:"updateLoadingProgress",value:function(t,r){this.setState({loadingProgress:this.calcProgress(t,r)})}},{key:"getButtonCaption",value:function(){switch(this.state.status){case m.EAudioStatuses.PAUSED:return d.default.createElement("i",{className:"icon-play-solid"});case m.EAudioStatuses.PLAYING:return d.default.createElement("i",{className:"icon-pause"});case m.EAudioStatuses.LOADING:return d.default.createElement("div",null,d.default.createElement("i",{className:"icon-close"}))}}},{key:"render",value:function(){var t=this.props,r=t.src,n=t.fileName,i=t.durationView,a=void 0===i?"right":i,o=t.onlyOneIsPlayed;return d.default.createElement(d.default.Fragment,null,d.default.createElement("div",{className:"player"},d.default.createElement("button",{className:"player__btn",onClick:this.onButtonClick},this.getButtonCaption()),d.default.createElement("div",{className:"player__progress"},d.default.createElement("div",{className:"player__progress-buffer",style:{width:"".concat(this.state.loadingProgress,"%")}}),d.default.createElement(f.default,{value:[this.state.progress?this.state.progress:0],onValueChange:this.onSliderChange,onValueCommit:this.onAfterChange}),"bottom"===a&&d.default.createElement("div",{className:"player__time"},this.durationRender())),"right"===a&&d.default.createElement("div",{className:"player__time"},this.durationRender()),d.default.createElement("audio",{ref:this.audioRef,preload:"none",onLoadedMetadata:this.onLoadedMetaData,onDurationChange:this.onLoadedMetaData,onTimeUpdate:this.onTimeUpdate,onProgress:this.onProgress,onPlay:this.onPlay,onPause:this.onPause,onPlaying:this.onPlaying,onWaiting:this.onWaiting,onEnded:this.onEnded,onAbort:this.onError,onError:this.onError,src:r,"data-only-one-is-played":o?"true":""},d.default.createElement("p",null,d.default.createElement("a",{href:r},n)))))}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,l(i.key),i)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(d.default.Component)},32430:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Page=void 0;var i=(0,n(31635).__importDefault)(n(54953)),a=n(18559),o=n(34218),s=`
260
260
  relative
261
261
  flex
262
262
  items-center
@@ -367,11 +367,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
367
367
  rounded-full
368
368
  overflow-hidden
369
369
  `,m=(0,c.cva)("rounded-full size-full transition-all",{variants:{variant:{default:"bg-primary",positive:"bg-gradient-to-tr from-[#66BF3D] to-[#C1E519]",warning:"bg-gradient-to-tr from-[#FFAE5C] to-[#FFD25C]",critical:"bg-gradient-to-tr from-[#F75E5E] to-[#FF8366]"}},defaultVariants:{variant:"default"}}),h=u.forwardRef(function(t,r){var n=t.className,s=t.value,c=t.orientation,h=t.size,p=void 0===h?"4px":h,g=t.indicatorCSS,b=t.variant,y=function(t,r){if(null==t)return{};var n,i,a=function(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n}(t,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],-1===r.indexOf(n)&&({}).propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,a),v="horizontal"!==(void 0===c?"horizontal":c);return u.createElement(l.Root,function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach(function(r){var a,o,s;a=t,o=r,s=n[r],(o=function(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,r||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==i(r)?r:r+""}(o))in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}({ref:r,style:v?{width:"".concat(p)}:{height:"".concat(p)},className:(0,d.cn)(f,v?"h-full":"w-full",n),role:"progressbar"},y),u.createElement(l.Indicator,{className:(0,d.cn)(m({variant:b}),g),style:{transform:"translate".concat(v?"Y(":"X(-").concat(100-(s||0),"%)")}}))});r.Progress=h,h.displayName=l.Root.displayName},48539:(t,r,n)=>{"use strict";r.differenceInSeconds=function(t,r,n){let o=(0,a.differenceInMilliseconds)(t,r)/1e3;return(0,i.getRoundingMethod)(n?.roundingMethod)(o)};var i=n(16318),a=n(7894)},48772:(t,r,n)=>{"use strict";r.LocalDayParser=void 0;var i=n(23242),a=n(9262),o=n(34850);class s extends a.Parser{priority=90;parse(t,r,n,i){let a=t=>{let r=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+r};switch(r){case"e":case"ee":return(0,o.mapValue)((0,o.parseNDigits)(r.length,t),a);case"eo":return(0,o.mapValue)(n.ordinalNumber(t,{unit:"day"}),a);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return(t=(0,i.setDay)(t,n,a)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}r.LocalDayParser=s},48835:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSIyOCIgZmlsbD0ibm9uZSI+PHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI4IiBmaWxsPSIjZmZmIiByeD0iNCIvPjxtYXNrIGlkPSJhIiB3aWR0aD0iNDAiIGhlaWdodD0iMjgiIHg9IjAiIHk9IjAiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiPjxyZWN0IHdpZHRoPSI0MCIgaGVpZ2h0PSIyOCIgZmlsbD0iI0M0QzRDNCIgcng9IjQiLz48L21hc2s+PGcgbWFzaz0idXJsKCNhKSI+PHBhdGggZmlsbD0iIzAwNTdGRiIgZD0iTS0yIDBoNDQuOHYyOC4yOEgtMnoiLz48ZyBmaWx0ZXI9InVybCgjYikiPjxlbGxpcHNlIGN4PSItMS4xOSIgY3k9IjIzLjA4IiBmaWxsPSIjMkNDM0U0IiByeD0iMzIuOTEiIHJ5PSIyNS45MyIgdHJhbnNmb3JtPSJyb3RhdGUoMTMuMDEgLTEuMTkgMjMuMDgpIi8+PC9nPjxnIGZpbHRlcj0idXJsKCNjKSI+PGVsbGlwc2UgY3g9IjE5LjM4IiBjeT0iLjEiIGZpbGw9IiMwMDU3RkYiIHJ4PSIyNi4xNSIgcnk9IjIyLjMiIHRyYW5zZm9ybT0icm90YXRlKDEzLjAxIDE5LjM4IC4xKSIvPjwvZz48ZyBmaWx0ZXI9InVybCgjZCkiPjxlbGxpcHNlIGN4PSIzMS43MiIgY3k9IjMwLjQiIGZpbGw9InVybCgjZSkiIHJ4PSIyNy45NyIgcnk9IjIwLjU3IiB0cmFuc2Zvcm09InJvdGF0ZSgtMTMuMzIgMzEuNzIgMzAuNCkiLz48L2c+PC9nPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik04IDExdjYuOTdoMi4yM3YtMy43M2guMjRsMS4yNCAzLjczaDFsMS4yMy0zLjczaC4yNXYzLjczaDIuMjJWMTFIMTQuMnMtLjY1IDAtMSAxYy0uNzkgMi4zMy0uOTggMi45OC0uOTggMi45OHMtLjEtLjM1LTEtMi45OGMtLjM0LTEtLjk4LTEtLjk4LTF6bTkuNCAwdjYuOTdoMS45OHMuNSAwIC43NC0uNWwxLjc0LTMuNDhoLjI0djMuOThoMi4yM1YxMWgtMS45OHMtLjUuMDUtLjc0LjVsLTEuNzMgMy40OGgtLjI1VjExem03LjUyIDBoNC42YzEuNCAwIDIuNDggMS4xIDIuNDggMi40OSAwIC4xNSAwIC4zNS0uMDUuNWgtMy42NmMtMS42MyAwLTMuMTItMS40NS0zLjM3LTIuOTltLjQgNi45N3YtMy43NGg2LjUzYy0uMyAxLTEuMjQgMS43NS0yLjMyIDEuNzVoLTEuOTh2MS45OXoiLz48ZGVmcz48ZmlsdGVyIGlkPSJiIiB3aWR0aD0iODQuMDQiIGhlaWdodD0iNzEuNTEiIHg9Ii00My4yMSIgeT0iLTEyLjY3IiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz48ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0ic2hhcGUiLz48ZmVHYXVzc2lhbkJsdXIgcmVzdWx0PSJlZmZlY3QxX2ZvcmVncm91bmRCbHVyXzM0NV8yMDA3IiBzdGREZXZpYXRpb249IjQuNzEiLz48L2ZpbHRlcj48ZmlsdGVyIGlkPSJjIiB3aWR0aD0iNjkuOTkiIGhlaWdodD0iNjMuMDciIHg9Ii0xNS42MiIgeT0iLTMxLjQ0IiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz48ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0ic2hhcGUiLz48ZmVHYXVzc2lhbkJsdXIgcmVzdWx0PSJlZmZlY3QxX2ZvcmVncm91bmRCbHVyXzM0NV8yMDA3IiBzdGREZXZpYXRpb249IjQuNTEiLz48L2ZpbHRlcj48ZmlsdGVyIGlkPSJkIiB3aWR0aD0iNzguMzMiIGhlaWdodD0iNjUuMTMiIHg9Ii03LjQ1IiB5PSItMi4xNyIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiPjxmZUZsb29kIGZsb29kLW9wYWNpdHk9IjAiIHJlc3VsdD0iQmFja2dyb3VuZEltYWdlRml4Ii8+PGZlQmxlbmQgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iQmFja2dyb3VuZEltYWdlRml4IiByZXN1bHQ9InNoYXBlIi8+PGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iZWZmZWN0MV9mb3JlZ3JvdW5kQmx1cl8zNDVfMjAwNyIgc3RkRGV2aWF0aW9uPSI1Ljc3Ii8+PC9maWx0ZXI+PGxpbmVhckdyYWRpZW50IGlkPSJlIiB4MT0iMjcuNDIiIHgyPSI0MS4yMyIgeTE9IjguMTEiIHkyPSIzMS42MSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiMwNkM5RjQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1NUNDOTMiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4="},48872:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.labelMonthDropdown=function(t){return"Choose the Month"}},48982:(t,r)=>{"use strict";function n(t){return"string"==typeof t||t instanceof String}function i(t){var r;return"object"==typeof t&&null!=t&&(null==t||null==(r=t.constructor)?void 0:r.name)==="Object"}Object.defineProperty(r,"__esModule",{value:!0});let a={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function o(t){switch(t){case a.LEFT:return a.FORCE_LEFT;case a.RIGHT:return a.FORCE_RIGHT;default:return t}}function s(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function u(t,r){let n;if(r===t)return!0;let i=Array.isArray(r),a=Array.isArray(t);if(i&&a){if(r.length!=t.length)return!1;for(n=0;n<r.length;n++)if(!u(r[n],t[n]))return!1;return!0}if(i!=a)return!1;if(r&&t&&"object"==typeof r&&"object"==typeof t){let i=r instanceof Date,a=t instanceof Date;if(i&&a)return r.getTime()==t.getTime();if(i!=a)return!1;let o=r instanceof RegExp,s=t instanceof RegExp;if(o&&s)return r.toString()==t.toString();if(o!=s)return!1;let l=Object.keys(r);for(n=0;n<l.length;n++)if(!Object.prototype.hasOwnProperty.call(t,l[n]))return!1;for(n=0;n<l.length;n++)if(!u(t[l[n]],r[l[n]]))return!1;return!0}return!!r&&!!t&&"function"==typeof r&&"function"==typeof t&&r.toString()===t.toString()}class l{constructor(t){for(Object.assign(this,t);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?a.NONE:(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?a.RIGHT:a.LEFT}}function c(t,r){return new c.InputMask(t,r)}function d(t){if(null==t)throw Error("mask property should be defined");return t instanceof RegExp?c.MaskedRegExp:n(t)?c.MaskedPattern:t===Date?c.MaskedDate:t===Number?c.MaskedNumber:Array.isArray(t)||t===Array?c.MaskedDynamic:c.Masked&&t.prototype instanceof c.Masked?t:c.Masked&&t instanceof c.Masked?t.constructor:t instanceof Function?c.MaskedFunction:(console.warn("Mask not found for mask",t),c.Masked)}function f(t){if(!t)throw Error("Options in not defined");if(c.Masked){if(t.prototype instanceof c.Masked)return{mask:t};let{mask:r,...n}=t instanceof c.Masked?{mask:t}:i(t)&&t.mask instanceof c.Masked?t:{};if(r){let t=r.mask;return{...function t(r,n){return Array.isArray(n)?t(r,(t,r)=>n.includes(r)):Object.entries(r).reduce((t,r)=>{let[i,a]=r;return n(a,i)&&(t[i]=a),t},{})}(r,(t,r)=>!r.startsWith("_")),mask:r.constructor,_mask:t,...n}}}return i(t)?{...t}:{mask:t}}function m(t){if(c.Masked&&t instanceof c.Masked)return t;let r=f(t),n=d(r.mask);if(!n)throw Error("Masked class is not found for provided mask "+r.mask+", appropriate module needs to be imported manually before creating mask.");return r.mask===n&&delete r.mask,r._mask&&(r.mask=r._mask,delete r._mask),new n(r)}c.createMask=m;class h{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch{}return null!=t?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch{}return null!=t?t:this.value.length}select(t,r){if(null!=t&&null!=r&&(t!==this.selectionStart||r!==this.selectionEnd))try{this._unsafeSelect(t,r)}catch{}}get isActive(){return!1}}c.MaskElement=h;class p extends h{constructor(t){super(),this.input=t,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var t,r,n;return null!=(t=null==(r=(n=this.input).getRootNode)?void 0:r.call(n))?t:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(t){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",t.drop),this.input.addEventListener("click",t.click),this.input.addEventListener("focus",t.focus),this.input.addEventListener("blur",t.commit),this._handlers=t}_onKeydown(t){return this._handlers.redo&&(90===t.keyCode&&t.shiftKey&&(t.metaKey||t.ctrlKey)||89===t.keyCode&&t.ctrlKey)?(t.preventDefault(),this._handlers.redo(t)):this._handlers.undo&&90===t.keyCode&&(t.metaKey||t.ctrlKey)?(t.preventDefault(),this._handlers.undo(t)):void(!t.isComposing&&this._handlers.selectionChange(t))}_onBeforeinput(t){return"historyUndo"===t.inputType&&this._handlers.undo?(t.preventDefault(),this._handlers.undo(t)):"historyRedo"===t.inputType&&this._handlers.redo?(t.preventDefault(),this._handlers.redo(t)):void 0}_onCompositionEnd(t){this._handlers.input(t)}_onInput(t){t.isComposing||this._handlers.input(t)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}c.HTMLMaskElement=p;class g extends p{constructor(t){super(t),this.input=t}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,r){this.input.setSelectionRange(t,r)}get value(){return this.input.value}set value(t){this.input.value=t}}c.HTMLMaskElement=p;class b extends p{get _unsafeSelectionStart(){let t=this.rootElement,r=t.getSelection&&t.getSelection(),n=r&&r.anchorOffset,i=r&&r.focusOffset;return null==i||null==n||n<i?n:i}get _unsafeSelectionEnd(){let t=this.rootElement,r=t.getSelection&&t.getSelection(),n=r&&r.anchorOffset,i=r&&r.focusOffset;return null==i||null==n||n>i?n:i}_unsafeSelect(t,r){if(!this.rootElement.createRange)return;let n=this.rootElement.createRange();n.setStart(this.input.firstChild||this.input,t),n.setEnd(this.input.lastChild||this.input,r);let i=this.rootElement,a=i.getSelection&&i.getSelection();a&&(a.removeAllRanges(),a.addRange(n))}get value(){return this.input.textContent||""}set value(t){this.input.textContent=t}}c.HTMLContenteditableMaskElement=b;class y{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(t){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(t),this.states.length>y.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(t){return this.currentIndex=Math.min(Math.max(this.currentIndex+t,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}y.MAX_LENGTH=100;class v{constructor(t,r){this.el=t instanceof h?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new b(t):new g(t),this.masked=m(r),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new y,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(t){var r;return null==t||(null==(r=this.masked)?void 0:r.maskEquals(t))}get mask(){return this.masked.mask}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof c.Masked)&&this.masked.constructor===d(t))return void this.masked.updateOptions({mask:t});let r=t instanceof c.Masked?t:m({mask:t});r.unmaskedValue=this.masked.unmaskedValue,this.masked=r}get value(){return this._value}set value(t){this.value!==t&&(this.masked.value=t,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){this.unmaskedValue!==t&&(this.masked.unmaskedValue=t,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(t){this.rawInputValue!==t&&(this.masked.rawInputValue=t,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(t){this.masked.typedValueEquals(t)||(this.masked.typedValue=t,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(t,r){let n=this._listeners[t];n&&n.forEach(t=>t(r))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){this.el&&this.el.isActive&&(this.el.select(t,t),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(t){let r=this.masked.unmaskedValue,n=this.masked.value,i=this.masked.rawInputValue,a=this.displayValue,o=this.unmaskedValue!==r||this.value!==n||this._rawInputValue!==i;this._unmaskedValue=r,this._value=n,this._rawInputValue=i,this.el.value!==a&&(this.el.value=a),"auto"===t?this.alignCursor():null!=t&&(this.cursorPos=t),o&&this._fireChangeEvents(),!this._historyChanging&&(o||this.history.isEmpty)&&this.history.push({unmaskedValue:r,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(t){let{mask:r,...n}=t,i=!this.maskEquals(r),a=this.masked.optionsIsChanged(n);i&&(this.mask=r),a&&this.masked.updateOptions(n),(i||a)&&this.updateControl()}updateCursor(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}_delayUpdateCursor(t){this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,a.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(t,r){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(r),this}off(t,r){if(!this._listeners[t])return this;if(!r)return delete this._listeners[t],this;let n=this._listeners[t].indexOf(r);return n>=0&&this._listeners[t].splice(n,1),this}_onInput(t){this._inputEvent=t,this._abortUpdateCursor();let r=new l({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),n=this.masked.rawInputValue,i=this.masked.splice(r.startChangePos,r.removed.length,r.inserted,r.removeDirection,{input:!0,raw:!0}).offset,o=n===this.masked.rawInputValue?r.removeDirection:a.NONE,s=this.masked.nearestInputPos(r.startChangePos+i,o);o!==a.NONE&&(s=this.masked.nearestInputPos(s,a.NONE)),this.updateControl(s),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(t){t.preventDefault(),t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(t){t&&(this._historyChanging=!0,this.unmaskedValue=t.unmaskedValue,this.el.select(t.selection.start,t.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}c.InputMask=v;class M{static normalize(t){return Array.isArray(t)?t:[t,new M]}constructor(t){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},t)}aggregate(t){return this.inserted+=t.inserted,this.rawInserted+=t.rawInserted,this.tailShift+=t.tailShift,this.skip=this.skip||t.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return!!this.rawInserted||this.skip}equals(t){return this.inserted===t.inserted&&this.tailShift===t.tailShift&&this.rawInserted===t.rawInserted&&this.skip===t.skip}}c.ChangeDetails=M;class j{constructor(t,r,n){void 0===t&&(t=""),void 0===r&&(r=0),this.value=t,this.from=r,this.stop=n}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:!0}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||null!=t&&this.from>=t)return"";let r=this.value[0];return this.value=this.value.slice(1),r}shift(){if(!this.value.length)return"";let t=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),t}}class I{constructor(t){this._value="",this._update({...I.DEFAULTS,...t}),this._initialized=!0}updateOptions(t){this.optionsIsChanged(t)&&this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t,{input:!0})}resolve(t,r){void 0===r&&(r={input:!0}),this.reset(),this.append(t,r,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(t){this.resolve(t,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(t){this.format?this.value=this.format(t,this):this.unmaskedValue=String(t)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(t){this.resolve(t,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(t,r){return t}totalInputPositions(t,r){return void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),Math.min(this.displayValue.length,r-t)}extractInput(t,r,n){return void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),this.displayValue.slice(t,r)}extractTail(t,r){return void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),new j(this.extractInput(t,r),t)}appendTail(t){return n(t)&&(t=new j(String(t))),t.appendTo(this)}_appendCharRaw(t,r){return t?(this._value+=t,new M({inserted:t,rawInserted:t})):new M}_appendChar(t,r,n){let i;void 0===r&&(r={});let a=this.state;if([t,i]=this.doPrepareChar(t,r),t&&!(i=i.aggregate(this._appendCharRaw(t,r))).rawInserted&&"pad"===this.autofix){let n=this.state;this.state=a;let o=this.pad(r),s=this._appendCharRaw(t,r);o=o.aggregate(s),s.rawInserted||o.equals(i)?i=o:this.state=n}if(i.inserted){let t,o=!1!==this.doValidate(r);if(o&&null!=n){let r=this.state;if(!0===this.overwrite){t=n.state;for(let t=0;t<i.rawInserted.length;++t)n.unshift(this.displayValue.length-i.tailShift)}let a=this.appendTail(n);if(!((o=a.rawInserted.length===n.toString().length)&&a.inserted)&&"shift"===this.overwrite){this.state=r,t=n.state;for(let t=0;t<i.rawInserted.length;++t)n.shift();o=(a=this.appendTail(n)).rawInserted.length===n.toString().length}o&&a.inserted&&(this.state=r)}!o&&(i=new M,this.state=a,n&&t&&(n.state=t))}return i}_appendPlaceholder(){return new M}_appendEager(){return new M}append(t,r,i){let a;if(!n(t))throw Error("value should be string");let o=n(i)?new j(String(i)):i;null!=r&&r.tail&&(r._beforeTailState=this.state),[t,a]=this.doPrepare(t,r);for(let n=0;n<t.length;++n){let i=this._appendChar(t[n],r,o);if(!i.rawInserted&&!this.doSkipInvalid(t[n],r,o))break;a.aggregate(i)}return(!0===this.eager||"append"===this.eager)&&null!=r&&r.input&&t&&a.aggregate(this._appendEager()),null!=o&&(a.tailShift+=this.appendTail(o).tailShift),a}remove(t,r){return void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),this._value=this.displayValue.slice(0,t)+this.displayValue.slice(r),new M}withValueRefresh(t){if(this._refreshing||!this._initialized)return t();this._refreshing=!0;let r=this.rawInputValue,n=this.value,i=t();return this.rawInputValue=r,this.value&&this.value!==n&&0===n.indexOf(this.value)&&(this.append(n.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,i}runIsolated(t){if(this._isolated||!this._initialized)return t(this);this._isolated=!0;let r=this.state,n=t(this);return this.state=r,delete this._isolated,n}doSkipInvalid(t,r,n){return!!this.skipInvalid}doPrepare(t,r){return void 0===r&&(r={}),M.normalize(this.prepare?this.prepare(t,this,r):t)}doPrepareChar(t,r){return void 0===r&&(r={}),M.normalize(this.prepareChar?this.prepareChar(t,this,r):t)}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){this.commit&&this.commit(this.value,this)}splice(t,r,n,i,s){let u;void 0===n&&(n=""),void 0===i&&(i=a.NONE),void 0===s&&(s={input:!0});let l=t+r,c=this.extractTail(l),d=!0===this.eager||"remove"===this.eager;d&&(i=o(i),u=this.extractInput(0,l,{raw:!0}));let f=t,m=new M;if(i!==a.NONE&&(m.tailShift=(f=this.nearestInputPos(t,r>1&&0!==t&&!d?a.NONE:i))-t),m.aggregate(this.remove(f)),d&&i!==a.NONE&&u===this.rawInputValue)if(i===a.FORCE_LEFT){let t;for(;u===this.rawInputValue&&(t=this.displayValue.length);)m.aggregate(new M({tailShift:-1})).aggregate(this.remove(t-1))}else i===a.FORCE_RIGHT&&c.unshift();return m.aggregate(this.append(n,s,c))}maskEquals(t){return this.mask===t}optionsIsChanged(t){return!u(this,t)}typedValueEquals(t){let r=this.typedValue;return t===r||I.EMPTY_VALUES.includes(t)&&I.EMPTY_VALUES.includes(r)||!!this.format&&this.format(t,this)===this.format(this.typedValue,this)}pad(t){return new M}}I.DEFAULTS={skipInvalid:!0},I.EMPTY_VALUES=[void 0,null,""],c.Masked=I;class w{constructor(t,r){void 0===t&&(t=[]),void 0===r&&(r=0),this.chunks=t,this.from=r}toString(){return this.chunks.map(String).join("")}extend(t){if(!String(t))return;t=n(t)?new j(String(t)):t;let r=this.chunks[this.chunks.length-1],i=r&&(r.stop===t.stop||null==t.stop)&&t.from===r.from+r.toString().length;if(t instanceof j)i?r.extend(t.toString()):this.chunks.push(t);else if(t instanceof w){if(null==t.stop){let r;for(;t.chunks.length&&null==t.chunks[0].stop;)r=t.chunks.shift(),r.from+=t.from,this.extend(r)}t.toString()&&(t.stop=t.blockIndex,this.chunks.push(t))}}appendTo(t){if(!(t instanceof c.MaskedPattern))return new j(this.toString()).appendTo(t);let r=new M;for(let n=0;n<this.chunks.length;++n){let i,a=this.chunks[n],o=t._mapPosToBlock(t.displayValue.length),s=a.stop;if(null!=s&&(!o||o.index<=s)&&((a instanceof w||t._stops.indexOf(s)>=0)&&r.aggregate(t._appendPlaceholder(s)),i=a instanceof w&&t._blocks[s]),i){let n=i.appendTail(a);r.aggregate(n);let o=a.toString().slice(n.rawInserted.length);o&&r.aggregate(t.append(o,{tail:!0}))}else r.aggregate(t.append(a.toString(),{tail:!0}))}return r}get state(){return{chunks:this.chunks.map(t=>t.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){let{chunks:r,...n}=t;Object.assign(this,n),this.chunks=r.map(t=>{let r="chunks"in t?new w:new j;return r.state=t,r})}unshift(t){if(!this.chunks.length||null!=t&&this.from>=t)return"";let r=null!=t?t-this.from:t,n=0;for(;n<this.chunks.length;){let t=this.chunks[n],i=t.unshift(r);if(t.toString()){if(!i)break;++n}else this.chunks.splice(n,1);if(i)return i}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;for(;0<=t;){let r=this.chunks[t],n=r.shift();if(r.toString()){if(!n)break;--t}else this.chunks.splice(t,1);if(n)return n}return""}}class S{constructor(t,r){this.masked=t,this._log=[];let{offset:n,index:i}=t._mapPosToBlock(r)||(r<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=n,this.index=i,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){let t=this._log.pop();return t&&(this.state=t),t}bindBlock(){!this.block&&(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(t){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(r=this.block)?void 0:r.displayValue.length)||0){var r;if(t())return this.ok=!0}return this.ok=!1}_pushRight(t){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(t())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft(()=>{if(!this.block.isFixed&&this.block.value&&(this.offset=this.block.nearestInputPos(this.offset,a.FORCE_LEFT),0!==this.offset))return!0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,a.LEFT),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!this.block.isFixed&&(!this.block.isOptional||this.block.value))return this.offset=this.block.nearestInputPos(this.offset,a.LEFT),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!this.block.isFixed&&this.block.value&&(this.offset=this.block.nearestInputPos(this.offset,a.FORCE_RIGHT),this.offset!==this.block.value.length))return!0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,a.NONE),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!this.block.isFixed&&(!this.block.isOptional||this.block.value))return this.offset=this.block.nearestInputPos(this.offset,a.NONE),!0})}}class P{constructor(t){Object.assign(this,t),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(t,r){return void 0===t&&(t=0),void 0===r&&(r=this._value.length),this._value=this._value.slice(0,t)+this._value.slice(r),this._value||(this._isRawInput=!1),new M}nearestInputPos(t,r){void 0===r&&(r=a.NONE);let n=this._value.length;switch(r){case a.LEFT:case a.FORCE_LEFT:return 0;case a.NONE:case a.RIGHT:case a.FORCE_RIGHT:default:return n}}totalInputPositions(t,r){return void 0===t&&(t=0),void 0===r&&(r=this._value.length),this._isRawInput?r-t:0}extractInput(t,r,n){return void 0===t&&(t=0),void 0===r&&(r=this._value.length),void 0===n&&(n={}),n.raw&&this._isRawInput&&this._value.slice(t,r)||""}get isComplete(){return!0}get isFilled(){return!!this._value}_appendChar(t,r){if(void 0===r&&(r={}),this.isFilled)return new M;let n=!0===this.eager||"append"===this.eager,i=this.char===t&&(this.isUnmasking||r.input||r.raw)&&(!r.raw||!n)&&!r.tail,a=new M({inserted:this.char,rawInserted:i?this.char:""});return this._value=this.char,this._isRawInput=i&&(r.raw||r.input),a}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){let t=new M;return this.isFilled||(this._value=t.inserted=this.char),t}extractTail(){return new j("")}appendTail(t){return n(t)&&(t=new j(String(t))),t.appendTo(this)}append(t,r,n){let i=this._appendChar(t[0],r);return null!=n&&(i.tailShift+=this.appendTail(n).tailShift),i}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value,this._isRawInput=!!t._rawInputValue}pad(t){return this._appendPlaceholder()}}class N{constructor(t){let{parent:r,isOptional:n,placeholderChar:i,displayChar:a,lazy:o,eager:s,...u}=t;this.masked=m(u),Object.assign(this,{parent:r,isOptional:n,placeholderChar:i,displayChar:a,lazy:o,eager:s})}reset(){this.isFilled=!1,this.masked.reset()}remove(t,r){return(void 0===t&&(t=0),void 0===r&&(r=this.value.length),0===t&&r>=1)?(this.isFilled=!1,this.masked.remove(t,r)):new M}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return!!this.masked.value||this.isOptional}_appendChar(t,r){if(void 0===r&&(r={}),this.isFilled)return new M;let n=this.masked.state,i=this.masked._appendChar(t,this.currentMaskFlags(r));return i.inserted&&!1===this.doValidate(r)&&(i=new M,this.masked.state=n),i.inserted||this.isOptional||this.lazy||r.input||(i.inserted=this.placeholderChar),i.skip=!i.inserted&&!this.isOptional,this.isFilled=!!i.inserted,i}append(t,r,n){return this.masked.append(t,this.currentMaskFlags(r),n)}_appendPlaceholder(){return this.isFilled||this.isOptional?new M:(this.isFilled=!0,new M({inserted:this.placeholderChar}))}_appendEager(){return new M}extractTail(t,r){return this.masked.extractTail(t,r)}appendTail(t){return this.masked.appendTail(t)}extractInput(t,r,n){return void 0===t&&(t=0),void 0===r&&(r=this.value.length),this.masked.extractInput(t,r,n)}nearestInputPos(t,r){void 0===r&&(r=a.NONE);let n=this.value.length,i=Math.min(Math.max(t,0),n);switch(r){case a.LEFT:case a.FORCE_LEFT:return this.isComplete?i:0;case a.RIGHT:case a.FORCE_RIGHT:return this.isComplete?i:n;case a.NONE:default:return i}}totalInputPositions(t,r){return void 0===t&&(t=0),void 0===r&&(r=this.value.length),this.value.slice(t,r).length}doValidate(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked,this.isFilled=t.isFilled}currentMaskFlags(t){var r;return{...t,_beforeTailState:(null==t||null==(r=t._beforeTailState)?void 0:r.masked)||(null==t?void 0:t._beforeTailState)}}pad(t){return new M}}N.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class x extends I{updateOptions(t){super.updateOptions(t)}_update(t){let r=t.mask;r&&(t.validate=t=>t.search(r)>=0),super._update(t)}}c.MaskedRegExp=x;class A extends I{constructor(t){super({...A.DEFAULTS,...t,definitions:Object.assign({},N.DEFAULT_DEFINITIONS,null==t?void 0:t.definitions)})}updateOptions(t){super.updateOptions(t)}_update(t){t.definitions=Object.assign({},this.definitions,t.definitions),super._update(t),this._rebuildMask()}_rebuildMask(){let t=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};let r=this.mask;if(!r||!t)return;let n=!1,i=!1;for(let a=0;a<r.length;++a){if(this.blocks){let t=r.slice(a),n=Object.keys(this.blocks).filter(r=>0===t.indexOf(r));n.sort((t,r)=>r.length-t.length);let i=n[0];if(i){let{expose:t,repeat:r,...n}=f(this.blocks[i]),o={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...n,repeat:r,parent:this},s=null!=r?new c.RepeatBlock(o):m(o);s&&(this._blocks.push(s),t&&(this.exposeBlock=s),this._maskedBlocks[i]||(this._maskedBlocks[i]=[]),this._maskedBlocks[i].push(this._blocks.length-1)),a+=i.length-1;continue}}let o=r[a],s=o in t;if(o===A.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===o||"}"===o){n=!n;continue}if("["===o||"]"===o){i=!i;continue}if(o===A.ESCAPE_CHAR){if(!(o=r[++a]))break;s=!1}let u=s?new N({isOptional:i,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...f(t[o]),parent:this}):new P({char:o,eager:this.eager,isUnmasking:n});this._blocks.push(u)}}get state(){return{...super.state,_blocks:this._blocks.map(t=>t.state)}}set state(t){if(!t)return void this.reset();let{_blocks:r,...n}=t;this._blocks.forEach((t,n)=>t.state=r[n]),super.state=n}reset(){super.reset(),this._blocks.forEach(t=>t.reset())}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every(t=>t.isComplete)}get isFilled(){return this._blocks.every(t=>t.isFilled)}get isFixed(){return this._blocks.every(t=>t.isFixed)}get isOptional(){return this._blocks.every(t=>t.isOptional)}doCommit(){this._blocks.forEach(t=>t.doCommit()),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce((t,r)=>t+=r.unmaskedValue,"")}set unmaskedValue(t){if(this.exposeBlock){let r=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=t,this.appendTail(r),this.doCommit()}else super.unmaskedValue=t}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce((t,r)=>t+=r.value,"")}set value(t){if(this.exposeBlock){let r=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=t,this.appendTail(r),this.doCommit()}else super.value=t}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(t){if(this.exposeBlock){let r=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=t,this.appendTail(r),this.doCommit()}else super.typedValue=t}get displayValue(){return this._blocks.reduce((t,r)=>t+=r.displayValue,"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){var t;let r=new M,n=null==(t=this._mapPosToBlock(this.displayValue.length))?void 0:t.index;if(null==n)return r;this._blocks[n].isFilled&&++n;for(let t=n;t<this._blocks.length;++t){let n=this._blocks[t]._appendEager();if(!n.inserted)break;r.aggregate(n)}return r}_appendCharRaw(t,r){void 0===r&&(r={});let n=this._mapPosToBlock(this.displayValue.length),i=new M;if(!n)return i;for(let o=n.index,s;s=this._blocks[o];++o){var a;let n=s._appendChar(t,{...r,_beforeTailState:null==(a=r._beforeTailState)||null==(a=a._blocks)?void 0:a[o]});if(i.aggregate(n),n.consumed)break}return i}extractTail(t,r){void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length);let n=new w;return t===r||this._forEachBlocksInRange(t,r,(t,r,i,a)=>{let o=t.extractTail(i,a);o.stop=this._findStopBefore(r),o.from=this._blockStartPos(r),o instanceof w&&(o.blockIndex=r),n.extend(o)}),n}extractInput(t,r,n){if(void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),void 0===n&&(n={}),t===r)return"";let i="";return this._forEachBlocksInRange(t,r,(t,r,a,o)=>{i+=t.extractInput(a,o,n)}),i}_findStopBefore(t){let r;for(let n=0;n<this._stops.length;++n){let i=this._stops[n];if(i<=t)r=i;else break}return r}_appendPlaceholder(t){let r=new M;if(this.lazy&&null==t)return r;let n=this._mapPosToBlock(this.displayValue.length);if(!n)return r;let i=n.index,a=null!=t?t:this._blocks.length;return this._blocks.slice(i,a).forEach(n=>{if(!n.lazy||null!=t){var i;r.aggregate(n._appendPlaceholder(null==(i=n._blocks)?void 0:i.length))}}),r}_mapPosToBlock(t){let r="";for(let n=0;n<this._blocks.length;++n){let i=this._blocks[n],a=r.length;if(t<=(r+=i.displayValue).length)return{index:n,offset:t-a}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce((t,r)=>t+=r.displayValue.length,0)}_forEachBlocksInRange(t,r,n){void 0===r&&(r=this.displayValue.length);let i=this._mapPosToBlock(t);if(i){let t=this._mapPosToBlock(r),a=t&&i.index===t.index,o=i.offset,s=t&&a?t.offset:this._blocks[i.index].displayValue.length;if(n(this._blocks[i.index],i.index,o,s),t&&!a){for(let r=i.index+1;r<t.index;++r)n(this._blocks[r],r,0,this._blocks[r].displayValue.length);n(this._blocks[t.index],t.index,0,t.offset)}}}remove(t,r){void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length);let n=super.remove(t,r);return this._forEachBlocksInRange(t,r,(t,r,i,a)=>{n.aggregate(t.remove(i,a))}),n}nearestInputPos(t,r){if(void 0===r&&(r=a.NONE),!this._blocks.length)return 0;let n=new S(this,t);if(r===a.NONE)return n.pushRightBeforeInput()||(n.popState(),n.pushLeftBeforeInput())?n.pos:this.displayValue.length;if(r===a.LEFT||r===a.FORCE_LEFT){if(r===a.LEFT){if(n.pushRightBeforeFilled(),n.ok&&n.pos===t)return t;n.popState()}if(n.pushLeftBeforeInput(),n.pushLeftBeforeRequired(),n.pushLeftBeforeFilled(),r===a.LEFT){if(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.ok&&n.pos<=t||(n.popState(),n.ok&&n.pos<=t))return n.pos;n.popState()}return n.ok?n.pos:r===a.FORCE_LEFT?0:(n.popState(),n.ok||(n.popState(),n.ok))?n.pos:0}return r===a.RIGHT||r===a.FORCE_RIGHT?(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.pushRightBeforeFilled())?n.pos:r===a.FORCE_RIGHT?this.displayValue.length:(n.popState(),n.ok||(n.popState(),n.ok))?n.pos:this.nearestInputPos(t,a.LEFT):t}totalInputPositions(t,r){void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length);let n=0;return this._forEachBlocksInRange(t,r,(t,r,i,a)=>{n+=t.totalInputPositions(i,a)}),n}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){let r=this._maskedBlocks[t];return r?r.map(t=>this._blocks[t]):[]}pad(t){let r=new M;return this._forEachBlocksInRange(0,this.displayValue.length,n=>r.aggregate(n.pad(t))),r}}A.DEFAULTS={...I.DEFAULTS,lazy:!0,placeholderChar:"_"},A.STOP_CHAR="`",A.ESCAPE_CHAR="\\",A.InputDefinition=N,A.FixedDefinition=P,c.MaskedPattern=A;class O extends A{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){let{to:r=this.to||0,from:n=this.from||0,maxLength:i=this.maxLength||0,autofix:a=this.autofix,...o}=t;this.to=r,this.from=n,this.maxLength=Math.max(String(r).length,i),this.autofix=a;let s=String(this.from).padStart(this.maxLength,"0"),u=String(this.to).padStart(this.maxLength,"0"),l=0;for(;l<u.length&&u[l]===s[l];)++l;o.mask=u.slice(0,l).replace(/0/g,"\\0")+"0".repeat(this.maxLength-l),super._update(o)}get isComplete(){return super.isComplete&&!!this.value}boundaries(t){let r="",n="",[,i,a]=t.match(/^(\D*)(\d*)(\D*)/)||[];return a&&(r="0".repeat(i.length)+a,n="9".repeat(i.length)+a),[r=r.padEnd(this.maxLength,"0"),n=n.padEnd(this.maxLength,"9")]}doPrepareChar(t,r){let n;return void 0===r&&(r={}),[t,n]=super.doPrepareChar(t.replace(/\D/g,""),r),t||(n.skip=!this.isComplete),[t,n]}_appendCharRaw(t,r){if(void 0===r&&(r={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(t,r);let n=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0"),[a,o]=this.boundaries(this.value+t);return Number(o)<this.from?super._appendCharRaw(n[this.value.length],r):Number(a)>this.to?!r.tail&&"pad"===this.autofix&&this.value.length+1<this.maxLength?super._appendCharRaw(n[this.value.length],r).aggregate(this._appendCharRaw(t,r)):super._appendCharRaw(i[this.value.length],r):super._appendCharRaw(t,r)}doValidate(t){let r=this.value;if(-1===r.search(/[^0]/)&&r.length<=this._matchFrom)return!0;let[n,i]=this.boundaries(r);return this.from<=Number(i)&&Number(n)<=this.to&&super.doValidate(t)}pad(t){let r=new M;if(this.value.length===this.maxLength)return r;let n=this.value,i=this.maxLength-this.value.length;if(i){this.reset();for(let n=0;n<i;++n)r.aggregate(super._appendCharRaw("0",t));n.split("").forEach(t=>this._appendCharRaw(t))}return r}}c.MaskedRange=O;class D extends A{static extractPatternOptions(t){let{mask:r,pattern:i,...a}=t;return{...a,mask:n(r)?r:i}}constructor(t){super(D.extractPatternOptions({...D.DEFAULTS,...t}))}updateOptions(t){super.updateOptions(t)}_update(t){let{mask:r,pattern:i,blocks:a,...o}={...D.DEFAULTS,...t},s=Object.assign({},D.GET_DEFAULT_BLOCKS());t.min&&(s.Y.from=t.min.getFullYear()),t.max&&(s.Y.to=t.max.getFullYear()),t.min&&t.max&&s.Y.from===s.Y.to&&(s.m.from=t.min.getMonth()+1,s.m.to=t.max.getMonth()+1,s.m.from===s.m.to&&(s.d.from=t.min.getDate(),s.d.to=t.max.getDate())),Object.assign(s,this.blocks,a),super._update({...o,mask:n(r)?r:i,blocks:s})}doValidate(t){let r=this.date;return super.doValidate(t)&&(!this.isComplete||this.isDateExist(this.value)&&null!=r&&(null==this.min||this.min<=r)&&(null==this.max||r<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}optionsIsChanged(t){return super.optionsIsChanged(D.extractPatternOptions(t))}}D.GET_DEFAULT_BLOCKS=()=>({d:{mask:O,from:1,to:31,maxLength:2},m:{mask:O,from:1,to:12,maxLength:2},Y:{mask:O,from:1900,to:9999}}),D.DEFAULTS={...A.DEFAULTS,mask:Date,pattern:"d{.}`m{.}`Y",format:(t,r)=>{if(!t)return"";let n=String(t.getDate()).padStart(2,"0");return[n,String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join(".")},parse:(t,r)=>{let[n,i,a]=t.split(".").map(Number);return new Date(a,i-1,n)}},c.MaskedDate=D;class L extends I{constructor(t){super({...L.DEFAULTS,...t}),this.currentMask=void 0}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),"mask"in t&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(t.mask)?t.mask.map(t=>{let{expose:r,...n}=f(t),i=m({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...n});return r&&(this.exposeMask=i),i}):[])}_appendCharRaw(t,r){void 0===r&&(r={});let n=this._applyDispatch(t,r);return this.currentMask&&n.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(r))),n}_applyDispatch(t,r,n){void 0===t&&(t=""),void 0===r&&(r={}),void 0===n&&(n="");let i=r.tail&&null!=r._beforeTailState?r._beforeTailState._value:this.value,a=this.rawInputValue,o=r.tail&&null!=r._beforeTailState?r._beforeTailState._rawInputValue:a,s=a.slice(o.length),u=this.currentMask,l=new M,c=null==u?void 0:u.state;return this.currentMask=this.doDispatch(t,{...r},n),this.currentMask&&(this.currentMask!==u?(this.currentMask.reset(),o&&(this.currentMask.append(o,{raw:!0}),l.tailShift=this.currentMask.value.length-i.length),s&&(l.tailShift+=this.currentMask.append(s,{raw:!0,tail:!0}).tailShift)):c&&(this.currentMask.state=c)),l}_appendPlaceholder(){let t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendPlaceholder()),t}_appendEager(){let t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendEager()),t}appendTail(t){let r=new M;return t&&r.aggregate(this._applyDispatch("",{},t)),r.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){var r,n;return{...t,_beforeTailState:(null==(r=t._beforeTailState)?void 0:r.currentMaskRef)===this.currentMask&&(null==(n=t._beforeTailState)?void 0:n.currentMask)||t._beforeTailState}}doDispatch(t,r,n){return void 0===r&&(r={}),void 0===n&&(n=""),this.dispatch(t,this,r,n)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t,r){void 0===r&&(r={});let[n,i]=super.doPrepare(t,r);if(this.currentMask){let t;[n,t]=super.doPrepare(n,this.currentMaskFlags(r)),i=i.aggregate(t)}return[n,i]}doPrepareChar(t,r){void 0===r&&(r={});let[n,i]=super.doPrepareChar(t,r);if(this.currentMask){let t;[n,t]=super.doPrepareChar(n,this.currentMaskFlags(r)),i=i.aggregate(t)}return[n,i]}reset(){var t;null==(t=this.currentMask)||t.reset(),this.compiledMasks.forEach(t=>t.reset())}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(t){this.exposeMask?(this.exposeMask.value=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=t}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){this.exposeMask?(this.exposeMask.unmaskedValue=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=t}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(t){if(this.exposeMask){this.exposeMask.typedValue=t,this.currentMask=this.exposeMask,this._applyDispatch();return}let r=String(t);this.currentMask&&(this.currentMask.typedValue=t,r=this.currentMask.unmaskedValue),this.unmaskedValue=r}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var t;return!!(null==(t=this.currentMask)?void 0:t.isComplete)}get isFilled(){var t;return!!(null==(t=this.currentMask)?void 0:t.isFilled)}remove(t,r){let n=new M;return this.currentMask&&n.aggregate(this.currentMask.remove(t,r)).aggregate(this._applyDispatch()),n}get state(){var t;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(t=>t.state),currentMaskRef:this.currentMask,currentMask:null==(t=this.currentMask)?void 0:t.state}}set state(t){let{compiledMasks:r,currentMaskRef:n,currentMask:i,...a}=t;r&&this.compiledMasks.forEach((t,n)=>t.state=r[n]),null!=n&&(this.currentMask=n,this.currentMask.state=i),super.state=a}extractInput(t,r,n){return this.currentMask?this.currentMask.extractInput(t,r,n):""}extractTail(t,r){return this.currentMask?this.currentMask.extractTail(t,r):super.extractTail(t,r)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(t,r){return this.currentMask?this.currentMask.nearestInputPos(t,r):super.nearestInputPos(t,r)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(t){this._overwrite=t}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(t){this._eager=t}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(t){this._skipInvalid=t}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(t){this._autofix=t}maskEquals(t){return Array.isArray(t)?this.compiledMasks.every((r,n)=>{if(!t[n])return;let{mask:i,...a}=t[n];return u(r,a)&&r.maskEquals(i)}):super.maskEquals(t)}typedValueEquals(t){var r;return!!(null==(r=this.currentMask)?void 0:r.typedValueEquals(t))}}L.DEFAULTS={...I.DEFAULTS,dispatch:(t,r,n,i)=>{if(!r.compiledMasks.length)return;let o=r.rawInputValue,s=r.compiledMasks.map((s,u)=>{let l=r.currentMask===s,c=l?s.displayValue.length:s.nearestInputPos(s.displayValue.length,a.FORCE_LEFT);return s.rawInputValue!==o?(s.reset(),s.append(o,{raw:!0})):l||s.remove(c),s.append(t,r.currentMaskFlags(n)),s.appendTail(i),{index:u,weight:s.rawInputValue.length,totalInputPositions:s.totalInputPositions(0,Math.max(c,s.nearestInputPos(s.displayValue.length,a.FORCE_LEFT)))}});return s.sort((t,r)=>r.weight-t.weight||r.totalInputPositions-t.totalInputPositions),r.compiledMasks[s[0].index]}},c.MaskedDynamic=L;class C extends A{constructor(t){super({...C.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){let{enum:r,...n}=t;if(r){let t=r.map(t=>t.length),i=Math.min(...t),a=Math.max(...t)-i;n.mask="*".repeat(i),a&&(n.mask+="["+"*".repeat(a)+"]"),this.enum=r}super._update(n)}_appendCharRaw(t,r){void 0===r&&(r={});let n=Math.min(this.nearestInputPos(0,a.FORCE_RIGHT),this.value.length),i=this.enum.filter(r=>this.matchValue(r,this.unmaskedValue+t,n));if(i.length){1===i.length&&this._forEachBlocksInRange(0,this.value.length,(t,n)=>{let a=i[0][n];n>=this.value.length||a===t.value||(t.reset(),t._appendChar(a,r))});let t=super._appendCharRaw(i[0][this.value.length],r);return 1===i.length&&i[0].slice(this.unmaskedValue.length).split("").forEach(r=>t.aggregate(super._appendCharRaw(r))),t}return new M({skip:!this.isComplete})}extractTail(t,r){return void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),new j("",t)}remove(t,r){let n;if(void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),t===r)return new M;let i=Math.min(super.nearestInputPos(0,a.FORCE_RIGHT),this.value.length);for(n=t;n>=0&&!(this.enum.filter(t=>this.matchValue(t,this.value.slice(i,n),i)).length>1);--n);let o=super.remove(n,r);return o.tailShift+=n-t,o}get isComplete(){return this.enum.indexOf(this.value)>=0}}C.DEFAULTS={...A.DEFAULTS,matchValue:(t,r,n)=>t.indexOf(r,n)===n},c.MaskedEnum=C;class k extends I{updateOptions(t){super.updateOptions(t)}_update(t){super._update({...t,validate:t.mask})}}c.MaskedFunction=k;class E extends I{constructor(t){super({...E.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),this._updateRegExps()}_updateRegExps(){let t="^"+(this.allowNegative?"[+|\\-]?":""),r=(this.scale?"("+s(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=RegExp(t+"\\d*"+r),this._mapToRadixRegExp=RegExp("["+this.mapToRadix.map(s).join("")+"]","g"),this._thousandsSeparatorRegExp=RegExp(s(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){let r=t.split(this.radix);return r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),r.join(this.radix)}doPrepareChar(t,r){void 0===r&&(r={});let[n,i]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(r.input&&r.raw||!r.input&&!r.raw)?t.replace(this._mapToRadixRegExp,this.radix):t),r);return t&&!n&&(i.skip=!0),!n||this.allowPositive||this.value||"-"===n||i.aggregate(this._appendChar("-")),[n,i]}_separatorsCount(t,r){void 0===r&&(r=!1);let n=0;for(let i=0;i<t;++i)this._value.indexOf(this.thousandsSeparator,i)===i&&(++n,r&&(t+=this.thousandsSeparator.length));return n}_separatorsCountFromSlice(t){return void 0===t&&(t=this._value),this._separatorsCount(this._removeThousandsSeparators(t).length,!0)}extractInput(t,r,n){return void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),[t,r]=this._adjustRangeWithSeparators(t,r),this._removeThousandsSeparators(super.extractInput(t,r,n))}_appendCharRaw(t,r){let n;void 0===r&&(r={});let i=r.tail&&r._beforeTailState?r._beforeTailState._value:this._value,a=this._separatorsCountFromSlice(i);this._value=this._removeThousandsSeparators(this.value);let o=this._value;this._value+=t;let s=!isNaN(this.number),u=!1;if(s){let t;null!=this.min&&this.min<0&&this.number<this.min&&(t=this.min),null!=this.max&&this.max>0&&this.number>this.max&&(t=this.max),null!=t&&(this.autofix?(this._value=this.format(t,this).replace(E.UNMASKED_RADIX,this.radix),u||(u=o===this._value&&!r.tail)):s=!1),s&&(s=!!this._value.match(this._numberRegExp))}s?n=new M({inserted:this._value.slice(o.length),rawInserted:u?"":t,skip:u}):(this._value=o,n=new M),this._value=this._insertThousandsSeparators(this._value);let l=r.tail&&r._beforeTailState?r._beforeTailState._value:this._value,c=this._separatorsCountFromSlice(l);return n.tailShift+=(c-a)*this.thousandsSeparator.length,n}_findSeparatorAround(t){if(this.thousandsSeparator){let r=t-this.thousandsSeparator.length+1,n=this.value.indexOf(this.thousandsSeparator,r);if(n<=t)return n}return -1}_adjustRangeWithSeparators(t,r){let n=this._findSeparatorAround(t);n>=0&&(t=n);let i=this._findSeparatorAround(r);return i>=0&&(r=i+this.thousandsSeparator.length),[t,r]}remove(t,r){void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length),[t,r]=this._adjustRangeWithSeparators(t,r);let n=this.value.slice(0,t),i=this.value.slice(r),a=this._separatorsCount(n.length);return this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(n+i)),new M({tailShift:(this._separatorsCountFromSlice(n)-a)*this.thousandsSeparator.length})}nearestInputPos(t,r){if(!this.thousandsSeparator)return t;switch(r){case a.NONE:case a.LEFT:case a.FORCE_LEFT:{let n=this._findSeparatorAround(t-1);if(n>=0){let i=n+this.thousandsSeparator.length;if(t<i||this.value.length<=i||r===a.FORCE_LEFT)return n}break}case a.RIGHT:case a.FORCE_RIGHT:{let r=this._findSeparatorAround(t);if(r>=0)return r+this.thousandsSeparator.length}}return t}doCommit(){if(this.value){let t=this.number,r=t;null!=this.min&&(r=Math.max(r,this.min)),null!=this.max&&(r=Math.min(r,this.max)),r!==t&&(this.unmaskedValue=this.format(r,this));let n=this.value;this.normalizeZeros&&(n=this._normalizeZeros(n)),this.padFractionalZeros&&this.scale>0&&(n=this._padFractionalZeros(n)),this._value=n}super.doCommit()}_normalizeZeros(t){let r=this._removeThousandsSeparators(t).split(this.radix);return r[0]=r[0].replace(/^(\D*)(0*)(\d*)/,(t,r,n,i)=>r+i),t.length&&!/\d$/.test(r[0])&&(r[0]=r[0]+"0"),r.length>1&&(r[1]=r[1].replace(/0*$/,""),r[1].length||(r.length=1)),this._insertThousandsSeparators(r.join(this.radix))}_padFractionalZeros(t){if(!t)return t;let r=t.split(this.radix);return r.length<2&&r.push(""),r[1]=r[1].padEnd(this.scale,"0"),r.join(this.radix)}doSkipInvalid(t,r,n){void 0===r&&(r={});let i=0===this.scale&&t!==this.thousandsSeparator&&(t===this.radix||t===E.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,r,n)&&!i}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,E.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(t){this.rawInputValue=this.format(t,this).replace(E.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(t){return(super.typedValueEquals(t)||E.EMPTY_VALUES.includes(t)&&E.EMPTY_VALUES.includes(this.typedValue))&&(0!==t||""!==this.value)}}E.UNMASKED_RADIX=".",E.EMPTY_VALUES=[...I.EMPTY_VALUES,0],E.DEFAULTS={...I.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[E.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},c.MaskedNumber=E;let T={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function z(t,r,n){void 0===r&&(r=T.MASKED),void 0===n&&(n=T.MASKED);let i=m(t);return t=>i.runIsolated(i=>(i[r]=t,i[n]))}function W(t,r,n,i){return z(r,n,i)(t)}c.PIPE_TYPE=T,c.createPipe=z,c.pipe=W;class _ extends A{get repeatFrom(){var t;return null!=(t=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)?t:0}get repeatTo(){var t;return null!=(t=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)?t:1/0}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){var r,n,i;let{repeat:a,...o}=f(t);this._blockOpts=Object.assign({},this._blockOpts,o);let s=m(this._blockOpts);this.repeat=null!=(r=null!=(n=null!=a?a:s.repeat)?n:this.repeat)?r:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&(null==(i=this._blocks)?void 0:i.length)||0,this.repeatFrom)),blocks:{m:s},eager:s.eager,overwrite:s.overwrite,skipInvalid:s.skipInvalid,lazy:s.lazy,placeholderChar:s.placeholderChar,displayChar:s.displayChar})}_allocateBlock(t){return t<this._blocks.length?this._blocks[t]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(m(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(t,r){void 0===r&&(r={});let n=new M;for(let u=null!=(i=null==(a=this._mapPosToBlock(this.displayValue.length))?void 0:a.index)?i:Math.max(this._blocks.length-1,0),l,c;l=null!=(o=this._blocks[u])?o:c=!c&&this._allocateBlock(u);++u){var i,a,o,s;let d=l._appendChar(t,{...r,_beforeTailState:null==(s=r._beforeTailState)||null==(s=s._blocks)?void 0:s[u]});if(d.skip&&c){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(n.aggregate(d),d.consumed)break}return n}_trimEmptyTail(t,r){var n,i;let a;void 0===t&&(t=0);let o=Math.max((null==(n=this._mapPosToBlock(t))?void 0:n.index)||0,this.repeatFrom,0);null!=r&&(a=null==(i=this._mapPosToBlock(r))?void 0:i.index),null==a&&(a=this._blocks.length-1);let s=0;for(let t=a;o<=t&&!this._blocks[t].unmaskedValue;--t,++s);s&&(this._blocks.splice(a-s+1,s),this.mask=this.mask.slice(s))}reset(){super.reset(),this._trimEmptyTail()}remove(t,r){void 0===t&&(t=0),void 0===r&&(r=this.displayValue.length);let n=super.remove(t,r);return this._trimEmptyTail(t,r),n}totalInputPositions(t,r){return(void 0===t&&(t=0),null==r&&this.repeatTo===1/0)?1/0:super.totalInputPositions(t,r)}get state(){return super.state}set state(t){this._blocks.length=t._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=t}}c.RepeatBlock=_;try{globalThis.IMask=c}catch{}r.ChangeDetails=M,r.ChunksTailDetails=w,r.DIRECTION=a,r.HTMLContenteditableMaskElement=b,r.HTMLInputMaskElement=g,r.HTMLMaskElement=p,r.InputMask=v,r.MaskElement=h,r.Masked=I,r.MaskedDate=D,r.MaskedDynamic=L,r.MaskedEnum=C,r.MaskedFunction=k,r.MaskedNumber=E,r.MaskedPattern=A,r.MaskedRange=O,r.MaskedRegExp=x,r.PIPE_TYPE=T,r.PatternFixedDefinition=P,r.PatternInputDefinition=N,r.RepeatBlock=_,r.createMask=m,r.createPipe=z,r.default=c,r.forceDirection=o,r.normalizeOpts=f,r.pipe=W},49278:(t,r,n)=>{"use strict";var i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(t,r,n,i)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let u of s(r))l.call(t,u)||u===n||a(t,u,{get:()=>r[u],enumerable:!(i=o(r,u))||i.enumerable});return t},d={};((t,r)=>{for(var n in r)a(t,n,{get:r[n],enumerable:!0})})(d,{useEffectEvent:()=>g}),t.exports=c(a({},"__esModule",{value:!0}),d);var f=n(95696),m=((t,r,n)=>(n=null!=t?i(u(t)):{},c(!r&&t&&t.__esModule?n:a(n,"default",{value:t,enumerable:!0}),t)))(n(54953)),h=m[" useEffectEvent ".trim().toString()],p=m[" useInsertionEffect ".trim().toString()];function g(t){if("function"==typeof h)return h(t);let r=m.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof p?p(()=>{r.current=t}):(0,f.useLayoutEffect)(()=>{r.current=t}),m.useMemo(()=>(...t)=>r.current?.(...t),[])}},49302:(t,r,n)=>{"use strict";r.differenceInCalendarQuarters=function(t,r,n){let[o,s]=(0,i.normalizeDates)(n?.in,t,r);return 4*(o.getFullYear()-s.getFullYear())+((0,a.getQuarter)(o)-(0,a.getQuarter)(s))};var i=n(21779),a=n(78684)},49304:(t,r,n)=>{"use strict";function i(t){return(i="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})(t)}function a(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}Object.defineProperty(r,"__esModule",{value:!0});var o=(0,n(31635).__importStar)(n(54953)),s=n(47716);r.default=function(t){return o.createElement(s.SvgIcon,function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach(function(r){var a,o,s;a=t,o=r,s=n[r],(o=function(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,r||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==i(r)?r:r+""}(o))in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}({width:24,height:24,fill:"none",viewBox:"0 0 24 24"},t),o.createElement("path",{fill:"currentColor",d:"m4.79995 10.2002v10.8c0 .336-.264.6-.6.6h-.6c-1.32 0-2.4-1.08-2.4-2.4v-7.2c0-1.32 1.08-2.40001 2.4-2.40001h.6c.336 0 .6.264.6.60001zm17.25605-.36001c-.684-.912-1.74-1.43999-2.88-1.43999h-3.576v-3.6c0-1.98-1.62-3.6-3.6-3.6-.456 0-.8761.252-1.0681.66l-3.59997 7.2c-.084.168-.13198.34799-.13198.53999v10.80001c0 .66.54 1.2 1.2 1.2h9.90005c1.056 0 2.004-.708 2.304-1.716l2.0279-6.864c.324-1.104.1081-2.256-.5759-3.18001z"}))}},49431:(t,r,n)=>{"use strict";r.isMatch=function(t,r,n){return(0,i.isValid)((0,a.parse)(t,r,new Date,n))};var i=n(33266),a=n(29105)},49434:(t,r,n)=>{"use strict";r.isThursday=function(t,r){return 4===(0,i.toDate)(t,r?.in).getDay()};var i=n(36339)},49474:(t,r,n)=>{"use strict";r.quartersToYears=function(t){return Math.trunc(t/i.quartersInYear)};var i=n(11179)},49538:(t,r,n)=>{"use strict";var i;Object.defineProperty(r,"__esModule",{value:!0}),r.calculateFocusTarget=function(t,r,n,s){let u,l=-1;for(let c of t){let t=r(c);o(t)&&(t[a.DayFlag.focused]&&l<i.FocusedModifier?(u=c,l=i.FocusedModifier):s?.isEqualTo(c)&&l<i.LastFocused?(u=c,l=i.LastFocused):n(c.date)&&l<i.Selected?(u=c,l=i.Selected):t[a.DayFlag.today]&&l<i.Today&&(u=c,l=i.Today))}return u||(u=t.find(t=>o(r(t)))),u};let a=n(13687);function o(t){return!t[a.DayFlag.disabled]&&!t[a.DayFlag.hidden]&&!t[a.DayFlag.outside]}!function(t){t[t.Today=0]="Today",t[t.Selected=1]="Selected",t[t.LastFocused=2]="LastFocused",t[t.FocusedModifier=3]="FocusedModifier"}(i||(i={}))},49695:(t,r,n)=>{"use strict";r.getDefaultOptions=function(){return Object.assign({},(0,i.getDefaultOptions)())};var i=n(74872)},49958:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMTYwIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDI1NnYxNjBIMHoiLz48bWFzayBpZD0iYSIgd2lkdGg9IjI1NiIgaGVpZ2h0PSIxNjAiIHg9IjAiIHk9IjAiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMjU2djE2MEgweiIvPjwvbWFzaz48ZyBmaWxsPSIjRTZFN0U5IiBtYXNrPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTYgNTcuOTVjMC05LjQ3IDMuNzYtMTguNCAxMC42LTI1LjEyQTM2LjE1IDM2LjE1IDAgMCAxIDUyLjEgMjIuNGg4My4zOXYxOC4wN2gtODMuNGMtNC43IDAtOS4xNSAxLjgzLTEyLjUyIDUuMTNhMTcuMjMgMTcuMjMgMCAwIDAtNS4yMiAxMi4zNWwtLjExIDMwLjMyYTE3LjggMTcuOCAwIDAgMS0xNSAxNS43NmwtMy4yNC41VjU3Ljk0Wm0wIDgyLjg1di0xOC4wN2g4My4zN2M0LjczIDAgOS4xNi0xLjgzIDEyLjUzLTUuMTVhMTcuMiAxNy4yIDAgMCAwIDUuMjItMTIuMzNsLjAzLTI4Ljc5YzAtOC41NyA2LjQ4LTE2IDE1LjA5LTE3LjNsMy4yNS0uNDd2NDYuNTZjMCA5LjQ3LTMuNzcgMTguMzktMTAuNjEgMjUuMTJhMzYuMTIgMzYuMTIgMCAwIDEtMjUuNSAxMC40M3oiLz48cGF0aCBkPSJNODYuNjEgMTA0LjU4VjgxLjIzTDc1Ljc0IDk0IDY0Ljg3IDgxLjIzdjIzLjM0aC0xNC40VjU4LjYzaDEzLjY0TDc1Ljc0IDczLjRsMTEuNjItMTQuNzhIMTAxdjQ1Ljk2SDg2LjZaIi8+PC9nPjwvc3ZnPg=="},49967:(t,r,n)=>{"use strict";r.getSeconds=function(t){return(0,i.toDate)(t).getSeconds()};var i=n(36339)},50422:(t,r,n)=>{"use strict";function i(t){return(i="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})(t)}function a(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function o(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach(function(r){var a,o,s;a=t,o=r,s=n[r],(o=function(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,r||"default");if("object"!=i(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==i(r)?r:r+""}(o))in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}Object.defineProperty(r,"__esModule",{value:!0}),r.OptionWrapper=r.Option=void 0;var s=(0,n(31635).__importDefault)(n(54953)),u=n(17131),l=n(18559);r.Option=function(t){var r=t.leftIcon,n=t.leftIconCSS,i=t.label,a=t.labelCSS,o=t.rightLabel,c=t.rightLabelCSS,d=t.secondLabel,f=t.secondLabelCSS,m=t.isChecked;return s.default.createElement("span",{className:(0,l.cn)("flex px-4 py-3",{"bg-light":m})},r&&s.default.createElement("span",{className:(0,l.cn)("shrink-0 mr-4",n)},r),s.default.createElement("span",{className:"flex my-auto grow"},s.default.createElement("span",{className:"w-[calc(100%-32px)]"},s.default.createElement("span",{className:(0,l.cn)("flex text-[16px] leading-[1.5]",a)},i,o&&s.default.createElement("span",{className:(0,l.cn)("ml-auto shrink-0 pl-2",c)},o)),d&&s.default.createElement("span",{className:(0,l.cn)("block mt-[2px] text-[12px] leading-[1.16] text-light",f)},d)),m&&s.default.createElement(u.CheckSmall,{width:24,height:24,className:"ml-2 text-primary shrink-0"})))},r.Option.displayName="Option",r.OptionWrapper=function(t){var n=t.component,i=t.option,a=t.isChecked,u=t.optionWrapperCSS,c=t.onSelect,d=null!=n?n:r.Option;return s.default.createElement("li",{className:(0,l.cn)("cursor-pointer",u),onClick:function(){return c(i)},tabIndex:0},s.default.createElement(d,o(o({},i),{},{isChecked:a})))}},50687:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(r,n);(!a||("get"in a?!r.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,a)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),a=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),a(n(26604),r),a(n(97702),r),a(n(13796),r),a(n(41997),r),a(n(34003),r),a(n(77894),r),a(n(24681),r)},50699:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ReliabilityIndicators=void 0;var i=(0,n(31635).__importDefault)(n(54953)),a=n(83274),o=n(93271),s=n(63620),u=n(5101),l=n(85450),c=n(39838),d=n(18559);r.ReliabilityIndicators=function(){return i.default.createElement("section",{className:"px-[--page-content-padd-x] py-10"},i.default.createElement("h2",{className:"text-[24px] leading-[1.16] font-bold mb-6"},"Показатели надёжности"),i.default.createElement(a.Tabs,{defaultValue:"taxes",variant:"chip",className:"-mx-[--page-content-padd-x]"},i.default.createElement(a.Tabs.List,{className:"mb-6 px-[--page-content-padd-x]"},i.default.createElement(a.Tabs.Trigger,{value:"taxes"},"Налоги"),i.default.createElement(a.Tabs.Trigger,{value:"transfers"},"Переводы физлицам"),i.default.createElement(a.Tabs.Trigger,{value:"cash"},"Снятие наличных"),i.default.createElement(a.Tabs.Trigger,{value:"turnover"},"Оборачиваемость"),i.default.createElement(a.Tabs.Trigger,{value:"reputation"},"Репутация")),i.default.createElement(a.Tabs.Content,{className:"space-y-6",value:"taxes"},i.default.createElement("h3",{className:"mb-5 text-[20px] leading-[1.2] font-medium px-[--page-content-padd-x]"},"Налоги"),i.default.createElement("div",{className:"px-[--page-content-padd-x]"},i.default.createElement(o.Drawer,{modal:!0},i.default.createElement(o.DrawerTrigger,{className:"shadow-md rounded-[16px] w-full text-left p-6 flex flex-col gap-y-2"},i.default.createElement("span",{className:"flex justify-between"},i.default.createElement("span",null,"90 дней"),i.default.createElement("span",{"aria-hidden":!0},"иконка")),i.default.createElement("span",null,"Налоговая нагрузка за последние 90 дней"),i.default.createElement("span",{className:"text-[40px] leading-[1.1] font-bold text-critical"},"0,5%"),i.default.createElement(u.Progress,null),i.default.createElement("span",null,"В зоне риска, рекомендуем >0,9%")),i.default.createElement(o.DrawerContent,null,i.default.createElement(o.DrawerTitle,{className:"font-medium text-center mb-6"},"Налоговая нагрузка за последние 90 дней"),i.default.createElement("div",{className:"px-[--page-content-padd-x] pb-10 space-y-4"},i.default.createElement(s.Alert,{type:"text",variant:"critical"},i.default.createElement(s.Alert.Description,null,"Показатель в зоне риска")),i.default.createElement("p",null,"У вас мало налогов, а это опасно."),i.default.createElement("p",null,"Что делать — платить налоги как минимум 0,9% от оборота по счёту, а лучше на уровне налоговой нагрузки по своей отрасли. Для планки в 0,9% учитывайте все платежи налоговой: налог с дохода, страховые взносы за себя и сотрудников, НДФЛ за зарплату и обычные переводы физлицам. Всё, что вы платите налоговой, считается")))),i.default.createElement(o.Drawer,{modal:!0},i.default.createElement(o.DrawerTrigger,{className:"shadow-md rounded-[16px] w-full text-left p-6 flex flex-col gap-y-2"},i.default.createElement("span",{className:"flex justify-between"},i.default.createElement("span",null,"90 дней"),i.default.createElement("span",{"aria-hidden":!0},"иконка")),i.default.createElement("span",null,"Налоговая нагрузка за последние 90 дней"),i.default.createElement("span",{className:"text-[40px] leading-[1.1] font-bold text-critical"},"0,5%"),i.default.createElement(u.Progress,null),i.default.createElement("span",null,"В зоне риска, рекомендуем >0,9%")),i.default.createElement(o.DrawerContent,null,i.default.createElement(o.DrawerTitle,{className:"font-medium text-center mb-6"},"Налоговая нагрузка за последние 90 дней"),i.default.createElement("div",{className:"px-[--page-content-padd-x] pb-10 space-y-4"},i.default.createElement(s.Alert,{type:"text",variant:"critical"},i.default.createElement(s.Alert.Description,null,"Показатель в зоне риска")),i.default.createElement("p",null,"У вас мало налогов, а это опасно."),i.default.createElement("p",null,"Что делать — платить налоги как минимум 0,9% от оборота по счёту, а лучше на уровне налоговой нагрузки по своей отрасли. Для планки в 0,9% учитывайте все платежи налоговой: налог с дохода, страховые взносы за себя и сотрудников, НДФЛ за зарплату и обычные переводы физлицам. Всё, что вы платите налоговой, считается")))),i.default.createElement(o.Drawer,{modal:!0},i.default.createElement(o.DrawerTrigger,{className:"shadow-md rounded-[16px] w-full text-left p-6 flex flex-col gap-y-2"},i.default.createElement("span",{className:"flex justify-between"},i.default.createElement("span",null,"90 дней"),i.default.createElement("span",{"aria-hidden":!0},"иконка")),i.default.createElement("span",null,"Налоговая нагрузка за последние 90 дней"),i.default.createElement("span",{className:"text-[40px] leading-[1.1] font-bold text-critical"},"0,5%"),i.default.createElement(u.Progress,null),i.default.createElement("span",null,"В зоне риска, рекомендуем >0,9%")),i.default.createElement(o.DrawerContent,null,i.default.createElement(o.DrawerTitle,{className:"font-medium text-center mb-6"},"Налоговая нагрузка за последние 90 дней"),i.default.createElement("div",{className:"px-[--page-content-padd-x] pb-10 space-y-4"},i.default.createElement(s.Alert,{type:"text",variant:"critical"},i.default.createElement(s.Alert.Description,null,"Показатель в зоне риска")),i.default.createElement("p",null,"У вас мало налогов, а это опасно."),i.default.createElement("p",null,"Что делать — платить налоги как минимум 0,9% от оборота по счёту, а лучше на уровне налоговой нагрузки по своей отрасли. Для планки в 0,9% учитывайте все платежи налоговой: налог с дохода, страховые взносы за себя и сотрудников, НДФЛ за зарплату и обычные переводы физлицам. Всё, что вы платите налоговой, считается"))))),i.default.createElement("article",{className:(0,d.cn)("space-y-4",c.LightBlockCSS)},i.default.createElement("p",null,"Показатель рассказывает о налоговой нагрузке за 90, 180 дней и с момента открытия счёта в Модульбанке."),i.default.createElement("p",null,"Налоговая нагрузка должна быть не меньше 0,9% от дебетового оборота или на уровне нагрузки вашей отрасли")),i.default.createElement("article",{className:(0,d.cn)("space-y-4",c.LightBlockCSS)},i.default.createElement("p",{className:"text-[20px] leading-[1.2]"},"Рекомендуемая сумма для оплаты налогов"),i.default.createElement("p",{className:"font-bold text-[40px] leading-[1.1]"},"51 017 ₽"),i.default.createElement(l.Button,{type:"button",className:"w-full"},"Оплатить"),i.default.createElement("p",{className:"mt-6 text-[14px] leading-[1.2] text-dark"},"Мы рассчитали рекомендуемую сумму налога, чтобы с ближайшим платежом ваша компания не перешла в зону риска. В расчётах мы учитывали уплаченные налоги, отраслевую нагрузку и динамику оборотов вашей компании"))),i.default.createElement(a.Tabs.Content,{value:"transfers"},i.default.createElement("h3",{className:"mb-5 text-[20px] leading-[1.2] font-medium"},"Переводы физлицам")),i.default.createElement(a.Tabs.Content,{value:"cash"},i.default.createElement("h3",{className:"mb-5 text-[20px] leading-[1.2] font-medium"},"Снятие наличных")),i.default.createElement(a.Tabs.Content,{value:"turnover"},i.default.createElement("h3",{className:"mb-5 text-[20px] leading-[1.2] font-medium"},"Оборачиваемость")),i.default.createElement(a.Tabs.Content,{value:"reputation"},i.default.createElement("h3",{className:"mb-5 text-[20px] leading-[1.2] font-medium"},"Репутация"),i.default.createElement("article",null,i.default.createElement("h4",null,"90 дней")))))}},50738:(t,r,n)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PageNavbar=r.PageNavbarCSS=void 0;var i=(0,n(31635).__importDefault)(n(54953)),a=n(18559);r.PageNavbarCSS=`
370
- sticky
370
+ fixed
371
371
  top-0
372
372
  container
373
373
  flex
374
374
  justify-between
375
+ items-center
375
376
  px-[--page-content-padd-x]
376
377
  pt-[env(safe-area-inset-top)]
377
378
  h-[--page-header-height]