1mpacto-react-ui 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +20 -12
- package/dist/package.json.d.ts +1 -1
- package/dist/src/components/Collapse/CollapseV2.d.ts +1 -1
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +14 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/assets/core.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!1ru-pointer-events-none{pointer-events:none!important}.\31ru-pointer-events-none{pointer-events:none}.\!1ru-absolute{position:absolute!important}.\31ru-absolute{position:absolute}.\31ru-relative{position:relative}.\31ru-left-0{left:0}.\31ru-top-0{top:0}.\31ru-z-\[999\]{z-index:999}.\31ru-m-5{margin:1.25rem}.\-1ru-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.\-1ru-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.\31ru-mx-0{margin-left:0;margin-right:0}.\31ru-mx-0\.5{margin-left:.125rem;margin-right:.125rem}.\31ru-my-2{margin-top:.5rem;margin-bottom:.5rem}.\!1ru-mt-6{margin-top:1.5rem!important}.\-1ru-mb-0{margin-bottom:0}.\-1ru-mb-0\.5{margin-bottom:-.125rem}.\-1ru-mt-0{margin-top:0}.\-1ru-mt-0\.5{margin-top:-.125rem}.\31ru-mb-\[1000px\]{margin-bottom:1000px}.\31ru-mt-5{margin-top:1.25rem}.\31ru-mt-\[1000px\]{margin-top:1000px}.\31ru-flex{display:flex}.\31ru-inline-flex{display:inline-flex}.\31ru-table{display:table}.\31ru-hidden{display:none}.\31ru-size-5{width:1.25rem;height:1.25rem}.\31ru-size-6{width:1.5rem;height:1.5rem}.\31ru-size-\[300px\]{width:300px;height:300px}.\31ru-size-\[500px\]{width:500px;height:500px}.\!1ru-h-\[14px\]{height:14px!important}.\31ru-h-16{height:4rem}.\31ru-h-20{height:5rem}.\31ru-h-3{height:.75rem}.\31ru-h-3\.5{height:.875rem}.\31ru-h-4{height:1rem}.\31ru-h-5{height:1.25rem}.\31ru-h-6{height:1.5rem}.\31ru-h-8{height:2rem}.\31ru-h-\[38px\]{height:38px}.\31ru-h-full{height:100%}.\31ru-min-h-12{min-height:3rem}.\!1ru-w-\[14px\]{width:14px!important}.\!1ru-w-\[calc\(100\%\+48px\)\]{width:calc(100% + 48px)!important}.\!1ru-w-full{width:100%!important}.\31ru-w-20{width:5rem}.\31ru-w-3{width:.75rem}.\31ru-w-3\.5{width:.875rem}.\31ru-w-4{width:1rem}.\31ru-w-5{width:1.25rem}.\31ru-w-6{width:1.5rem}.\31ru-w-\[250px\]{width:250px}.\31ru-w-\[296px\]{width:296px}.\31ru-w-fit{width:-moz-fit-content;width:fit-content}.\31ru-w-full{width:100%}.\!1ru-min-w-\[60px\]{min-width:60px!important}.\31ru-min-w-\[150px\]{min-width:150px}.\31ru-min-w-\[38px\]{min-width:38px}.\!1ru-max-w-\[70px\]{max-width:70px!important}.\31ru-max-w-\[800px\]{max-width:800px}.\31ru-flex-shrink-0{flex-shrink:0}.\-1ru-rotate-90{--tw-rotate:-90deg}.\-1ru-rotate-90,.\31ru-rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\31ru-rotate-180{--tw-rotate:180deg}.\31ru-rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\31ru-cursor-pointer{cursor:pointer}.\31ru-flex-row{flex-direction:row}.\31ru-flex-col{flex-direction:column}.\31ru-flex-wrap{flex-wrap:wrap}.\31ru-content-start{align-content:flex-start}.\31ru-items-center{align-items:center}.\31ru-justify-center{justify-content:center}.\31ru-justify-between{justify-content:space-between}.\31ru-justify-around{justify-content:space-around}.\31ru-gap-0{gap:0}.\31ru-gap-0\.5{gap:.125rem}.\31ru-gap-1{gap:.25rem}.\31ru-gap-1\.5{gap:.375rem}.\31ru-gap-10{gap:2.5rem}.\31ru-gap-11{gap:2.75rem}.\31ru-gap-12{gap:3rem}.\31ru-gap-14{gap:3.5rem}.\31ru-gap-16{gap:4rem}.\31ru-gap-2{gap:.5rem}.\31ru-gap-2\.5{gap:.625rem}.\31ru-gap-20{gap:5rem}.\31ru-gap-24{gap:6rem}.\31ru-gap-28{gap:7rem}.\31ru-gap-3{gap:.75rem}.\31ru-gap-3\.5{gap:.875rem}.\31ru-gap-32{gap:8rem}.\31ru-gap-36{gap:9rem}.\31ru-gap-4{gap:1rem}.\31ru-gap-40{gap:10rem}.\31ru-gap-44{gap:11rem}.\31ru-gap-48{gap:12rem}.\31ru-gap-5{gap:1.25rem}.\31ru-gap-52{gap:13rem}.\31ru-gap-56{gap:14rem}.\31ru-gap-6{gap:1.5rem}.\31ru-gap-60{gap:15rem}.\31ru-gap-64{gap:16rem}.\31ru-gap-7{gap:1.75rem}.\31ru-gap-72{gap:18rem}.\31ru-gap-8{gap:2rem}.\31ru-gap-80{gap:20rem}.\31ru-gap-9{gap:2.25rem}.\31ru-gap-96{gap:24rem}.\31ru-gap-px{gap:1px}.\31ru-gap-x-0{-moz-column-gap:0;column-gap:0}.\31ru-gap-x-0\.5{-moz-column-gap:.125rem;column-gap:.125rem}.\31ru-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.\31ru-gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.\31ru-gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.\31ru-gap-x-11{-moz-column-gap:2.75rem;column-gap:2.75rem}.\31ru-gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.\31ru-gap-x-14{-moz-column-gap:3.5rem;column-gap:3.5rem}.\31ru-gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.\31ru-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.\31ru-gap-x-2\.5{-moz-column-gap:.625rem;column-gap:.625rem}.\31ru-gap-x-20{-moz-column-gap:5rem;column-gap:5rem}.\31ru-gap-x-24{-moz-column-gap:6rem;column-gap:6rem}.\31ru-gap-x-28{-moz-column-gap:7rem;column-gap:7rem}.\31ru-gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.\31ru-gap-x-3\.5{-moz-column-gap:.875rem;column-gap:.875rem}.\31ru-gap-x-32{-moz-column-gap:8rem;column-gap:8rem}.\31ru-gap-x-36{-moz-column-gap:9rem;column-gap:9rem}.\31ru-gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.\31ru-gap-x-40{-moz-column-gap:10rem;column-gap:10rem}.\31ru-gap-x-44{-moz-column-gap:11rem;column-gap:11rem}.\31ru-gap-x-48{-moz-column-gap:12rem;column-gap:12rem}.\31ru-gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.\31ru-gap-x-52{-moz-column-gap:13rem;column-gap:13rem}.\31ru-gap-x-56{-moz-column-gap:14rem;column-gap:14rem}.\31ru-gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.\31ru-gap-x-60{-moz-column-gap:15rem;column-gap:15rem}.\31ru-gap-x-64{-moz-column-gap:16rem;column-gap:16rem}.\31ru-gap-x-7{-moz-column-gap:1.75rem;column-gap:1.75rem}.\31ru-gap-x-72{-moz-column-gap:18rem;column-gap:18rem}.\31ru-gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.\31ru-gap-x-80{-moz-column-gap:20rem;column-gap:20rem}.\31ru-gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.\31ru-gap-x-96{-moz-column-gap:24rem;column-gap:24rem}.\31ru-gap-x-px{-moz-column-gap:1px;column-gap:1px}.\31ru-gap-y-0{row-gap:0}.\31ru-gap-y-0\.5{row-gap:.125rem}.\31ru-gap-y-1{row-gap:.25rem}.\31ru-gap-y-1\.5{row-gap:.375rem}.\31ru-gap-y-10{row-gap:2.5rem}.\31ru-gap-y-11{row-gap:2.75rem}.\31ru-gap-y-12{row-gap:3rem}.\31ru-gap-y-14{row-gap:3.5rem}.\31ru-gap-y-16{row-gap:4rem}.\31ru-gap-y-2{row-gap:.5rem}.\31ru-gap-y-2\.5{row-gap:.625rem}.\31ru-gap-y-20{row-gap:5rem}.\31ru-gap-y-24{row-gap:6rem}.\31ru-gap-y-28{row-gap:7rem}.\31ru-gap-y-3{row-gap:.75rem}.\31ru-gap-y-3\.5{row-gap:.875rem}.\31ru-gap-y-32{row-gap:8rem}.\31ru-gap-y-36{row-gap:9rem}.\31ru-gap-y-4{row-gap:1rem}.\31ru-gap-y-40{row-gap:10rem}.\31ru-gap-y-44{row-gap:11rem}.\31ru-gap-y-48{row-gap:12rem}.\31ru-gap-y-5{row-gap:1.25rem}.\31ru-gap-y-52{row-gap:13rem}.\31ru-gap-y-56{row-gap:14rem}.\31ru-gap-y-6{row-gap:1.5rem}.\31ru-gap-y-60{row-gap:15rem}.\31ru-gap-y-64{row-gap:16rem}.\31ru-gap-y-7{row-gap:1.75rem}.\31ru-gap-y-72{row-gap:18rem}.\31ru-gap-y-8{row-gap:2rem}.\31ru-gap-y-80{row-gap:20rem}.\31ru-gap-y-9{row-gap:2.25rem}.\31ru-gap-y-96{row-gap:24rem}.\31ru-gap-y-px{row-gap:1px}.\31ru-overflow-auto{overflow:auto}.\31ru-overflow-hidden{overflow:hidden}.\31ru-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\31ru-text-nowrap{text-wrap:nowrap}.\31ru-break-all{word-break:break-all}.\31ru-break-keep{word-break:keep-all}.\!1ru-rounded-md{border-radius:.375rem!important}.\!1ru-rounded-xl{border-radius:.75rem!important}.\31ru-rounded{border-radius:.25rem}.\31ru-rounded-2xl{border-radius:1rem}.\31ru-rounded-3xl{border-radius:1.5rem}.\31ru-rounded-full{border-radius:9999px}.\31ru-rounded-lg{border-radius:.5rem}.\31ru-rounded-md{border-radius:.375rem}.\31ru-rounded-none{border-radius:0}.\31ru-rounded-sm{border-radius:.125rem}.\31ru-rounded-xl{border-radius:.75rem}.\!1ru-rounded-s-lg{border-start-start-radius:.5rem!important;border-end-start-radius:.5rem!important}.\31ru-rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.\31ru-rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.\!1ru-rounded-tr-lg{border-top-right-radius:.5rem!important}.\31ru-border{border-width:1px}.\31ru-border-\[\#ccc\]{--tw-border-opacity:1;border-color:rgb(204 204 204/var(--tw-border-opacity))}.\!1ru-bg-laba-blue-10{--tw-bg-opacity:1!important;background-color:rgb(1 99 200/var(--tw-bg-opacity))!important}.\31ru-bg-laba-blue-02{--tw-bg-opacity:1;background-color:rgb(219 236 255/var(--tw-bg-opacity))}.\31ru-bg-laba-blue-10{--tw-bg-opacity:1;background-color:rgb(1 99 200/var(--tw-bg-opacity))}.\31ru-bg-laba-grey-02{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.\31ru-bg-red-300{--tw-bg-opacity:1;background-color:rgb(229 115 115/var(--tw-bg-opacity))}.\31ru-bg-red-900{--tw-bg-opacity:1;background-color:rgb(183 28 28/var(--tw-bg-opacity))}.\31ru-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.\31ru-object-contain{-o-object-fit:contain;object-fit:contain}.\!1ru-p-6{padding:1.5rem!important}.\31ru-p-10{padding:2.5rem}.\31ru-p-5{padding:1.25rem}.\31ru-px-2{padding-left:.5rem;padding-right:.5rem}.\31ru-px-3{padding-left:.75rem;padding-right:.75rem}.\31ru-px-4{padding-left:1rem;padding-right:1rem}.\31ru-py-1{padding-top:.25rem;padding-bottom:.25rem}.\31ru-py-2{padding-top:.5rem;padding-bottom:.5rem}.\!1ru-pl-2{padding-left:.5rem!important}.\!1ru-pt-2{padding-top:.5rem!important}.\31ru-pl-2{padding-left:.5rem}.\31ru-pr-1{padding-right:.25rem}.\31ru-pt-2{padding-top:.5rem}.\31ru-pt-3{padding-top:.75rem}.\31ru-text-center{text-align:center}.\!1ru-font-Lato{font-family:Lato!important}.\31ru-font-Inter{font-family:Inter}.\31ru-font-Lato{font-family:Lato}.\31ru-font-PJakartaSans{font-family:PJakartaSans}.\!1ru-text-laba-subtitle-rr{font-size:12px!important;line-height:16px!important;font-weight:400!important}.\31ru-text-\[10px\]{font-size:10px}.\31ru-text-\[12px\]{font-size:12px}.\31ru-text-bill-body-blb{font-size:18px;line-height:26px;font-weight:700}.\31ru-text-bill-body-ems{font-size:12px;line-height:20px;font-weight:500}.\31ru-text-bill-body-esb{font-size:12px;line-height:20px;font-weight:700}.\31ru-text-bill-body-esr{font-size:12px;line-height:20px;font-weight:400}.\31ru-text-bill-body-essm{font-size:12px;line-height:20px;font-weight:600}.\31ru-text-bill-body-lm{font-size:18px;line-height:26px;font-weight:500}.\31ru-text-bill-body-lr{font-size:18px;line-height:26px;font-weight:400}.\31ru-text-bill-body-lsm{font-size:18px;line-height:26px;font-weight:600}.\31ru-text-bill-body-mb{font-size:16px;line-height:24px;font-weight:700}.\31ru-text-bill-body-mm{font-size:16px;line-height:24px;font-weight:500}.\31ru-text-bill-body-mr{font-size:16px;line-height:24px;font-weight:400}.\31ru-text-bill-body-msm{font-size:16px;line-height:24px;font-weight:600}.\31ru-text-bill-body-sb{font-size:14px;line-height:22px;font-weight:700}.\31ru-text-bill-body-sm{font-size:14px;line-height:22px;font-weight:500}.\31ru-text-bill-body-sr{font-size:14px;line-height:22px;font-weight:400}.\31ru-text-bill-body-ssm{font-size:14px;line-height:22px;font-weight:600}.\31ru-text-bill-h1{font-size:60px;line-height:72px;font-weight:700}.\31ru-text-bill-h2{font-size:48px;line-height:58px;font-weight:700}.\31ru-text-bill-h3{font-size:40px;line-height:58px;font-weight:700}.\31ru-text-bill-h4{font-size:30px;line-height:38px;font-weight:700}.\31ru-text-bill-h5{font-size:28px;line-height:40px;font-weight:600}.\31ru-text-bill-h6{font-size:24px;line-height:30px;font-weight:600}.\31ru-text-bill-label-b{font-size:15px;line-height:26px;font-weight:700}.\31ru-text-bill-label-m{font-size:15px;line-height:26px;font-weight:500}.\31ru-text-bill-label-r{font-size:15px;line-height:26px;font-weight:400}.\31ru-text-bill-label-sm{font-size:15px;line-height:26px;font-weight:600}.\31ru-text-laba-base-rb{font-size:16px;line-height:24px;font-weight:700}.\31ru-text-laba-base-rr{font-size:16px;line-height:24px;font-weight:400}.\31ru-text-laba-base-rs{font-size:16px;line-height:24px;font-weight:600}.\31ru-text-laba-base-sb{font-size:14px;line-height:20px;font-weight:700}.\31ru-text-laba-base-sr{font-size:14px;line-height:20px;font-weight:400}.\31ru-text-laba-base-ss{font-size:14px;line-height:20px;font-weight:600}.\31ru-text-laba-h1,.\31ru-text-laba-h1-b{font-size:24px;line-height:30px;font-weight:700}.\31ru-text-laba-h1-r{font-size:24px;line-height:30px;font-weight:400}.\31ru-text-laba-h1-sb{font-size:24px;line-height:30px;font-weight:600}.\31ru-text-laba-h2,.\31ru-text-laba-h2-b{font-size:18px;line-height:26px;font-weight:700}.\31ru-text-laba-h2-r{font-size:18px;line-height:26px;font-weight:400}.\31ru-text-laba-h2-sb{font-size:18px;line-height:26px;font-weight:600}.\31ru-text-laba-subtitle-rb{font-size:12px;line-height:16px;font-weight:700}.\31ru-text-laba-subtitle-rr{font-size:12px;line-height:16px;font-weight:400}.\31ru-text-laba-subtitle-rs{font-size:12px;line-height:16px;font-weight:600}.\31ru-text-laba-subtitle-sb{font-size:10px;line-height:12px;font-weight:700}.\31ru-text-laba-subtitle-sr{font-size:10px;line-height:12px;font-weight:400}.\31ru-text-laba-subtitle-ss{font-size:10px;line-height:12px;font-weight:600}.\31ru-text-laba-title-lb{font-size:36px;line-height:44px;font-weight:700}.\31ru-text-laba-title-lr{font-size:36px;line-height:44px;font-weight:400}.\31ru-text-laba-title-ls{font-size:36px;line-height:44px;font-weight:600}.\31ru-text-laba-title-mb{font-size:32px;line-height:40px;font-weight:700}.\31ru-text-laba-title-mr{font-size:32px;line-height:40px;font-weight:400}.\31ru-text-laba-title-ms{font-size:32px;line-height:40px;font-weight:600}.\31ru-text-payhere-body-esb{font-size:12px;line-height:20px;font-weight:700}.\31ru-text-payhere-body-esm{font-size:12px;line-height:20px;font-weight:500}.\31ru-text-payhere-body-esmb{font-size:12px;line-height:20px;font-weight:600}.\31ru-text-payhere-body-esr{font-size:12px;line-height:20px;font-weight:400}.\31ru-text-payhere-body-lb{font-size:18px;line-height:26px;font-weight:700}.\31ru-text-payhere-body-lm{font-size:18px;line-height:26px;font-weight:500}.\31ru-text-payhere-body-lr{font-size:18px;line-height:26px;font-weight:400}.\31ru-text-payhere-body-ls{font-size:18px;line-height:26px;font-weight:600}.\31ru-text-payhere-body-mb{font-size:16px;line-height:24px;font-weight:700}.\31ru-text-payhere-body-mm{font-size:16px;line-height:24px;font-weight:500}.\31ru-text-payhere-body-mr{font-size:16px;line-height:24px;font-weight:400}.\31ru-text-payhere-body-ms{font-size:16px;line-height:24px;font-weight:600}.\31ru-text-payhere-body-sb{font-size:14px;line-height:22px;font-weight:700}.\31ru-text-payhere-body-sm{font-size:14px;line-height:22px;font-weight:500}.\31ru-text-payhere-body-smb{font-size:14px;line-height:22px;font-weight:600}.\31ru-text-payhere-body-sr{font-size:14px;line-height:22px;font-weight:400}.\31ru-text-payhere-h1{font-size:60px;line-height:72px;font-weight:700}.\31ru-text-payhere-h2{font-size:48px;line-height:58px;font-weight:700}.\31ru-text-payhere-h3{font-size:40px;line-height:48px;font-weight:700}.\31ru-text-payhere-h4{font-size:30px;line-height:38px;font-weight:700}.\31ru-text-payhere-h5{font-size:28px;line-height:40px;font-weight:600}.\31ru-text-payhere-h6{font-size:24px;line-height:30px;font-weight:600}.\31ru-text-payhere-label-b{font-size:15px;line-height:26px;font-weight:700}.\31ru-text-payhere-label-m{font-size:15px;line-height:26px;font-weight:500}.\31ru-text-payhere-label-r{font-size:15px;line-height:26px;font-weight:400}.\31ru-text-payhere-label-sb{font-size:15px;line-height:26px;font-weight:600}.\31ru-font-semibold{font-weight:600}.\!1ru-text-gray-500{--tw-text-opacity:1!important;color:rgb(158 158 158/var(--tw-text-opacity))!important}.\!1ru-text-laba-grey-10{--tw-text-opacity:1!important;color:rgb(137 137 137/var(--tw-text-opacity))!important}.\31ru-text-blue-700{--tw-text-opacity:1;color:rgb(25 118 210/var(--tw-text-opacity))}.\31ru-text-gray-400{--tw-text-opacity:1;color:rgb(189 189 189/var(--tw-text-opacity))}.\31ru-text-laba-blue-10{--tw-text-opacity:1;color:rgb(1 99 200/var(--tw-text-opacity))}.\31ru-text-laba-red-08{--tw-text-opacity:1;color:rgb(237 0 25/var(--tw-text-opacity))}.\31ru-text-red-600{--tw-text-opacity:1;color:rgb(229 57 53/var(--tw-text-opacity))}.\31ru-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.\31ru-opacity-0{opacity:0}.\31ru-opacity-50{opacity:.5}.\31ru-opacity-\[1\]{opacity:1}.\31ru-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.\31ru-shadow-md,.\31ru-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\31ru-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.\31ru-outline-none{outline:2px solid #0000;outline-offset:2px}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-100.ttf);font-weight:100}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-200.ttf);font-weight:200}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-300.ttf);font-weight:300}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-400.ttf);font-weight:400}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-500.ttf);font-weight:500}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-600.ttf);font-weight:600}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Lato-700.ttf);font-weight:700}@font-face{font-family:Inter;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Inter-Regular.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:andale-mono;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Andale-Mono.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Arial;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Arial-Regular.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Arial-Black;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Arial-Black.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Book-Antiqua;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Book-Antiqua.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Comic-Sans-MS;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Comic-Sans-MS.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Courier-New;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Courier-New.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Georgia;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Georgia.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Helvetica;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Helvetica.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Impact;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Impact.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Tahoma;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Tahoma.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Terminal;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Terminal.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Times-New-Roman;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Times-New-Roman.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Trebuchet-MS;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Trebuchet-MS.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Verdana;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Verdana.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Webdings;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Webdings.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Wingdings;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/Wingdings.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:PJakartaSans;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/PlusJakartaSans.ttf);font-weight:200 800;font-style:normal}@font-face{font-family:PJakartaSans;src:url(https://unpkg.com/1mpacto-react-ui@1.0.9/dist/assets/fonts/PlusJakartaSans-Italic.ttf);font-weight:200 800;font-style:italic}body{background:#fff}.Toastify__toast-container--top-center{width:100%;pointer-events:none}.disabled-text-editor *{all:unset;box-sizing:border-box}.no-tailwindcss-base,.no-tailwindcss-base *,.no-tailwindcss-base>*{font-size:revert;font-weight:revert;margin:revert;display:revert;vertical-align:revert;max-width:revert;height:revert;border:revert;outline:revert;list-style:revert;padding:revert}.hover\:1ru-bg-laba-blue-01:hover{--tw-bg-opacity:1;background-color:rgb(240 247 255/var(--tw-bg-opacity))}.hover\:1ru-bg-red-400:hover{--tw-bg-opacity:1;background-color:rgb(239 83 80/var(--tw-bg-opacity))}.hover\:1ru-text-laba-blue-05:hover{--tw-text-opacity:1;color:rgb(115 164 214/var(--tw-text-opacity))}
|
|
1
|
+
/*! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!1ru-pointer-events-none{pointer-events:none!important}.\31ru-pointer-events-none{pointer-events:none}.\!1ru-absolute{position:absolute!important}.\31ru-absolute{position:absolute}.\31ru-relative{position:relative}.\31ru-left-0{left:0}.\31ru-top-0{top:0}.\31ru-z-\[999\]{z-index:999}.\31ru-m-5{margin:1.25rem}.\-1ru-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.\-1ru-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.\31ru-mx-0{margin-left:0;margin-right:0}.\31ru-mx-0\.5{margin-left:.125rem;margin-right:.125rem}.\31ru-my-2{margin-top:.5rem;margin-bottom:.5rem}.\!1ru-mt-6{margin-top:1.5rem!important}.\-1ru-mb-0{margin-bottom:0}.\-1ru-mb-0\.5{margin-bottom:-.125rem}.\-1ru-mt-0{margin-top:0}.\-1ru-mt-0\.5{margin-top:-.125rem}.\31ru-mb-\[1000px\]{margin-bottom:1000px}.\31ru-mt-5{margin-top:1.25rem}.\31ru-mt-\[1000px\]{margin-top:1000px}.\31ru-flex{display:flex}.\31ru-inline-flex{display:inline-flex}.\31ru-table{display:table}.\31ru-hidden{display:none}.\31ru-size-5{width:1.25rem;height:1.25rem}.\31ru-size-6{width:1.5rem;height:1.5rem}.\31ru-size-\[300px\]{width:300px;height:300px}.\31ru-size-\[500px\]{width:500px;height:500px}.\!1ru-h-\[14px\]{height:14px!important}.\31ru-h-16{height:4rem}.\31ru-h-20{height:5rem}.\31ru-h-3{height:.75rem}.\31ru-h-3\.5{height:.875rem}.\31ru-h-4{height:1rem}.\31ru-h-5{height:1.25rem}.\31ru-h-6{height:1.5rem}.\31ru-h-8{height:2rem}.\31ru-h-\[38px\]{height:38px}.\31ru-h-full{height:100%}.\31ru-min-h-12{min-height:3rem}.\!1ru-w-\[14px\]{width:14px!important}.\!1ru-w-\[calc\(100\%\+48px\)\]{width:calc(100% + 48px)!important}.\!1ru-w-full{width:100%!important}.\31ru-w-20{width:5rem}.\31ru-w-3{width:.75rem}.\31ru-w-3\.5{width:.875rem}.\31ru-w-4{width:1rem}.\31ru-w-5{width:1.25rem}.\31ru-w-6{width:1.5rem}.\31ru-w-\[250px\]{width:250px}.\31ru-w-\[296px\]{width:296px}.\31ru-w-fit{width:-moz-fit-content;width:fit-content}.\31ru-w-full{width:100%}.\!1ru-min-w-\[60px\]{min-width:60px!important}.\31ru-min-w-\[150px\]{min-width:150px}.\31ru-min-w-\[38px\]{min-width:38px}.\!1ru-max-w-\[70px\]{max-width:70px!important}.\31ru-max-w-\[800px\]{max-width:800px}.\31ru-flex-shrink-0{flex-shrink:0}.\-1ru-rotate-90{--tw-rotate:-90deg}.\-1ru-rotate-90,.\31ru-rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\31ru-rotate-180{--tw-rotate:180deg}.\31ru-rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\31ru-cursor-pointer{cursor:pointer}.\31ru-flex-row{flex-direction:row}.\31ru-flex-col{flex-direction:column}.\31ru-flex-wrap{flex-wrap:wrap}.\31ru-content-start{align-content:flex-start}.\31ru-items-center{align-items:center}.\31ru-justify-center{justify-content:center}.\31ru-justify-between{justify-content:space-between}.\31ru-justify-around{justify-content:space-around}.\31ru-gap-0{gap:0}.\31ru-gap-0\.5{gap:.125rem}.\31ru-gap-1{gap:.25rem}.\31ru-gap-1\.5{gap:.375rem}.\31ru-gap-10{gap:2.5rem}.\31ru-gap-11{gap:2.75rem}.\31ru-gap-12{gap:3rem}.\31ru-gap-14{gap:3.5rem}.\31ru-gap-16{gap:4rem}.\31ru-gap-2{gap:.5rem}.\31ru-gap-2\.5{gap:.625rem}.\31ru-gap-20{gap:5rem}.\31ru-gap-24{gap:6rem}.\31ru-gap-28{gap:7rem}.\31ru-gap-3{gap:.75rem}.\31ru-gap-3\.5{gap:.875rem}.\31ru-gap-32{gap:8rem}.\31ru-gap-36{gap:9rem}.\31ru-gap-4{gap:1rem}.\31ru-gap-40{gap:10rem}.\31ru-gap-44{gap:11rem}.\31ru-gap-48{gap:12rem}.\31ru-gap-5{gap:1.25rem}.\31ru-gap-52{gap:13rem}.\31ru-gap-56{gap:14rem}.\31ru-gap-6{gap:1.5rem}.\31ru-gap-60{gap:15rem}.\31ru-gap-64{gap:16rem}.\31ru-gap-7{gap:1.75rem}.\31ru-gap-72{gap:18rem}.\31ru-gap-8{gap:2rem}.\31ru-gap-80{gap:20rem}.\31ru-gap-9{gap:2.25rem}.\31ru-gap-96{gap:24rem}.\31ru-gap-px{gap:1px}.\31ru-gap-x-0{-moz-column-gap:0;column-gap:0}.\31ru-gap-x-0\.5{-moz-column-gap:.125rem;column-gap:.125rem}.\31ru-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.\31ru-gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.\31ru-gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.\31ru-gap-x-11{-moz-column-gap:2.75rem;column-gap:2.75rem}.\31ru-gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.\31ru-gap-x-14{-moz-column-gap:3.5rem;column-gap:3.5rem}.\31ru-gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.\31ru-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.\31ru-gap-x-2\.5{-moz-column-gap:.625rem;column-gap:.625rem}.\31ru-gap-x-20{-moz-column-gap:5rem;column-gap:5rem}.\31ru-gap-x-24{-moz-column-gap:6rem;column-gap:6rem}.\31ru-gap-x-28{-moz-column-gap:7rem;column-gap:7rem}.\31ru-gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.\31ru-gap-x-3\.5{-moz-column-gap:.875rem;column-gap:.875rem}.\31ru-gap-x-32{-moz-column-gap:8rem;column-gap:8rem}.\31ru-gap-x-36{-moz-column-gap:9rem;column-gap:9rem}.\31ru-gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.\31ru-gap-x-40{-moz-column-gap:10rem;column-gap:10rem}.\31ru-gap-x-44{-moz-column-gap:11rem;column-gap:11rem}.\31ru-gap-x-48{-moz-column-gap:12rem;column-gap:12rem}.\31ru-gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.\31ru-gap-x-52{-moz-column-gap:13rem;column-gap:13rem}.\31ru-gap-x-56{-moz-column-gap:14rem;column-gap:14rem}.\31ru-gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.\31ru-gap-x-60{-moz-column-gap:15rem;column-gap:15rem}.\31ru-gap-x-64{-moz-column-gap:16rem;column-gap:16rem}.\31ru-gap-x-7{-moz-column-gap:1.75rem;column-gap:1.75rem}.\31ru-gap-x-72{-moz-column-gap:18rem;column-gap:18rem}.\31ru-gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.\31ru-gap-x-80{-moz-column-gap:20rem;column-gap:20rem}.\31ru-gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.\31ru-gap-x-96{-moz-column-gap:24rem;column-gap:24rem}.\31ru-gap-x-px{-moz-column-gap:1px;column-gap:1px}.\31ru-gap-y-0{row-gap:0}.\31ru-gap-y-0\.5{row-gap:.125rem}.\31ru-gap-y-1{row-gap:.25rem}.\31ru-gap-y-1\.5{row-gap:.375rem}.\31ru-gap-y-10{row-gap:2.5rem}.\31ru-gap-y-11{row-gap:2.75rem}.\31ru-gap-y-12{row-gap:3rem}.\31ru-gap-y-14{row-gap:3.5rem}.\31ru-gap-y-16{row-gap:4rem}.\31ru-gap-y-2{row-gap:.5rem}.\31ru-gap-y-2\.5{row-gap:.625rem}.\31ru-gap-y-20{row-gap:5rem}.\31ru-gap-y-24{row-gap:6rem}.\31ru-gap-y-28{row-gap:7rem}.\31ru-gap-y-3{row-gap:.75rem}.\31ru-gap-y-3\.5{row-gap:.875rem}.\31ru-gap-y-32{row-gap:8rem}.\31ru-gap-y-36{row-gap:9rem}.\31ru-gap-y-4{row-gap:1rem}.\31ru-gap-y-40{row-gap:10rem}.\31ru-gap-y-44{row-gap:11rem}.\31ru-gap-y-48{row-gap:12rem}.\31ru-gap-y-5{row-gap:1.25rem}.\31ru-gap-y-52{row-gap:13rem}.\31ru-gap-y-56{row-gap:14rem}.\31ru-gap-y-6{row-gap:1.5rem}.\31ru-gap-y-60{row-gap:15rem}.\31ru-gap-y-64{row-gap:16rem}.\31ru-gap-y-7{row-gap:1.75rem}.\31ru-gap-y-72{row-gap:18rem}.\31ru-gap-y-8{row-gap:2rem}.\31ru-gap-y-80{row-gap:20rem}.\31ru-gap-y-9{row-gap:2.25rem}.\31ru-gap-y-96{row-gap:24rem}.\31ru-gap-y-px{row-gap:1px}.\31ru-overflow-auto{overflow:auto}.\31ru-overflow-hidden{overflow:hidden}.\31ru-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\31ru-text-nowrap{text-wrap:nowrap}.\31ru-break-all{word-break:break-all}.\31ru-break-keep{word-break:keep-all}.\!1ru-rounded-md{border-radius:.375rem!important}.\!1ru-rounded-xl{border-radius:.75rem!important}.\31ru-rounded{border-radius:.25rem}.\31ru-rounded-2xl{border-radius:1rem}.\31ru-rounded-3xl{border-radius:1.5rem}.\31ru-rounded-full{border-radius:9999px}.\31ru-rounded-lg{border-radius:.5rem}.\31ru-rounded-md{border-radius:.375rem}.\31ru-rounded-none{border-radius:0}.\31ru-rounded-sm{border-radius:.125rem}.\31ru-rounded-xl{border-radius:.75rem}.\!1ru-rounded-s-lg{border-start-start-radius:.5rem!important;border-end-start-radius:.5rem!important}.\31ru-rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.\31ru-rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.\!1ru-rounded-tr-lg{border-top-right-radius:.5rem!important}.\31ru-border{border-width:1px}.\31ru-border-\[\#ccc\]{--tw-border-opacity:1;border-color:rgb(204 204 204/var(--tw-border-opacity))}.\!1ru-bg-laba-blue-10{--tw-bg-opacity:1!important;background-color:rgb(1 99 200/var(--tw-bg-opacity))!important}.\31ru-bg-laba-blue-02{--tw-bg-opacity:1;background-color:rgb(219 236 255/var(--tw-bg-opacity))}.\31ru-bg-laba-blue-10{--tw-bg-opacity:1;background-color:rgb(1 99 200/var(--tw-bg-opacity))}.\31ru-bg-laba-grey-02{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.\31ru-bg-red-300{--tw-bg-opacity:1;background-color:rgb(229 115 115/var(--tw-bg-opacity))}.\31ru-bg-red-900{--tw-bg-opacity:1;background-color:rgb(183 28 28/var(--tw-bg-opacity))}.\31ru-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.\31ru-object-contain{-o-object-fit:contain;object-fit:contain}.\!1ru-p-6{padding:1.5rem!important}.\31ru-p-10{padding:2.5rem}.\31ru-p-5{padding:1.25rem}.\31ru-px-2{padding-left:.5rem;padding-right:.5rem}.\31ru-px-3{padding-left:.75rem;padding-right:.75rem}.\31ru-px-4{padding-left:1rem;padding-right:1rem}.\31ru-py-1{padding-top:.25rem;padding-bottom:.25rem}.\31ru-py-2{padding-top:.5rem;padding-bottom:.5rem}.\!1ru-pl-2{padding-left:.5rem!important}.\!1ru-pt-2{padding-top:.5rem!important}.\31ru-pl-2{padding-left:.5rem}.\31ru-pr-1{padding-right:.25rem}.\31ru-pt-2{padding-top:.5rem}.\31ru-pt-3{padding-top:.75rem}.\31ru-text-center{text-align:center}.\!1ru-font-Lato{font-family:Lato!important}.\31ru-font-Inter{font-family:Inter}.\31ru-font-Lato{font-family:Lato}.\31ru-font-PJakartaSans{font-family:PJakartaSans}.\!1ru-text-laba-subtitle-rr{font-size:12px!important;line-height:16px!important;font-weight:400!important}.\31ru-text-\[10px\]{font-size:10px}.\31ru-text-\[12px\]{font-size:12px}.\31ru-text-bill-body-blb{font-size:18px;line-height:26px;font-weight:700}.\31ru-text-bill-body-ems{font-size:12px;line-height:20px;font-weight:500}.\31ru-text-bill-body-esb{font-size:12px;line-height:20px;font-weight:700}.\31ru-text-bill-body-esr{font-size:12px;line-height:20px;font-weight:400}.\31ru-text-bill-body-essm{font-size:12px;line-height:20px;font-weight:600}.\31ru-text-bill-body-lm{font-size:18px;line-height:26px;font-weight:500}.\31ru-text-bill-body-lr{font-size:18px;line-height:26px;font-weight:400}.\31ru-text-bill-body-lsm{font-size:18px;line-height:26px;font-weight:600}.\31ru-text-bill-body-mb{font-size:16px;line-height:24px;font-weight:700}.\31ru-text-bill-body-mm{font-size:16px;line-height:24px;font-weight:500}.\31ru-text-bill-body-mr{font-size:16px;line-height:24px;font-weight:400}.\31ru-text-bill-body-msm{font-size:16px;line-height:24px;font-weight:600}.\31ru-text-bill-body-sb{font-size:14px;line-height:22px;font-weight:700}.\31ru-text-bill-body-sm{font-size:14px;line-height:22px;font-weight:500}.\31ru-text-bill-body-sr{font-size:14px;line-height:22px;font-weight:400}.\31ru-text-bill-body-ssm{font-size:14px;line-height:22px;font-weight:600}.\31ru-text-bill-h1{font-size:60px;line-height:72px;font-weight:700}.\31ru-text-bill-h2{font-size:48px;line-height:58px;font-weight:700}.\31ru-text-bill-h3{font-size:40px;line-height:58px;font-weight:700}.\31ru-text-bill-h4{font-size:30px;line-height:38px;font-weight:700}.\31ru-text-bill-h5{font-size:28px;line-height:40px;font-weight:600}.\31ru-text-bill-h6{font-size:24px;line-height:30px;font-weight:600}.\31ru-text-bill-label-b{font-size:15px;line-height:26px;font-weight:700}.\31ru-text-bill-label-m{font-size:15px;line-height:26px;font-weight:500}.\31ru-text-bill-label-r{font-size:15px;line-height:26px;font-weight:400}.\31ru-text-bill-label-sm{font-size:15px;line-height:26px;font-weight:600}.\31ru-text-laba-base-rb{font-size:16px;line-height:24px;font-weight:700}.\31ru-text-laba-base-rr{font-size:16px;line-height:24px;font-weight:400}.\31ru-text-laba-base-rs{font-size:16px;line-height:24px;font-weight:600}.\31ru-text-laba-base-sb{font-size:14px;line-height:20px;font-weight:700}.\31ru-text-laba-base-sr{font-size:14px;line-height:20px;font-weight:400}.\31ru-text-laba-base-ss{font-size:14px;line-height:20px;font-weight:600}.\31ru-text-laba-h1,.\31ru-text-laba-h1-b{font-size:24px;line-height:30px;font-weight:700}.\31ru-text-laba-h1-r{font-size:24px;line-height:30px;font-weight:400}.\31ru-text-laba-h1-sb{font-size:24px;line-height:30px;font-weight:600}.\31ru-text-laba-h2,.\31ru-text-laba-h2-b{font-size:18px;line-height:26px;font-weight:700}.\31ru-text-laba-h2-r{font-size:18px;line-height:26px;font-weight:400}.\31ru-text-laba-h2-sb{font-size:18px;line-height:26px;font-weight:600}.\31ru-text-laba-subtitle-rb{font-size:12px;line-height:16px;font-weight:700}.\31ru-text-laba-subtitle-rr{font-size:12px;line-height:16px;font-weight:400}.\31ru-text-laba-subtitle-rs{font-size:12px;line-height:16px;font-weight:600}.\31ru-text-laba-subtitle-sb{font-size:10px;line-height:12px;font-weight:700}.\31ru-text-laba-subtitle-sr{font-size:10px;line-height:12px;font-weight:400}.\31ru-text-laba-subtitle-ss{font-size:10px;line-height:12px;font-weight:600}.\31ru-text-laba-title-lb{font-size:36px;line-height:44px;font-weight:700}.\31ru-text-laba-title-lr{font-size:36px;line-height:44px;font-weight:400}.\31ru-text-laba-title-ls{font-size:36px;line-height:44px;font-weight:600}.\31ru-text-laba-title-mb{font-size:32px;line-height:40px;font-weight:700}.\31ru-text-laba-title-mr{font-size:32px;line-height:40px;font-weight:400}.\31ru-text-laba-title-ms{font-size:32px;line-height:40px;font-weight:600}.\31ru-text-payhere-body-esb{font-size:12px;line-height:20px;font-weight:700}.\31ru-text-payhere-body-esm{font-size:12px;line-height:20px;font-weight:500}.\31ru-text-payhere-body-esmb{font-size:12px;line-height:20px;font-weight:600}.\31ru-text-payhere-body-esr{font-size:12px;line-height:20px;font-weight:400}.\31ru-text-payhere-body-lb{font-size:18px;line-height:26px;font-weight:700}.\31ru-text-payhere-body-lm{font-size:18px;line-height:26px;font-weight:500}.\31ru-text-payhere-body-lr{font-size:18px;line-height:26px;font-weight:400}.\31ru-text-payhere-body-ls{font-size:18px;line-height:26px;font-weight:600}.\31ru-text-payhere-body-mb{font-size:16px;line-height:24px;font-weight:700}.\31ru-text-payhere-body-mm{font-size:16px;line-height:24px;font-weight:500}.\31ru-text-payhere-body-mr{font-size:16px;line-height:24px;font-weight:400}.\31ru-text-payhere-body-ms{font-size:16px;line-height:24px;font-weight:600}.\31ru-text-payhere-body-sb{font-size:14px;line-height:22px;font-weight:700}.\31ru-text-payhere-body-sm{font-size:14px;line-height:22px;font-weight:500}.\31ru-text-payhere-body-smb{font-size:14px;line-height:22px;font-weight:600}.\31ru-text-payhere-body-sr{font-size:14px;line-height:22px;font-weight:400}.\31ru-text-payhere-h1{font-size:60px;line-height:72px;font-weight:700}.\31ru-text-payhere-h2{font-size:48px;line-height:58px;font-weight:700}.\31ru-text-payhere-h3{font-size:40px;line-height:48px;font-weight:700}.\31ru-text-payhere-h4{font-size:30px;line-height:38px;font-weight:700}.\31ru-text-payhere-h5{font-size:28px;line-height:40px;font-weight:600}.\31ru-text-payhere-h6{font-size:24px;line-height:30px;font-weight:600}.\31ru-text-payhere-label-b{font-size:15px;line-height:26px;font-weight:700}.\31ru-text-payhere-label-m{font-size:15px;line-height:26px;font-weight:500}.\31ru-text-payhere-label-r{font-size:15px;line-height:26px;font-weight:400}.\31ru-text-payhere-label-sb{font-size:15px;line-height:26px;font-weight:600}.\31ru-font-semibold{font-weight:600}.\!1ru-text-gray-500{--tw-text-opacity:1!important;color:rgb(158 158 158/var(--tw-text-opacity))!important}.\!1ru-text-laba-grey-10{--tw-text-opacity:1!important;color:rgb(137 137 137/var(--tw-text-opacity))!important}.\31ru-text-blue-700{--tw-text-opacity:1;color:rgb(25 118 210/var(--tw-text-opacity))}.\31ru-text-gray-400{--tw-text-opacity:1;color:rgb(189 189 189/var(--tw-text-opacity))}.\31ru-text-laba-blue-10{--tw-text-opacity:1;color:rgb(1 99 200/var(--tw-text-opacity))}.\31ru-text-laba-red-08{--tw-text-opacity:1;color:rgb(237 0 25/var(--tw-text-opacity))}.\31ru-text-red-600{--tw-text-opacity:1;color:rgb(229 57 53/var(--tw-text-opacity))}.\31ru-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.\31ru-opacity-0{opacity:0}.\31ru-opacity-50{opacity:.5}.\31ru-opacity-\[1\]{opacity:1}.\31ru-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.\31ru-shadow-md,.\31ru-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\31ru-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.\31ru-outline-none{outline:2px solid #0000;outline-offset:2px}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-100.ttf);font-weight:100}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-200.ttf);font-weight:200}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-300.ttf);font-weight:300}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-400.ttf);font-weight:400}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-500.ttf);font-weight:500}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-600.ttf);font-weight:600}@font-face{font-family:Lato;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-700.ttf);font-weight:700}@font-face{font-family:Inter;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Inter-Regular.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:andale-mono;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Andale-Mono.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Arial;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Arial-Regular.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Arial-Black;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Arial-Black.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Book-Antiqua;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Book-Antiqua.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Comic-Sans-MS;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Comic-Sans-MS.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Courier-New;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Courier-New.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Georgia;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Georgia.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Helvetica;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Helvetica.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Impact;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Impact.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Tahoma;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Tahoma.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Terminal;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Terminal.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Times-New-Roman;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Times-New-Roman.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Trebuchet-MS;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Trebuchet-MS.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Verdana;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Verdana.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Webdings;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Webdings.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:Wingdings;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Wingdings.ttf);font-weight:100 200 300 400 500 600 700}@font-face{font-family:PJakartaSans;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/PlusJakartaSans.ttf);font-weight:200 800;font-style:normal}@font-face{font-family:PJakartaSans;src:url(https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/PlusJakartaSans-Italic.ttf);font-weight:200 800;font-style:italic}body{background:#fff}.Toastify__toast-container--top-center{width:100%;pointer-events:none}.disabled-text-editor *{all:unset;box-sizing:border-box}.no-tailwindcss-base,.no-tailwindcss-base *,.no-tailwindcss-base>*{font-size:revert;font-weight:revert;margin:revert;display:revert;vertical-align:revert;max-width:revert;height:revert;border:revert;outline:revert;list-style:revert;padding:revert}.hover\:1ru-bg-laba-blue-01:hover{--tw-bg-opacity:1;background-color:rgb(240 247 255/var(--tw-bg-opacity))}.hover\:1ru-bg-red-400:hover{--tw-bg-opacity:1;background-color:rgb(239 83 80/var(--tw-bg-opacity))}.hover\:1ru-text-laba-blue-05:hover{--tw-text-opacity:1;color:rgb(115 164 214/var(--tw-text-opacity))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.
|
|
1
|
+
@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-100.ttf");font-weight:100}@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-200.ttf");font-weight:200}@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-300.ttf");font-weight:300}@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-400.ttf");font-weight:400}@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-500.ttf");font-weight:500}@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-600.ttf");font-weight:600}@font-face{font-family:"Lato";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Lato-700.ttf");font-weight:700}@font-face{font-family:"Inter";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Inter-Regular.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"andale-mono";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Andale-Mono.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Arial";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Arial-Regular.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Arial-Black";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Arial-Black.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Book-Antiqua";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Book-Antiqua.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Comic-Sans-MS";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Comic-Sans-MS.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Courier-New";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Courier-New.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Georgia";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Georgia.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Helvetica";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Helvetica.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Impact";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Impact.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Tahoma";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Tahoma.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Terminal";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Terminal.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Times-New-Roman";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Times-New-Roman.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Trebuchet-MS";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Trebuchet-MS.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Verdana";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Verdana.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Webdings";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Webdings.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"Wingdings";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/Wingdings.ttf");font-weight:100 200 300 400 500 600 700}@font-face{font-family:"PJakartaSans";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/PlusJakartaSans.ttf");font-weight:200 800;font-style:normal}@font-face{font-family:"PJakartaSans";src:url("https://unpkg.com/1mpacto-react-ui@1.0.10/dist/assets/fonts/PlusJakartaSans-Italic.ttf");font-weight:200 800;font-style:italic}
|
package/dist/index.cjs
CHANGED
|
@@ -189,7 +189,7 @@ You should wrap it with \`css\` like this:
|
|
|
189
189
|
${(d.step??f)<=e?Gr.active:""}`,style:{maxWidth:h+1===(t==null?void 0:t.length)||h===0?(n-30)*2:n-30,marginRight:h+1===(t==null?void 0:t.length)?-(n/2):0,marginLeft:h===0?-(n/2):0},children:d.desc})]},h)})});To.register(Is,_s,fo,ai,rI,uu,tI);const VX=(e,t,n)=>{const r=e,i=t||new Date().getMonth(),a=n||new Date().getFullYear();return new Date(`${i}/${r}/${a}`)},HX=({data:e,className:t,height:n=65})=>{const r=I.useRef(null),i=e.map(h=>wl(VX(1,h.label,h.year),"MMM yy",{locale:Kc}))||[],[a,o]=I.useState(""),[s,l]=I.useState(""),u=h=>{const f=[],g=[];let p=!h.find(m=>m.isCurrent);return h.forEach(m=>{p?(g.push(m.value),f.push(null)):(f.push(m.value),m.isCurrent?(p=!0,g.push(m.value)):g.push(null))}),{passed:f,notPassed:g}},c={labels:i,datasets:[{label:"",fill:"blue",backgroundColor:"rgba(75,192,192,1)",borderColor:a,borderCapStyle:"butt",borderDashOffset:0,borderJoinStyle:"miter",pointBackgroundColor:function(h){const f=e[h.dataIndex];let g=s;return f.isCurrent&&(g="#ED0019"),g},pointBorderWidth:.1,pointHoverRadius:4,pointRadius:5,pointBorderColor:s,pointHoverBorderColor:a,data:u(e).passed||[]},{label:"",fill:"grey",backgroundColor:"rgba(75,192,192,1)",borderColor:"#D6D6D6",borderCapStyle:"butt",borderDashOffset:0,pointRadius:5,borderJoinStyle:"miter",pointBackgroundColor:s,pointBorderWidth:.1,pointHoverRadius:4,borderDash:[15,5],data:u(e).notPassed||[]}]},d={interaction:{mode:"index",intersect:!1},plugins:{legend:{display:!1,labels:{usePointStyle:!0}},tooltip:{external:function(h){let f=document.getElementById("chartjs-tooltip");f||(f=document.createElement("div"),f.id="chartjs-tooltip",f.innerHTML="<table></table>",document.body.appendChild(f));const g=h.tooltip;if(g.opacity===0){f.style.opacity="0";return}f.classList.remove("above","below","no-transform"),g.yAlign?f.classList.add(g.yAlign):f.classList.add("no-transform");function p(b){return b.lines}if(g.body){const b=g.title||[];let v=g.body.map(p),x="<thead>";b.forEach(E=>{let w="";w+="display: flex",w+="; justify-content: center",w+="; font-weight: 600",w+="; font-size: 12px",w+="; padding: 0px 14px",x+=`<tr><span style="${w}">${E}</span></tr>`}),x+="</thead><tbody>",v.length>1&&v[0][0]===v[1][0]&&(v=[v[0]]),v.forEach(E=>{let w="";w+="display: flex",w+="; justify-content: center",w+="; color: #0163C8",w+="; padding: 0px 14px",w+="; font-size: 12px";const B=`<span style="${w}">${E}</span>`;x+=`<tr><td>${B}</td></tr>`}),x+="</tbody>";const C=f.querySelector("table");C&&(C.innerHTML=x)}const m=h.chart.canvas.getBoundingClientRect();f.style.opacity="1",f.style.border="solid 1px #0163C8",f.style.background="white",f.style.height="fit-content",f.style.borderRadius="10px",f.style.position="absolute",f.style.zIndex="10",f.style.padding="4px 0",f.style.left=m.left+window.pageXOffset+g.caretX-30+"px",f.style.top=m.top+window.pageYOffset+g.caretY-60+"px",f.style.pointerEvents="none"},displayColors:!0,enabled:!1,callbacks:{title:function(h){const f=e[h[0].dataIndex];return wl(new Date(`1/${f.label}/${f.year}`),"MMMM yyyy",{locale:Kc})},label:function(h){let f=h.dataset.label??"";return f&&(f+=": "),h.parsed.y!==null&&(f+=new Intl.NumberFormat("id-ID",{style:"currency",currency:"IDR"}).format(h.parsed.y)),f}}}},scales:{x:{grid:{display:!1},beginAtZero:!0,ticks:{autoSkip:!0,maxTicksLimit:20}},y:{min:0,grid:{display:!1},beginAtZero:!0,ticks:{maxTicksLimit:6,callback:function(h){return df(h)??0}}}}};return I.useEffect(()=>{if(r.current){const h=r.current.getContext("2d"),f=h==null?void 0:h.createLinearGradient(0,100,500,-500);f==null||f.addColorStop(0,"rgba(237, 0, 25, 0)"),f==null||f.addColorStop(1,"rgba(237, 0, 25, 20)");const g=h.fillStyle="rgba(255, 255, 255, 0)";l(g),o(f)}},[]),_.jsxs("div",{className:t??"",children:[_.jsx(lI,{options:d,data:c,height:n}),_.jsx("div",{className:"1ru-h-5",children:_.jsx("canvas",{ref:r})})]})},jX="_container_ser71_289",kx={"container-popover":"_container-popover_ser71_289",container:jX},WX=({id:e="1ru-tooltip",children:t,text:n,zIndexPopover:r=1,onShow:i,onClose:a,placement:o="top",backgroundColor:s="black",popoverProps:l={},arrowProps:u={},className:c,isHover:d,delay:h=600})=>{let f;const g=I.useRef(null),p={backgroundColor:a4[s]||s},[m,b]=I.useState(!1),[v,x]=I.useState(!1),C=w=>{var B;(B=g.current)==null||B.handlerShow(w),x(!0),typeof i=="function"&&i()},E=()=>{var w;x(!1),m||(clearInterval(f),(w=g.current)==null||w.setShow(!1),typeof a=="function"&&a())};return _.jsxs(_.Fragment,{children:[_.jsx("div",{id:e,onMouseEnter:w=>{if(d&&!m){const B=w.currentTarget;f=setTimeout(()=>{C({...w,currentTarget:B})},h)}},onMouseLeave:()=>{d&&!m&&E()},onClick:w=>{b(!0),clearInterval(f),v||C(w)},className:kx.container,children:t}),_.jsx(gi,{floatingOptions:{placement:o},ref:g,id:"1ru-popover-tooltip",offset:10,withArrow:!0,zIndex:r,onClose:()=>{m&&(b(!1),E())},styleInnerPopover:{backgroundColor:p.backgroundColor},propsArrow:{fill:p.backgroundColor,...u},className:`${kx["container-popover"]} ${c??""}`,...l,children:n})]})},zX="_icon_zrudt_5",GX="_show_zrudt_10",c0={"container-popover":"_container-popover_zrudt_1",icon:zX,show:GX},cI=I.forwardRef((e,t)=>{const{children:n,id:r="1ru-button-popover",text:i="",startIcon:a,endIcon:o,startIconShow:s,endIconShow:l,classNameButton:u="",classNameButtonShow:c="",className:d="",placement:h="top-end",popoverProps:f,zIndexPopover:g=1,offset:p=5,idPopover:m="1ru-popover-button-popover",onClick:b,onClose:v,...x}=e,C=I.useRef(null),E=I.useRef(null),[w,B]=I.useState(!1),y=(T,F,k)=>{let P=_.jsx(_.Fragment,{});return T&&I.isValidElement(F)?P=F:I.isValidElement(k)&&(P=_.jsx("div",{className:`${c0.icon} ${T?c0.show:""}`,children:k})),P},S=T=>{var F;(F=C.current)==null||F.setShow(T),B(T)},D=T=>{var F;(F=C.current)==null||F.handlerShow(T),B(!0)},A=()=>{var T;B(!1),(T=C.current)==null||T.setShow(!1),typeof v=="function"&&v()};return I.useImperativeHandle(t,()=>({show:w,setShow:S,handlerClose:A,handlerShow:D}),[w]),_.jsxs(_.Fragment,{children:[_.jsx(jn,{ref:E,id:r,className:`${u} ${w?c:""}`,onClick:T=>{w?A():typeof b=="function"?b(T):D(T)},startIcon:y(w,s,a),endIcon:y(w,l,o),...x,children:i}),_.jsx(gi,{ref:C,id:m,offset:p,floatingOptions:{placement:h},zIndex:g,onClose:A,className:`${c0["container-popover"]} ${d}`,...f,children:n})]})});cI.displayName="ButtonPopover";To.register(Is,_s,fo,ai,Q5,uu);const UX=e=>({chart:t,tooltip:n})=>{var l,u,c,d,h,f;const r={};if(n.opacity===0){e(g=>({...g,style:{...g.style,opacity:0,pointerEvents:"none"}}));return}if(!n.dataPoints||n.dataPoints.length===0)return;r.opacity="1",r.position="absolute",r.pointerEvents="none";const i=t.canvas.getBoundingClientRect();r.left=i.left+window.pageXOffset+n.caretX+"px",r.top=i.top+window.pageYOffset+n.caretY+"px";const a=((u=(l=n.dataPoints)==null?void 0:l[0])==null?void 0:u.label)??"",o=((d=(c=n.dataPoints)==null?void 0:c[0])==null?void 0:d.raw)??"",s=((f=(h=n.dataPoints)==null?void 0:h[0])==null?void 0:f.dataset.label)??"";e({dataset:s,label:a,value:o,style:r,dataPoints:n.dataPoints})},XX={id:"hairlinePlugin",beforeDatasetsDraw:e=>{const t=e.scales.y;if(!t)return;const{ctx:n}=e,{top:r,bottom:i,left:a,right:o}=e.chartArea;if(t.min>0||t.max<0)return;const s=t.getPixelForValue(0);s<r||s>i||(n.save(),n.beginPath(),n.moveTo(a,s),n.lineTo(o,s),n.lineWidth=2,n.strokeStyle="rgb(207, 216, 220)",n.setLineDash([4,3]),n.stroke(),n.restore())}},ZX={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{y:{grace:"15%",position:"right",border:{display:!1,dash:[5,3],color:"#CFD8DC"},ticks:{font:{size:10,weight:"normal"},padding:10,color:"#898989"}},x:{border:{dash:[5,3],color:"#CFD8DC"},ticks:{font:{size:10,weight:"normal"},color:"#898989"}}},interaction:{mode:"index",intersect:!1}},YX=({data:e,height:t,classNameContainer:n,id:r,options:i,CustomTooltip:a})=>{const o=I.useRef(void 0),s=I.useRef(0),l=I.useRef(0),[u,c]=I.useState({dataset:"",label:"",value:0,style:{opacity:0,position:"absolute",left:0,bottom:0},dataPoints:[]}),d=I.useCallback(function({ctx:p,chartArea:m,scales:b,chartHeight:v,gradientFor:x,item:C}){let B=(b.y.getPixelForValue(0)-m.top)/v;B=B<0?0:B>1?1:B,o.current=p.createLinearGradient(0,m.top,0,v+m.top),x==="background"?(o.current.addColorStop(0,(C==null?void 0:C.colorBackgroundPositiveZero)||"#9FD2FF"),o.current.addColorStop(B,(C==null?void 0:C.colorBackgroundPositivePercentage)||"rgba(115, 235, 163, 0.1)"),o.current.addColorStop(B,(C==null?void 0:C.colorBackgroundNegativePercentage)||"rgba(235, 107, 107, 0.1)"),o.current.addColorStop(1,(C==null?void 0:C.colorBackgroundNegativeOne)||"#EB6B6B")):(o.current.addColorStop(B,(C==null?void 0:C.colorBorderPositive)||"#80CBC4"),o.current.addColorStop(B,(C==null?void 0:C.colorBorderNegative)||"#EB6B6B"))},[]),h=I.useCallback(function({ctx:p,chartArea:m,scales:b,gradientFor:v,item:x}){const C=m.right-m.left,E=m.bottom-m.top;return(!o.current||s.current!==C||l.current!==E)&&(s.current=C,l.current=E,d({ctx:p,chartArea:m,scales:b,chartHeight:E,gradientFor:v,item:x})),d({ctx:p,chartArea:m,scales:b,chartHeight:E,gradientFor:v,item:x}),o.current},[]),f=I.useMemo(()=>({...e,datasets:e.datasets.map(m=>({fill:!0,backgroundColor:function(b){const v=b.chart,{ctx:x,chartArea:C,scales:E}=v;if(C)return h({ctx:x,chartArea:C,scales:E,gradientFor:"background",item:m})},borderColor:function(b){const v=b.chart,{ctx:x,chartArea:C,scales:E}=v;if(C)return h({ctx:x,chartArea:C,scales:E,gradientFor:"border",item:m})},borderWidth:3,tension:0,pointRadius:0,pointHoverRadius:4,...m,data:m.data}))}),[e]),g=I.useMemo(()=>_l(ZX,{plugins:{tooltip:{enabled:!a,external:({chart:m,tooltip:b})=>a?UX(c)({chart:m,tooltip:b}):void 0}}},i??{}),[i,a]);return _.jsxs("div",{id:r,className:n,style:{height:t||"300px"},children:[a&&_.jsx(Om,{selector:"body",children:_.jsx(a,{...u})}),_.jsx(lI,{data:f,options:g,plugins:[XX]})]})};To.register(Is,_s,Zc,uu,fo,Q5,uu);const KX=e=>({chart:t,tooltip:n})=>{var l,u,c,d,h,f;const r={};if(n.opacity===0){e(g=>({...g,style:{...g.style,opacity:0,pointerEvents:"none"}}));return}if(!n.dataPoints||n.dataPoints.length===0)return;r.opacity="1",r.position="absolute",r.pointerEvents="none";const i=t.canvas.getBoundingClientRect();r.left=i.left+window.pageXOffset+n.caretX+"px",r.top=i.top+window.pageYOffset+n.caretY+"px";const a=((u=(l=n.dataPoints)==null?void 0:l[0])==null?void 0:u.label)??"",o=((d=(c=n.dataPoints)==null?void 0:c[0])==null?void 0:d.raw)??"",s=((f=(h=n.dataPoints)==null?void 0:h[0])==null?void 0:f.dataset.label)??"";e({dataset:s,label:a,value:o,style:r,dataPoints:n.dataPoints})},qX={id:"labelplugin",afterDatasetsDraw(e){const{ctx:t,chartArea:{top:n,bottom:r}}=e;t.save(),e.data.datasets.forEach((i,a)=>{const o=e.getDatasetMeta(a);o.visible&&o.data.forEach((s,l)=>{const u=i.data[l]||0,c=i!=null&&i.setDigit?df(String(u)):String(u);t.font="12px Lato",t.textAlign="center";let d,h=!1;typeof u=="number"&&u>=0?(t.textBaseline="bottom",t.fillStyle=(i==null?void 0:i.colorTextLabelPositive)||s.options.borderColor,d=s.y-5,d>n&&(h=!0)):(t.textBaseline="top",t.fillStyle=(i==null?void 0:i.colorTextLabelNegative)||s.options.borderColor,d=s.y+5,d<r&&(h=!0)),h&&t.fillText(c,s.x,d)})}),t.restore()}},JX={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{y:{grace:"15%",position:"left",border:{display:!1,dash:[5,3],color:"#CFD8DC"},ticks:{callback:function(e){return df(e)??0},font:{size:10,weight:"normal"},padding:10,color:"#898989"}},x:{grid:{display:!1},border:{dash:[5,3],color:"#CFD8DC"},ticks:{font:{size:10,weight:"normal"},color:"#898989"}}},interaction:{mode:"index",intersect:!1}},QX=({data:e,classNameContainer:t,height:n,id:r,options:i,CustomTooltip:a})=>{const o=I.useRef(void 0),s=I.useRef(0),l=I.useRef(0),[u,c]=I.useState({dataset:"",label:"",value:0,style:{opacity:0,position:"absolute",left:0,bottom:0},dataPoints:[]}),d=I.useCallback(function({ctx:p,chartArea:m,scales:b,chartHeight:v,gradientFor:x,item:C}){let B=(b.y.getPixelForValue(0)-m.top)/v;B=B<0?0:B>1?1:B,o.current=p.createLinearGradient(0,m.top,0,v+m.top),x==="background"?(o.current.addColorStop(0,(C==null?void 0:C.colorBackgroundPositiveZero)||"#9FD2FF"),o.current.addColorStop(B,(C==null?void 0:C.colorBackgroundPositivePercentage)||"rgba(115, 235, 163, 0.1)"),o.current.addColorStop(B,(C==null?void 0:C.colorBackgroundNegativePercentage)||"rgba(235, 107, 107, 0.1)"),o.current.addColorStop(1,(C==null?void 0:C.colorBackgroundNegativeOne)||"#EB6B6B")):(o.current.addColorStop(B,(C==null?void 0:C.colorBorderPositive)||"#80CBC4"),o.current.addColorStop(B,(C==null?void 0:C.colorBorderNegative)||"#EB6B6B"))},[]),h=I.useCallback(function({ctx:p,chartArea:m,scales:b,gradientFor:v,item:x}){const C=m.right-m.left,E=m.bottom-m.top;return(!o.current||s.current!==C||l.current!==E)&&(s.current=C,l.current=E,d({ctx:p,chartArea:m,scales:b,chartHeight:E,gradientFor:v,item:x})),d({ctx:p,chartArea:m,scales:b,chartHeight:E,gradientFor:v,item:x}),o.current},[]),f=I.useMemo(()=>({...e,datasets:e.datasets.map(m=>({fill:!0,backgroundColor:function(b){const v=b.chart,{ctx:x,chartArea:C,scales:E}=v;if(C)return h({ctx:x,chartArea:C,scales:E,gradientFor:"background",item:m})},borderColor:function(b){const v=b.chart,{ctx:x,chartArea:C,scales:E}=v;if(C)return h({ctx:x,chartArea:C,scales:E,gradientFor:"border",item:m})},borderWidth:0,tension:0,pointRadius:0,pointHoverRadius:4,setDigit:!0,...m,data:m.data}))}),[e]),g=I.useMemo(()=>_l(JX,{plugins:{tooltip:{enabled:!a,external:({chart:m,tooltip:b})=>a?KX(c)({chart:m,tooltip:b}):void 0}}},i??{}),[i,a]);return _.jsxs("div",{id:r,className:t,style:{height:n||"300px"},children:[a&&_.jsx(Om,{selector:"body",children:_.jsx(a,{...u})}),_.jsx(vX,{data:f,options:g,plugins:[qX]})]})},eZ="_left_fwo8v_475",tZ="_right_fwo8v_478",nZ="_indicator_fwo8v_489",rZ="_active_fwo8v_494",Ki={"container-step-indicator":"_container-step-indicator_fwo8v_301","text-step-indicator":"_text-step-indicator_fwo8v_301",left:eZ,right:tZ,"step-indicator":"_step-indicator_fwo8v_485",indicator:nZ,active:rZ};function iZ(e,t){if(e<=0)return"0px";if(e===1)return"100%";const n=e-1;return`calc((100% - (${t} * ${n})) / ${e})`}const aZ=({activeStep:e=0,countStep:t=0,classNameActiveStepIndicator:n="",classNameContainer:r="",classNameDesc:i="",classNameStepIndicator:a="",id:o="1ru-step-indicator",locationStepIndicator:s="right",widthStepIndicator:l=120,dynamicWidthStepIndicator:u=!1,gapStepIndicator:c="2px",classNameStepIndicatorContainer:d=""})=>_.jsxs("div",{id:o,className:`${Ki["container-step-indicator"]}
|
|
190
190
|
${s==="left"?Ki.left:Ki.right} ${r||""}`,children:[s==="left"&&_.jsxs("p",{className:`${Ki["text-step-indicator"]} ${i||""}`,children:[e+1,"/",t]}),_.jsx("div",{className:`${Ki["step-indicator"]} ${d||""}
|
|
191
191
|
${u?"1ru-w-full":""} ${c}`,style:{gap:c},children:Array.from({length:t}).map((h,f)=>_.jsx("div",{className:`${Ki.indicator} ${a||""}
|
|
192
|
-
${f<=e?`${Ki.active} ${n}`:""}`,style:{width:u?iZ(t,c):l}},f))}),s==="right"&&_.jsxs("p",{className:`${Ki["text-step-indicator"]} ${i||""}`,children:[e+1,"/",t]})]}),oZ="1.0.
|
|
192
|
+
${f<=e?`${Ki.active} ${n}`:""}`,style:{width:u?iZ(t,c):l}},f))}),s==="right"&&_.jsxs("p",{className:`${Ki["text-step-indicator"]} ${i||""}`,children:[e+1,"/",t]})]}),oZ="1.0.10",Px={version:oZ},sZ=({label:e})=>({tinymceScriptSrc:`https://unpkg.com/1mpacto-react-ui@${Px.version}/dist/tinymce/js/tinymce/tinymce.min.js`,init:{plugins:"lists",menubar:!1,statusbar:!1,content_css:`https://unpkg.com/1mpacto-react-ui@${Px.version}/dist/assets/fontfamily.css`,toolbar:"fontfamily fontsize italic bold underline bullist numlist",font_size_formats:"8px 10px 12px 14px 16px 18px 24px 36px 48px",image_advtab:!0,importcss_append:!0,min_height:220,image_caption:!0,noneditable_class:"mceNonEditable",toolbar_mode:"sliding",table_tab_navigation:!1,line_height_formats:"100px",font_family_formats:`
|
|
193
193
|
Lato=Lato;
|
|
194
194
|
Inter=Inter;
|
|
195
195
|
Andale Mono=Andale Mono,times;
|
|
@@ -221,7 +221,7 @@ object-assign
|
|
|
221
221
|
(c) Sindre Sorhus
|
|
222
222
|
@license MIT
|
|
223
223
|
*/var d0,Fx;function cZ(){if(Fx)return d0;Fx=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(o).map(function(c){return o[c]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(c){u[c]=c}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return d0=i()?Object.assign:function(a,o){for(var s,l=r(a),u,c=1;c<arguments.length;c++){s=Object(arguments[c]);for(var d in s)t.call(s,d)&&(l[d]=s[d]);if(e){u=e(s);for(var h=0;h<u.length;h++)n.call(s,u[h])&&(l[u[h]]=s[u[h]])}}return l},d0}var f0,Nx;function i1(){if(Nx)return f0;Nx=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return f0=e,f0}var h0,Mx;function dI(){return Mx||(Mx=1,h0=Function.call.bind(Object.prototype.hasOwnProperty)),h0}var g0,Lx;function dZ(){if(Lx)return g0;Lx=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=i1(),n={},r=dI();e=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function i(a,o,s,l,u){if(process.env.NODE_ENV!=="production"){for(var c in a)if(r(a,c)){var d;try{if(typeof a[c]!="function"){var h=Error((l||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=a[c](o,c,l,s,null,t)}catch(g){d=g}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var f=u?u():"";e("Failed "+s+" type: "+d.message+(f??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},g0=i,g0}var p0,Ox;function fZ(){if(Ox)return p0;Ox=1;var e=im,t=cZ(),n=i1(),r=dI(),i=dZ(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return p0=function(s,l){var u=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function d(V){var W=V&&(u&&V[u]||V[c]);if(typeof W=="function")return W}var h="<<anonymous>>",f={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:v(),arrayOf:x,element:C(),elementType:E(),instanceOf:w,node:D(),objectOf:y,oneOf:B,oneOfType:S,shape:T,exact:F};function g(V,W){return V===W?V!==0||1/V===1/W:V!==V&&W!==W}function p(V,W){this.message=V,this.data=W&&typeof W=="object"?W:{},this.stack=""}p.prototype=Error.prototype;function m(V){if(process.env.NODE_ENV!=="production")var W={},U=0;function K(z,H,X,te,ie,le,ce){if(te=te||h,le=le||X,ce!==n){if(l){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var be=te+":"+X;!W[be]&&U<3&&(a("You are manually calling a React.PropTypes validation function for the `"+le+"` prop on `"+te+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),W[be]=!0,U++)}}return H[X]==null?z?H[X]===null?new p("The "+ie+" `"+le+"` is marked as required "+("in `"+te+"`, but its value is `null`.")):new p("The "+ie+" `"+le+"` is marked as required in "+("`"+te+"`, but its value is `undefined`.")):null:V(H,X,te,ie,le)}var ee=K.bind(null,!1);return ee.isRequired=K.bind(null,!0),ee}function b(V){function W(U,K,ee,z,H,X){var te=U[K],ie=$(te);if(ie!==V){var le=R(te);return new p("Invalid "+z+" `"+H+"` of type "+("`"+le+"` supplied to `"+ee+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return m(W)}function v(){return m(o)}function x(V){function W(U,K,ee,z,H){if(typeof V!="function")return new p("Property `"+H+"` of component `"+ee+"` has invalid PropType notation inside arrayOf.");var X=U[K];if(!Array.isArray(X)){var te=$(X);return new p("Invalid "+z+" `"+H+"` of type "+("`"+te+"` supplied to `"+ee+"`, expected an array."))}for(var ie=0;ie<X.length;ie++){var le=V(X,ie,ee,z,H+"["+ie+"]",n);if(le instanceof Error)return le}return null}return m(W)}function C(){function V(W,U,K,ee,z){var H=W[U];if(!s(H)){var X=$(H);return new p("Invalid "+ee+" `"+z+"` of type "+("`"+X+"` supplied to `"+K+"`, expected a single ReactElement."))}return null}return m(V)}function E(){function V(W,U,K,ee,z){var H=W[U];if(!e.isValidElementType(H)){var X=$(H);return new p("Invalid "+ee+" `"+z+"` of type "+("`"+X+"` supplied to `"+K+"`, expected a single ReactElement type."))}return null}return m(V)}function w(V){function W(U,K,ee,z,H){if(!(U[K]instanceof V)){var X=V.name||h,te=j(U[K]);return new p("Invalid "+z+" `"+H+"` of type "+("`"+te+"` supplied to `"+ee+"`, expected ")+("instance of `"+X+"`."))}return null}return m(W)}function B(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function W(U,K,ee,z,H){for(var X=U[K],te=0;te<V.length;te++)if(g(X,V[te]))return null;var ie=JSON.stringify(V,function(ce,Q){var be=R(Q);return be==="symbol"?String(Q):Q});return new p("Invalid "+z+" `"+H+"` of value `"+String(X)+"` "+("supplied to `"+ee+"`, expected one of "+ie+"."))}return m(W)}function y(V){function W(U,K,ee,z,H){if(typeof V!="function")return new p("Property `"+H+"` of component `"+ee+"` has invalid PropType notation inside objectOf.");var X=U[K],te=$(X);if(te!=="object")return new p("Invalid "+z+" `"+H+"` of type "+("`"+te+"` supplied to `"+ee+"`, expected an object."));for(var ie in X)if(r(X,ie)){var le=V(X,ie,ee,z,H+"."+ie,n);if(le instanceof Error)return le}return null}return m(W)}function S(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var W=0;W<V.length;W++){var U=V[W];if(typeof U!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+O(U)+" at index "+W+"."),o}function K(ee,z,H,X,te){for(var ie=[],le=0;le<V.length;le++){var ce=V[le],Q=ce(ee,z,H,X,te,n);if(Q==null)return null;Q.data&&r(Q.data,"expectedType")&&ie.push(Q.data.expectedType)}var be=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new p("Invalid "+X+" `"+te+"` supplied to "+("`"+H+"`"+be+"."))}return m(K)}function D(){function V(W,U,K,ee,z){return k(W[U])?null:new p("Invalid "+ee+" `"+z+"` supplied to "+("`"+K+"`, expected a ReactNode."))}return m(V)}function A(V,W,U,K,ee){return new p((V||"React class")+": "+W+" type `"+U+"."+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ee+"`.")}function T(V){function W(U,K,ee,z,H){var X=U[K],te=$(X);if(te!=="object")return new p("Invalid "+z+" `"+H+"` of type `"+te+"` "+("supplied to `"+ee+"`, expected `object`."));for(var ie in V){var le=V[ie];if(typeof le!="function")return A(ee,z,H,ie,R(le));var ce=le(X,ie,ee,z,H+"."+ie,n);if(ce)return ce}return null}return m(W)}function F(V){function W(U,K,ee,z,H){var X=U[K],te=$(X);if(te!=="object")return new p("Invalid "+z+" `"+H+"` of type `"+te+"` "+("supplied to `"+ee+"`, expected `object`."));var ie=t({},U[K],V);for(var le in ie){var ce=V[le];if(r(V,le)&&typeof ce!="function")return A(ee,z,H,le,R(ce));if(!ce)return new p("Invalid "+z+" `"+H+"` key `"+le+"` supplied to `"+ee+"`.\nBad object: "+JSON.stringify(U[K],null," ")+`
|
|
224
|
-
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var Q=ce(X,le,ee,z,H+"."+le,n);if(Q)return Q}return null}return m(W)}function k(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(k);if(V===null||s(V))return!0;var W=d(V);if(W){var U=W.call(V),K;if(W!==V.entries){for(;!(K=U.next()).done;)if(!k(K.value))return!1}else for(;!(K=U.next()).done;){var ee=K.value;if(ee&&!k(ee[1]))return!1}}else return!1;return!0;default:return!1}}function P(V,W){return V==="symbol"?!0:W?W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol:!1}function $(V){var W=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":P(W,V)?"symbol":W}function R(V){if(typeof V>"u"||V===null)return""+V;var W=$(V);if(W==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return W}function O(V){var W=R(V);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function j(V){return!V.constructor||!V.constructor.name?h:V.constructor.name}return f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},p0}var m0,Vx;function hZ(){if(Vx)return m0;Vx=1;var e=i1();function t(){}function n(){}return n.resetWarningCache=t,m0=function(){function r(o,s,l,u,c,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},m0}if(process.env.NODE_ENV!=="production"){var gZ=im,pZ=!0;Ug.exports=fZ()(gZ.isElement,pZ)}else Ug.exports=hZ()();var re=Ug.exports,Xg=function(){return Xg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Xg.apply(this,arguments)},fI={onActivate:re.func,onAddUndo:re.func,onBeforeAddUndo:re.func,onBeforeExecCommand:re.func,onBeforeGetContent:re.func,onBeforeRenderUI:re.func,onBeforeSetContent:re.func,onBeforePaste:re.func,onBlur:re.func,onChange:re.func,onClearUndos:re.func,onClick:re.func,onContextMenu:re.func,onCommentChange:re.func,onCompositionEnd:re.func,onCompositionStart:re.func,onCompositionUpdate:re.func,onCopy:re.func,onCut:re.func,onDblclick:re.func,onDeactivate:re.func,onDirty:re.func,onDrag:re.func,onDragDrop:re.func,onDragEnd:re.func,onDragGesture:re.func,onDragOver:re.func,onDrop:re.func,onExecCommand:re.func,onFocus:re.func,onFocusIn:re.func,onFocusOut:re.func,onGetContent:re.func,onHide:re.func,onInit:re.func,onInput:re.func,onKeyDown:re.func,onKeyPress:re.func,onKeyUp:re.func,onLoadContent:re.func,onMouseDown:re.func,onMouseEnter:re.func,onMouseLeave:re.func,onMouseMove:re.func,onMouseOut:re.func,onMouseOver:re.func,onMouseUp:re.func,onNodeChange:re.func,onObjectResizeStart:re.func,onObjectResized:re.func,onObjectSelected:re.func,onPaste:re.func,onPostProcess:re.func,onPostRender:re.func,onPreProcess:re.func,onProgressState:re.func,onRedo:re.func,onRemove:re.func,onReset:re.func,onSaveContent:re.func,onSelectionChange:re.func,onSetAttrib:re.func,onSetContent:re.func,onShow:re.func,onSubmit:re.func,onUndo:re.func,onVisualAid:re.func,onSkinLoadError:re.func,onThemeLoadError:re.func,onModelLoadError:re.func,onPluginLoadError:re.func,onIconsLoadError:re.func,onLanguageLoadError:re.func,onScriptsLoad:re.func,onScriptsLoadError:re.func},mZ=Xg({apiKey:re.string,licenseKey:re.string,id:re.string,inline:re.bool,init:re.object,initialValue:re.string,onEditorChange:re.func,value:re.string,tagName:re.string,tabIndex:re.number,cloudChannel:re.string,plugins:re.oneOfType([re.string,re.array]),toolbar:re.oneOfType([re.string,re.array]),disabled:re.bool,readonly:re.bool,textareaName:re.string,tinymceScriptSrc:re.oneOfType([re.string,re.arrayOf(re.string),re.arrayOf(re.shape({src:re.string,async:re.bool,defer:re.bool}))]),rollback:re.oneOfType([re.number,re.oneOf([!1])]),scriptLoading:re.shape({async:re.bool,defer:re.bool,delay:re.number})},fI),hI=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},b0=function(e){return typeof e=="function"},Hx=function(e){return e in fI},jx=function(e){return e.substr(2)},bZ=function(e,t,n,r,i,a,o){var s=Object.keys(i).filter(Hx),l=Object.keys(a).filter(Hx),u=s.filter(function(d){return a[d]===void 0}),c=l.filter(function(d){return i[d]===void 0});u.forEach(function(d){var h=jx(d),f=o[h];n(h,f),delete o[h]}),c.forEach(function(d){var h=r(e,d),f=jx(d);o[f]=h,t(f,h)})},vZ=function(e,t,n,r,i){return bZ(i,e.on.bind(e),e.off.bind(e),function(a,o){return function(s){var l;return(l=a(o))===null||l===void 0?void 0:l(s,e)}},t,n,r)},Wx=0,gI=function(e){var t=Date.now(),n=Math.floor(Math.random()*1e9);return Wx++,e+"_"+n+Wx+String(t)},zx=function(e){return e!==null&&(e.tagName.toLowerCase()==="textarea"||e.tagName.toLowerCase()==="input")},Gx=function(e){return typeof e>"u"||e===""?[]:Array.isArray(e)?e:e.split(" ")},yZ=function(e,t){return Gx(e).concat(Gx(t))},xZ=function(){return window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"},CZ=function(e){if(!("isConnected"in Node.prototype)){for(var t=e,n=e.parentNode;n!=null;)t=n,n=t.parentNode;return t===e.ownerDocument}return e.isConnected},Ux=function(e,t){e!==void 0&&(e.mode!=null&&typeof e.mode=="object"&&typeof e.mode.set=="function"?e.mode.set(t):e.setMode(t))},EZ=function(e){var t=hI(e);if(!t)throw new Error("tinymce should have been loaded into global scope");return t},Xx=function(e){return e.options&&e.options.isRegistered("disabled")},Zg=function(){return Zg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Zg.apply(this,arguments)},SZ=function(e,t,n){var r,i,a=e.createElement("script");a.referrerPolicy="origin",a.type="application/javascript",a.id=t.id,a.src=t.src,a.async=(r=t.async)!==null&&r!==void 0?r:!1,a.defer=(i=t.defer)!==null&&i!==void 0?i:!1;var o=function(){a.removeEventListener("load",o),a.removeEventListener("error",s),n(t.src)},s=function(l){a.removeEventListener("load",o),a.removeEventListener("error",s),n(t.src,l)};a.addEventListener("load",o),a.addEventListener("error",s),e.head&&e.head.appendChild(a)},wZ=function(e){var t={},n=function(o,s){var l=t[o];l.done=!0,l.error=s;for(var u=0,c=l.handlers;u<c.length;u++){var d=c[u];d(o,s)}l.handlers=[]},r=function(o,s,l){var u=function(v){return l!==void 0?l(v):console.error(v)};if(o.length===0){u(new Error("At least one script must be provided"));return}for(var c=0,d=!1,h=function(v,x){d||(x?(d=!0,u(x)):++c===o.length&&s())},f=0,g=o;f<g.length;f++){var p=g[f],m=t[p.src];if(m)m.done?h(p.src,m.error):m.handlers.push(h);else{var b=gI("tiny-");t[p.src]={id:b,src:p.src,done:!1,error:null,handlers:[h]},SZ(e,Zg({id:b},p),n)}}},i=function(){for(var o,s=0,l=Object.values(t);s<l.length;s++){var u=l[s],c=e.getElementById(u.id);c!=null&&c.tagName==="SCRIPT"&&((o=c.parentNode)===null||o===void 0||o.removeChild(c))}t={}},a=function(){return e};return{loadScripts:r,deleteScripts:i,getDocument:a}},IZ=function(){var e=[],t=function(i){var a=e.find(function(o){return o.getDocument()===i});return a===void 0&&(a=wZ(i),e.push(a)),a},n=function(i,a,o,s,l){var u=function(){return t(i).loadScripts(a,s,l)};o>0?setTimeout(u,o):u()},r=function(){for(var i=e.pop();i!=null;i=e.pop())i.deleteScripts()};return{loadList:n,reinitialize:r}},_Z=IZ(),DZ=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qo=function(){return Qo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Qo.apply(this,arguments)},v0="change keyup compositionend setcontent CommentChange",AZ=function(e){DZ(t,e);function t(n){var r,i,a,o=e.call(this,n)||this;return o.rollbackTimer=void 0,o.valueCursor=void 0,o.rollbackChange=function(){var s=o.editor,l=o.props.value;s&&l&&l!==o.currentContent&&s.undoManager.ignore(function(){if(s.setContent(l),o.valueCursor&&(!o.inline||s.hasFocus()))try{s.selection.moveToBookmark(o.valueCursor)}catch{}}),o.rollbackTimer=void 0},o.handleBeforeInput=function(s){if(o.props.value!==void 0&&o.props.value===o.currentContent&&o.editor&&(!o.inline||o.editor.hasFocus()))try{o.valueCursor=o.editor.selection.getBookmark(3)}catch{}},o.handleBeforeInputSpecial=function(s){(s.key==="Enter"||s.key==="Backspace"||s.key==="Delete")&&o.handleBeforeInput(s)},o.handleEditorChange=function(s){var l=o.editor;if(l&&l.initialized){var u=l.getContent();o.props.value!==void 0&&o.props.value!==u&&o.props.rollback!==!1&&(o.rollbackTimer||(o.rollbackTimer=window.setTimeout(o.rollbackChange,typeof o.props.rollback=="number"?o.props.rollback:200))),u!==o.currentContent&&(o.currentContent=u,b0(o.props.onEditorChange)&&o.props.onEditorChange(u,l))}},o.handleEditorChangeSpecial=function(s){(s.key==="Backspace"||s.key==="Delete")&&o.handleEditorChange(s)},o.initialise=function(s){var l,u,c;s===void 0&&(s=0);var d=o.elementRef.current;if(d){if(!CZ(d)){if(s===0)setTimeout(function(){return o.initialise(1)},1);else if(s<100)setTimeout(function(){return o.initialise(s+1)},100);else throw new Error("tinymce can only be initialised when in a document");return}var h=EZ(o.view),f=Qo(Qo(Qo(Qo({},o.props.init),{selector:void 0,target:d,disabled:o.props.disabled,readonly:o.props.readonly,inline:o.inline,plugins:yZ((l=o.props.init)===null||l===void 0?void 0:l.plugins,o.props.plugins),toolbar:(u=o.props.toolbar)!==null&&u!==void 0?u:(c=o.props.init)===null||c===void 0?void 0:c.toolbar}),o.props.licenseKey?{license_key:o.props.licenseKey}:{}),{setup:function(g){o.editor=g,o.bindHandlers({}),o.inline&&!zx(d)&&g.once("PostRender",function(p){g.setContent(o.getInitialValue(),{no_events:!0})}),o.props.init&&b0(o.props.init.setup)&&o.props.init.setup(g),o.props.disabled&&(Xx(o.editor)?o.editor.options.set("disabled",o.props.disabled):o.editor.mode.set("readonly"))},init_instance_callback:function(g){var p,m=o.getInitialValue();o.currentContent=(p=o.currentContent)!==null&&p!==void 0?p:g.getContent(),o.currentContent!==m&&(o.currentContent=m,g.setContent(m),g.undoManager.clear(),g.undoManager.add(),g.setDirty(!1)),o.props.init&&b0(o.props.init.init_instance_callback)&&o.props.init.init_instance_callback(g)}});o.inline||(d.style.visibility=""),zx(d)&&(d.value=o.getInitialValue()),h.init(f)}},o.id=o.props.id||gI("tiny-react"),o.elementRef=J.createRef(),o.inline=(a=(r=o.props.inline)!==null&&r!==void 0?r:(i=o.props.init)===null||i===void 0?void 0:i.inline)!==null&&a!==void 0?a:!1,o.boundHandlers={},o}return Object.defineProperty(t.prototype,"view",{get:function(){var n,r;return(r=(n=this.elementRef.current)===null||n===void 0?void 0:n.ownerDocument.defaultView)!==null&&r!==void 0?r:window},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(n){var r=this,i,a;if(this.rollbackTimer&&(clearTimeout(this.rollbackTimer),this.rollbackTimer=void 0),this.editor&&(this.bindHandlers(n),this.editor.initialized)){if(this.currentContent=(i=this.currentContent)!==null&&i!==void 0?i:this.editor.getContent(),typeof this.props.initialValue=="string"&&this.props.initialValue!==n.initialValue)this.editor.setContent(this.props.initialValue),this.editor.undoManager.clear(),this.editor.undoManager.add(),this.editor.setDirty(!1);else if(typeof this.props.value=="string"&&this.props.value!==this.currentContent){var o=this.editor;o.undoManager.transact(function(){var l;if(!r.inline||o.hasFocus())try{l=o.selection.getBookmark(3)}catch{}var u=r.valueCursor;if(o.setContent(r.props.value),!r.inline||o.hasFocus())for(var c=0,d=[l,u];c<d.length;c++){var h=d[c];if(h)try{o.selection.moveToBookmark(h),r.valueCursor=h;break}catch{}}})}if(this.props.readonly!==n.readonly){var s=(a=this.props.readonly)!==null&&a!==void 0?a:!1;Ux(this.editor,s?"readonly":"design")}this.props.disabled!==n.disabled&&(Xx(this.editor)?this.editor.options.set("disabled",this.props.disabled):Ux(this.editor,this.props.disabled?"readonly":"design"))}},t.prototype.componentDidMount=function(){var n=this,r,i,a,o,s;if(hI(this.view)!==null)this.initialise();else if(Array.isArray(this.props.tinymceScriptSrc)&&this.props.tinymceScriptSrc.length===0)(i=(r=this.props).onScriptsLoadError)===null||i===void 0||i.call(r,new Error("No `tinymce` global is present but the `tinymceScriptSrc` prop was an empty array."));else if(!((a=this.elementRef.current)===null||a===void 0)&&a.ownerDocument){var l=function(){var c,d;(d=(c=n.props).onScriptsLoad)===null||d===void 0||d.call(c),n.initialise()},u=function(c){var d,h;(h=(d=n.props).onScriptsLoadError)===null||h===void 0||h.call(d,c)};_Z.loadList(this.elementRef.current.ownerDocument,this.getScriptSources(),(s=(o=this.props.scriptLoading)===null||o===void 0?void 0:o.delay)!==null&&s!==void 0?s:0,l,u)}},t.prototype.componentWillUnmount=function(){var n=this,r=this.editor;r&&(r.off(v0,this.handleEditorChange),r.off(this.beforeInputEvent(),this.handleBeforeInput),r.off("keypress",this.handleEditorChangeSpecial),r.off("keydown",this.handleBeforeInputSpecial),r.off("NewBlock",this.handleEditorChange),Object.keys(this.boundHandlers).forEach(function(i){r.off(i,n.boundHandlers[i])}),this.boundHandlers={},r.remove(),this.editor=void 0)},t.prototype.render=function(){return this.inline?this.renderInline():this.renderIframe()},t.prototype.beforeInputEvent=function(){return xZ()?"beforeinput SelectionChange":"SelectionChange"},t.prototype.renderInline=function(){var n=this.props.tagName,r=n===void 0?"div":n;return J.createElement(r,{ref:this.elementRef,id:this.id,tabIndex:this.props.tabIndex})},t.prototype.renderIframe=function(){return J.createElement("textarea",{ref:this.elementRef,style:{visibility:"hidden"},name:this.props.textareaName,id:this.id,tabIndex:this.props.tabIndex})},t.prototype.getScriptSources=function(){var n,r,i=(n=this.props.scriptLoading)===null||n===void 0?void 0:n.async,a=(r=this.props.scriptLoading)===null||r===void 0?void 0:r.defer;if(this.props.tinymceScriptSrc!==void 0)return typeof this.props.tinymceScriptSrc=="string"?[{src:this.props.tinymceScriptSrc,async:i,defer:a}]:this.props.tinymceScriptSrc.map(function(u){return typeof u=="string"?{src:u,async:i,defer:a}:u});var o=this.props.cloudChannel,s=this.props.apiKey?this.props.apiKey:"no-api-key",l="https://cdn.tiny.cloud/1/".concat(s,"/tinymce/").concat(o,"/tinymce.min.js");return[{src:l,async:i,defer:a}]},t.prototype.getInitialValue=function(){return typeof this.props.initialValue=="string"?this.props.initialValue:typeof this.props.value=="string"?this.props.value:""},t.prototype.bindHandlers=function(n){var r=this;if(this.editor!==void 0){vZ(this.editor,n,this.props,this.boundHandlers,function(s){return r.props[s]});var i=function(s){return s.onEditorChange!==void 0||s.value!==void 0},a=i(n),o=i(this.props);!a&&o?(this.editor.on(v0,this.handleEditorChange),this.editor.on(this.beforeInputEvent(),this.handleBeforeInput),this.editor.on("keydown",this.handleBeforeInputSpecial),this.editor.on("keyup",this.handleEditorChangeSpecial),this.editor.on("NewBlock",this.handleEditorChange)):a&&!o&&(this.editor.off(v0,this.handleEditorChange),this.editor.off(this.beforeInputEvent(),this.handleBeforeInput),this.editor.off("keydown",this.handleBeforeInputSpecial),this.editor.off("keyup",this.handleEditorChangeSpecial),this.editor.off("NewBlock",this.handleEditorChange))}},t.propTypes=mZ,t.defaultProps={cloudChannel:"7"},t}(J.Component);const TZ=e=>_.jsx("div",{className:`${uZ.container}`,children:_.jsx(AZ,{..._l(sZ({label:e.label}),e)})}),RZ=({children:e,open:t,className:n,id:r,classNameContainer:i})=>(I.useLayoutEffect(()=>{const a=document.getElementById(r),o=document.getElementById(`inner-${r}`);if(!a||!o)return;const s=new ResizeObserver(()=>{const l=o.getBoundingClientRect().height;a.style.height=`${l}px`});if(t){const l=o.getBoundingClientRect().height;a.style.height=`${l}px`,s.observe(o)}else a.style.height="0px";return()=>{s.disconnect()}},[t,r]),_.jsx("div",{id:r,className:`${Qw.collapse} ${i??""}`,style:{height:0},children:_.jsx("div",{id:`inner-${r}`,className:n??"",children:e})})),BZ="_selected_dsej5_541",$Z="_error_dsej5_546",kZ="_disabled_dsej5_550",Bt={"container-time-range":"_container-time-range_dsej5_133","time-range-header":"_time-range-header_dsej5_133","text-to":"_text-to_dsej5_133","time-range":"_time-range_dsej5_133","time-range-body":"_time-range-body_dsej5_133","list-time":"_list-time_dsej5_133","container-time":"_container-time_dsej5_133","title-time":"_title-time_dsej5_133","cell-time":"_cell-time_dsej5_133","time-range-divider":"_time-range-divider_dsej5_502","container-cell-time":"_container-cell-time_dsej5_524",selected:BZ,error:$Z,disabled:kZ,"time-range-footer":"_time-range-footer_dsej5_557"},zo=(e,t=2)=>String(e).padStart(t,"0"),Zx=(e,t)=>e[0][0]&&e[0][1]&&e[1][0]&&e[1][1]?`${e[0][0]}:${e[0][1]} - ${e[1][0]}:${e[1][1]}`:io[t]["Select Time"],io={"en-US":{to:"to",Hour:"Hour",Minute:"Minute","Select Time":"Select Time",Reset:"Reset",Apply:"Apply"},"id-ID":{to:"to",Hour:"Jam",Minute:"Menit","Select Time":"Pilih Waktu",Reset:"Reset",Apply:"Terapkan"},"zh-CN":{to:"到",Hour:"小时",Minute:"分钟","Select Time":"选择时间",Reset:"重置",Apply:"应用"},"nl-NL":{to:"tot",Hour:"Uur",Minute:"Minuten","Select Time":"Select Time",Reset:"Reset",Apply:"Toepassen"}},Ys=[["",""],["",""]],PZ=e=>{const{id:t="time-range",classNameContainer:n,value:r=Ys,buttonClick:i,zIndexPopper:a=1,offsetPopover:o=5,floatingOptions:s,locale:l="id-ID",disableValidation:u=!1}=e,c=I.useRef(null),[d,h]=I.useState(Ys),f=(b,v)=>{if(v==="start"){const x=[b,d[1]];h(x)}else{const x=[d[0],b];h(x)}},g=b=>{var v;(v=c.current)==null||v.handlerShow(b),h(r||Ys)},p=()=>{var b;typeof(e==null?void 0:e.onChange)=="function"&&e.onChange(Ys),h(Ys),(b=c.current)==null||b.setShow(!1)},m=()=>{var B;const b=Number(d[0][0]),v=Number(d[0][1]),x=Number(d[1][0]),C=Number(d[1][1]),E=d[0][0]&&d[0][1]&&d[1][0]&&d[1][1],w=b<x||b===x&&v<=C;E&&(w||u)&&(typeof(e==null?void 0:e.onChange)=="function"&&e.onChange(d),(B=c.current)==null||B.setShow(!1))};return _.jsxs(_.Fragment,{children:[_.jsx("div",{id:t,onClick:g,className:n,children:typeof i=="function"?i(r,Zx(r,l)):r?Zx(r,l):io[l]["Select Time"]}),_.jsx(gi,{zIndex:a,ref:c,offset:o,id:`${t}-popover`,floatingOptions:{placement:"bottom-end",...s},className:"1ru-flex 1ru-flex-col",children:_.jsxs("div",{className:Bt["container-time-range"],children:[_.jsxs("div",{className:Bt["time-range-header"],children:[_.jsx("div",{className:Bt["time-range"],children:d[0][0]&&d[0][1]?`${d[0][0]}:${d[0][1]}`:"--:--"}),_.jsx("p",{className:Bt["text-to"],children:io[l].to}),_.jsx("div",{className:Bt["time-range"],children:d[1][0]&&d[1][1]?`${d[1][0]}:${d[1][1]}`:"--:--"})]}),_.jsxs("div",{className:Bt["time-range-body"],children:[_.jsx(Yx,{type:"start",value:[d[0][0],d[0][1]],onChange:b=>f(b,"start"),locale:l,values:d,disableValidation:u}),_.jsx("div",{className:Bt["time-range-divider"]}),_.jsx(Yx,{type:"end",value:[d[1][0],d[1][1]],onChange:b=>f(b,"end"),locale:l,values:d,disableValidation:u})]}),_.jsxs("div",{className:`${Bt["time-range-footer"]}`,children:[typeof(e==null?void 0:e.buttonReset)=="function"?_.jsx("div",{onClick:p,children:e.buttonReset()}):_.jsx(jn,{variants:"nude-laba-blue-10",size:"small",onClick:p,children:io[l].Reset}),typeof(e==null?void 0:e.buttonSubmit)=="function"?_.jsx("div",{onClick:m,children:e.buttonSubmit()}):_.jsx(jn,{size:"small",onClick:m,children:io[l].Apply})]})]})})]})},Yx=e=>{const{value:t,onChange:n,type:r,locale:i,values:a,disableValidation:o}=e,s=(f,g,p)=>Array.from({length:(g-f)/p+1},(m,b)=>f+b*p),l=()=>{const f=document.getElementById(`time-range-${r}-hour-${t[0]}`),g=document.getElementById(`time-range-${r}-minute-${t[1]}`),p=document.getElementById(`time-range-${r}-hour`),m=document.getElementById(`time-range-${r}-minute`);f&&p&&p.scrollTo({behavior:"instant",top:f.offsetTop-75}),g&&m&&m.scrollTo({behavior:"instant",top:g.offsetTop-75})},u=f=>{if(r==="start"||o)return!1;{if(!a[0][0])return!1;const g=Number(a[0][0]);return f<g}},c=f=>{if(r==="start"||o)return!1;{if(!a[0][0]||!a[0][1]||!a[1][0])return!1;const g=Number(a[0][0]),p=Number(a[1][0]),m=Number(a[0][1]);return g===p&&f<m}},d=f=>{if(r==="start"||o)return!1;{const g=Number(a[0][0]);return f<g}},h=f=>{if(r==="start"||o)return!1;{if(!a[0][0]||!a[0][1]||!a[1][0])return!1;const g=Number(a[0][0]),p=Number(a[1][0]),m=Number(a[0][1]);return g===p&&f<m}};return I.useEffect(()=>{l()},[]),_.jsxs("div",{className:Bt["list-time"],children:[_.jsxs("div",{className:Bt["container-time"],children:[_.jsx("p",{className:Bt["title-time"],children:io[i].Hour}),_.jsx("div",{id:`time-range-${r}-hour`,className:Bt["container-cell-time"],children:s(0,23,1).map(f=>_.jsx("div",{id:`time-range-${r}-hour-${f}`,className:`${Bt["cell-time"]} ${t[0]===zo(f)?Bt.selected:""} ${u(f)?Bt.error:""} ${d(f)?Bt.disabled:""}`,onClick:()=>n([zo(f),t[1]]),children:zo(f)},f))})]}),_.jsxs("div",{className:Bt["container-time"],children:[_.jsx("p",{className:Bt["title-time"],children:io[i].Minute}),_.jsx("div",{id:`time-range-${r}-minute`,className:Bt["container-cell-time"],children:s(0,59,1).map(f=>_.jsx("div",{id:`time-range-${r}-minute-${f}`,className:`${Bt["cell-time"]} ${t[1]===zo(f)?Bt.selected:""} ${c(f)?Bt.error:""} ${h(f)?Bt.disabled:""}`,onClick:()=>n([t[0],zo(f)]),children:zo(f)},f))})]})]})},FZ="_container_4603f_421",NZ="_textarea_4603f_421",MZ="_label_4603f_421",LZ="_error_4603f_517",Ur={container:FZ,"size-large":"_size-large_4603f_421","container-textarea":"_container-textarea_4603f_421",textarea:NZ,"label-error":"_label-error_4603f_421","size-small":"_size-small_4603f_421",label:MZ,error:LZ},OZ={size:{large:Ur["size-large"],small:Ur["size-small"]}},pI=I.forwardRef((e,t)=>{const{isRequired:n,classNameContainer:r,className:i,classNameLabel:a,classNameLabelError:o,name:s,id:l,label:u,error:c,height:d,minHeight:h=94,maxHeight:f=150,style:g,sizeInput:p="large",...m}=e,b=I.useRef(null),v=If(b,t),x={...g??{},maxHeight:f,height:d??h,minHeight:h},[C,E]=I.useState(!1),w=function(S){var D;E(!0),(D=e.onFocus)==null||D.call(e,S)},B=function(S){var D;E(!1),(D=e.onBlur)==null||D.call(e,S)},y=function(S){const D=(S==null?void 0:S.target)??b.current;D.style.height="0px",D.style.height=D.scrollHeight+"px"};return wf(()=>(C&&b.current?b.current.addEventListener("input",y):y(),()=>{var S;(S=b.current)==null||S.removeEventListener("input",y)}),[C]),_.jsxs("div",{className:`${Ur.container}
|
|
224
|
+
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var Q=ce(X,le,ee,z,H+"."+le,n);if(Q)return Q}return null}return m(W)}function k(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(k);if(V===null||s(V))return!0;var W=d(V);if(W){var U=W.call(V),K;if(W!==V.entries){for(;!(K=U.next()).done;)if(!k(K.value))return!1}else for(;!(K=U.next()).done;){var ee=K.value;if(ee&&!k(ee[1]))return!1}}else return!1;return!0;default:return!1}}function P(V,W){return V==="symbol"?!0:W?W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol:!1}function $(V){var W=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":P(W,V)?"symbol":W}function R(V){if(typeof V>"u"||V===null)return""+V;var W=$(V);if(W==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return W}function O(V){var W=R(V);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function j(V){return!V.constructor||!V.constructor.name?h:V.constructor.name}return f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},p0}var m0,Vx;function hZ(){if(Vx)return m0;Vx=1;var e=i1();function t(){}function n(){}return n.resetWarningCache=t,m0=function(){function r(o,s,l,u,c,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},m0}if(process.env.NODE_ENV!=="production"){var gZ=im,pZ=!0;Ug.exports=fZ()(gZ.isElement,pZ)}else Ug.exports=hZ()();var re=Ug.exports,Xg=function(){return Xg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Xg.apply(this,arguments)},fI={onActivate:re.func,onAddUndo:re.func,onBeforeAddUndo:re.func,onBeforeExecCommand:re.func,onBeforeGetContent:re.func,onBeforeRenderUI:re.func,onBeforeSetContent:re.func,onBeforePaste:re.func,onBlur:re.func,onChange:re.func,onClearUndos:re.func,onClick:re.func,onContextMenu:re.func,onCommentChange:re.func,onCompositionEnd:re.func,onCompositionStart:re.func,onCompositionUpdate:re.func,onCopy:re.func,onCut:re.func,onDblclick:re.func,onDeactivate:re.func,onDirty:re.func,onDrag:re.func,onDragDrop:re.func,onDragEnd:re.func,onDragGesture:re.func,onDragOver:re.func,onDrop:re.func,onExecCommand:re.func,onFocus:re.func,onFocusIn:re.func,onFocusOut:re.func,onGetContent:re.func,onHide:re.func,onInit:re.func,onInput:re.func,onKeyDown:re.func,onKeyPress:re.func,onKeyUp:re.func,onLoadContent:re.func,onMouseDown:re.func,onMouseEnter:re.func,onMouseLeave:re.func,onMouseMove:re.func,onMouseOut:re.func,onMouseOver:re.func,onMouseUp:re.func,onNodeChange:re.func,onObjectResizeStart:re.func,onObjectResized:re.func,onObjectSelected:re.func,onPaste:re.func,onPostProcess:re.func,onPostRender:re.func,onPreProcess:re.func,onProgressState:re.func,onRedo:re.func,onRemove:re.func,onReset:re.func,onSaveContent:re.func,onSelectionChange:re.func,onSetAttrib:re.func,onSetContent:re.func,onShow:re.func,onSubmit:re.func,onUndo:re.func,onVisualAid:re.func,onSkinLoadError:re.func,onThemeLoadError:re.func,onModelLoadError:re.func,onPluginLoadError:re.func,onIconsLoadError:re.func,onLanguageLoadError:re.func,onScriptsLoad:re.func,onScriptsLoadError:re.func},mZ=Xg({apiKey:re.string,licenseKey:re.string,id:re.string,inline:re.bool,init:re.object,initialValue:re.string,onEditorChange:re.func,value:re.string,tagName:re.string,tabIndex:re.number,cloudChannel:re.string,plugins:re.oneOfType([re.string,re.array]),toolbar:re.oneOfType([re.string,re.array]),disabled:re.bool,readonly:re.bool,textareaName:re.string,tinymceScriptSrc:re.oneOfType([re.string,re.arrayOf(re.string),re.arrayOf(re.shape({src:re.string,async:re.bool,defer:re.bool}))]),rollback:re.oneOfType([re.number,re.oneOf([!1])]),scriptLoading:re.shape({async:re.bool,defer:re.bool,delay:re.number})},fI),hI=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},b0=function(e){return typeof e=="function"},Hx=function(e){return e in fI},jx=function(e){return e.substr(2)},bZ=function(e,t,n,r,i,a,o){var s=Object.keys(i).filter(Hx),l=Object.keys(a).filter(Hx),u=s.filter(function(d){return a[d]===void 0}),c=l.filter(function(d){return i[d]===void 0});u.forEach(function(d){var h=jx(d),f=o[h];n(h,f),delete o[h]}),c.forEach(function(d){var h=r(e,d),f=jx(d);o[f]=h,t(f,h)})},vZ=function(e,t,n,r,i){return bZ(i,e.on.bind(e),e.off.bind(e),function(a,o){return function(s){var l;return(l=a(o))===null||l===void 0?void 0:l(s,e)}},t,n,r)},Wx=0,gI=function(e){var t=Date.now(),n=Math.floor(Math.random()*1e9);return Wx++,e+"_"+n+Wx+String(t)},zx=function(e){return e!==null&&(e.tagName.toLowerCase()==="textarea"||e.tagName.toLowerCase()==="input")},Gx=function(e){return typeof e>"u"||e===""?[]:Array.isArray(e)?e:e.split(" ")},yZ=function(e,t){return Gx(e).concat(Gx(t))},xZ=function(){return window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"},CZ=function(e){if(!("isConnected"in Node.prototype)){for(var t=e,n=e.parentNode;n!=null;)t=n,n=t.parentNode;return t===e.ownerDocument}return e.isConnected},Ux=function(e,t){e!==void 0&&(e.mode!=null&&typeof e.mode=="object"&&typeof e.mode.set=="function"?e.mode.set(t):e.setMode(t))},EZ=function(e){var t=hI(e);if(!t)throw new Error("tinymce should have been loaded into global scope");return t},Xx=function(e){return e.options&&e.options.isRegistered("disabled")},Zg=function(){return Zg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Zg.apply(this,arguments)},SZ=function(e,t,n){var r,i,a=e.createElement("script");a.referrerPolicy="origin",a.type="application/javascript",a.id=t.id,a.src=t.src,a.async=(r=t.async)!==null&&r!==void 0?r:!1,a.defer=(i=t.defer)!==null&&i!==void 0?i:!1;var o=function(){a.removeEventListener("load",o),a.removeEventListener("error",s),n(t.src)},s=function(l){a.removeEventListener("load",o),a.removeEventListener("error",s),n(t.src,l)};a.addEventListener("load",o),a.addEventListener("error",s),e.head&&e.head.appendChild(a)},wZ=function(e){var t={},n=function(o,s){var l=t[o];l.done=!0,l.error=s;for(var u=0,c=l.handlers;u<c.length;u++){var d=c[u];d(o,s)}l.handlers=[]},r=function(o,s,l){var u=function(v){return l!==void 0?l(v):console.error(v)};if(o.length===0){u(new Error("At least one script must be provided"));return}for(var c=0,d=!1,h=function(v,x){d||(x?(d=!0,u(x)):++c===o.length&&s())},f=0,g=o;f<g.length;f++){var p=g[f],m=t[p.src];if(m)m.done?h(p.src,m.error):m.handlers.push(h);else{var b=gI("tiny-");t[p.src]={id:b,src:p.src,done:!1,error:null,handlers:[h]},SZ(e,Zg({id:b},p),n)}}},i=function(){for(var o,s=0,l=Object.values(t);s<l.length;s++){var u=l[s],c=e.getElementById(u.id);c!=null&&c.tagName==="SCRIPT"&&((o=c.parentNode)===null||o===void 0||o.removeChild(c))}t={}},a=function(){return e};return{loadScripts:r,deleteScripts:i,getDocument:a}},IZ=function(){var e=[],t=function(i){var a=e.find(function(o){return o.getDocument()===i});return a===void 0&&(a=wZ(i),e.push(a)),a},n=function(i,a,o,s,l){var u=function(){return t(i).loadScripts(a,s,l)};o>0?setTimeout(u,o):u()},r=function(){for(var i=e.pop();i!=null;i=e.pop())i.deleteScripts()};return{loadList:n,reinitialize:r}},_Z=IZ(),DZ=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qo=function(){return Qo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Qo.apply(this,arguments)},v0="change keyup compositionend setcontent CommentChange",AZ=function(e){DZ(t,e);function t(n){var r,i,a,o=e.call(this,n)||this;return o.rollbackTimer=void 0,o.valueCursor=void 0,o.rollbackChange=function(){var s=o.editor,l=o.props.value;s&&l&&l!==o.currentContent&&s.undoManager.ignore(function(){if(s.setContent(l),o.valueCursor&&(!o.inline||s.hasFocus()))try{s.selection.moveToBookmark(o.valueCursor)}catch{}}),o.rollbackTimer=void 0},o.handleBeforeInput=function(s){if(o.props.value!==void 0&&o.props.value===o.currentContent&&o.editor&&(!o.inline||o.editor.hasFocus()))try{o.valueCursor=o.editor.selection.getBookmark(3)}catch{}},o.handleBeforeInputSpecial=function(s){(s.key==="Enter"||s.key==="Backspace"||s.key==="Delete")&&o.handleBeforeInput(s)},o.handleEditorChange=function(s){var l=o.editor;if(l&&l.initialized){var u=l.getContent();o.props.value!==void 0&&o.props.value!==u&&o.props.rollback!==!1&&(o.rollbackTimer||(o.rollbackTimer=window.setTimeout(o.rollbackChange,typeof o.props.rollback=="number"?o.props.rollback:200))),u!==o.currentContent&&(o.currentContent=u,b0(o.props.onEditorChange)&&o.props.onEditorChange(u,l))}},o.handleEditorChangeSpecial=function(s){(s.key==="Backspace"||s.key==="Delete")&&o.handleEditorChange(s)},o.initialise=function(s){var l,u,c;s===void 0&&(s=0);var d=o.elementRef.current;if(d){if(!CZ(d)){if(s===0)setTimeout(function(){return o.initialise(1)},1);else if(s<100)setTimeout(function(){return o.initialise(s+1)},100);else throw new Error("tinymce can only be initialised when in a document");return}var h=EZ(o.view),f=Qo(Qo(Qo(Qo({},o.props.init),{selector:void 0,target:d,disabled:o.props.disabled,readonly:o.props.readonly,inline:o.inline,plugins:yZ((l=o.props.init)===null||l===void 0?void 0:l.plugins,o.props.plugins),toolbar:(u=o.props.toolbar)!==null&&u!==void 0?u:(c=o.props.init)===null||c===void 0?void 0:c.toolbar}),o.props.licenseKey?{license_key:o.props.licenseKey}:{}),{setup:function(g){o.editor=g,o.bindHandlers({}),o.inline&&!zx(d)&&g.once("PostRender",function(p){g.setContent(o.getInitialValue(),{no_events:!0})}),o.props.init&&b0(o.props.init.setup)&&o.props.init.setup(g),o.props.disabled&&(Xx(o.editor)?o.editor.options.set("disabled",o.props.disabled):o.editor.mode.set("readonly"))},init_instance_callback:function(g){var p,m=o.getInitialValue();o.currentContent=(p=o.currentContent)!==null&&p!==void 0?p:g.getContent(),o.currentContent!==m&&(o.currentContent=m,g.setContent(m),g.undoManager.clear(),g.undoManager.add(),g.setDirty(!1)),o.props.init&&b0(o.props.init.init_instance_callback)&&o.props.init.init_instance_callback(g)}});o.inline||(d.style.visibility=""),zx(d)&&(d.value=o.getInitialValue()),h.init(f)}},o.id=o.props.id||gI("tiny-react"),o.elementRef=J.createRef(),o.inline=(a=(r=o.props.inline)!==null&&r!==void 0?r:(i=o.props.init)===null||i===void 0?void 0:i.inline)!==null&&a!==void 0?a:!1,o.boundHandlers={},o}return Object.defineProperty(t.prototype,"view",{get:function(){var n,r;return(r=(n=this.elementRef.current)===null||n===void 0?void 0:n.ownerDocument.defaultView)!==null&&r!==void 0?r:window},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(n){var r=this,i,a;if(this.rollbackTimer&&(clearTimeout(this.rollbackTimer),this.rollbackTimer=void 0),this.editor&&(this.bindHandlers(n),this.editor.initialized)){if(this.currentContent=(i=this.currentContent)!==null&&i!==void 0?i:this.editor.getContent(),typeof this.props.initialValue=="string"&&this.props.initialValue!==n.initialValue)this.editor.setContent(this.props.initialValue),this.editor.undoManager.clear(),this.editor.undoManager.add(),this.editor.setDirty(!1);else if(typeof this.props.value=="string"&&this.props.value!==this.currentContent){var o=this.editor;o.undoManager.transact(function(){var l;if(!r.inline||o.hasFocus())try{l=o.selection.getBookmark(3)}catch{}var u=r.valueCursor;if(o.setContent(r.props.value),!r.inline||o.hasFocus())for(var c=0,d=[l,u];c<d.length;c++){var h=d[c];if(h)try{o.selection.moveToBookmark(h),r.valueCursor=h;break}catch{}}})}if(this.props.readonly!==n.readonly){var s=(a=this.props.readonly)!==null&&a!==void 0?a:!1;Ux(this.editor,s?"readonly":"design")}this.props.disabled!==n.disabled&&(Xx(this.editor)?this.editor.options.set("disabled",this.props.disabled):Ux(this.editor,this.props.disabled?"readonly":"design"))}},t.prototype.componentDidMount=function(){var n=this,r,i,a,o,s;if(hI(this.view)!==null)this.initialise();else if(Array.isArray(this.props.tinymceScriptSrc)&&this.props.tinymceScriptSrc.length===0)(i=(r=this.props).onScriptsLoadError)===null||i===void 0||i.call(r,new Error("No `tinymce` global is present but the `tinymceScriptSrc` prop was an empty array."));else if(!((a=this.elementRef.current)===null||a===void 0)&&a.ownerDocument){var l=function(){var c,d;(d=(c=n.props).onScriptsLoad)===null||d===void 0||d.call(c),n.initialise()},u=function(c){var d,h;(h=(d=n.props).onScriptsLoadError)===null||h===void 0||h.call(d,c)};_Z.loadList(this.elementRef.current.ownerDocument,this.getScriptSources(),(s=(o=this.props.scriptLoading)===null||o===void 0?void 0:o.delay)!==null&&s!==void 0?s:0,l,u)}},t.prototype.componentWillUnmount=function(){var n=this,r=this.editor;r&&(r.off(v0,this.handleEditorChange),r.off(this.beforeInputEvent(),this.handleBeforeInput),r.off("keypress",this.handleEditorChangeSpecial),r.off("keydown",this.handleBeforeInputSpecial),r.off("NewBlock",this.handleEditorChange),Object.keys(this.boundHandlers).forEach(function(i){r.off(i,n.boundHandlers[i])}),this.boundHandlers={},r.remove(),this.editor=void 0)},t.prototype.render=function(){return this.inline?this.renderInline():this.renderIframe()},t.prototype.beforeInputEvent=function(){return xZ()?"beforeinput SelectionChange":"SelectionChange"},t.prototype.renderInline=function(){var n=this.props.tagName,r=n===void 0?"div":n;return J.createElement(r,{ref:this.elementRef,id:this.id,tabIndex:this.props.tabIndex})},t.prototype.renderIframe=function(){return J.createElement("textarea",{ref:this.elementRef,style:{visibility:"hidden"},name:this.props.textareaName,id:this.id,tabIndex:this.props.tabIndex})},t.prototype.getScriptSources=function(){var n,r,i=(n=this.props.scriptLoading)===null||n===void 0?void 0:n.async,a=(r=this.props.scriptLoading)===null||r===void 0?void 0:r.defer;if(this.props.tinymceScriptSrc!==void 0)return typeof this.props.tinymceScriptSrc=="string"?[{src:this.props.tinymceScriptSrc,async:i,defer:a}]:this.props.tinymceScriptSrc.map(function(u){return typeof u=="string"?{src:u,async:i,defer:a}:u});var o=this.props.cloudChannel,s=this.props.apiKey?this.props.apiKey:"no-api-key",l="https://cdn.tiny.cloud/1/".concat(s,"/tinymce/").concat(o,"/tinymce.min.js");return[{src:l,async:i,defer:a}]},t.prototype.getInitialValue=function(){return typeof this.props.initialValue=="string"?this.props.initialValue:typeof this.props.value=="string"?this.props.value:""},t.prototype.bindHandlers=function(n){var r=this;if(this.editor!==void 0){vZ(this.editor,n,this.props,this.boundHandlers,function(s){return r.props[s]});var i=function(s){return s.onEditorChange!==void 0||s.value!==void 0},a=i(n),o=i(this.props);!a&&o?(this.editor.on(v0,this.handleEditorChange),this.editor.on(this.beforeInputEvent(),this.handleBeforeInput),this.editor.on("keydown",this.handleBeforeInputSpecial),this.editor.on("keyup",this.handleEditorChangeSpecial),this.editor.on("NewBlock",this.handleEditorChange)):a&&!o&&(this.editor.off(v0,this.handleEditorChange),this.editor.off(this.beforeInputEvent(),this.handleBeforeInput),this.editor.off("keydown",this.handleBeforeInputSpecial),this.editor.off("keyup",this.handleEditorChangeSpecial),this.editor.off("NewBlock",this.handleEditorChange))}},t.propTypes=mZ,t.defaultProps={cloudChannel:"7"},t}(J.Component);const TZ=e=>_.jsx("div",{className:`${uZ.container}`,children:_.jsx(AZ,{..._l(sZ({label:e.label}),e)})}),RZ=({children:e,open:t,className:n,id:r,classNameContainer:i,maxCollapsedHeight:a="0px"})=>(I.useLayoutEffect(()=>{const o=document.getElementById(r),s=document.getElementById(`inner-${r}`);if(!o||!s)return;const l=new ResizeObserver(()=>{const u=s.getBoundingClientRect().height;o.style.height=`${u}px`});if(t){const u=s.getBoundingClientRect().height;o.style.height=`${u}px`,l.observe(s)}else o.style.height=typeof a=="number"?`${a}px`:a;return()=>{l.disconnect()}},[t,r,a]),_.jsx("div",{id:r,className:`${Qw.collapse} ${i??""}`,style:{height:t?0:a},children:_.jsx("div",{id:`inner-${r}`,className:n??"",children:e})})),BZ="_selected_dsej5_541",$Z="_error_dsej5_546",kZ="_disabled_dsej5_550",Bt={"container-time-range":"_container-time-range_dsej5_133","time-range-header":"_time-range-header_dsej5_133","text-to":"_text-to_dsej5_133","time-range":"_time-range_dsej5_133","time-range-body":"_time-range-body_dsej5_133","list-time":"_list-time_dsej5_133","container-time":"_container-time_dsej5_133","title-time":"_title-time_dsej5_133","cell-time":"_cell-time_dsej5_133","time-range-divider":"_time-range-divider_dsej5_502","container-cell-time":"_container-cell-time_dsej5_524",selected:BZ,error:$Z,disabled:kZ,"time-range-footer":"_time-range-footer_dsej5_557"},zo=(e,t=2)=>String(e).padStart(t,"0"),Zx=(e,t)=>e[0][0]&&e[0][1]&&e[1][0]&&e[1][1]?`${e[0][0]}:${e[0][1]} - ${e[1][0]}:${e[1][1]}`:io[t]["Select Time"],io={"en-US":{to:"to",Hour:"Hour",Minute:"Minute","Select Time":"Select Time",Reset:"Reset",Apply:"Apply"},"id-ID":{to:"to",Hour:"Jam",Minute:"Menit","Select Time":"Pilih Waktu",Reset:"Reset",Apply:"Terapkan"},"zh-CN":{to:"到",Hour:"小时",Minute:"分钟","Select Time":"选择时间",Reset:"重置",Apply:"应用"},"nl-NL":{to:"tot",Hour:"Uur",Minute:"Minuten","Select Time":"Select Time",Reset:"Reset",Apply:"Toepassen"}},Ys=[["",""],["",""]],PZ=e=>{const{id:t="time-range",classNameContainer:n,value:r=Ys,buttonClick:i,zIndexPopper:a=1,offsetPopover:o=5,floatingOptions:s,locale:l="id-ID",disableValidation:u=!1}=e,c=I.useRef(null),[d,h]=I.useState(Ys),f=(b,v)=>{if(v==="start"){const x=[b,d[1]];h(x)}else{const x=[d[0],b];h(x)}},g=b=>{var v;(v=c.current)==null||v.handlerShow(b),h(r||Ys)},p=()=>{var b;typeof(e==null?void 0:e.onChange)=="function"&&e.onChange(Ys),h(Ys),(b=c.current)==null||b.setShow(!1)},m=()=>{var B;const b=Number(d[0][0]),v=Number(d[0][1]),x=Number(d[1][0]),C=Number(d[1][1]),E=d[0][0]&&d[0][1]&&d[1][0]&&d[1][1],w=b<x||b===x&&v<=C;E&&(w||u)&&(typeof(e==null?void 0:e.onChange)=="function"&&e.onChange(d),(B=c.current)==null||B.setShow(!1))};return _.jsxs(_.Fragment,{children:[_.jsx("div",{id:t,onClick:g,className:n,children:typeof i=="function"?i(r,Zx(r,l)):r?Zx(r,l):io[l]["Select Time"]}),_.jsx(gi,{zIndex:a,ref:c,offset:o,id:`${t}-popover`,floatingOptions:{placement:"bottom-end",...s},className:"1ru-flex 1ru-flex-col",children:_.jsxs("div",{className:Bt["container-time-range"],children:[_.jsxs("div",{className:Bt["time-range-header"],children:[_.jsx("div",{className:Bt["time-range"],children:d[0][0]&&d[0][1]?`${d[0][0]}:${d[0][1]}`:"--:--"}),_.jsx("p",{className:Bt["text-to"],children:io[l].to}),_.jsx("div",{className:Bt["time-range"],children:d[1][0]&&d[1][1]?`${d[1][0]}:${d[1][1]}`:"--:--"})]}),_.jsxs("div",{className:Bt["time-range-body"],children:[_.jsx(Yx,{type:"start",value:[d[0][0],d[0][1]],onChange:b=>f(b,"start"),locale:l,values:d,disableValidation:u}),_.jsx("div",{className:Bt["time-range-divider"]}),_.jsx(Yx,{type:"end",value:[d[1][0],d[1][1]],onChange:b=>f(b,"end"),locale:l,values:d,disableValidation:u})]}),_.jsxs("div",{className:`${Bt["time-range-footer"]}`,children:[typeof(e==null?void 0:e.buttonReset)=="function"?_.jsx("div",{onClick:p,children:e.buttonReset()}):_.jsx(jn,{variants:"nude-laba-blue-10",size:"small",onClick:p,children:io[l].Reset}),typeof(e==null?void 0:e.buttonSubmit)=="function"?_.jsx("div",{onClick:m,children:e.buttonSubmit()}):_.jsx(jn,{size:"small",onClick:m,children:io[l].Apply})]})]})})]})},Yx=e=>{const{value:t,onChange:n,type:r,locale:i,values:a,disableValidation:o}=e,s=(f,g,p)=>Array.from({length:(g-f)/p+1},(m,b)=>f+b*p),l=()=>{const f=document.getElementById(`time-range-${r}-hour-${t[0]}`),g=document.getElementById(`time-range-${r}-minute-${t[1]}`),p=document.getElementById(`time-range-${r}-hour`),m=document.getElementById(`time-range-${r}-minute`);f&&p&&p.scrollTo({behavior:"instant",top:f.offsetTop-75}),g&&m&&m.scrollTo({behavior:"instant",top:g.offsetTop-75})},u=f=>{if(r==="start"||o)return!1;{if(!a[0][0])return!1;const g=Number(a[0][0]);return f<g}},c=f=>{if(r==="start"||o)return!1;{if(!a[0][0]||!a[0][1]||!a[1][0])return!1;const g=Number(a[0][0]),p=Number(a[1][0]),m=Number(a[0][1]);return g===p&&f<m}},d=f=>{if(r==="start"||o)return!1;{const g=Number(a[0][0]);return f<g}},h=f=>{if(r==="start"||o)return!1;{if(!a[0][0]||!a[0][1]||!a[1][0])return!1;const g=Number(a[0][0]),p=Number(a[1][0]),m=Number(a[0][1]);return g===p&&f<m}};return I.useEffect(()=>{l()},[]),_.jsxs("div",{className:Bt["list-time"],children:[_.jsxs("div",{className:Bt["container-time"],children:[_.jsx("p",{className:Bt["title-time"],children:io[i].Hour}),_.jsx("div",{id:`time-range-${r}-hour`,className:Bt["container-cell-time"],children:s(0,23,1).map(f=>_.jsx("div",{id:`time-range-${r}-hour-${f}`,className:`${Bt["cell-time"]} ${t[0]===zo(f)?Bt.selected:""} ${u(f)?Bt.error:""} ${d(f)?Bt.disabled:""}`,onClick:()=>n([zo(f),t[1]]),children:zo(f)},f))})]}),_.jsxs("div",{className:Bt["container-time"],children:[_.jsx("p",{className:Bt["title-time"],children:io[i].Minute}),_.jsx("div",{id:`time-range-${r}-minute`,className:Bt["container-cell-time"],children:s(0,59,1).map(f=>_.jsx("div",{id:`time-range-${r}-minute-${f}`,className:`${Bt["cell-time"]} ${t[1]===zo(f)?Bt.selected:""} ${c(f)?Bt.error:""} ${h(f)?Bt.disabled:""}`,onClick:()=>n([t[0],zo(f)]),children:zo(f)},f))})]})]})},FZ="_container_4603f_421",NZ="_textarea_4603f_421",MZ="_label_4603f_421",LZ="_error_4603f_517",Ur={container:FZ,"size-large":"_size-large_4603f_421","container-textarea":"_container-textarea_4603f_421",textarea:NZ,"label-error":"_label-error_4603f_421","size-small":"_size-small_4603f_421",label:MZ,error:LZ},OZ={size:{large:Ur["size-large"],small:Ur["size-small"]}},pI=I.forwardRef((e,t)=>{const{isRequired:n,classNameContainer:r,className:i,classNameLabel:a,classNameLabelError:o,name:s,id:l,label:u,error:c,height:d,minHeight:h=94,maxHeight:f=150,style:g,sizeInput:p="large",...m}=e,b=I.useRef(null),v=If(b,t),x={...g??{},maxHeight:f,height:d??h,minHeight:h},[C,E]=I.useState(!1),w=function(S){var D;E(!0),(D=e.onFocus)==null||D.call(e,S)},B=function(S){var D;E(!1),(D=e.onBlur)==null||D.call(e,S)},y=function(S){const D=(S==null?void 0:S.target)??b.current;D.style.height="0px",D.style.height=D.scrollHeight+"px"};return wf(()=>(C&&b.current?b.current.addEventListener("input",y):y(),()=>{var S;(S=b.current)==null||S.removeEventListener("input",y)}),[C]),_.jsxs("div",{className:`${Ur.container}
|
|
225
225
|
${OZ.size[p]}
|
|
226
226
|
${r??""}`,children:[_.jsxs("div",{className:`${Ur["container-textarea"]}`,children:[_.jsx("textarea",{id:l??s,className:` ${c?Ur.error:""}
|
|
227
227
|
${Ur.textarea}
|
package/dist/index.mjs
CHANGED
|
@@ -48945,7 +48945,7 @@ const fY = ({
|
|
|
48945
48945
|
] })
|
|
48946
48946
|
]
|
|
48947
48947
|
}
|
|
48948
|
-
), dX = "1.0.
|
|
48948
|
+
), dX = "1.0.10", Ox = {
|
|
48949
48949
|
version: dX
|
|
48950
48950
|
}, fX = ({ label: e }) => ({
|
|
48951
48951
|
tinymceScriptSrc: `https://unpkg.com/1mpacto-react-ui@${Ox.version}/dist/tinymce/js/tinymce/tinymce.min.js`,
|
|
@@ -49947,22 +49947,30 @@ var ie = Yg.exports, Kg = function() {
|
|
|
49947
49947
|
}, t;
|
|
49948
49948
|
}(J.Component)
|
|
49949
49949
|
);
|
|
49950
|
-
const hY = (e) => /* @__PURE__ */ P("div", { className: `${gX.container}`, children: /* @__PURE__ */ P(kX, { ...Ll(fX({ label: e.label }), e) }) }), gY = ({ children: e, open: t, className: n, id: r, classNameContainer: i }) => (L.useLayoutEffect(() => {
|
|
49951
|
-
const
|
|
49952
|
-
if (!
|
|
49953
|
-
const
|
|
49954
|
-
const
|
|
49955
|
-
|
|
49950
|
+
const hY = (e) => /* @__PURE__ */ P("div", { className: `${gX.container}`, children: /* @__PURE__ */ P(kX, { ...Ll(fX({ label: e.label }), e) }) }), gY = ({ children: e, open: t, className: n, id: r, classNameContainer: i, maxCollapsedHeight: a = "0px" }) => (L.useLayoutEffect(() => {
|
|
49951
|
+
const o = document.getElementById(r), s = document.getElementById(`inner-${r}`);
|
|
49952
|
+
if (!o || !s) return;
|
|
49953
|
+
const l = new ResizeObserver(() => {
|
|
49954
|
+
const u = s.getBoundingClientRect().height;
|
|
49955
|
+
o.style.height = `${u}px`;
|
|
49956
49956
|
});
|
|
49957
49957
|
if (t) {
|
|
49958
|
-
const
|
|
49959
|
-
|
|
49958
|
+
const u = s.getBoundingClientRect().height;
|
|
49959
|
+
o.style.height = `${u}px`, l.observe(s);
|
|
49960
49960
|
} else
|
|
49961
|
-
|
|
49961
|
+
o.style.height = typeof a == "number" ? `${a}px` : a;
|
|
49962
49962
|
return () => {
|
|
49963
|
-
|
|
49963
|
+
l.disconnect();
|
|
49964
49964
|
};
|
|
49965
|
-
}, [t, r]), /* @__PURE__ */ P(
|
|
49965
|
+
}, [t, r, a]), /* @__PURE__ */ P(
|
|
49966
|
+
"div",
|
|
49967
|
+
{
|
|
49968
|
+
id: r,
|
|
49969
|
+
className: `${Uw.collapse} ${i ?? ""}`,
|
|
49970
|
+
style: { height: t ? 0 : a },
|
|
49971
|
+
children: /* @__PURE__ */ P("div", { id: `inner-${r}`, className: n ?? "", children: e })
|
|
49972
|
+
}
|
|
49973
|
+
)), PX = "_selected_dsej5_541", FX = "_error_dsej5_546", NX = "_disabled_dsej5_550", Lt = {
|
|
49966
49974
|
"container-time-range": "_container-time-range_dsej5_133",
|
|
49967
49975
|
"time-range-header": "_time-range-header_dsej5_133",
|
|
49968
49976
|
"text-to": "_text-to_dsej5_133",
|
package/dist/package.json.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ICollapseV2 } from '../../interfaces/components/Collapse';
|
|
2
2
|
|
|
3
|
-
declare const CollapseV2: ({ children, open, className, id, classNameContainer }: ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const CollapseV2: ({ children, open, className, id, classNameContainer, maxCollapsedHeight }: ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default CollapseV2;
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ children, open, className, id, classNameContainer }: import('../../interfaces/components/Collapse').ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: ({ children, open, className, id, classNameContainer, maxCollapsedHeight }: import('../../interfaces/components/Collapse').ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
@@ -67,6 +67,19 @@ declare const meta: {
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
+
maxCollapsedHeight: {
|
|
71
|
+
control: "text";
|
|
72
|
+
description: string;
|
|
73
|
+
table: {
|
|
74
|
+
category: string;
|
|
75
|
+
type: {
|
|
76
|
+
summary: string;
|
|
77
|
+
};
|
|
78
|
+
defaultValue: {
|
|
79
|
+
summary: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
70
83
|
};
|
|
71
84
|
render: (args: import('../../interfaces/components/Collapse').ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
72
85
|
};
|
|
@@ -76,4 +76,9 @@ export interface ICollapseV2 {
|
|
|
76
76
|
* [EN] : CSS class name for container (optional).
|
|
77
77
|
*/
|
|
78
78
|
classNameContainer?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* [ID] : Tinggi maksimum saat collapsed (opsional).
|
|
81
|
+
* [EN] : Maximum height when collapsed (optional).
|
|
82
|
+
*/
|
|
83
|
+
maxCollapsedHeight?: number | string;
|
|
79
84
|
}
|