helppeople-ui 1.11.4 → 1.11.6
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/my-library.cjs.js +23 -13
- package/dist/my-library.es.js +67 -57
- package/package.json +1 -1
package/dist/my-library.cjs.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* https://quilljs.com/
|
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
|
5
5
|
* Copyright (c) 2013, salesforce.com
|
|
6
|
-
*/.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.custom-rich-text-editor{position:static;z-index:1}.custom-rich-text-editor .ql-container{overflow-y:auto!important;overflow-x:hidden!important}.custom-rich-text-editor .ql-editor{overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;line-height:1.42!important}.custom-rich-text-editor.fixed-height .ql-container{height:100%!important}.custom-rich-text-editor.fixed-height .ql-editor{height:100%!important;max-height:none!important}.custom-rich-text-editor.auto-resize .ql-container{height:auto!important;min-height:inherit!important;max-height:inherit!important}.custom-rich-text-editor.auto-resize .ql-editor{height:auto!important;min-height:inherit!important;max-height:inherit!important;overflow-y:auto!important}.custom-rich-text-editor .ql-editor::-webkit-scrollbar{width:8px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.custom-rich-text-editor .ql-toolbar{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #ccc!important;flex-shrink:0!important}.custom-rich-text-editor .ql-container{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:none!important;flex:1!important;display:flex!important;flex-direction:column!important}.custom-rich-text-editor .character-counter{padding:8px 12px 4px;font-size:12px;color:#8c8c8c;text-align:right;border-top:1px solid #f0f0f0;background-color:#fafafa;flex-shrink:0}.custom-rich-text-editor .character-counter.near-limit{color:#faad14;font-weight:500}.custom-rich-text-editor .character-counter.at-limit{color:#ff4d4f;font-weight:600}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:after{content:"";display:inline-block;width:18px;height:18px;background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' xmlns='http://www.w3.org/2000/svg'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'></rect><line x1='3' y1='9' x2='21' y2='9'></line><line x1='3' y1='15' x2='21' y2='15'></line><line x1='9' y1='3' x2='9' y2='21'></line><line x1='15' y1='3' x2='15' y2='21'></line></svg>");background-size:contain;background-repeat:no-repeat;background-position:center;filter:opacity(.6)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:hover:after{filter:opacity(1)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable svg{display:none!important}.ant-collapse .ant-collapse-item .ant-collapse-header{display:flex!important;align-items:center!important}.ant-collapse .ant-collapse-item .ant-collapse-header>.ant-collapse-header-text{flex:1!important;min-width:0!important;width:0!important}.hp-transfer .ant-transfer-list{display:flex;flex-direction:column;overflow:hidden}.hp-transfer .ant-transfer-list-header{flex:0 0 auto}.hp-transfer .ant-transfer-list-body{flex:1 1 auto;overflow:auto}.hp-transfer .ant-transfer-list-pagination{flex:0 0 auto;border-top:1px solid #f0f0f0;padding:6px 10px;white-space:nowrap;display:flex;justify-content:center;align-items:center;gap:6px}.hp-transfer .ant-transfer-list:first-of-type{margin-right:16px}.hp-transfer .ant-transfer-list:last-of-type{margin-left:16px}.hp-transfer .ant-transfer-list:first-of-type .ant-transfer-list-body{border-right:1px dashed #eee}.hp-transfer .ant-transfer-list:last-of-type .ant-transfer-list-body{border-left:1px dashed #eee}.hp-transfer{width:100%!important}.hp-transfer .ant-transfer-list{width:100%!important;position:relative!important;padding-bottom:48px!important}.hp-transfer .ant-transfer-list-body{padding:0!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}.hp-transfer .ant-transfer-list-search{margin:8px!important}.hp-transfer .ant-transfer-list-content{flex:1 1 auto!important;overflow:auto!important;position:relative!important;height:100%!important}.hp-transfer .hp-transfer-footer{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;border-top:1px solid #f0f0f0!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important;bottom:0!important;left:0!important;right:0!important;z-index:3;background:#fff;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px;padding:8px 16px!important;border-top:1px solid #f0f0f0;height:48px!important;box-sizing:border-box!important}.hp-transfer .hp-transfer-footer .ant-pagination{margin:0!important}.hp-table-transfer .ant-transfer-list{display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-transfer-list-body{flex:1 1 auto!important;min-height:0!important}.hp-table-transfer .ant-transfer-list-body .ant-table-wrapper,.hp-table-transfer .ant-transfer-list-body .ant-table-container{height:100%!important;display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-table-header{position:static!important;z-index:auto!important;background:#fff!important;flex:0 0 auto!important;display:block!important;visibility:visible!important}.hp-table-transfer .ant-table-header table{margin-bottom:0!important}.hp-table-transfer .ant-table-header .ant-table-thead{display:table-header-group!important}.hp-table_transfer .ant-table-header .ant-table-thead>tr>th{display:table-cell!important;background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;font-weight:600!important;line-height:22px!important;padding:8px!important}.hp-table-transfer .ant-table-body{flex:1 1 auto!important;overflow:auto!important;padding-bottom:56px!important}.hp-table-transfer .ant-table-thead{display:table-header-group!important}.hp-table-transfer .ant-table-thead>tr>th{line-height:22px!important;padding-top:8px!important;padding-bottom:8px!important;font-weight:600!important;display:table-cell!important}.hp-table-transfer .ant-table-thead>tr>th,.hp-table-transfer .ant-table-tbody>tr>td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hp-table-transfer .ant-table-tbody>tr:hover>td{background:#fafafa!important}.hp-table-transfer .ant-table-placeholder{margin:0!important}.hp-transfer .ant-transfer-operation{gap:6px!important}.hp-transfer .ant-transfer-operation .ant-btn{border-radius:8px!important}.hp-transfer .ant-pagination-simple .ant-pagination-prev,.hp-transfer .ant-pagination-simple .ant-pagination-next{min-width:24px!important}.hp-table-transfer .ant-transfer-list-content{overflow:visible!important;height:auto!important}.hp-table-transfer .ant-table{height:100%!important}.hp-table-transfer .ant-table-header thead{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important}.hp-table-transfer .ant-table-header thead th{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;position:relative!important;z-index:1!important}.hp-transfer-no-header .ant-transfer-list-header{display:none!important}.hp-transfer-no-header .ant-transfer-list-body{padding-top:0!important}.hp-transfer .ant-pagination,.hp-transfer .ant-pagination .ant-pagination-prev,.hp-transfer .ant-pagination .ant-pagination-next{color:#000000e0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-pagination .ant-pagination-simple-pager{color:#000000e0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager input,.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager .ant-pagination-slash{display:inline-block!important;vertical-align:middle!important}.hp-transfer .ant-pagination .ant-select-dropdown,.hp-transfer .ant-pagination .ant-dropdown,.hp-transfer .ant-pagination .rc-virtual-list,.hp-transfer .ant-pagination .ant-select-selector{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown-menu,.hp-transfer .ant-pagination .ant-dropdown-menu,.hp-transfer .ant-pagination .ant-tooltip{display:block!important;position:absolute!important}.hp-transfer .ant-pagination .ant-select,.hp-transfer .ant-pagination .ant-select .ant-select-arrow{display:inline-block!important}.hp-transfer .ant-pagination .ant-select-item,.hp-transfer .ant-pagination .ant-select-item-option{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:absolute!important;z-index:1050!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative!important;display:flex!important;align-items:center!important}.hp-transfer .ant-pagination .ant-select-dropdown{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-dropdown-hidden{display:none!important}.hp-transfer .ant-transfer-list-footer{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-transfer-list-footer>*{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important}.hp-transfer .ant-pagination .ant-select-item{cursor:pointer!important;pointer-events:auto!important}.hp-transfer .ant-transfer-list-footer:before,.hp-transfer .ant-transfer-list-footer:after{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select-selector{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-pagination .ant-select-focused .ant-select-selector,.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important;outline:none!important}.hp-transfer .ant-pagination .ant-select{vertical-align:middle!important;line-height:normal!important}.hp-transfer .ant-pagination .ant-select-dropdown{margin-top:4px!important}.hp-transfer .ant-transfer-list-footer{overflow:visible!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:fixed!important;z-index:1050!important;pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-selection-search{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-disabled){cursor:pointer!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:pointer!important;transition:all .3s cubic-bezier(.645,.045,.355,1)!important}.hp-transfer{position:relative!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important}.hp-transfer .ant-pagination .ant-pagination-slash{color:#00000073!important;margin:0 8px!important}.hp-transfer .ant-pagination-simple-pager input{color:#000000e0!important;text-align:center!important;min-width:40px!important}.hp-transfer .ant-pagination-simple{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important}.hp-transfer .ant-transfer-list:first-child{border-right:1px solid #f0f0f0}.hp-transfer .ant-transfer-list-footer .ant-pagination-prev,.hp-transfer .ant-transfer-list-footer .ant-pagination-next{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important}.hp-transfer .ant-transfer-list-footer *{white-space:nowrap!important}.hp-transfer .ant-transfer-list-footer .ant-select-dropdown{z-index:1060!important}.hp-transfer.hp-table-transfer{min-height:420px!important}.hp-transfer .ant-pagination-simple-pager{color:#000000e0!important;font-weight:500!important}.hp-transfer .ant-table-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:8px 4px!important;text-align:center!important;vertical-align:middle!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{display:flex!important;width:100%!important;height:100%!important;min-height:32px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:4px!important;cursor:pointer!important}.hp-transfer .ant-table-selection-column .ant-checkbox{margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper:before{content:"";position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1!important}.hp-transfer .ant-table table{table-layout:fixed!important;width:100%!important}.hp-transfer .ant-table-header{overflow:hidden!important;background:#fff!important;z-index:2!important}.hp-transfer .ant-table-tbody>tr>td,.hp-transfer .ant-table-thead>tr>th{position:relative}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column,.hp-transfer .ant-table-thead>tr>th.ant-table-selection-column{position:relative!important;z-index:10!important;overflow:visible!important}.hp-transfer .ant-table-tbody>tr:hover>td.ant-table-selection-column{background-color:#f5f5f5!important}.hp-transfer .ant-table-selection-column .ant-checkbox-input{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:5!important}.hp-transfer .ant-table-selection-column *{pointer-events:auto!important}.hp-transfer .ant-table-selection-column{cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.hp-transfer .ant-table-selection-column:active{background-color:#e6f7ff!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{position:relative!important;z-index:15!important}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column:before{content:none!important}@media (hover: none) and (pointer: coarse){.hp-transfer .ant-table-selection-column{min-height:44px!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{min-height:44px!important;padding:8px!important}}.custom-relation-selector{width:100%}.relation-selector-card{height:100%;display:flex;flex-direction:column}.relation-selector-card .ant-card-body{flex:1;display:flex;flex-direction:column;overflow:visible!important}.relation-selector-filters{margin-bottom:0}.relation-selector-error{margin-bottom:16px}.custom-relation-selector .relation-selector-card .relation-selector-table{flex:1;margin-top:0;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-wrapper{height:auto!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-container,.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-header{overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{margin-top:0!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-body{overflow-y:auto!important;overflow-x:auto!important;position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-content{overflow:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{table-layout:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr,.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.relation-selector-action{margin-top:16px;display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid #f0f0f0}.relation-selector-list{max-height:450px;overflow-y:auto;overflow-x:hidden}.relation-selector-list .ant-list-item{padding:10px 0;transition:background-color .3s}.relation-selector-list .ant-list-item:hover{background-color:var(--background-color-light)!important;border-radius:4px}.relation-selector-loading{display:flex;justify-content:center;align-items:center;min-height:200px;padding:40px 0}@media (max-width: 768px){.relation-selector-action{justify-content:center}.relation-selector-action button{width:100%}.relation-selector-list{max-height:400px}}.custom-carousel-wrapper{width:100%}.custom-carousel-wrapper .slick-slider{position:relative}.custom-carousel-wrapper .slick-list{overflow:hidden;margin:0;padding:0}.custom-carousel-wrapper .slick-track{display:flex}.custom-carousel-wrapper .slick-dots{position:absolute;bottom:12px;display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;z-index:10}.custom-carousel-wrapper .slick-dots li{margin:0 4px}.custom-carousel-wrapper .slick-dots li button{width:16px;height:4px;border:none;border-radius:2px;background-color:#ffffff80;cursor:pointer;padding:0;transition:all .3s ease}.custom-carousel-wrapper .slick-dots li.slick-active button{width:24px;height:6px;border-radius:3px;background-color:var(--primary-color)}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{position:absolute;top:50%;transform:translateY(-50%);width:20px;height:20px;display:flex!important;align-items:center!important;justify-content:center!important;background-color:#fffc;border:1px solid var(--border-color);border-radius:50%;cursor:pointer;z-index:10;transition:all .3s ease;padding:0;color:var(--text-color);box-shadow:0 2px 4px #0000000d}.custom-carousel-wrapper .slick-prev.slick-hidden,.custom-carousel-wrapper .slick-next.slick-hidden,.custom-carousel-wrapper .slick-arrow.slick-hidden{display:none!important}.custom-carousel-wrapper .slick-prev:hover,.custom-carousel-wrapper .slick-next:hover{background-color:var(--primary-color);border-color:var(--primary-color);color:#fff}.custom-carousel-wrapper .slick-prev{left:10px}.custom-carousel-wrapper .slick-next{right:10px}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{display:flex!important;align-items:center!important;justify-content:center!important;font-size:14px!important;line-height:1!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*,.custom-carousel-wrapper .slick-prev svg,.custom-carousel-wrapper .slick-next svg{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important;width:10px!important;height:10px!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important}.custom-carousel-wrapper .slick-prev:before,.custom-carousel-wrapper .slick-next:before{display:none!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{width:10px!important;height:10px!important;position:static!important;margin:auto!important;inset:auto!important;display:block!important}.custom-carousel-wrapper .slick-prev:after{margin-right:5px!important}.custom-carousel-wrapper .slick-next:after{margin-left:5px!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{font-size:14px!important;width:8px!important;height:8px!important;line-height:1!important;background-size:contain!important}.custom-carousel-wrapper .slick-slide>div{width:100%}.custom-carousel-wrapper .slick-slide.slick-active{width:100%}.library-components-wrapper .ant-tree{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important;background:transparent!important}.library-components-wrapper .ant-tree .ant-tree-treenode{padding-bottom:2px!important;align-items:center!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper:hover{background-color:var(--background-color-light)!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:var(--primary-color)!important;color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-title{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-tree .ant-tree-switcher{color:var(--text-color)!important}.library-components-wrapper .ant-tree .ant-tree-switcher-noop{color:var(--text-color-disabled)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox .ant-tree-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;border-color:var(--border-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:var(--primary-hover)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-indent-unit:before{border-color:var(--border-color)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-switcher{color:var(--text-color)!important;background-color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:var(--text-color-disabled)!important;cursor:not-allowed!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background-color:transparent!important}.library-components-wrapper .ant-tree .ant-tree-iconEle{color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-node-selected .ant-tree-iconEle{color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-draggable-icon{color:var(--text-color-disabled)!important;opacity:.6!important}.library-components-wrapper .ant-tree .ant-tree-drop-indicator{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:before{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background-color:var(--background-color-light)!important}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
6
|
+
*/.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.custom-rich-text-editor{position:static;z-index:1}.custom-rich-text-editor .ql-container{overflow-y:auto!important;overflow-x:hidden!important}.custom-rich-text-editor .ql-editor{overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;line-height:1.42!important}.custom-rich-text-editor.fixed-height .ql-container{height:100%!important}.custom-rich-text-editor.fixed-height .ql-editor{height:100%!important;max-height:none!important}.custom-rich-text-editor.auto-resize .ql-container{height:auto!important;min-height:inherit!important;max-height:inherit!important}.custom-rich-text-editor.auto-resize .ql-editor{height:auto!important;min-height:inherit!important;max-height:inherit!important;overflow-y:auto!important}.custom-rich-text-editor .ql-editor::-webkit-scrollbar{width:8px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.custom-rich-text-editor .ql-editor::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.custom-rich-text-editor .ql-toolbar{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:1px solid #ccc!important;flex-shrink:0!important}.custom-rich-text-editor .ql-container{border-top:none!important;border-left:none!important;border-right:none!important;border-bottom:none!important;flex:1!important;display:flex!important;flex-direction:column!important}.custom-rich-text-editor .character-counter{padding:8px 12px 4px;font-size:12px;color:#8c8c8c;text-align:right;border-top:1px solid #f0f0f0;background-color:#fafafa;flex-shrink:0}.custom-rich-text-editor .character-counter.near-limit{color:#faad14;font-weight:500}.custom-rich-text-editor .character-counter.at-limit{color:#ff4d4f;font-weight:600}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:after{content:"";display:inline-block;width:18px;height:18px;background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' xmlns='http://www.w3.org/2000/svg'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'></rect><line x1='3' y1='9' x2='21' y2='9'></line><line x1='3' y1='15' x2='21' y2='15'></line><line x1='9' y1='3' x2='9' y2='21'></line><line x1='15' y1='3' x2='15' y2='21'></line></svg>");background-size:contain;background-repeat:no-repeat;background-position:center;filter:opacity(.6)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable:hover:after{filter:opacity(1)}.custom-rich-text-editor .ql-toolbar button.ql-insertTable svg{display:none!important}.ant-collapse .ant-collapse-item .ant-collapse-header{display:flex!important;align-items:center!important}.ant-collapse .ant-collapse-item .ant-collapse-header>.ant-collapse-header-text{flex:1!important;min-width:0!important;width:0!important;overflow:hidden!important}.hp-transfer .ant-transfer-list{display:flex;flex-direction:column;overflow:hidden}.hp-transfer .ant-transfer-list-header{flex:0 0 auto}.hp-transfer .ant-transfer-list-body{flex:1 1 auto;overflow:auto}.hp-transfer .ant-transfer-list-pagination{flex:0 0 auto;border-top:1px solid #f0f0f0;padding:6px 10px;white-space:nowrap;display:flex;justify-content:center;align-items:center;gap:6px}.hp-transfer .ant-transfer-list:first-of-type{margin-right:16px}.hp-transfer .ant-transfer-list:last-of-type{margin-left:16px}.hp-transfer .ant-transfer-list:first-of-type .ant-transfer-list-body{border-right:1px dashed #eee}.hp-transfer .ant-transfer-list:last-of-type .ant-transfer-list-body{border-left:1px dashed #eee}.hp-transfer{width:100%!important}.hp-transfer .ant-transfer-list{width:100%!important;position:relative!important;padding-bottom:48px!important}.hp-transfer .ant-transfer-list-body{padding:0!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}.hp-transfer .ant-transfer-list-search{margin:8px!important}.hp-transfer .ant-transfer-list-content{flex:1 1 auto!important;overflow:auto!important;position:relative!important;height:100%!important}.hp-transfer .hp-transfer-footer{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;border-top:1px solid #f0f0f0!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important;bottom:0!important;left:0!important;right:0!important;z-index:3;background:#fff;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px;padding:8px 16px!important;border-top:1px solid #f0f0f0;height:48px!important;box-sizing:border-box!important}.hp-transfer .hp-transfer-footer .ant-pagination{margin:0!important}.hp-table-transfer .ant-transfer-list{display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-transfer-list-body{flex:1 1 auto!important;min-height:0!important}.hp-table-transfer .ant-transfer-list-body .ant-table-wrapper,.hp-table-transfer .ant-transfer-list-body .ant-table-container{height:100%!important;display:flex!important;flex-direction:column!important}.hp-table-transfer .ant-table-header{position:static!important;z-index:auto!important;background:#fff!important;flex:0 0 auto!important;display:block!important;visibility:visible!important}.hp-table-transfer .ant-table-header table{margin-bottom:0!important}.hp-table-transfer .ant-table-header .ant-table-thead{display:table-header-group!important}.hp-table_transfer .ant-table-header .ant-table-thead>tr>th{display:table-cell!important;background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;font-weight:600!important;line-height:22px!important;padding:8px!important}.hp-table-transfer .ant-table-body{flex:1 1 auto!important;overflow:auto!important;padding-bottom:56px!important}.hp-table-transfer .ant-table-thead{display:table-header-group!important}.hp-table-transfer .ant-table-thead>tr>th{line-height:22px!important;padding-top:8px!important;padding-bottom:8px!important;font-weight:600!important;display:table-cell!important}.hp-table-transfer .ant-table-thead>tr>th,.hp-table-transfer .ant-table-tbody>tr>td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.hp-table-transfer .ant-table-tbody>tr:hover>td{background:#fafafa!important}.hp-table-transfer .ant-table-placeholder{margin:0!important}.hp-transfer .ant-transfer-operation{gap:6px!important}.hp-transfer .ant-transfer-operation .ant-btn{border-radius:8px!important}.hp-transfer .ant-pagination-simple .ant-pagination-prev,.hp-transfer .ant-pagination-simple .ant-pagination-next{min-width:24px!important}.hp-table-transfer .ant-transfer-list-content{overflow:visible!important;height:auto!important}.hp-table-transfer .ant-table{height:100%!important}.hp-table-transfer .ant-table-header thead{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important}.hp-table-transfer .ant-table-header thead th{background:#fafafa!important;border-bottom:1px solid #f0f0f0!important;position:relative!important;z-index:1!important}.hp-transfer-no-header .ant-transfer-list-header{display:none!important}.hp-transfer-no-header .ant-transfer-list-body{padding-top:0!important}.hp-transfer .ant-pagination,.hp-transfer .ant-pagination .ant-pagination-prev,.hp-transfer .ant-pagination .ant-pagination-next{color:#000000e0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-pagination .ant-pagination-simple-pager{color:#000000e0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager input,.hp-transfer .ant-pagination-simple .ant-pagination-simple-pager .ant-pagination-slash{display:inline-block!important;vertical-align:middle!important}.hp-transfer .ant-pagination .ant-select-dropdown,.hp-transfer .ant-pagination .ant-dropdown,.hp-transfer .ant-pagination .rc-virtual-list,.hp-transfer .ant-pagination .ant-select-selector{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown-menu,.hp-transfer .ant-pagination .ant-dropdown-menu,.hp-transfer .ant-pagination .ant-tooltip{display:block!important;position:absolute!important}.hp-transfer .ant-pagination .ant-select,.hp-transfer .ant-pagination .ant-select .ant-select-arrow{display:inline-block!important}.hp-transfer .ant-pagination .ant-select-item,.hp-transfer .ant-pagination .ant-select-item-option{display:block!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:absolute!important;z-index:1050!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative!important;display:flex!important;align-items:center!important}.hp-transfer .ant-pagination .ant-select-dropdown{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-dropdown-hidden{display:none!important}.hp-transfer .ant-transfer-list-footer{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-transfer-list-footer>*{pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important}.hp-transfer .ant-pagination .ant-select-item{cursor:pointer!important;pointer-events:auto!important}.hp-transfer .ant-transfer-list-footer:before,.hp-transfer .ant-transfer-list-footer:after{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select-selector{pointer-events:auto!important;position:relative!important}.hp-transfer .ant-pagination .ant-select-focused .ant-select-selector,.hp-transfer .ant-pagination .ant-select-open .ant-select-selector{border-color:#1890ff!important;box-shadow:0 0 0 2px #1890ff33!important;outline:none!important}.hp-transfer .ant-pagination .ant-select{vertical-align:middle!important;line-height:normal!important}.hp-transfer .ant-pagination .ant-select-dropdown{margin-top:4px!important}.hp-transfer .ant-transfer-list-footer{overflow:visible!important}.hp-transfer .ant-pagination .ant-select-dropdown{position:fixed!important;z-index:1050!important;pointer-events:auto!important}.hp-transfer .ant-pagination .ant-select-selection-search{pointer-events:none!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-disabled){cursor:pointer!important}.hp-transfer .ant-pagination .ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:pointer!important;transition:all .3s cubic-bezier(.645,.045,.355,1)!important}.hp-transfer{position:relative!important}.hp-transfer .ant-transfer-list-footer{position:absolute!important}.hp-transfer .ant-pagination .ant-pagination-slash{color:#00000073!important;margin:0 8px!important}.hp-transfer .ant-pagination-simple-pager input{color:#000000e0!important;text-align:center!important;min-width:40px!important}.hp-transfer .ant-pagination-simple{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important}.hp-transfer .ant-transfer-list:first-child{border-right:1px solid #f0f0f0}.hp-transfer .ant-transfer-list-footer .ant-pagination-prev,.hp-transfer .ant-transfer-list-footer .ant-pagination-next{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important}.hp-transfer .ant-transfer-list-footer *{white-space:nowrap!important}.hp-transfer .ant-transfer-list-footer .ant-select-dropdown{z-index:1060!important}.hp-transfer.hp-table-transfer{min-height:420px!important}.hp-transfer .ant-pagination-simple-pager{color:#000000e0!important;font-weight:500!important}.hp-transfer .ant-table-selection-column{width:48px!important;min-width:48px!important;max-width:48px!important;padding:8px 4px!important;text-align:center!important;vertical-align:middle!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{display:flex!important;width:100%!important;height:100%!important;min-height:32px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:4px!important;cursor:pointer!important}.hp-transfer .ant-table-selection-column .ant-checkbox{margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper:before{content:"";position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1!important}.hp-transfer .ant-table table{table-layout:fixed!important;width:100%!important}.hp-transfer .ant-table-header{overflow:hidden!important;background:#fff!important;z-index:2!important}.hp-transfer .ant-table-tbody>tr>td,.hp-transfer .ant-table-thead>tr>th{position:relative}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column,.hp-transfer .ant-table-thead>tr>th.ant-table-selection-column{position:relative!important;z-index:10!important;overflow:visible!important}.hp-transfer .ant-table-tbody>tr:hover>td.ant-table-selection-column{background-color:#f5f5f5!important}.hp-transfer .ant-table-selection-column .ant-checkbox-input{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:5!important}.hp-transfer .ant-table-selection-column *{pointer-events:auto!important}.hp-transfer .ant-table-selection-column{cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.hp-transfer .ant-table-selection-column:active{background-color:#e6f7ff!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{position:relative!important;z-index:15!important}.hp-transfer .ant-table-tbody>tr>td.ant-table-selection-column:before{content:none!important}@media (hover: none) and (pointer: coarse){.hp-transfer .ant-table-selection-column{min-height:44px!important}.hp-transfer .ant-table-selection-column .ant-checkbox-wrapper{min-height:44px!important;padding:8px!important}}.custom-relation-selector{width:100%}.relation-selector-card{height:100%;display:flex;flex-direction:column}.relation-selector-card .ant-card-body{flex:1;display:flex;flex-direction:column;overflow:visible!important}.relation-selector-filters{margin-bottom:0}.relation-selector-error{margin-bottom:16px}.custom-relation-selector .relation-selector-card .relation-selector-table{flex:1;margin-top:0;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-wrapper{height:auto!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-container,.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-header{overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{margin-top:0!important;overflow:visible!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-body{overflow-y:auto!important;overflow-x:auto!important;position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-content{overflow:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead{position:sticky!important;top:0!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr{position:relative!important;z-index:3!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:3!important;visibility:visible!important;opacity:1!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col[style*="width: 0px"]{width:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table colgroup col{visibility:visible!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table{table-layout:auto!important}.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr,.library-components-wrapper .custom-relation-selector .relation-selector-card .relation-selector-table .ant-table-tbody>tr>td{position:relative!important;z-index:1!important}.relation-selector-action{margin-top:16px;display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid #f0f0f0}.relation-selector-list{max-height:450px;overflow-y:auto;overflow-x:hidden}.relation-selector-list .ant-list-item{padding:10px 0;transition:background-color .3s}.relation-selector-list .ant-list-item:hover{background-color:var(--background-color-light)!important;border-radius:4px}.relation-selector-loading{display:flex;justify-content:center;align-items:center;min-height:200px;padding:40px 0}@media (max-width: 768px){.relation-selector-action{justify-content:center}.relation-selector-action button{width:100%}.relation-selector-list{max-height:400px}}.custom-carousel-wrapper{width:100%}.custom-carousel-wrapper .slick-slider{position:relative}.custom-carousel-wrapper .slick-list{overflow:hidden;margin:0;padding:0}.custom-carousel-wrapper .slick-track{display:flex}.custom-carousel-wrapper .slick-dots{position:absolute;bottom:12px;display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;z-index:10}.custom-carousel-wrapper .slick-dots li{margin:0 4px}.custom-carousel-wrapper .slick-dots li button{width:16px;height:4px;border:none;border-radius:2px;background-color:#ffffff80;cursor:pointer;padding:0;transition:all .3s ease}.custom-carousel-wrapper .slick-dots li.slick-active button{width:24px;height:6px;border-radius:3px;background-color:var(--primary-color)}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{position:absolute;top:50%;transform:translateY(-50%);width:20px;height:20px;display:flex!important;align-items:center!important;justify-content:center!important;background-color:#fffc;border:1px solid var(--border-color);border-radius:50%;cursor:pointer;z-index:10;transition:all .3s ease;padding:0;color:var(--text-color);box-shadow:0 2px 4px #0000000d}.custom-carousel-wrapper .slick-prev.slick-hidden,.custom-carousel-wrapper .slick-next.slick-hidden,.custom-carousel-wrapper .slick-arrow.slick-hidden{display:none!important}.custom-carousel-wrapper .slick-prev:hover,.custom-carousel-wrapper .slick-next:hover{background-color:var(--primary-color);border-color:var(--primary-color);color:#fff}.custom-carousel-wrapper .slick-prev{left:10px}.custom-carousel-wrapper .slick-next{right:10px}.custom-carousel-wrapper .slick-prev,.custom-carousel-wrapper .slick-next{display:flex!important;align-items:center!important;justify-content:center!important;font-size:14px!important;line-height:1!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*,.custom-carousel-wrapper .slick-prev svg,.custom-carousel-wrapper .slick-next svg{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important;width:10px!important;height:10px!important}.custom-carousel-wrapper .slick-prev>*,.custom-carousel-wrapper .slick-next>*{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;inset:auto!important;font-size:10px!important}.custom-carousel-wrapper .slick-prev:before,.custom-carousel-wrapper .slick-next:before{display:none!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{width:10px!important;height:10px!important;position:static!important;margin:auto!important;inset:auto!important;display:block!important}.custom-carousel-wrapper .slick-prev:after{margin-right:5px!important}.custom-carousel-wrapper .slick-next:after{margin-left:5px!important}.custom-carousel-wrapper .slick-prev:after,.custom-carousel-wrapper .slick-next:after{font-size:14px!important;width:8px!important;height:8px!important;line-height:1!important;background-size:contain!important}.custom-carousel-wrapper .slick-slide>div{width:100%}.custom-carousel-wrapper .slick-slide.slick-active{width:100%}.library-components-wrapper .ant-tree{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important;color:var(--text-color)!important;background:transparent!important}.library-components-wrapper .ant-tree .ant-tree-treenode{padding-bottom:2px!important;align-items:center!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper:hover{background-color:var(--background-color-light)!important}.library-components-wrapper .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:var(--primary-color)!important;color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-title{font-size:var(--font-size-medium)!important;font-family:var(--font-family)!important}.library-components-wrapper .ant-tree .ant-tree-switcher{color:var(--text-color)!important}.library-components-wrapper .ant-tree .ant-tree-switcher-noop{color:var(--text-color-disabled)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox .ant-tree-checkbox-inner{width:var(--checkbox-size)!important;height:var(--checkbox-size)!important;border-color:var(--border-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:var(--primary-hover)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-indent-unit:before{border-color:var(--border-color)!important}.library-components-wrapper .ant-tree-show-line .ant-tree-switcher{color:var(--text-color)!important;background-color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:var(--text-color-disabled)!important;cursor:not-allowed!important}.library-components-wrapper .ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background-color:transparent!important}.library-components-wrapper .ant-tree .ant-tree-iconEle{color:var(--primary-color)!important}.library-components-wrapper .ant-tree .ant-tree-node-selected .ant-tree-iconEle{color:#fff!important}.library-components-wrapper .ant-tree .ant-tree-draggable-icon{color:var(--text-color-disabled)!important;opacity:.6!important}.library-components-wrapper .ant-tree .ant-tree-drop-indicator{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background-color:var(--primary-color)!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:before{border-radius:4px!important}.library-components-wrapper .ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background-color:var(--background-color-light)!important}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
7
7
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("antd"),k=require("react"),Fe=require("dayjs"),Ft=require("@fullcalendar/react"),Bt=require("@fullcalendar/daygrid"),At=require("@fullcalendar/timegrid"),$t=require("@fullcalendar/interaction"),Qe=require("react-quill"),ye=require("react-beautiful-dnd");function Pt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const b=Pt(k),Vt=e=>n.jsx(a.Alert,{...e}),G=({className:e,text:t,type:r,onClick:o,icon:s,style:i,disabled:l=!1,loading:f=!1,danger:d=!1,onMouseEnter:c,htmlType:h="button",badge:u,tooltip:p})=>{const m=n.jsx(a.Button,{danger:d,type:r,onClick:o,icon:s,style:{...i,fontSize:"var(--font-size-medium)",fontWeight:"var(--font-weight-semibold",fontFamily:"var(--font-family)"},size:"small",disabled:l,loading:f,className:`${e||""}`,onMouseEnter:c,htmlType:h,children:t});let x=m;return u&&(x=n.jsx(a.Badge,{count:u.text||u.count,dot:u.dot,color:u.color,showZero:u.showZero,overflowCount:u.overflowCount,offset:u.offset,children:m})),p?n.jsx(a.Tooltip,{title:p,children:x}):x},Yt=({size:e="default",shape:t="circle",src:r,icon:o,alt:s,children:i,style:l,className:f,gap:d,...c})=>n.jsx(a.Avatar,{size:e,shape:t,src:r,icon:o,alt:s,style:{fontSize:"var(--font-size-medium)",...l},className:f,gap:d,...c,children:i}),Wt=({size:e="default",shape:t="circle",max:r,className:o,style:s,children:i})=>n.jsx(a.Avatar.Group,{size:e,shape:t,max:r,className:o,style:{fontSize:"var(--font-size-medium)",...s},children:i}),Je=({label:e,...t})=>n.jsx(a.Checkbox,{...t,children:e}),qt=({groupLabel:e,direction:t="horizontal",style:r,...o})=>{const s={...r,...t==="vertical"&&{display:"flex",flexDirection:"column",gap:"8px"}};return n.jsxs("div",{children:[e&&n.jsx("div",{style:{marginBottom:"8px",fontWeight:"500"},children:e}),n.jsx(a.Checkbox.Group,{...o,style:s})]})};Je.Group=qt;function J(e){"@babel/helpers - typeof";return J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J(e)}function Gt(e,t){if(J(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(J(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ut(e){var t=Gt(e,"string");return J(t)=="symbol"?t:t+""}function $(e,t,r){return(t=Ut(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,o)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Be(Object(r),!0).forEach(function(o){$(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Be(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}var ke={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Kt=F(F({},ke),{},{locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",week:"Semana",month:"Mes",year:"Año",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un año",decadeSelect:"Elegir una década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"Año anterior (Control + left)",nextYear:"Año siguiente (Control + right)",previousDecade:"Década anterior",nextDecade:"Década siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"});const Xt={placeholder:"Seleccionar hora"},Zt={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"],shortWeekDays:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],shortMonths:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]},Kt),timePickerLocale:Object.assign({},Xt)};var Qt=F(F({},ke),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const Jt={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},er={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Qt),timePickerLocale:Object.assign({},Jt)};var tr=F(F({},ke),{},{locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"OK",clear:"Limpar",week:"Semana",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher mês",yearSelect:"Escolher ano",decadeSelect:"Escolher década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Próximo mês (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Próximo ano (Control + direita)",previousDecade:"Década anterior",nextDecade:"Próxima década",previousCentury:"Século anterior",nextCentury:"Próximo século",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]});const rr={placeholder:"Hora"},nr={lang:Object.assign({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},tr),timePickerLocale:Object.assign({},rr)},et={es:Zt,en:er,pt:nr},tt=k.forwardRef(({localeCode:e="es",label:t,required:r,...o},s)=>{const i=et[e],l=n.jsx(a.DatePicker,{ref:s,...o,locale:i});return t?n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[r&&n.jsx("span",{style:{color:"red"},children:"* "}),t]}),l]}):l});tt.displayName="CustomDatePicker";const rt=k.forwardRef(({localeCode:e="es",label:t,required:r,...o},s)=>{const i=et[e],l=n.jsx(a.DatePicker.RangePicker,{ref:s,...o,locale:i});return t?n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[r&&n.jsx("span",{style:{color:"red"},children:"* "}),t]}),l]}):l});rt.displayName="CustomDatePicker.RangePicker";const fe=tt;fe.RangePicker=rt;function nt(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=nt(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function or(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=nt(e))&&(o&&(o+=" "),o+=t);return o}const sr=({text:e,textPosition:t="center",type:r="horizontal",className:o,...s})=>n.jsx(a.Divider,{...s,orientation:r==="horizontal"?t:void 0,type:r,className:or("hp-divider text-sm font-semibold",o),children:e}),ir=({title:e,children:t,...r})=>n.jsx(a.Drawer,{title:e,...r,children:t});var ot=k.createContext({});function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},_.apply(null,arguments)}function ar(e){if(Array.isArray(e))return e}function lr(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,s,i,l,f=[],d=!0,c=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(d=(o=i.call(r)).done)&&(f.push(o.value),f.length!==t);d=!0);}catch(h){c=!0,s=h}finally{try{if(!d&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw s}}return f}}function Ae(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function cr(e,t){if(e){if(typeof e=="string")return Ae(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ae(e,t):void 0}}function dr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
8
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function st(e,t){return ar(e)||lr(e,t)||cr(e,t)||dr()}function ur(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function it(e,t){if(e==null)return{};var r,o,s=ur(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function fr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ve={exports:{}};/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
11
11
|
http://jedwatson.github.io/classnames
|
|
12
|
-
*/var $e;function hr(){return $e||($e=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",l=0;l<arguments.length;l++){var f=arguments[l];f&&(i=s(i,o(f)))}return i}function o(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var l="";for(var f in i)t.call(i,f)&&i[f]&&(l=s(l,f));return l}function s(i,l){return l?i?i+" "+l:i+l:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ve)),ve.exports}var mr=hr();const pr=fr(mr),I=Math.round;function be(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)o[s]=t(o[s]||0,r[s]||"",s);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}const Pe=(e,t,r)=>r===0?e:e/100;function ae(e,t){const r=t||255;return e>r?r:e<0?0:e}class re{constructor(t){$(this,"isValid",!0),$(this,"r",0),$(this,"g",0),$(this,"b",0),$(this,"a",1),$(this,"_h",void 0),$(this,"_s",void 0),$(this,"_l",void 0),$(this,"_v",void 0),$(this,"_max",void 0),$(this,"_min",void 0),$(this,"_brightness",void 0);function r(o){return o[0]in t&&o[1]in t&&o[2]in t}if(t)if(typeof t=="string"){let s=function(i){return o.startsWith(i)};const o=t.trim();/^#?[A-F\d]{3,8}$/i.test(o)?this.fromHexString(o):s("rgb")?this.fromRgbString(o):s("hsl")?this.fromHslString(o):(s("hsv")||s("hsb"))&&this.fromHsvString(o)}else if(t instanceof re)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=ae(t.r),this.g=ae(t.g),this.b=ae(t.b),this.a=typeof t.a=="number"?ae(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const l=i/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}const r=t(this.r),o=t(this.g),s=t(this.b);return .2126*r+.7152*o+.0722*s}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=I(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()-t/100;return s<0&&(s=0),this._c({h:r,s:o,l:s,a:this.a})}lighten(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()+t/100;return s>1&&(s=1),this._c({h:r,s:o,l:s,a:this.a})}mix(t,r=50){const o=this._c(t),s=r/100,i=f=>(o[f]-this[f])*s+this[f],l={r:I(i("r")),g:I(i("g")),b:I(i("b")),a:I(i("a")*100)/100};return this._c(l)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),o=this.a+r.a*(1-this.a),s=i=>I((this[i]*this.a+r[i]*r.a*(1-this.a))/o);return this._c({r:s("r"),g:s("g"),b:s("b"),a:o})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const o=(this.g||0).toString(16);t+=o.length===2?o:"0"+o;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=I(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=I(this.getSaturation()*100),o=I(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${o}%,${this.a})`:`hsl(${t},${r}%,${o}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,o){const s=this.clone();return s[t]=ae(r,o),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function o(s,i){return parseInt(r[s]+r[i||s],16)}r.length<6?(this.r=o(0),this.g=o(1),this.b=o(2),this.a=r[3]?o(3)/255:1):(this.r=o(0,1),this.g=o(2,3),this.b=o(4,5),this.a=r[6]?o(6,7)/255:1)}fromHsl({h:t,s:r,l:o,a:s}){if(this._h=t%360,this._s=r,this._l=o,this.a=typeof s=="number"?s:1,r<=0){const p=I(o*255);this.r=p,this.g=p,this.b=p}let i=0,l=0,f=0;const d=t/60,c=(1-Math.abs(2*o-1))*r,h=c*(1-Math.abs(d%2-1));d>=0&&d<1?(i=c,l=h):d>=1&&d<2?(i=h,l=c):d>=2&&d<3?(l=c,f=h):d>=3&&d<4?(l=h,f=c):d>=4&&d<5?(i=h,f=c):d>=5&&d<6&&(i=c,f=h);const u=o-c/2;this.r=I((i+u)*255),this.g=I((l+u)*255),this.b=I((f+u)*255)}fromHsv({h:t,s:r,v:o,a:s}){this._h=t%360,this._s=r,this._v=o,this.a=typeof s=="number"?s:1;const i=I(o*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const l=t/60,f=Math.floor(l),d=l-f,c=I(o*(1-r)*255),h=I(o*(1-r*d)*255),u=I(o*(1-r*(1-d))*255);switch(f){case 0:this.g=u,this.b=c;break;case 1:this.r=h,this.b=c;break;case 2:this.r=c,this.b=u;break;case 3:this.r=c,this.g=h;break;case 4:this.r=u,this.g=c;break;case 5:default:this.g=c,this.b=h;break}}fromHsvString(t){const r=be(t,Pe);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=be(t,Pe);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=be(t,(o,s)=>s.includes("%")?I(o/100*255):o);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var ue=2,Ve=.16,gr=.05,xr=.05,yr=.15,at=5,lt=4,vr=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Ye(e,t,r){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=r?Math.round(e.h)-ue*t:Math.round(e.h)+ue*t:o=r?Math.round(e.h)+ue*t:Math.round(e.h)-ue*t,o<0?o+=360:o>=360&&(o-=360),o}function We(e,t,r){if(e.h===0&&e.s===0)return e.s;var o;return r?o=e.s-Ve*t:t===lt?o=e.s+Ve:o=e.s+gr*t,o>1&&(o=1),r&&t===at&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(o*100)/100}function qe(e,t,r){var o;return r?o=e.v+xr*t:o=e.v-yr*t,o=Math.max(0,Math.min(1,o)),Math.round(o*100)/100}function br(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=new re(e),s=o.toHsv(),i=at;i>0;i-=1){var l=new re({h:Ye(s,i,!0),s:We(s,i,!0),v:qe(s,i,!0)});r.push(l)}r.push(o);for(var f=1;f<=lt;f+=1){var d=new re({h:Ye(s,f),s:We(s,f),v:qe(s,f)});r.push(d)}return t.theme==="dark"?vr.map(function(c){var h=c.index,u=c.amount;return new re(t.backgroundColor||"#141414").mix(r[h],u).toHexString()}):r.map(function(c){return c.toHexString()})}var je=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];je.primary=je[5];function jr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Cr(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Ge="data-rc-order",Ue="data-rc-priority",Sr="rc-util-key",Ce=new Map;function ct(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Sr}function Oe(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function wr(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Te(e){return Array.from((Ce.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function dt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!jr())return null;var r=t.csp,o=t.prepend,s=t.priority,i=s===void 0?0:s,l=wr(o),f=l==="prependQueue",d=document.createElement("style");d.setAttribute(Ge,l),f&&i&&d.setAttribute(Ue,"".concat(i)),r!=null&&r.nonce&&(d.nonce=r==null?void 0:r.nonce),d.innerHTML=e;var c=Oe(t),h=c.firstChild;if(o){if(f){var u=(t.styles||Te(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Ge)))return!1;var m=Number(p.getAttribute(Ue)||0);return i>=m});if(u.length)return c.insertBefore(d,u[u.length-1].nextSibling),d}c.insertBefore(d,h)}else c.appendChild(d);return d}function kr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Oe(t);return(t.styles||Te(r)).find(function(o){return o.getAttribute(ct(t))===e})}function Or(e,t){var r=Ce.get(e);if(!r||!Cr(document,r)){var o=dt("",t),s=o.parentNode;Ce.set(e,s),e.removeChild(o)}}function Tr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Oe(r),s=Te(o),i=F(F({},r),{},{styles:s});Or(o,i);var l=kr(t,i);if(l){var f,d;if((f=i.csp)!==null&&f!==void 0&&f.nonce&&l.nonce!==((d=i.csp)===null||d===void 0?void 0:d.nonce)){var c;l.nonce=(c=i.csp)===null||c===void 0?void 0:c.nonce}return l.innerHTML!==e&&(l.innerHTML=e),l}var h=dt(e,i);return h.setAttribute(ct(i),t),h}function ut(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function zr(e){return ut(e)instanceof ShadowRoot}function Er(e){return zr(e)?ut(e):null}var Se={},ze=[],Nr=function(t){ze.push(t)};function Dr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ze.reduce(function(o,s){return s(o??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Mr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ze.reduce(function(o,s){return s(o??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Rr(){Se={}}function ft(e,t,r){!t&&!Se[r]&&(e(!1,r),Se[r]=!0)}function pe(e,t){ft(Dr,e,t)}function Ir(e,t){ft(Mr,e,t)}pe.preMessage=Nr;pe.resetWarned=Rr;pe.noteOnce=Ir;function _r(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Hr(e,t){pe(e,"[@ant-design/icons] ".concat(t))}function Ke(e){return J(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(J(e.icon)==="object"||typeof e.icon=="function")}function Xe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var o=e[r];switch(r){case"class":t.className=o,delete t.class;break;default:delete t[r],t[_r(r)]=o}return t},{})}function we(e,t,r){return r?k.createElement(e.tag,F(F({key:t},Xe(e.attrs)),r),(e.children||[]).map(function(o,s){return we(o,"".concat(t,"-").concat(e.tag,"-").concat(s))})):k.createElement(e.tag,F({key:t},Xe(e.attrs)),(e.children||[]).map(function(o,s){return we(o,"".concat(t,"-").concat(e.tag,"-").concat(s))}))}function ht(e){return br(e)[0]}function mt(e){return e?Array.isArray(e)?e:[e]:[]}var Lr=`
|
|
12
|
+
*/var $e;function hr(){return $e||($e=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",l=0;l<arguments.length;l++){var f=arguments[l];f&&(i=s(i,o(f)))}return i}function o(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var l="";for(var f in i)t.call(i,f)&&i[f]&&(l=s(l,f));return l}function s(i,l){return l?i?i+" "+l:i+l:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(ve)),ve.exports}var mr=hr();const pr=fr(mr),I=Math.round;function be(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)o[s]=t(o[s]||0,r[s]||"",s);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}const Pe=(e,t,r)=>r===0?e:e/100;function ae(e,t){const r=t||255;return e>r?r:e<0?0:e}class re{constructor(t){$(this,"isValid",!0),$(this,"r",0),$(this,"g",0),$(this,"b",0),$(this,"a",1),$(this,"_h",void 0),$(this,"_s",void 0),$(this,"_l",void 0),$(this,"_v",void 0),$(this,"_max",void 0),$(this,"_min",void 0),$(this,"_brightness",void 0);function r(o){return o[0]in t&&o[1]in t&&o[2]in t}if(t)if(typeof t=="string"){let s=function(i){return o.startsWith(i)};const o=t.trim();/^#?[A-F\d]{3,8}$/i.test(o)?this.fromHexString(o):s("rgb")?this.fromRgbString(o):s("hsl")?this.fromHslString(o):(s("hsv")||s("hsb"))&&this.fromHsvString(o)}else if(t instanceof re)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=ae(t.r),this.g=ae(t.g),this.b=ae(t.b),this.a=typeof t.a=="number"?ae(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const l=i/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}const r=t(this.r),o=t(this.g),s=t(this.b);return .2126*r+.7152*o+.0722*s}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=I(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()-t/100;return s<0&&(s=0),this._c({h:r,s:o,l:s,a:this.a})}lighten(t=10){const r=this.getHue(),o=this.getSaturation();let s=this.getLightness()+t/100;return s>1&&(s=1),this._c({h:r,s:o,l:s,a:this.a})}mix(t,r=50){const o=this._c(t),s=r/100,i=f=>(o[f]-this[f])*s+this[f],l={r:I(i("r")),g:I(i("g")),b:I(i("b")),a:I(i("a")*100)/100};return this._c(l)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),o=this.a+r.a*(1-this.a),s=i=>I((this[i]*this.a+r[i]*r.a*(1-this.a))/o);return this._c({r:s("r"),g:s("g"),b:s("b"),a:o})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const o=(this.g||0).toString(16);t+=o.length===2?o:"0"+o;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=I(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=I(this.getSaturation()*100),o=I(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${o}%,${this.a})`:`hsl(${t},${r}%,${o}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,o){const s=this.clone();return s[t]=ae(r,o),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function o(s,i){return parseInt(r[s]+r[i||s],16)}r.length<6?(this.r=o(0),this.g=o(1),this.b=o(2),this.a=r[3]?o(3)/255:1):(this.r=o(0,1),this.g=o(2,3),this.b=o(4,5),this.a=r[6]?o(6,7)/255:1)}fromHsl({h:t,s:r,l:o,a:s}){if(this._h=t%360,this._s=r,this._l=o,this.a=typeof s=="number"?s:1,r<=0){const p=I(o*255);this.r=p,this.g=p,this.b=p}let i=0,l=0,f=0;const d=t/60,c=(1-Math.abs(2*o-1))*r,h=c*(1-Math.abs(d%2-1));d>=0&&d<1?(i=c,l=h):d>=1&&d<2?(i=h,l=c):d>=2&&d<3?(l=c,f=h):d>=3&&d<4?(l=h,f=c):d>=4&&d<5?(i=h,f=c):d>=5&&d<6&&(i=c,f=h);const u=o-c/2;this.r=I((i+u)*255),this.g=I((l+u)*255),this.b=I((f+u)*255)}fromHsv({h:t,s:r,v:o,a:s}){this._h=t%360,this._s=r,this._v=o,this.a=typeof s=="number"?s:1;const i=I(o*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const l=t/60,f=Math.floor(l),d=l-f,c=I(o*(1-r)*255),h=I(o*(1-r*d)*255),u=I(o*(1-r*(1-d))*255);switch(f){case 0:this.g=u,this.b=c;break;case 1:this.r=h,this.b=c;break;case 2:this.r=c,this.b=u;break;case 3:this.r=c,this.g=h;break;case 4:this.r=u,this.g=c;break;case 5:default:this.g=c,this.b=h;break}}fromHsvString(t){const r=be(t,Pe);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=be(t,Pe);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=be(t,(o,s)=>s.includes("%")?I(o/100*255):o);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var ue=2,Ve=.16,gr=.05,xr=.05,yr=.15,at=5,lt=4,vr=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Ye(e,t,r){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=r?Math.round(e.h)-ue*t:Math.round(e.h)+ue*t:o=r?Math.round(e.h)+ue*t:Math.round(e.h)-ue*t,o<0?o+=360:o>=360&&(o-=360),o}function We(e,t,r){if(e.h===0&&e.s===0)return e.s;var o;return r?o=e.s-Ve*t:t===lt?o=e.s+Ve:o=e.s+gr*t,o>1&&(o=1),r&&t===at&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(o*100)/100}function qe(e,t,r){var o;return r?o=e.v+xr*t:o=e.v-yr*t,o=Math.max(0,Math.min(1,o)),Math.round(o*100)/100}function br(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=new re(e),s=o.toHsv(),i=at;i>0;i-=1){var l=new re({h:Ye(s,i,!0),s:We(s,i,!0),v:qe(s,i,!0)});r.push(l)}r.push(o);for(var f=1;f<=lt;f+=1){var d=new re({h:Ye(s,f),s:We(s,f),v:qe(s,f)});r.push(d)}return t.theme==="dark"?vr.map(function(c){var h=c.index,u=c.amount;return new re(t.backgroundColor||"#141414").mix(r[h],u).toHexString()}):r.map(function(c){return c.toHexString()})}var je=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];je.primary=je[5];function jr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Cr(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Ge="data-rc-order",Ue="data-rc-priority",Sr="rc-util-key",Ce=new Map;function ct(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Sr}function Oe(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function wr(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Te(e){return Array.from((Ce.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function dt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!jr())return null;var r=t.csp,o=t.prepend,s=t.priority,i=s===void 0?0:s,l=wr(o),f=l==="prependQueue",d=document.createElement("style");d.setAttribute(Ge,l),f&&i&&d.setAttribute(Ue,"".concat(i)),r!=null&&r.nonce&&(d.nonce=r==null?void 0:r.nonce),d.innerHTML=e;var c=Oe(t),h=c.firstChild;if(o){if(f){var u=(t.styles||Te(c)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Ge)))return!1;var m=Number(p.getAttribute(Ue)||0);return i>=m});if(u.length)return c.insertBefore(d,u[u.length-1].nextSibling),d}c.insertBefore(d,h)}else c.appendChild(d);return d}function kr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Oe(t);return(t.styles||Te(r)).find(function(o){return o.getAttribute(ct(t))===e})}function Or(e,t){var r=Ce.get(e);if(!r||!Cr(document,r)){var o=dt("",t),s=o.parentNode;Ce.set(e,s),e.removeChild(o)}}function Tr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Oe(r),s=Te(o),i=F(F({},r),{},{styles:s});Or(o,i);var l=kr(t,i);if(l){var f,d;if((f=i.csp)!==null&&f!==void 0&&f.nonce&&l.nonce!==((d=i.csp)===null||d===void 0?void 0:d.nonce)){var c;l.nonce=(c=i.csp)===null||c===void 0?void 0:c.nonce}return l.innerHTML!==e&&(l.innerHTML=e),l}var h=dt(e,i);return h.setAttribute(ct(i),t),h}function ut(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function zr(e){return ut(e)instanceof ShadowRoot}function Nr(e){return zr(e)?ut(e):null}var Se={},ze=[],Er=function(t){ze.push(t)};function Dr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ze.reduce(function(o,s){return s(o??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Mr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ze.reduce(function(o,s){return s(o??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Rr(){Se={}}function ft(e,t,r){!t&&!Se[r]&&(e(!1,r),Se[r]=!0)}function pe(e,t){ft(Dr,e,t)}function Ir(e,t){ft(Mr,e,t)}pe.preMessage=Er;pe.resetWarned=Rr;pe.noteOnce=Ir;function _r(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Hr(e,t){pe(e,"[@ant-design/icons] ".concat(t))}function Ke(e){return J(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(J(e.icon)==="object"||typeof e.icon=="function")}function Xe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var o=e[r];switch(r){case"class":t.className=o,delete t.class;break;default:delete t[r],t[_r(r)]=o}return t},{})}function we(e,t,r){return r?k.createElement(e.tag,F(F({key:t},Xe(e.attrs)),r),(e.children||[]).map(function(o,s){return we(o,"".concat(t,"-").concat(e.tag,"-").concat(s))})):k.createElement(e.tag,F({key:t},Xe(e.attrs)),(e.children||[]).map(function(o,s){return we(o,"".concat(t,"-").concat(e.tag,"-").concat(s))}))}function ht(e){return br(e)[0]}function mt(e){return e?Array.isArray(e)?e:[e]:[]}var Lr=`
|
|
13
13
|
.anticon {
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
align-items: center;
|
|
@@ -66,21 +66,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66
66
|
}
|
|
67
67
|
`,Fr=function(t){var r=k.useContext(ot),o=r.csp,s=r.prefixCls,i=r.layer,l=Lr;s&&(l=l.replace(/anticon/g,s)),i&&(l="@layer ".concat(i,` {
|
|
68
68
|
`).concat(l,`
|
|
69
|
-
}`)),k.useEffect(function(){var f=t.current,d=Er(f);Tr(l,"@ant-design-icons",{prepend:!i,csp:o,attachTo:d})},[])},Br=["icon","className","onClick","style","primaryColor","secondaryColor"],le={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ar(e){var t=e.primaryColor,r=e.secondaryColor;le.primaryColor=t,le.secondaryColor=r||ht(t),le.calculated=!!r}function $r(){return F({},le)}var ne=function(t){var r=t.icon,o=t.className,s=t.onClick,i=t.style,l=t.primaryColor,f=t.secondaryColor,d=it(t,Br),c=b.useRef(),h=le;if(l&&(h={primaryColor:l,secondaryColor:f||ht(l)}),Fr(c),Hr(Ke(r),"icon should be icon definiton, but got ".concat(r)),!Ke(r))return null;var u=r;return u&&typeof u.icon=="function"&&(u=F(F({},u),{},{icon:u.icon(h.primaryColor,h.secondaryColor)})),we(u.icon,"svg-".concat(u.name),F(F({className:o,onClick:s,style:i,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:c}))};ne.displayName="IconReact";ne.getTwoToneColors=$r;ne.setTwoToneColors=Ar;function pt(e){var t=mt(e),r=st(t,2),o=r[0],s=r[1];return ne.setTwoToneColors({primaryColor:o,secondaryColor:s})}function Pr(){var e=ne.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Vr=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];pt(je.primary);var H=b.forwardRef(function(e,t){var r=e.className,o=e.icon,s=e.spin,i=e.rotate,l=e.tabIndex,f=e.onClick,d=e.twoToneColor,c=it(e,Vr),h=b.useContext(ot),u=h.prefixCls,p=u===void 0?"anticon":u,m=h.rootClassName,x=pr(m,p,$($({},"".concat(p,"-").concat(o.name),!!o.name),"".concat(p,"-spin"),!!s||o.name==="loading"),r),y=l;y===void 0&&f&&(y=-1);var w=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,N=mt(d),L=st(N,2),B=L[0],P=L[1];return b.createElement("span",_({role:"img","aria-label":o.name},c,{ref:t,tabIndex:y,onClick:f,className:x}),b.createElement(ne,{icon:o,primaryColor:B,secondaryColor:P,style:w}))});H.displayName="AntdIcon";H.getTwoToneColor=Pr;H.setTwoToneColor=pt;var Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Wr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Yr}))},he=b.forwardRef(Wr);process.env.NODE_ENV!=="production"&&(he.displayName="ArrowLeftOutlined");var qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},Gr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:qr}))},Ee=b.forwardRef(Gr);process.env.NODE_ENV!=="production"&&(Ee.displayName="BellOutlined");var Ur={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},Kr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Ur}))},ce=b.forwardRef(Kr);process.env.NODE_ENV!=="production"&&(ce.displayName="ClearOutlined");var Xr={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Zr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Xr}))},gt=b.forwardRef(Zr);process.env.NODE_ENV!=="production"&&(gt.displayName="CloseOutlined");var Qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Jr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Qr}))},xt=b.forwardRef(Jr);process.env.NODE_ENV!=="production"&&(xt.displayName="DeleteOutlined");var en={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},tn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:en}))},Ne=b.forwardRef(tn);process.env.NODE_ENV!=="production"&&(Ne.displayName="EditOutlined");var rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},nn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:rn}))},yt=b.forwardRef(nn);process.env.NODE_ENV!=="production"&&(yt.displayName="FileExcelOutlined");var on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},sn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:on}))},vt=b.forwardRef(sn);process.env.NODE_ENV!=="production"&&(vt.displayName="FilePdfOutlined");var an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},ln=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:an}))},De=b.forwardRef(ln);process.env.NODE_ENV!=="production"&&(De.displayName="FilterOutlined");var cn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},dn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:cn}))},bt=b.forwardRef(dn);process.env.NODE_ENV!=="production"&&(bt.displayName="InboxOutlined");var un={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},fn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:un}))},jt=b.forwardRef(fn);process.env.NODE_ENV!=="production"&&(jt.displayName="LoadingOutlined");var hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},mn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:hn}))},Me=b.forwardRef(mn);process.env.NODE_ENV!=="production"&&(Me.displayName="PlusOutlined");var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},gn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:pn}))},Ct=b.forwardRef(gn);process.env.NODE_ENV!=="production"&&(Ct.displayName="SaveOutlined");var xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},yn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:xn}))},St=b.forwardRef(yn);process.env.NODE_ENV!=="production"&&(St.displayName="SearchOutlined");var vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},bn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:vn}))},wt=b.forwardRef(bn);process.env.NODE_ENV!=="production"&&(wt.displayName="UploadOutlined");const Re=k.forwardRef((e,t)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));Re.displayName="CustomInput";const jn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.Password,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Cn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.TextArea,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Sn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},className:"custom-search-input-wrapper",children:[n.jsx("style",{children:`
|
|
70
|
-
.custom-search-input-wrapper .ant-input-
|
|
71
|
-
height:
|
|
72
|
-
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
69
|
+
}`)),k.useEffect(function(){var f=t.current,d=Nr(f);Tr(l,"@ant-design-icons",{prepend:!i,csp:o,attachTo:d})},[])},Br=["icon","className","onClick","style","primaryColor","secondaryColor"],le={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ar(e){var t=e.primaryColor,r=e.secondaryColor;le.primaryColor=t,le.secondaryColor=r||ht(t),le.calculated=!!r}function $r(){return F({},le)}var ne=function(t){var r=t.icon,o=t.className,s=t.onClick,i=t.style,l=t.primaryColor,f=t.secondaryColor,d=it(t,Br),c=b.useRef(),h=le;if(l&&(h={primaryColor:l,secondaryColor:f||ht(l)}),Fr(c),Hr(Ke(r),"icon should be icon definiton, but got ".concat(r)),!Ke(r))return null;var u=r;return u&&typeof u.icon=="function"&&(u=F(F({},u),{},{icon:u.icon(h.primaryColor,h.secondaryColor)})),we(u.icon,"svg-".concat(u.name),F(F({className:o,onClick:s,style:i,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:c}))};ne.displayName="IconReact";ne.getTwoToneColors=$r;ne.setTwoToneColors=Ar;function pt(e){var t=mt(e),r=st(t,2),o=r[0],s=r[1];return ne.setTwoToneColors({primaryColor:o,secondaryColor:s})}function Pr(){var e=ne.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Vr=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];pt(je.primary);var H=b.forwardRef(function(e,t){var r=e.className,o=e.icon,s=e.spin,i=e.rotate,l=e.tabIndex,f=e.onClick,d=e.twoToneColor,c=it(e,Vr),h=b.useContext(ot),u=h.prefixCls,p=u===void 0?"anticon":u,m=h.rootClassName,x=pr(m,p,$($({},"".concat(p,"-").concat(o.name),!!o.name),"".concat(p,"-spin"),!!s||o.name==="loading"),r),y=l;y===void 0&&f&&(y=-1);var w=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,E=mt(d),L=st(E,2),B=L[0],P=L[1];return b.createElement("span",_({role:"img","aria-label":o.name},c,{ref:t,tabIndex:y,onClick:f,className:x}),b.createElement(ne,{icon:o,primaryColor:B,secondaryColor:P,style:w}))});H.displayName="AntdIcon";H.getTwoToneColor=Pr;H.setTwoToneColor=pt;var Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Wr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Yr}))},he=b.forwardRef(Wr);process.env.NODE_ENV!=="production"&&(he.displayName="ArrowLeftOutlined");var qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},Gr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:qr}))},Ne=b.forwardRef(Gr);process.env.NODE_ENV!=="production"&&(Ne.displayName="BellOutlined");var Ur={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},Kr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Ur}))},ce=b.forwardRef(Kr);process.env.NODE_ENV!=="production"&&(ce.displayName="ClearOutlined");var Xr={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Zr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Xr}))},gt=b.forwardRef(Zr);process.env.NODE_ENV!=="production"&&(gt.displayName="CloseOutlined");var Qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Jr=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:Qr}))},xt=b.forwardRef(Jr);process.env.NODE_ENV!=="production"&&(xt.displayName="DeleteOutlined");var en={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},tn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:en}))},Ee=b.forwardRef(tn);process.env.NODE_ENV!=="production"&&(Ee.displayName="EditOutlined");var rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},nn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:rn}))},yt=b.forwardRef(nn);process.env.NODE_ENV!=="production"&&(yt.displayName="FileExcelOutlined");var on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},sn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:on}))},vt=b.forwardRef(sn);process.env.NODE_ENV!=="production"&&(vt.displayName="FilePdfOutlined");var an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},ln=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:an}))},De=b.forwardRef(ln);process.env.NODE_ENV!=="production"&&(De.displayName="FilterOutlined");var cn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},dn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:cn}))},bt=b.forwardRef(dn);process.env.NODE_ENV!=="production"&&(bt.displayName="InboxOutlined");var un={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},fn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:un}))},jt=b.forwardRef(fn);process.env.NODE_ENV!=="production"&&(jt.displayName="LoadingOutlined");var hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},mn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:hn}))},Me=b.forwardRef(mn);process.env.NODE_ENV!=="production"&&(Me.displayName="PlusOutlined");var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},gn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:pn}))},Ct=b.forwardRef(gn);process.env.NODE_ENV!=="production"&&(Ct.displayName="SaveOutlined");var xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},yn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:xn}))},St=b.forwardRef(yn);process.env.NODE_ENV!=="production"&&(St.displayName="SearchOutlined");var vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},bn=function(t,r){return b.createElement(H,_({},t,{ref:r,icon:vn}))},wt=b.forwardRef(bn);process.env.NODE_ENV!=="production"&&(wt.displayName="UploadOutlined");const Re=k.forwardRef((e,t)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));Re.displayName="CustomInput";const jn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.Password,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Cn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.TextArea,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),Sn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},className:"custom-search-input-wrapper",children:[n.jsx("style",{children:`
|
|
70
|
+
.custom-search-input-wrapper .ant-input-group-wrapper {
|
|
71
|
+
height: var(--input-height, 25px);
|
|
72
|
+
vertical-align: top;
|
|
75
73
|
}
|
|
76
|
-
|
|
77
|
-
/* Evitamos que el wrapper afecte el input base */
|
|
78
74
|
.custom-search-input-wrapper .ant-input-wrapper,
|
|
79
75
|
.custom-search-input-wrapper .ant-input-group,
|
|
80
76
|
.custom-search-input-wrapper .ant-input-group-addon {
|
|
81
77
|
height: 100%;
|
|
78
|
+
vertical-align: middle;
|
|
79
|
+
}
|
|
80
|
+
.custom-search-input-wrapper .ant-input {
|
|
81
|
+
height: 100% !important;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
}
|
|
84
|
+
.custom-search-input-wrapper .ant-input-search-button {
|
|
85
|
+
height: 100% !important;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
padding-top: 0;
|
|
90
|
+
padding-bottom: 0;
|
|
91
|
+
box-sizing: border-box;
|
|
82
92
|
}
|
|
83
|
-
`}),e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.Search,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"
|
|
93
|
+
`}),e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.Search,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),kt=({label:e,required:t,...r})=>{var s;const o=i=>{const l=i.key;!/^[0-9.]$/.test(l)&&l!=="Backspace"&&i.preventDefault()};return n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.InputNumber,{...r,onKeyPress:o,style:{...r.style,width:((s=r.style)==null?void 0:s.width)??"100%"},controls:!1})]})},Ot=e=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),Tt=({content:e,children:t,mouseEnterDelay:r=.3,mouseLeaveDelay:o=0,...s})=>n.jsx(a.Tooltip,{title:e,mouseEnterDelay:r,mouseLeaveDelay:o,...s,style:{fontSize:"var(--font-size-medium)"},children:t}),wn=({fields:e,filters:t,onFilter:r,onClearFilters:o,localeCode:s="es",actions:i=[],onAdvancedFilters:l,loading:f=!1,defaultValues:d={},activeFiltersCount:c=0,onFiltersChange:h,extra:u,translations:p={}})=>{const[m,x]=k.useState(()=>t||d||{}),y=k.useRef(null);k.useEffect(()=>{t&&x(t)},[t]);const w=(g,D)=>{const C={...m,[g]:D};x(C),h==null||h(C)},E=()=>{r(m)},L=()=>{x({}),o==null||o()},P=(g=>g<=2?12:g<=3?8:g<=4?6:4)(e.length);return n.jsxs("div",{ref:y,style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,position:"relative"},children:[n.jsxs(a.Row,{justify:"end",align:"middle",children:[u&&n.jsx(a.Col,{children:u}),n.jsx(a.Col,{style:{marginLeft:u?"0":"auto"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.map((g,D)=>!g.hide&&n.jsx(Tt,{content:g.tooltip,placement:"left",mouseEnterDelay:.3,mouseLeaveDelay:0,getPopupContainer:()=>y.current||document.body,children:n.jsx(G,{size:"small",icon:g.icon,onClick:g.onClick,style:{border:"none",background:"none"},loading:g.loading})},D)),l&&n.jsx(a.Badge,{count:c,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:n.jsx(G,{size:"small",icon:n.jsx(De,{}),onClick:l,style:{border:"none",background:"none"}})})]})})]}),n.jsxs(a.Row,{gutter:[8,8],children:[e.map(g=>n.jsx(a.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[g.label&&n.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:g.label}),{text:n.jsx(Re,{placeholder:g.placeholder,value:m[g.key],onChange:D=>w(g.key,D.target.value),style:{width:"100%"}}),number:n.jsx(kt,{placeholder:g.placeholder,value:m[g.key],onChange:D=>w(g.key,D),style:{width:"100%"}}),date:n.jsx(fe,{localeCode:s,onChange:(D,C)=>w(g.key,C),style:{width:"100%"}}),range:n.jsx(fe.RangePicker,{localeCode:s,value:m[g.key]&&m[g.key][0]?[Fe(m[g.key][0]),Fe(m[g.key][1])]:void 0,onChange:(D,C)=>w(g.key,C),style:{width:"100%"}}),select:n.jsx(Ot,{placeholder:g.placeholder,options:g.options,value:m[g.key],mode:g.mode,allowClear:g.allowClear,showSearch:g.showSearch,optionFilterProp:g.optionFilterProp,filterOption:g.filterOption,onChange:D=>w(g.key,D),style:{width:"100%"},loading:g.isLoading,maxTagCount:"responsive"})}[g.type||"text"]]})},g.key)),n.jsx(a.Col,{xs:24,sm:12,md:P,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[n.jsx(G,{type:"primary",size:"small",onClick:E,loading:f,disabled:f,text:p.apply||"Aplicar",className:"force-white-text-button"}),n.jsx(G,{size:"small",icon:n.jsx(ce,{}),onClick:L,disabled:f})]})})]})]})},Ie=({className:e,tooltip:t,...r})=>n.jsx(a.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Ie.Group=e=>n.jsx(a.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Ie.BackTop=a.FloatButton.BackTop;const kn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[n.jsx(a.Switch,{...r}),e&&n.jsxs("span",{style:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)"},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]})]}),zt=({title:e,children:t,...r})=>n.jsx(a.Modal,{className:"custom-modal",title:e,...r,children:t});["info","success","error","warning","confirm","destroyAll"].forEach(e=>{zt[e]=a.Modal[e]});const On={open:({type:e,message:t,description:r,duration:o=3,placement:s="topRight"})=>{a.notification[e]({message:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:o,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},Nt=({label:e,...t})=>n.jsx(a.Radio,{...t,children:e});Nt.Group=e=>n.jsx(a.Radio.Group,{...e});const Tn=e=>n.jsx(a.Radio.Group,{...e}),zn=({loadingText:e,...t})=>n.jsxs("div",{style:{padding:"1rem"},children:[e&&n.jsx("p",{children:e}),n.jsx(a.Skeleton,{...t})]}),Ze=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return n.jsxs("div",{style:{display:"inline-block",...t()},children:[n.jsx("style",{children:`
|
|
84
94
|
.helppeople-cloud-svg .svg-elem-1 {
|
|
85
95
|
stroke-dashoffset: 472.7320556640625px;
|
|
86
96
|
stroke-dasharray: 472.7320556640625px;
|
|
@@ -96,7 +106,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
96
106
|
}
|
|
97
107
|
}
|
|
98
108
|
`}),n.jsxs("svg",{className:"helppeople-cloud-svg",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 197.71 139.12",style:{width:"100%",height:"100%"},xmlSpace:"preserve",children:[n.jsx("style",{type:"text/css",children:".st0{fill:none;stroke:#28285B;stroke-width:14;stroke-linecap:round;stroke-miterlimit:10;}"}),n.jsx("g",{children:n.jsx("path",{className:"st0 svg-elem-1",d:`M105.78,63.29c6.82-13.05,20.48-21.95,36.22-21.95c22.56,0,40.84,18.28,40.84,40.84s-18.28,40.13-40.84,40.13\r
|
|
99
|
-
H69.32c-29.13,0-52.75-23.61-52.75-52.75s23.61-52.75,52.75-52.75c21.19,0,39.46,12.49,47.85,30.52`})})]})]})},_e=({tip:e,spinning:t=!0,size:r="default",overlay:o=!1,spinType:s="antd",children:i,...l})=>{const f=()=>s==="helppeople"?n.jsx(Ze,{size:r}):n.jsx(a.Spin,{spinning:t,size:r,...l});return o&&t?n.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},children:n.jsxs("div",{style:{textAlign:"center",color:"white"},children:[f(),e&&n.jsx("div",{style:{marginTop:8,fontSize:14},children:e})]})}):s==="helppeople"?n.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:i?"auto":"100px"},children:[t&&n.jsxs(n.Fragment,{children:[n.jsx(Ze,{size:r}),e&&n.jsx("div",{style:{marginTop:8,fontSize:14,color:"#666"},children:e})]}),i]}):n.jsx(a.Spin,{tip:e,spinning:t,size:r,...l,children:i})},
|
|
109
|
+
H69.32c-29.13,0-52.75-23.61-52.75-52.75s23.61-52.75,52.75-52.75c21.19,0,39.46,12.49,47.85,30.52`})})]})]})},_e=({tip:e,spinning:t=!0,size:r="default",overlay:o=!1,spinType:s="antd",children:i,...l})=>{const f=()=>s==="helppeople"?n.jsx(Ze,{size:r}):n.jsx(a.Spin,{spinning:t,size:r,...l});return o&&t?n.jsx("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},children:n.jsxs("div",{style:{textAlign:"center",color:"white"},children:[f(),e&&n.jsx("div",{style:{marginTop:8,fontSize:14},children:e})]})}):s==="helppeople"?n.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:i?"auto":"100px"},children:[t&&n.jsxs(n.Fragment,{children:[n.jsx(Ze,{size:r}),e&&n.jsx("div",{style:{marginTop:8,fontSize:14,color:"#666"},children:e})]}),i]}):n.jsx(a.Spin,{tip:e,spinning:t,size:r,...l,children:i})},Nn=({showTotal:e,style:t,...r})=>{const o=(s,i)=>`${i[1]-i[0]+1} de ${s} registros`;return n.jsx(a.Pagination,{showTotal:e??o,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...t},...r})},En=({strokeColor:e,style:t,...r})=>{const o=e??"var(--primary-color)";return n.jsx(a.Progress,{strokeColor:o,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...t},...r})},Et=({columns:e,dataSource:t,pagination:r,loading:o,scroll:s,containerClassName:i,...l})=>{const f=s?{scrollToFirstRowOnChange:!0,...s}:{x:!0,scrollToFirstRowOnChange:!0},d=t==null?void 0:t.filter(u=>u?Object.values(u).some(m=>m!=null&&m!==""):!1),c=e==null?void 0:e.map((u,p)=>{const m={...u,key:u.key||p,title:typeof u.title=="string"?n.jsx("span",{style:{fontSize:"var(--font-size-medium)"},children:u.title}):u.title};if(u.width===void 0){const x=u.onCell;return{...m,onCell:(y,w)=>{var E;return{...x?x(y,w):{},style:{...x?(E=x(y,w))==null?void 0:E.style:{},maxWidth:200,whiteSpace:"normal",wordWrap:"break-word",wordBreak:"break-word"}}}}}return m}),h=r?{...r,showTotal:(u,p)=>`${p[1]-p[0]+1} de ${u} registros`,style:{margin:0,padding:"10px 16px",borderTop:"1px solid #e0e0e0",backgroundColor:"#ffffff",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}}:!1;return n.jsxs("div",{className:`custom-table-container ${i||""}`,style:{width:"100%",overflowX:"auto",overflowY:"visible",position:"relative"},children:[n.jsx(a.Table,{...l,loading:!1,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",overflow:"visible"},scroll:f,columns:c,dataSource:d,pagination:h}),o&&n.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.8)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10},children:n.jsx(_e,{spinning:!0,spinType:"helppeople",size:"small"})})]})},Dn=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,type:s="line",showCardWrapper:i=!0,topBarContent:l,topBarAlign:f="right"})=>{const d={backgroundColor:"#ffffff",border:"1px solid #e0e0e0",borderRadius:"8px",padding:"1rem",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"},h={display:"flex",justifyContent:(()=>{switch(f){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"flex-end"}})(),alignItems:"center",gap:"0.5rem",flexWrap:"wrap"},u=n.jsx(a.Tabs,{defaultActiveKey:t,activeKey:r,onChange:o,type:s,tabBarStyle:{fontFamily:"var(--font-family)",fontSize:"var(--font-size-medium)",lineHeight:"1.5"},items:e.map(p=>({key:p.key,label:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:p.label}),children:n.jsx("div",{style:{padding:"1rem",backgroundColor:"#ffffff"},children:p.content})}))});return i?n.jsxs("div",{style:d,children:[l&&n.jsx("div",{style:h,children:l}),u]}):n.jsxs(n.Fragment,{children:[l&&n.jsx("div",{style:h,children:l}),u]})},Mn=({title:e,onBack:t,onNew:r,newButtonText:o="Nueva",backButtonText:s="Volver",newButtonLoading:i=!1,newButtonDisabled:l=!1,pageType:f="list",customButtons:d=[],hideDefaultButtons:c=!1,rightActions:h,pageHeader:u})=>{const p=()=>f==="form"?n.jsx(Ct,{}):f==="detail"?n.jsx(Ee,{}):n.jsx(Me,{});return n.jsxs("div",{style:{marginBottom:"0.5rem"},children:[n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"1rem 1.5rem",backgroundColor:"#ffffff",borderBottom:u?"1px solid var(--border-color-light, #f0f0f0)":"1px solid #e0e0e0"},children:[n.jsx("h2",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)",flex:"1 1 auto"},children:e}),n.jsxs(a.Space,{wrap:!0,style:{alignItems:"center"},children:[d.map(m=>n.jsx(G,{type:m.type||"default",danger:m.danger,onClick:m.onClick,icon:m.icon,text:m.text,loading:m.loading,disabled:m.disabled,style:{fontSize:"var(--font-size-medium)",...m.style}},m.key)),!c&&n.jsxs(n.Fragment,{children:[t&&n.jsx(G,{type:"default",onClick:t,icon:n.jsx(he,{}),style:{fontSize:"var(--font-size-medium)"},text:s}),r&&n.jsx(G,{type:"primary",onClick:r,icon:p(),style:{fontSize:"var(--font-size-medium)"},text:o,loading:i,disabled:l})]}),h&&n.jsx("div",{style:{display:"inline-flex",alignItems:"center"},children:h})]})]}),u&&n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"0.75rem",padding:"0.5rem 1.5rem",backgroundColor:"var(--background-color-light, #f5f5f5)",borderBottom:"1px solid #e0e0e0"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-sm, 8px)"},children:[u.onBack&&n.jsx(he,{onClick:u.onBack,style:{fontSize:"var(--font-size-large, 14px)",cursor:"pointer",color:"var(--text-color, #333)"}}),n.jsx("h3",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-large)",color:"var(--text-color)"},children:u.title})]}),u.actions&&u.actions.length>0&&n.jsx(a.Space,{wrap:!0,style:{alignItems:"center"},children:u.actions.map(m=>n.jsx(G,{type:m.type||"primary",danger:m.danger,onClick:m.onClick,icon:m.icon,text:m.text,loading:m.loading,disabled:m.disabled,style:{fontSize:"var(--font-size-medium)",...m.style}},m.key))})]})]})},Rn=({title:e,onBack:t,actions:r=[],sticky:o=!1})=>n.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"center",gap:"0.5rem",padding:"0.4rem 1rem",backgroundColor:"var(--background-color, #ffffff)",borderBottom:"1px solid var(--border-color, #d9d9d9)",...o?{position:"sticky",top:0,zIndex:10}:{}},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-sm, 8px)"},children:[t&&n.jsx(he,{onClick:t,style:{fontSize:"var(--font-size-large, 14px)",cursor:"pointer",color:"var(--text-color, #333)"}}),n.jsx("span",{style:{margin:0,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold, 600)",fontSize:"var(--font-size-large, 14px)",color:"var(--text-color, #333)"},children:e})]}),r.length>0&&n.jsx(a.Space,{wrap:!0,style:{alignItems:"center"},children:r.map(s=>n.jsx(G,{type:s.type||"primary",onClick:s.onClick,icon:s.icon,text:s.text,loading:s.loading,disabled:s.disabled,style:{fontSize:"var(--font-size-medium)",...s.style}},s.key))})]}),In=({buttonText:e="Subir archivo",...t})=>n.jsx(a.Upload,{...t,children:n.jsx(a.Button,{icon:n.jsx(wt,{}),children:e})}),{Dragger:_n}=a.Upload,Hn=({text:e="Haz clic o arrastra un archivo aquí",hint:t="Soporta archivos individuales",...r})=>n.jsxs(_n,{...r,children:[n.jsx("p",{className:"ant-upload-drag-icon",children:n.jsx(bt,{})}),n.jsx("p",{className:"ant-upload-text",children:e}),n.jsx("p",{className:"ant-upload-hint",children:t})]}),Ln=({visible:e,title:t,fields:r,filters:o,onClose:s,onApplyFilters:i,onClearFilters:l,onChange:f,translations:d={}})=>n.jsx(a.Drawer,{title:t,placement:"right",onClose:s,visible:e,width:400,bodyStyle:{paddingBottom:80},footer:n.jsx("div",{style:{textAlign:"right"},children:n.jsxs(a.Space,{children:[n.jsx(a.Button,{type:"primary",onClick:i,children:d.applyFilters||"Aplicar filtros"}),n.jsx(a.Tooltip,{title:d.clearFilters||"Limpiar filtros",placement:"left",children:n.jsx(a.Button,{icon:n.jsx(ce,{}),onClick:l})})]})}),footerStyle:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px"},children:n.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"16px"},children:r.map(c=>n.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"calc(50% - 8px)"},children:[n.jsx("label",{style:{marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)"},children:c.label}),{text:n.jsx(a.Input,{placeholder:c.placeholder,value:o[c.key],onChange:h=>f(c.key,h.target.value)}),number:n.jsx(a.InputNumber,{placeholder:c.placeholder,value:o[c.key],onChange:h=>f(c.key,h),style:{width:"100%"}}),select:n.jsx(a.Select,{placeholder:c.placeholder,options:c.options,value:o[c.key],onChange:h=>f(c.key,h),style:{width:"100%"}})}[c.type]]},c.key))})}),Fn=({visible:e,title:t,filters:r,onChange:o,onClose:s,onSubmit:i,onClear:l,children:f,loading:d=!1,translations:c={}})=>n.jsx(a.Drawer,{title:t,placement:"right",onClose:s,open:e,width:400,styles:{body:{paddingBottom:80,display:"flex",flexWrap:"wrap",gap:16},footer:{background:"#fff",borderTop:"1px solid #e0e0e0",padding:"10px 16px",textAlign:"right"}},footer:n.jsx("div",{style:{textAlign:"right"},children:n.jsxs(a.Space,{children:[n.jsx(a.Button,{type:"primary",onClick:i,loading:d,disabled:d,style:{color:"#fff",backgroundColor:"#1b1464"},children:c.apply||"Aplicar"}),n.jsx(a.Tooltip,{title:c.clearFilters||"Limpiar filtros",children:n.jsx(a.Button,{icon:n.jsx(ce,{}),onClick:l,disabled:d,style:{color:"#1b1464",borderColor:"#1b1464"}})})]})}),children:f({filters:r,onChange:o})}),Bn=`
|
|
100
110
|
.custom-form .ant-form-item-label > label {
|
|
101
111
|
font-weight: var(--font-weight-semibold, 600) !important;
|
|
102
112
|
font-family: var(--font-family, inherit) !important;
|
|
@@ -105,4 +115,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
105
115
|
.custom-form .ant-form-item-required::before {
|
|
106
116
|
color: #ff4d4f !important;
|
|
107
117
|
}
|
|
108
|
-
`,oe=e=>{const[t]=a.Form.useForm(),r=e.form||t;return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:Bn}),n.jsx(a.Form,{...e,className:`custom-form ${e.className||""}`,form:r,children:typeof e.children=="function"?e.children(r):e.children})]})};oe.Item=a.Form.Item;oe.List=a.Form.List;oe.useForm=a.Form.useForm;oe.useWatch=a.Form.useWatch;oe.useFormInstance=a.Form.useFormInstance;const He=e=>n.jsx(a.Row,{...e,children:e.children}),me=e=>n.jsx(a.Col,{...e,children:e.children}),An=e=>n.jsx(a.Space,{...e,children:e.children}),Dt=e=>n.jsx(a.Card,{...e}),$n=e=>n.jsx(a.Tag,{...e});var Pn={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return e==="Día"?"Hoy":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+(e==="Semana"?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},Vn={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${e===1?"":"s"}`}},Yn={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return e==="Dia"?"Hoje":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+(e==="Semana"?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"};const Wn={es:Pn,en:Vn,pt:Yn},qn=({events:e,initialView:t="dayGridMonth",height:r=600,selectable:o=!0,editable:s=!1,onEventClick:i,onDateSelect:l,renderEventContent:f,localeCode:d="es"})=>{const c=e;function h(m){i&&i({id:m.event.id,title:m.event.title,start:m.event.start,end:m.event.end??void 0,allDay:m.event.allDay})}function u(m){l&&l({start:m.start,end:m.end,allDay:m.allDay})}function p(m){return n.jsxs("div",{children:[n.jsx("b",{children:m.timeText})," ",n.jsx("span",{children:m.event.title})]})}return n.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",flexWrap:"nowrap",padding:"8px 12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,width:"100%",minHeight:"100vh",boxSizing:"border-box"},children:n.jsx(Ft,{plugins:[Bt,At,$t],initialView:t,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},height:r,selectable:o,editable:s,events:c,eventContent:f??p,eventClick:h,select:u,locale:Wn[d||"es"]})})},Gn=Qe.Quill.import("delta");function Un(e){if(!e||typeof e!="string"||!e.includes("<table"))return e;try{const r=new DOMParser().parseFromString(e,"text/html");return r.querySelectorAll("table").forEach(s=>{var f;const i=document.createElement("div");s.querySelectorAll("tr").forEach(d=>{const c=document.createElement("p"),h=d.querySelectorAll("td, th");let u="";h.forEach(p=>{u+=p.innerHTML+" "}),c.innerHTML=u.trim(),i.appendChild(c)}),(f=s.parentNode)==null||f.replaceChild(i,s)}),r.body.innerHTML}catch(t){return console.error("Error transforming table HTML",t),e}}const Kn=["header","bold","italic","underline","strike","blockquote","list","bullet","link","color","background","align"],Xn=({value:e="",onChange:t=()=>{},placeholder:r="Escribe aquí...",modules:o,formats:s,theme:i="snow",height:l="200px",width:f="100%",maxHeight:d="400px",minHeight:c="100px",autoResize:h=!1,className:u="",allowImages:p=!0,maxLength:m,...x})=>{const y=k.useRef(null),w=k.useRef(null),[N,L]=k.useState(0),B=k.useMemo(()=>m!==void 0?m:3e3,[m]),P=k.useMemo(()=>Un(e),[e]),g=k.useMemo(()=>{if(s)return s;const T=[...Kn];return p&&T.push("image"),T},[s,p]),D=k.useMemo(()=>{if(o)return o;const T=[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"}]],S=["link"];return p&&S.push("image"),T.push(S),T.push(["clean"]),T.push([{color:[]},{background:[]}]),T.push([{align:[]}]),{toolbar:T,clipboard:{matchVisual:!1}}},[o,p]);k.useEffect(()=>{!p&&y.current&&y.current.getEditor().clipboard.addMatcher("IMG",()=>new Gn)},[p]),k.useEffect(()=>{if(!y.current||!m)return;const T=y.current.getEditor(),S=(X,v,M)=>{if(M!=="user")return;const Y=T.getText().trim().length;if(L(Y),Y>m){const O=Y-m,E=T.getContents(),ee=E.length();let j=O,z=ee-1;for(;j>0&&z>=0;){const W=E.ops[z];if(W&&typeof W.insert=="string"){const q=W.insert.length;if(q<=j)E.ops.splice(z,1),j-=q;else{const K=q-j;E.ops[z]={insert:W.insert.substring(0,K)},j=0}}z--}T.setContents(E)}},V=T.getText().trim();return L(V.length),T.on("text-change",S),()=>{T.off("text-change",S)}},[m]),k.useEffect(()=>{if(h&&y.current&&w.current){const T=y.current.getEditor(),S=w.current,V=()=>{const X=S.querySelector(".ql-editor");if(X){const v=X.scrollHeight,M=typeof c=="number"?c:parseInt(c),Z=typeof d=="number"?d:parseInt(d),Y=Math.min(Math.max(v+42,M),Z);S.style.height=`${Y}px`}};return T.on("text-change",V),V(),()=>{T.off("text-change",V)}}},[h,d,c]);const C={width:typeof f=="number"?`${f}px`:f,height:h?"auto":typeof l=="number"?`${l}px`:l,minHeight:typeof c=="number"?`${c}px`:c,maxHeight:h?typeof d=="number"?`${d}px`:d:"none",display:"flex",flexDirection:"column",border:"1px solid #d9d9d9",borderRadius:"6px",backgroundColor:"#ffffff",...x.style},U={height:"100%",display:"flex",flexDirection:"column"};return n.jsxs("div",{ref:w,className:`custom-rich-text-editor ${h?"auto-resize":"fixed-height"} ${u}`,style:C,children:[n.jsx(Qe,{ref:y,theme:i,value:P,onChange:t,modules:D,formats:g,placeholder:r,style:U,...x}),m!==void 0&&n.jsxs("div",{className:`character-counter ${N>=B?"at-limit":N>=B*.9?"near-limit":""}`,children:[N,"/",B]})]})},de=e=>n.jsx(a.Menu,{className:`custom-menu ${e.className||""}`,style:{fontSize:"var(--font-size-medium)",...e.style},...e});de.Item=e=>n.jsx(a.Menu.Item,{...e,className:`custom-menu-item ${e.className||""}`});de.SubMenu=e=>n.jsx(a.Menu.SubMenu,{...e,className:`custom-menu-submenu ${e.className||""}`});de.ItemGroup=a.Menu.ItemGroup;de.Divider=a.Menu.Divider;const Mt=({className:e,children:t,items:r,menu:o,...s})=>{const i=r?{items:r}:o;return n.jsx(a.Dropdown,{className:`custom-dropdown ${e||""}`,menu:i,...s,children:t})};Mt.Button=e=>n.jsx(a.Dropdown.Button,{className:`custom-dropdown-button ${e.className||""}`,...e});const{Title:Zn}=a.Typography,Qn=({available:e,selected:t,onChange:r,availableTitle:o="Disponibles",selectedTitle:s="Seleccionados",emptyDescription:i="Arrastra los elementos aquí"})=>{const l=d=>{const{source:c,destination:h}=d;if(h&&!(c.droppableId===h.droppableId&&c.index===h.index))if(c.droppableId===h.droppableId){const u=c.droppableId==="disponibles"?[...e]:[...t],[p]=u.splice(c.index,1);u.splice(h.index,0,p),c.droppableId==="disponibles"?r(u,t):r(e,u)}else{const u=c.droppableId==="disponibles"?[...e]:[...t],p=h.droppableId==="disponibles"?[...e]:[...t],[m]=u.splice(c.index,1);p.splice(h.index,0,m),c.droppableId==="disponibles"?r(u,p):r(p,u)}},f=(d,c,h)=>n.jsxs(me,{span:12,children:[n.jsx(Zn,{level:4,style:{marginBottom:16,fontSize:14},children:c}),n.jsx(ye.Droppable,{droppableId:d,children:(u,p)=>n.jsxs("div",{ref:u.innerRef,...u.droppableProps,style:{minHeight:300,background:p.isDraggingOver?"#f0f9ff":"#f8fafc",padding:16,borderRadius:8,border:`2px dashed ${p.isDraggingOver?"#3b82f6":"#cbd5e1"}`,transition:"all 0.2s ease"},children:[h.length===0?n.jsx(a.Empty,{description:i,style:{opacity:.3}}):h.map((m,x)=>n.jsx(ye.Draggable,{draggableId:m.id,index:x,children:(y,w)=>n.jsx("div",{ref:y.innerRef,...y.draggableProps,...y.dragHandleProps,style:{marginBottom:8,cursor:w.isDragging?"grabbing":"grab",opacity:w.isDragging?.8:1,transform:w.isDragging?"rotate(3deg)":"none",...y.draggableProps.style},children:n.jsx(Dt,{size:"small",style:{boxShadow:w.isDragging?"0 4px 6px -1px rgb(0 0 0 / 0.1)":"none",fontSize:"var(--font-size-medium)"},children:m.content})})},m.id)),u.placeholder]})})]});return n.jsx(ye.DragDropContext,{onDragEnd:l,children:n.jsxs(He,{gutter:16,style:{margin:"24px 0"},children:[f("disponibles",o,e),f("seleccionados",s,t)]})})},Jn=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,accordion:s=!1,bordered:i=!0,collapsible:l="header",expandIcon:f,expandIconPosition:d="start",ghost:c=!1,size:h="middle",className:u,style:p})=>{const x={items:e.map(y=>({key:y.key,label:n.jsx("div",{style:{flex:1,minWidth:0,width:"100%"},children:y.header}),children:y.children,disabled:y.disabled,showArrow:y.showArrow,extra:y.extra,className:y.className,style:y.style})),defaultActiveKey:t,activeKey:r,onChange:o,accordion:s,bordered:i,collapsible:l,expandIcon:f,expandIconPosition:d,ghost:c,size:h,className:u,style:p};return n.jsx("div",{children:n.jsx(a.Collapse,{...x})})},eo=({dataSource:e,targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:l,titles:f=["Origen","Destino"],operations:d=[">","<"],showSearch:c=!1,filterOption:h,disabled:u=!1,listStyle:p,className:m,style:x,render:y,children:w,showSelectAll:N=!0,selectAllLabels:L,oneWay:B=!1,pagination:P=!1,status:g,locale:D,remotePagination:C,onPageChange:U})=>{const T=e.map(O=>({key:O.key,title:O.title,description:O.description,disabled:O.disabled||!1,chosen:O.chosen||!1})),S=o?(O,E,ee)=>o(O,E,ee):void 0,V=s?(O,E)=>s(O,E):void 0,X=i?(O,E)=>i(O,E):void 0,v=l?(O,E)=>l(O,E):void 0,M=["hp-transfer",m].filter(Boolean).join(" "),Z=!!C&&C.position!=="none",Y={dataSource:T,targetKeys:t,selectedKeys:r,onChange:S,onSelectChange:V,onSearch:X,onScroll:v,titles:f,operations:d,showSearch:c,filterOption:h?(O,E)=>h(O,E):void 0,disabled:u,listStyle:p,className:M,render:y||(O=>O.title),showSelectAll:N,selectAllLabels:L,oneWay:B,pagination:Z?!1:P,status:g,locale:D,footer:Z?({direction:O})=>{const E=(C==null?void 0:C.position)??"left";if(!(E==="both"||E==="left"&&O==="left"||E==="right"&&O==="right"))return null;const j=O==="left"?C==null?void 0:C.left:C==null?void 0:C.right;if(!j)return null;const{page:z,pageSize:W,total:q}=j,K=(C==null?void 0:C.simple)??!0,Q=(C==null?void 0:C.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(a.Pagination,{size:"small",simple:K,current:z,total:q,pageSize:W,showSizeChanger:Q,pageSizeOptions:["5","10","20","50"],onChange:(se,ie)=>{U==null||U(O,se,ie)}})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...x},children:w?w(Y):n.jsx(a.Transfer,{...Y})})},to=({dataSource:e=[],targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:l,titles:f=["Origen","Destino"],operations:d=[">","<"],showSearch:c=!1,filterOption:h,disabled:u=!1,listStyle:p,className:m,style:x,selectAllLabels:y,oneWay:w=!1,status:N,locale:L,leftColumns:B,rightColumns:P,rowKey:g="key",tableSize:D="small",tableScroll:C,showDefaultHeaderActions:U=!0,headerActions:T=[],remotePagination:S,onPageChange:V})=>{const X=(e??[]).map(j=>({...j,key:j.key,title:j.title||j.key||String(j.key),description:j.description,disabled:j.disabled||!1,chosen:j.chosen||!1})),v=o?(j,z,W)=>o(j,z,W):void 0,M=s?(j,z)=>s(j,z):void 0,Z=i?(j,z)=>i(j,z):void 0,Y=l?(j,z)=>l(j,z):void 0,O=["hp-transfer","hp-table-transfer",m].filter(Boolean).join(" "),E=!!S&&(S.position??"left")!=="none",ee={dataSource:X,targetKeys:t,selectedKeys:r,onChange:v,onSelectChange:M,onSearch:Z,onScroll:Y,titles:f,operations:d,showSearch:c,filterOption:h,disabled:u,listStyle:p,className:O,showSelectAll:U,selectAllLabels:y,oneWay:w,pagination:!1,status:N,locale:L,footer:E?({direction:j})=>{const z=(S==null?void 0:S.position)??"left";if(!(z==="both"||z==="left"&&j==="left"||z==="right"&&j==="right"))return null;const q=j==="left"?S==null?void 0:S.left:S==null?void 0:S.right;if(!q)return null;const{page:K,pageSize:Q,total:se}=q,ie=(S==null?void 0:S.simple)??!0,ge=(S==null?void 0:S.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(a.Pagination,{size:"small",simple:ie,current:K,total:se,pageSize:Q,showSizeChanger:ge,pageSizeOptions:["5","10","20","50"],onChange:(R,A)=>V==null?void 0:V(j,R,A)})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...x},children:n.jsx(a.Transfer,{...ee,children:({direction:j,filteredItems:z,onItemSelect:W,onItemSelectAll:q,selectedKeys:K,disabled:Q})=>{const se=j==="left"?B:P??B,ie={getCheckboxProps:R=>({disabled:Q||R.disabled}),selectedRowKeys:K,onSelect:(R,A)=>{W(R.key,A)},hideSelectAll:!1,onChange:R=>{q(R,"replace")},selections:(()=>{const R=[];return U&&R.push({key:"select-all-data",text:"Select all data",onSelect:()=>{const A=z.map(te=>te.key);q(A,"replace")}},{key:"invert-current-page",text:"Invert current page",onSelect:()=>{const A=z.map(xe=>xe.key),te=K,Lt=A.filter(xe=>!te.includes(xe));q(Lt,"replace")}}),T.forEach(A=>{R.push({key:A.key,text:A.label,onSelect:()=>{var te;(te=A.onClick)==null||te.call(A,j,K)}})}),R.length>0?R:!1})()},ge=typeof g=="function"?g:R=>R[g];return n.jsx(a.Table,{showHeader:!0,size:D,columns:se,dataSource:z,rowKey:ge,pagination:!1,rowSelection:ie,style:{pointerEvents:Q?"none":void 0,height:"100%"},onRow:R=>({onClick:()=>{if(Q||R.disabled)return;const A=!K.includes(R.key);W(R.key,A)}}),scroll:C})}})})},ro=({leftPanel:e,rightPanel:t,responsive:r={xs:24,sm:12,md:12},gutter:o=[16,8],className:s,style:i})=>{const l=(d,c)=>typeof t.rowKey=="function"?t.rowKey(d):d[t.rowKey]||String(c),f=(()=>{const d=t.pagination;return d&&{size:"small",showTotal:(c,h)=>`${h[1]-h[0]+1} de ${c} registros`,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},...d}})();return n.jsx("div",{className:`custom-relation-selector ${s||""}`,style:i,children:n.jsxs(He,{gutter:o,children:[n.jsx(me,{...r,children:n.jsxs(a.Card,{title:e.title,className:`relation-selector-card ${e.cardClassName||""}`,extra:e.extra,children:[e.filters&&n.jsx("div",{className:"relation-selector-filters",children:e.filters}),e.error&&n.jsx(a.Alert,{message:e.error,type:"error",showIcon:!0,className:"relation-selector-error"}),n.jsx("div",{style:{overflowX:"auto",width:"100%",maxWidth:"100%",marginTop:10},children:n.jsx(Nt,{...e.table,showHeader:!0,scroll:{x:"max-content"},className:`relation-selector-table ${e.table.className||""}`})}),e.actionButton&&n.jsx("div",{className:"relation-selector-action",children:n.jsx(a.Button,{type:e.actionButton.type||"primary",icon:e.actionButton.icon,onClick:e.actionButton.onClick,disabled:e.actionButton.disabled,loading:e.actionButton.loading,danger:e.actionButton.danger,children:e.actionButton.text})})]})}),n.jsx(me,{...r,children:n.jsx(a.Card,{title:t.title,className:`relation-selector-card ${t.cardClassName||""}`,extra:t.extra,styles:{body:{overflow:t.loading?"hidden":"auto"}},children:t.loading?n.jsx("div",{className:"relation-selector-loading",children:n.jsx(_e,{spinning:!0,indicator:t.spinType,size:"small",spinType:"helppeople"})}):t.data.length===0?n.jsx(a.Empty,{description:t.emptyText||"No hay datos"}):n.jsx(a.List,{size:"small",className:`relation-selector-list ${t.listClassName||""}`,itemLayout:t.itemLayout||"horizontal",dataSource:t.data,pagination:f,renderItem:(d,c)=>{const h=t.renderItem(d);return n.jsx(a.List.Item,{actions:h.actions,children:n.jsx(a.List.Item.Meta,{title:h.title,description:h.description})},l(d,c))}})})})]})})},Rt=({count:e=0,overflowCount:t=99,dot:r=!1,color:o,size:s="default",icon:i,useButton:l=!1,buttonType:f="text",buttonShape:d="circle",onClick:c,style:h,containerStyle:u,showZero:p=!1,offset:m,className:x,disabled:y=!1})=>{const w=()=>{switch(s){case"small":return"18px";case"large":return"28px";default:return"24px"}},N=i||n.jsx(Ee,{style:{fontSize:w(),...u}}),L=l?n.jsx(a.Button,{type:f,icon:N,shape:d,onClick:c,style:u,disabled:y,className:x}):n.jsx("span",{onClick:c,style:{cursor:c?"pointer":"default",display:"inline-flex",alignItems:"center",justifyContent:"center",...u},className:x,children:N});return n.jsx(a.Badge,{count:e,overflowCount:t,dot:r,color:o,showZero:p,offset:m,style:h,children:L})},no=({count:e,notifications:t=[],icon:r,size:o="default",useButton:s=!1,buttonType:i="text",onNotificationClick:l,onLoadMore:f,hasMore:d=!1,loading:c=!1,renderNotification:h,loadMoreText:u="Cargar más",emptyText:p="No hay notificaciones",popoverWidth:m=380,overflowCount:x=99,badgeColor:y,showZero:w=!1,containerStyle:N,popoverTitle:L="Notificaciones",onOpenChange:B,headerAction:P,maxHeight:g=400,placement:D="bottomRight"})=>{const[C,U]=k.useState(!1),T=v=>{U(v),B==null||B(v)},S=v=>{l==null||l(v)},V=v=>n.jsxs("div",{style:{padding:"12px",cursor:v.actions?"default":"pointer",backgroundColor:v.read?"transparent":"#f0f7ff",borderRadius:"4px",transition:"background-color 0.3s",width:"100%",boxSizing:"border-box"},onMouseEnter:M=>{M.currentTarget.style.backgroundColor=v.read?"#fafafa":"#e6f4ff"},onMouseLeave:M=>{M.currentTarget.style.backgroundColor=v.read?"transparent":"#f0f7ff"},children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"4px"},children:[n.jsx("span",{style:{fontWeight:v.read?400:600,fontSize:"14px",color:v.read?"#595959":"#262626"},children:v.title}),!v.read&&n.jsx("span",{style:{width:"8px",height:"8px",backgroundColor:"#1890ff",borderRadius:"50%",marginLeft:"8px",flexShrink:0}})]}),v.description&&n.jsx("div",{style:{fontSize:"13px",color:"#8c8c8c",marginBottom:v.actions?"8px":"4px",lineHeight:"1.4"},children:v.description}),v.timestamp&&n.jsx("div",{style:{fontSize:"12px",color:"#bfbfbf",marginBottom:v.actions?"8px":"0"},children:v.timestamp}),v.actions&&v.actions.length>0&&n.jsx(a.Space,{size:"small",style:{marginTop:"8px"},children:v.actions.map((M,Z)=>n.jsx(a.Button,{type:M.type||"default",size:M.size||"small",icon:M.icon,danger:M.danger,disabled:M.disabled,onClick:Y=>{Y.stopPropagation(),M.onClick(v)},children:M.label},Z))})]}),X=n.jsxs("div",{style:{width:m},children:[P&&n.jsxs(n.Fragment,{children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[n.jsx("span",{style:{fontWeight:600,fontSize:"14px"},children:L}),P]}),n.jsx(a.Divider,{style:{margin:"8px 0"}})]}),n.jsx("div",{style:{maxHeight:g,overflowY:"auto"},children:t.length===0?n.jsx(a.Empty,{description:p,image:a.Empty.PRESENTED_IMAGE_SIMPLE,style:{padding:"24px 0"}}):n.jsx(a.List,{dataSource:t,renderItem:v=>n.jsx(a.List.Item,{style:{padding:0,border:"none",marginBottom:"4px",width:"100%"},onClick:()=>S(v),children:h?h(v):V(v)})})}),d&&t.length>0&&n.jsxs(n.Fragment,{children:[n.jsx(a.Divider,{style:{margin:"8px 0"}}),n.jsx("div",{style:{textAlign:"center",padding:"8px 0"},children:n.jsx(G,{text:u,onClick:f||(()=>{}),loading:c,icon:c?n.jsx(jt,{}):void 0,style:{width:"100%"}})})]})]});return n.jsx(a.Popover,{content:X,title:P?null:L,trigger:"click",open:C,onOpenChange:T,placement:D,overlayStyle:{maxWidth:m+48},children:n.jsx("div",{style:{display:"inline-block",cursor:"pointer"},children:n.jsx(Rt,{count:e!==void 0?e:t.filter(v=>!v.read).length,icon:r||n.jsx(Ee,{}),size:o,useButton:s,buttonType:i,overflowCount:x,color:y,showZero:w,containerStyle:N})})})};function It({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,style:i,className:l,...f}){const d=e.map((c,h)=>s(c,h));return n.jsx(a.Timeline,{mode:t,reverse:r,pending:o,items:d,style:{fontFamily:"var(--font-family, inherit)",...i},className:l,...f})}const oo=({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,showExpediente:i=!1,showUsuario:l=!0,showFlujo:f=!1,dateFormatter:d,style:c,className:h,...u})=>{const p=x=>{if(d)return d(x);try{return new Date(x).toLocaleString("es-ES",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}catch{return x}},m=x=>({label:n.jsx("span",{style:{fontWeight:"500"},children:p(x.Fecha)}),children:n.jsxs("div",{style:{paddingBottom:"8px"},children:[i&&x.CodigoExpediente&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Expediente:"})," ",x.CodigoExpediente]}),f&&x.DescripcionFlujo&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Flujo:"})," ",x.DescripcionFlujo]}),l&&x.NombreUsuario&&n.jsxs("div",{style:{marginBottom:"4px",color:"var(--color-text-secondary, #666)",fontSize:"var(--font-size-small, 12px)"},children:[n.jsx("strong",{children:"Usuario:"})," ",x.NombreUsuario]}),n.jsx("div",{style:{marginTop:"8px"},children:x.Mensaje})]}),color:x.color||"blue",dot:x.dot});return n.jsx(It,{data:e,mode:t,reverse:r,pending:o,renderItem:s||m,style:c,className:h,...u})},so=({className:e,...t})=>n.jsx("div",{className:`custom-carousel-wrapper ${e||""}`,children:n.jsx(a.Carousel,{...t})}),io=e=>n.jsx(a.Empty,{...e}),ao=({className:e,style:t,...r},o)=>n.jsx(a.List,{ref:o,className:`${e}`,style:t,...r}),Le=k.forwardRef(ao);Le.Item=a.List.Item;Le.ItemMeta=a.List.Item.Meta;const _t=k.createContext(null),lo=()=>{const e=k.useContext(_t);if(!e)throw new Error("useFeedback() debe usarse dentro de <FeedbackProvider>. Asegúrate de que FeedbackProvider envuelve tu árbol de componentes.");return e},co=({children:e,onReady:t})=>{const{notification:r,message:o,modal:s}=a.App.useApp(),i={notification:r,message:o,modal:s},l=k.useRef(!1);return k.useEffect(()=>{!l.current&&t&&(t(i),l.current=!0)},[t,i]),n.jsx(_t.Provider,{value:i,children:e})},Ht=({children:e,onReady:t})=>n.jsx(a.App,{children:n.jsx(co,{onReady:t,children:e})}),uo={INPUT_HEIGHT:25,FONT_SIZE:12,PRIMARY_COLOR:"#1b1464",FONT_FAMILY:'"Open Sans", sans-serif',TABLE_ROW_HEIGHT:25,BORDER_COLOR:"#d9d9d9",TEXT_COLOR:"#333333"},fo=({children:e,customTokens:t={}})=>{const r={...uo,...t};return n.jsx(a.ConfigProvider,{theme:{token:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,colorPrimary:r.PRIMARY_COLOR,fontFamily:r.FONT_FAMILY,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgBase:"#ffffff"},components:{Button:{fontSize:r.FONT_SIZE,controlHeight:22,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044",colorText:r.TEXT_COLOR,colorBgContainer:"#ffffff",colorBorder:r.BORDER_COLOR},Table:{cellFontSize:r.FONT_SIZE,cellPaddingBlock:4,headerBg:"#fafafa",headerColor:r.TEXT_COLOR,headerSplitColor:r.BORDER_COLOR,colorText:"inherit",rowSelectedBg:"#e8e6f0",rowSelectedHoverBg:"#d9d5e8",rowHoverBg:"#f5f5f5"},Input:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},Select:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},DatePicker:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY,colorBorder:r.BORDER_COLOR,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",borderRadius:4,paddingInline:8},Checkbox:{colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044"},Spin:{colorPrimary:r.PRIMARY_COLOR,dotSize:20,dotSizeSM:16,dotSizeLG:24},Transfer:{listHeight:200,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgContainer:"#ffffff",fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY},Divider:{fontSize:r.FONT_SIZE,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,fontFamily:r.FONT_FAMILY}}},children:n.jsx(Ht,{children:n.jsx("div",{className:"library-components-wrapper","data-input-height":r.INPUT_HEIGHT,"data-font-size":r.FONT_SIZE,"data-primary-color":r.PRIMARY_COLOR,children:e})})})},ho={open:e=>{a.message.open(e)},success:(e,t,r)=>{a.message.success(e,t,r)},error:(e,t,r)=>{a.message.error(e,t,r)},info:(e,t,r)=>{a.message.info(e,t,r)},warning:(e,t,r)=>{a.message.warning(e,t,r)},loading:(e,t,r)=>{a.message.loading(e,t,r)}},{DirectoryTree:mo}=a.Tree,po=({style:e,...t})=>n.jsx(a.Tree,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),go=({style:e,...t})=>n.jsx(mo,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),xo=({count:e,dot:t=!1,overflowCount:r=99,showZero:o=!1,size:s="default",status:i,text:l,color:f,offset:d,children:c,style:h,className:u,...p})=>n.jsx(a.Badge,{count:e,dot:t,overflowCount:r,showZero:o,size:s,status:i,text:l,color:f,offset:d,style:{fontSize:"var(--font-size-medium)",...h},className:u,...p,children:c}),yo=({src:e,width:t,height:r,alt:o="",fallback:s,placeholder:i,preview:l=!0,style:f,className:d,...c})=>n.jsx(a.Image,{src:e,width:t,height:r,alt:o,fallback:s,placeholder:i,preview:l,style:f,className:d,...c}),vo=({children:e,preview:t,items:r,fallback:o})=>n.jsx(a.Image.PreviewGroup,{preview:t,items:r,fallback:o,children:e});exports.Accordion=Jn;exports.Alert=Vt;exports.Avatar=Yt;exports.AvatarGroup=Wt;exports.Badge=xo;exports.Button=G;exports.Calendar=qn;exports.Card=Dt;exports.Carousel=so;exports.CheckBox=Je;exports.ClearOutlined=ce;exports.CloseOutlined=gt;exports.Col=me;exports.CustomFilterDrawer=Ln;exports.CustomFilterDrawerHp=Fn;exports.DatePicker=fe;exports.DeleteOutlined=xt;exports.DirectoryTree=go;exports.Divider=sr;exports.DragAndDrop=Qn;exports.Drawer=ir;exports.Dropdown=Mt;exports.EditOutlined=Ne;exports.Empty=io;exports.FeedbackProvider=Ht;exports.FileExcelOutlined=yt;exports.FilePdfOutlined=vt;exports.FilterOutlined=De;exports.FilterToolbar=wn;exports.FloatButton=Ie;exports.Form=oe;exports.Image=yo;exports.ImagePreviewGroup=vo;exports.Input=Re;exports.InputSwitch=kn;exports.LibraryThemeProvider=fo;exports.List=Le;exports.Menu=de;exports.Message=ho;exports.Modal=zt;exports.Notification=On;exports.NotificationBadge=Rt;exports.NotificationDropdown=no;exports.NumericInput=kt;exports.Pagination=En;exports.Password=jn;exports.PlusOutlined=Me;exports.Progress=Nn;exports.Radio=Et;exports.RadioGroup=Tn;exports.RelationSelector=ro;exports.RichTextEditor=Xn;exports.Row=He;exports.Search=Sn;exports.SearchOutlined=St;exports.Select=Ot;exports.Skeleton=zn;exports.Space=An;exports.Spin=_e;exports.SubToolbar=Rn;exports.Table=Nt;exports.TableTransfer=to;exports.Tabs=Dn;exports.Tag=$n;exports.TextArea=Cn;exports.Timeline=It;exports.TimelineWithDefaults=oo;exports.Toolbar=Mn;exports.Tooltip=Tt;exports.Transfer=eo;exports.Tree=po;exports.Upload=In;exports.UploadDragger=Hn;exports.useFeedback=lo;
|
|
118
|
+
`,oe=e=>{const[t]=a.Form.useForm(),r=e.form||t;return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:Bn}),n.jsx(a.Form,{...e,className:`custom-form ${e.className||""}`,form:r,children:typeof e.children=="function"?e.children(r):e.children})]})};oe.Item=a.Form.Item;oe.List=a.Form.List;oe.useForm=a.Form.useForm;oe.useWatch=a.Form.useWatch;oe.useFormInstance=a.Form.useFormInstance;const He=e=>n.jsx(a.Row,{...e,children:e.children}),me=e=>n.jsx(a.Col,{...e,children:e.children}),An=e=>n.jsx(a.Space,{...e,children:e.children}),Dt=e=>n.jsx(a.Card,{...e}),$n=e=>n.jsx(a.Tag,{...e});var Pn={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return e==="Día"?"Hoy":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+(e==="Semana"?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},Vn={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${e===1?"":"s"}`}},Yn={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return e==="Dia"?"Hoje":(e==="Semana"?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+(e==="Semana"?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"};const Wn={es:Pn,en:Vn,pt:Yn},qn=({events:e,initialView:t="dayGridMonth",height:r=600,selectable:o=!0,editable:s=!1,onEventClick:i,onDateSelect:l,renderEventContent:f,localeCode:d="es"})=>{const c=e;function h(m){i&&i({id:m.event.id,title:m.event.title,start:m.event.start,end:m.event.end??void 0,allDay:m.event.allDay})}function u(m){l&&l({start:m.start,end:m.end,allDay:m.allDay})}function p(m){return n.jsxs("div",{children:[n.jsx("b",{children:m.timeText})," ",n.jsx("span",{children:m.event.title})]})}return n.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",flexWrap:"nowrap",padding:"8px 12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,width:"100%",minHeight:"100vh",boxSizing:"border-box"},children:n.jsx(Ft,{plugins:[Bt,At,$t],initialView:t,headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},height:r,selectable:o,editable:s,events:c,eventContent:f??p,eventClick:h,select:u,locale:Wn[d||"es"]})})},Gn=Qe.Quill.import("delta");function Un(e){if(!e||typeof e!="string"||!e.includes("<table"))return e;try{const r=new DOMParser().parseFromString(e,"text/html");return r.querySelectorAll("table").forEach(s=>{var f;const i=document.createElement("div");s.querySelectorAll("tr").forEach(d=>{const c=document.createElement("p"),h=d.querySelectorAll("td, th");let u="";h.forEach(p=>{u+=p.innerHTML+" "}),c.innerHTML=u.trim(),i.appendChild(c)}),(f=s.parentNode)==null||f.replaceChild(i,s)}),r.body.innerHTML}catch(t){return console.error("Error transforming table HTML",t),e}}const Kn=["header","bold","italic","underline","strike","blockquote","list","bullet","link","color","background","align"],Xn=({value:e="",onChange:t=()=>{},placeholder:r="Escribe aquí...",modules:o,formats:s,theme:i="snow",height:l="200px",width:f="100%",maxHeight:d="400px",minHeight:c="100px",autoResize:h=!1,className:u="",allowImages:p=!0,maxLength:m,...x})=>{const y=k.useRef(null),w=k.useRef(null),[E,L]=k.useState(0),B=k.useMemo(()=>m!==void 0?m:3e3,[m]),P=k.useMemo(()=>Un(e),[e]),g=k.useMemo(()=>{if(s)return s;const T=[...Kn];return p&&T.push("image"),T},[s,p]),D=k.useMemo(()=>{if(o)return o;const T=[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"}]],S=["link"];return p&&S.push("image"),T.push(S),T.push(["clean"]),T.push([{color:[]},{background:[]}]),T.push([{align:[]}]),{toolbar:T,clipboard:{matchVisual:!1}}},[o,p]);k.useEffect(()=>{!p&&y.current&&y.current.getEditor().clipboard.addMatcher("IMG",()=>new Gn)},[p]),k.useEffect(()=>{if(!y.current||!m)return;const T=y.current.getEditor(),S=(X,v,M)=>{if(M!=="user")return;const Y=T.getText().trim().length;if(L(Y),Y>m){const O=Y-m,N=T.getContents(),ee=N.length();let j=O,z=ee-1;for(;j>0&&z>=0;){const W=N.ops[z];if(W&&typeof W.insert=="string"){const q=W.insert.length;if(q<=j)N.ops.splice(z,1),j-=q;else{const K=q-j;N.ops[z]={insert:W.insert.substring(0,K)},j=0}}z--}T.setContents(N)}},V=T.getText().trim();return L(V.length),T.on("text-change",S),()=>{T.off("text-change",S)}},[m]),k.useEffect(()=>{if(h&&y.current&&w.current){const T=y.current.getEditor(),S=w.current,V=()=>{const X=S.querySelector(".ql-editor");if(X){const v=X.scrollHeight,M=typeof c=="number"?c:parseInt(c),Z=typeof d=="number"?d:parseInt(d),Y=Math.min(Math.max(v+42,M),Z);S.style.height=`${Y}px`}};return T.on("text-change",V),V(),()=>{T.off("text-change",V)}}},[h,d,c]);const C={width:typeof f=="number"?`${f}px`:f,height:h?"auto":typeof l=="number"?`${l}px`:l,minHeight:typeof c=="number"?`${c}px`:c,maxHeight:h?typeof d=="number"?`${d}px`:d:"none",display:"flex",flexDirection:"column",border:"1px solid #d9d9d9",borderRadius:"6px",backgroundColor:"#ffffff",...x.style},U={height:"100%",display:"flex",flexDirection:"column"};return n.jsxs("div",{ref:w,className:`custom-rich-text-editor ${h?"auto-resize":"fixed-height"} ${u}`,style:C,children:[n.jsx(Qe,{ref:y,theme:i,value:P,onChange:t,modules:D,formats:g,placeholder:r,style:U,...x}),m!==void 0&&n.jsxs("div",{className:`character-counter ${E>=B?"at-limit":E>=B*.9?"near-limit":""}`,children:[E,"/",B]})]})},de=e=>n.jsx(a.Menu,{className:`custom-menu ${e.className||""}`,style:{fontSize:"var(--font-size-medium)",...e.style},...e});de.Item=e=>n.jsx(a.Menu.Item,{...e,className:`custom-menu-item ${e.className||""}`});de.SubMenu=e=>n.jsx(a.Menu.SubMenu,{...e,className:`custom-menu-submenu ${e.className||""}`});de.ItemGroup=a.Menu.ItemGroup;de.Divider=a.Menu.Divider;const Mt=({className:e,children:t,items:r,menu:o,...s})=>{const i=r?{items:r}:o;return n.jsx(a.Dropdown,{className:`custom-dropdown ${e||""}`,menu:i,...s,children:t})};Mt.Button=e=>n.jsx(a.Dropdown.Button,{className:`custom-dropdown-button ${e.className||""}`,...e});const{Title:Zn}=a.Typography,Qn=({available:e,selected:t,onChange:r,availableTitle:o="Disponibles",selectedTitle:s="Seleccionados",emptyDescription:i="Arrastra los elementos aquí"})=>{const l=d=>{const{source:c,destination:h}=d;if(h&&!(c.droppableId===h.droppableId&&c.index===h.index))if(c.droppableId===h.droppableId){const u=c.droppableId==="disponibles"?[...e]:[...t],[p]=u.splice(c.index,1);u.splice(h.index,0,p),c.droppableId==="disponibles"?r(u,t):r(e,u)}else{const u=c.droppableId==="disponibles"?[...e]:[...t],p=h.droppableId==="disponibles"?[...e]:[...t],[m]=u.splice(c.index,1);p.splice(h.index,0,m),c.droppableId==="disponibles"?r(u,p):r(p,u)}},f=(d,c,h)=>n.jsxs(me,{span:12,children:[n.jsx(Zn,{level:4,style:{marginBottom:16,fontSize:14},children:c}),n.jsx(ye.Droppable,{droppableId:d,children:(u,p)=>n.jsxs("div",{ref:u.innerRef,...u.droppableProps,style:{minHeight:300,background:p.isDraggingOver?"#f0f9ff":"#f8fafc",padding:16,borderRadius:8,border:`2px dashed ${p.isDraggingOver?"#3b82f6":"#cbd5e1"}`,transition:"all 0.2s ease"},children:[h.length===0?n.jsx(a.Empty,{description:i,style:{opacity:.3}}):h.map((m,x)=>n.jsx(ye.Draggable,{draggableId:m.id,index:x,children:(y,w)=>n.jsx("div",{ref:y.innerRef,...y.draggableProps,...y.dragHandleProps,style:{marginBottom:8,cursor:w.isDragging?"grabbing":"grab",opacity:w.isDragging?.8:1,transform:w.isDragging?"rotate(3deg)":"none",...y.draggableProps.style},children:n.jsx(Dt,{size:"small",style:{boxShadow:w.isDragging?"0 4px 6px -1px rgb(0 0 0 / 0.1)":"none",fontSize:"var(--font-size-medium)"},children:m.content})})},m.id)),u.placeholder]})})]});return n.jsx(ye.DragDropContext,{onDragEnd:l,children:n.jsxs(He,{gutter:16,style:{margin:"24px 0"},children:[f("disponibles",o,e),f("seleccionados",s,t)]})})},Jn=({items:e,defaultActiveKey:t,activeKey:r,onChange:o,accordion:s=!1,bordered:i=!0,collapsible:l="header",expandIcon:f,expandIconPosition:d="start",ghost:c=!1,size:h="middle",className:u,style:p})=>{const x={items:e.map(y=>({key:y.key,label:y.header,children:y.children,disabled:y.disabled,showArrow:y.showArrow,extra:y.extra,className:y.className,style:y.style})),defaultActiveKey:t,activeKey:r,onChange:o,accordion:s,bordered:i,collapsible:l,expandIcon:f,expandIconPosition:d,ghost:c,size:h,className:u,style:p};return n.jsx(a.Collapse,{...x})},eo=({dataSource:e,targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:l,titles:f=["Origen","Destino"],operations:d=[">","<"],showSearch:c=!1,filterOption:h,disabled:u=!1,listStyle:p,className:m,style:x,render:y,children:w,showSelectAll:E=!0,selectAllLabels:L,oneWay:B=!1,pagination:P=!1,status:g,locale:D,remotePagination:C,onPageChange:U})=>{const T=e.map(O=>({key:O.key,title:O.title,description:O.description,disabled:O.disabled||!1,chosen:O.chosen||!1})),S=o?(O,N,ee)=>o(O,N,ee):void 0,V=s?(O,N)=>s(O,N):void 0,X=i?(O,N)=>i(O,N):void 0,v=l?(O,N)=>l(O,N):void 0,M=["hp-transfer",m].filter(Boolean).join(" "),Z=!!C&&C.position!=="none",Y={dataSource:T,targetKeys:t,selectedKeys:r,onChange:S,onSelectChange:V,onSearch:X,onScroll:v,titles:f,operations:d,showSearch:c,filterOption:h?(O,N)=>h(O,N):void 0,disabled:u,listStyle:p,className:M,render:y||(O=>O.title),showSelectAll:E,selectAllLabels:L,oneWay:B,pagination:Z?!1:P,status:g,locale:D,footer:Z?({direction:O})=>{const N=(C==null?void 0:C.position)??"left";if(!(N==="both"||N==="left"&&O==="left"||N==="right"&&O==="right"))return null;const j=O==="left"?C==null?void 0:C.left:C==null?void 0:C.right;if(!j)return null;const{page:z,pageSize:W,total:q}=j,K=(C==null?void 0:C.simple)??!0,Q=(C==null?void 0:C.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(a.Pagination,{size:"small",simple:K,current:z,total:q,pageSize:W,showSizeChanger:Q,pageSizeOptions:["5","10","20","50"],onChange:(se,ie)=>{U==null||U(O,se,ie)}})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...x},children:w?w(Y):n.jsx(a.Transfer,{...Y})})},to=({dataSource:e=[],targetKeys:t=[],selectedKeys:r=[],onChange:o,onSelectChange:s,onSearch:i,onScroll:l,titles:f=["Origen","Destino"],operations:d=[">","<"],showSearch:c=!1,filterOption:h,disabled:u=!1,listStyle:p,className:m,style:x,selectAllLabels:y,oneWay:w=!1,status:E,locale:L,leftColumns:B,rightColumns:P,rowKey:g="key",tableSize:D="small",tableScroll:C,showDefaultHeaderActions:U=!0,headerActions:T=[],remotePagination:S,onPageChange:V})=>{const X=(e??[]).map(j=>({...j,key:j.key,title:j.title||j.key||String(j.key),description:j.description,disabled:j.disabled||!1,chosen:j.chosen||!1})),v=o?(j,z,W)=>o(j,z,W):void 0,M=s?(j,z)=>s(j,z):void 0,Z=i?(j,z)=>i(j,z):void 0,Y=l?(j,z)=>l(j,z):void 0,O=["hp-transfer","hp-table-transfer",m].filter(Boolean).join(" "),N=!!S&&(S.position??"left")!=="none",ee={dataSource:X,targetKeys:t,selectedKeys:r,onChange:v,onSelectChange:M,onSearch:Z,onScroll:Y,titles:f,operations:d,showSearch:c,filterOption:h,disabled:u,listStyle:p,className:O,showSelectAll:U,selectAllLabels:y,oneWay:w,pagination:!1,status:E,locale:L,footer:N?({direction:j})=>{const z=(S==null?void 0:S.position)??"left";if(!(z==="both"||z==="left"&&j==="left"||z==="right"&&j==="right"))return null;const q=j==="left"?S==null?void 0:S.left:S==null?void 0:S.right;if(!q)return null;const{page:K,pageSize:Q,total:se}=q,ie=(S==null?void 0:S.simple)??!0,ge=(S==null?void 0:S.showSizeChanger)??!0;return n.jsx("div",{style:{padding:"6px 10px",borderTop:"1px solid #f0f0f0"},children:n.jsx(a.Pagination,{size:"small",simple:ie,current:K,total:se,pageSize:Q,showSizeChanger:ge,pageSizeOptions:["5","10","20","50"],onChange:(R,A)=>V==null?void 0:V(j,R,A)})})}:void 0};return n.jsx("div",{style:{marginBottom:12,...x},children:n.jsx(a.Transfer,{...ee,children:({direction:j,filteredItems:z,onItemSelect:W,onItemSelectAll:q,selectedKeys:K,disabled:Q})=>{const se=j==="left"?B:P??B,ie={getCheckboxProps:R=>({disabled:Q||R.disabled}),selectedRowKeys:K,onSelect:(R,A)=>{W(R.key,A)},hideSelectAll:!1,onChange:R=>{q(R,"replace")},selections:(()=>{const R=[];return U&&R.push({key:"select-all-data",text:"Select all data",onSelect:()=>{const A=z.map(te=>te.key);q(A,"replace")}},{key:"invert-current-page",text:"Invert current page",onSelect:()=>{const A=z.map(xe=>xe.key),te=K,Lt=A.filter(xe=>!te.includes(xe));q(Lt,"replace")}}),T.forEach(A=>{R.push({key:A.key,text:A.label,onSelect:()=>{var te;(te=A.onClick)==null||te.call(A,j,K)}})}),R.length>0?R:!1})()},ge=typeof g=="function"?g:R=>R[g];return n.jsx(a.Table,{showHeader:!0,size:D,columns:se,dataSource:z,rowKey:ge,pagination:!1,rowSelection:ie,style:{pointerEvents:Q?"none":void 0,height:"100%"},onRow:R=>({onClick:()=>{if(Q||R.disabled)return;const A=!K.includes(R.key);W(R.key,A)}}),scroll:C})}})})},ro=({leftPanel:e,rightPanel:t,responsive:r={xs:24,sm:12,md:12},gutter:o=[16,8],className:s,style:i})=>{const l=(d,c)=>typeof t.rowKey=="function"?t.rowKey(d):d[t.rowKey]||String(c),f=(()=>{const d=t.pagination;return d&&{size:"small",showTotal:(c,h)=>`${h[1]-h[0]+1} de ${c} registros`,style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},...d}})();return n.jsx("div",{className:`custom-relation-selector ${s||""}`,style:i,children:n.jsxs(He,{gutter:o,children:[n.jsx(me,{...r,children:n.jsxs(a.Card,{title:e.title,className:`relation-selector-card ${e.cardClassName||""}`,extra:e.extra,children:[e.filters&&n.jsx("div",{className:"relation-selector-filters",children:e.filters}),e.error&&n.jsx(a.Alert,{message:e.error,type:"error",showIcon:!0,className:"relation-selector-error"}),n.jsx("div",{style:{overflowX:"auto",width:"100%",maxWidth:"100%",marginTop:10},children:n.jsx(Et,{...e.table,showHeader:!0,scroll:{x:"max-content"},className:`relation-selector-table ${e.table.className||""}`})}),e.actionButton&&n.jsx("div",{className:"relation-selector-action",children:n.jsx(a.Button,{type:e.actionButton.type||"primary",icon:e.actionButton.icon,onClick:e.actionButton.onClick,disabled:e.actionButton.disabled,loading:e.actionButton.loading,danger:e.actionButton.danger,children:e.actionButton.text})})]})}),n.jsx(me,{...r,children:n.jsx(a.Card,{title:t.title,className:`relation-selector-card ${t.cardClassName||""}`,extra:t.extra,styles:{body:{overflow:t.loading?"hidden":"auto"}},children:t.loading?n.jsx("div",{className:"relation-selector-loading",children:n.jsx(_e,{spinning:!0,indicator:t.spinType,size:"small",spinType:"helppeople"})}):t.data.length===0?n.jsx(a.Empty,{description:t.emptyText||"No hay datos"}):n.jsx(a.List,{size:"small",className:`relation-selector-list ${t.listClassName||""}`,itemLayout:t.itemLayout||"horizontal",dataSource:t.data,pagination:f,renderItem:(d,c)=>{const h=t.renderItem(d);return n.jsx(a.List.Item,{actions:h.actions,children:n.jsx(a.List.Item.Meta,{title:h.title,description:h.description})},l(d,c))}})})})]})})},Rt=({count:e=0,overflowCount:t=99,dot:r=!1,color:o,size:s="default",icon:i,useButton:l=!1,buttonType:f="text",buttonShape:d="circle",onClick:c,style:h,containerStyle:u,showZero:p=!1,offset:m,className:x,disabled:y=!1})=>{const w=()=>{switch(s){case"small":return"18px";case"large":return"28px";default:return"24px"}},E=i||n.jsx(Ne,{style:{fontSize:w(),...u}}),L=l?n.jsx(a.Button,{type:f,icon:E,shape:d,onClick:c,style:u,disabled:y,className:x}):n.jsx("span",{onClick:c,style:{cursor:c?"pointer":"default",display:"inline-flex",alignItems:"center",justifyContent:"center",...u},className:x,children:E});return n.jsx(a.Badge,{count:e,overflowCount:t,dot:r,color:o,showZero:p,offset:m,style:h,children:L})},no=({count:e,notifications:t=[],icon:r,size:o="default",useButton:s=!1,buttonType:i="text",onNotificationClick:l,onLoadMore:f,hasMore:d=!1,loading:c=!1,renderNotification:h,loadMoreText:u="Cargar más",emptyText:p="No hay notificaciones",popoverWidth:m=380,overflowCount:x=99,badgeColor:y,showZero:w=!1,containerStyle:E,popoverTitle:L="Notificaciones",onOpenChange:B,headerAction:P,maxHeight:g=400,placement:D="bottomRight"})=>{const[C,U]=k.useState(!1),T=v=>{U(v),B==null||B(v)},S=v=>{l==null||l(v)},V=v=>n.jsxs("div",{style:{padding:"12px",cursor:v.actions?"default":"pointer",backgroundColor:v.read?"transparent":"#f0f7ff",borderRadius:"4px",transition:"background-color 0.3s",width:"100%",boxSizing:"border-box"},onMouseEnter:M=>{M.currentTarget.style.backgroundColor=v.read?"#fafafa":"#e6f4ff"},onMouseLeave:M=>{M.currentTarget.style.backgroundColor=v.read?"transparent":"#f0f7ff"},children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:"4px"},children:[n.jsx("span",{style:{fontWeight:v.read?400:600,fontSize:"14px",color:v.read?"#595959":"#262626"},children:v.title}),!v.read&&n.jsx("span",{style:{width:"8px",height:"8px",backgroundColor:"#1890ff",borderRadius:"50%",marginLeft:"8px",flexShrink:0}})]}),v.description&&n.jsx("div",{style:{fontSize:"13px",color:"#8c8c8c",marginBottom:v.actions?"8px":"4px",lineHeight:"1.4"},children:v.description}),v.timestamp&&n.jsx("div",{style:{fontSize:"12px",color:"#bfbfbf",marginBottom:v.actions?"8px":"0"},children:v.timestamp}),v.actions&&v.actions.length>0&&n.jsx(a.Space,{size:"small",style:{marginTop:"8px"},children:v.actions.map((M,Z)=>n.jsx(a.Button,{type:M.type||"default",size:M.size||"small",icon:M.icon,danger:M.danger,disabled:M.disabled,onClick:Y=>{Y.stopPropagation(),M.onClick(v)},children:M.label},Z))})]}),X=n.jsxs("div",{style:{width:m},children:[P&&n.jsxs(n.Fragment,{children:[n.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[n.jsx("span",{style:{fontWeight:600,fontSize:"14px"},children:L}),P]}),n.jsx(a.Divider,{style:{margin:"8px 0"}})]}),n.jsx("div",{style:{maxHeight:g,overflowY:"auto"},children:t.length===0?n.jsx(a.Empty,{description:p,image:a.Empty.PRESENTED_IMAGE_SIMPLE,style:{padding:"24px 0"}}):n.jsx(a.List,{dataSource:t,renderItem:v=>n.jsx(a.List.Item,{style:{padding:0,border:"none",marginBottom:"4px",width:"100%"},onClick:()=>S(v),children:h?h(v):V(v)})})}),d&&t.length>0&&n.jsxs(n.Fragment,{children:[n.jsx(a.Divider,{style:{margin:"8px 0"}}),n.jsx("div",{style:{textAlign:"center",padding:"8px 0"},children:n.jsx(G,{text:u,onClick:f||(()=>{}),loading:c,icon:c?n.jsx(jt,{}):void 0,style:{width:"100%"}})})]})]});return n.jsx(a.Popover,{content:X,title:P?null:L,trigger:"click",open:C,onOpenChange:T,placement:D,overlayStyle:{maxWidth:m+48},children:n.jsx("div",{style:{display:"inline-block",cursor:"pointer"},children:n.jsx(Rt,{count:e!==void 0?e:t.filter(v=>!v.read).length,icon:r||n.jsx(Ne,{}),size:o,useButton:s,buttonType:i,overflowCount:x,color:y,showZero:w,containerStyle:E})})})};function It({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,style:i,className:l,...f}){const d=e.map((c,h)=>s(c,h));return n.jsx(a.Timeline,{mode:t,reverse:r,pending:o,items:d,style:{fontFamily:"var(--font-family, inherit)",...i},className:l,...f})}const oo=({data:e,mode:t="left",reverse:r=!1,pending:o,renderItem:s,showExpediente:i=!1,showUsuario:l=!0,showFlujo:f=!1,dateFormatter:d,style:c,className:h,...u})=>{const p=x=>{if(d)return d(x);try{return new Date(x).toLocaleString("es-ES",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})}catch{return x}},m=x=>({label:n.jsx("span",{style:{fontWeight:"500"},children:p(x.Fecha)}),children:n.jsxs("div",{style:{paddingBottom:"8px"},children:[i&&x.CodigoExpediente&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Expediente:"})," ",x.CodigoExpediente]}),f&&x.DescripcionFlujo&&n.jsxs("div",{style:{marginBottom:"4px"},children:[n.jsx("strong",{children:"Flujo:"})," ",x.DescripcionFlujo]}),l&&x.NombreUsuario&&n.jsxs("div",{style:{marginBottom:"4px",color:"var(--color-text-secondary, #666)",fontSize:"var(--font-size-small, 12px)"},children:[n.jsx("strong",{children:"Usuario:"})," ",x.NombreUsuario]}),n.jsx("div",{style:{marginTop:"8px"},children:x.Mensaje})]}),color:x.color||"blue",dot:x.dot});return n.jsx(It,{data:e,mode:t,reverse:r,pending:o,renderItem:s||m,style:c,className:h,...u})},so=({className:e,...t})=>n.jsx("div",{className:`custom-carousel-wrapper ${e||""}`,children:n.jsx(a.Carousel,{...t})}),io=e=>n.jsx(a.Empty,{...e}),ao=({className:e,style:t,...r},o)=>n.jsx(a.List,{ref:o,className:`${e}`,style:t,...r}),Le=k.forwardRef(ao);Le.Item=a.List.Item;Le.ItemMeta=a.List.Item.Meta;const _t=k.createContext(null),lo=()=>{const e=k.useContext(_t);if(!e)throw new Error("useFeedback() debe usarse dentro de <FeedbackProvider>. Asegúrate de que FeedbackProvider envuelve tu árbol de componentes.");return e},co=({children:e,onReady:t})=>{const{notification:r,message:o,modal:s}=a.App.useApp(),i={notification:r,message:o,modal:s},l=k.useRef(!1);return k.useEffect(()=>{!l.current&&t&&(t(i),l.current=!0)},[t,i]),n.jsx(_t.Provider,{value:i,children:e})},Ht=({children:e,onReady:t})=>n.jsx(a.App,{children:n.jsx(co,{onReady:t,children:e})}),uo={INPUT_HEIGHT:25,FONT_SIZE:12,PRIMARY_COLOR:"#1b1464",FONT_FAMILY:'"Open Sans", sans-serif',TABLE_ROW_HEIGHT:25,BORDER_COLOR:"#d9d9d9",TEXT_COLOR:"#333333"},fo=({children:e,customTokens:t={}})=>{const r={...uo,...t};return n.jsx(a.ConfigProvider,{theme:{token:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,colorPrimary:r.PRIMARY_COLOR,fontFamily:r.FONT_FAMILY,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgBase:"#ffffff"},components:{Button:{fontSize:r.FONT_SIZE,controlHeight:22,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044",colorText:r.TEXT_COLOR,colorBgContainer:"#ffffff",colorBorder:r.BORDER_COLOR},Table:{cellFontSize:r.FONT_SIZE,cellPaddingBlock:4,headerBg:"#fafafa",headerColor:r.TEXT_COLOR,headerSplitColor:r.BORDER_COLOR,colorText:"inherit",rowSelectedBg:"#e8e6f0",rowSelectedHoverBg:"#d9d5e8",rowHoverBg:"#f5f5f5"},Input:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},Select:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE},DatePicker:{controlHeight:r.INPUT_HEIGHT,fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY,colorBorder:r.BORDER_COLOR,colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",borderRadius:4,paddingInline:8},Checkbox:{colorPrimary:r.PRIMARY_COLOR,colorPrimaryHover:"#2c2570",colorPrimaryActive:"#151044"},Spin:{colorPrimary:r.PRIMARY_COLOR,dotSize:20,dotSizeSM:16,dotSizeLG:24},Transfer:{listHeight:200,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,colorBgContainer:"#ffffff",fontSize:r.FONT_SIZE,fontFamily:r.FONT_FAMILY},Divider:{fontSize:r.FONT_SIZE,colorText:r.TEXT_COLOR,colorTextBase:r.TEXT_COLOR,fontFamily:r.FONT_FAMILY}}},children:n.jsx(Ht,{children:n.jsx("div",{className:"library-components-wrapper","data-input-height":r.INPUT_HEIGHT,"data-font-size":r.FONT_SIZE,"data-primary-color":r.PRIMARY_COLOR,children:e})})})},ho={open:e=>{a.message.open(e)},success:(e,t,r)=>{a.message.success(e,t,r)},error:(e,t,r)=>{a.message.error(e,t,r)},info:(e,t,r)=>{a.message.info(e,t,r)},warning:(e,t,r)=>{a.message.warning(e,t,r)},loading:(e,t,r)=>{a.message.loading(e,t,r)}},{DirectoryTree:mo}=a.Tree,po=({style:e,...t})=>n.jsx(a.Tree,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),go=({style:e,...t})=>n.jsx(mo,{style:{fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)",...e},...t}),xo=({count:e,dot:t=!1,overflowCount:r=99,showZero:o=!1,size:s="default",status:i,text:l,color:f,offset:d,children:c,style:h,className:u,...p})=>n.jsx(a.Badge,{count:e,dot:t,overflowCount:r,showZero:o,size:s,status:i,text:l,color:f,offset:d,style:{fontSize:"var(--font-size-medium)",...h},className:u,...p,children:c}),yo=({src:e,width:t,height:r,alt:o="",fallback:s,placeholder:i,preview:l=!0,style:f,className:d,...c})=>n.jsx(a.Image,{src:e,width:t,height:r,alt:o,fallback:s,placeholder:i,preview:l,style:f,className:d,...c}),vo=({children:e,preview:t,items:r,fallback:o})=>n.jsx(a.Image.PreviewGroup,{preview:t,items:r,fallback:o,children:e});exports.Accordion=Jn;exports.Alert=Vt;exports.Avatar=Yt;exports.AvatarGroup=Wt;exports.Badge=xo;exports.Button=G;exports.Calendar=qn;exports.Card=Dt;exports.Carousel=so;exports.CheckBox=Je;exports.ClearOutlined=ce;exports.CloseOutlined=gt;exports.Col=me;exports.CustomFilterDrawer=Ln;exports.CustomFilterDrawerHp=Fn;exports.DatePicker=fe;exports.DeleteOutlined=xt;exports.DirectoryTree=go;exports.Divider=sr;exports.DragAndDrop=Qn;exports.Drawer=ir;exports.Dropdown=Mt;exports.EditOutlined=Ee;exports.Empty=io;exports.FeedbackProvider=Ht;exports.FileExcelOutlined=yt;exports.FilePdfOutlined=vt;exports.FilterOutlined=De;exports.FilterToolbar=wn;exports.FloatButton=Ie;exports.Form=oe;exports.Image=yo;exports.ImagePreviewGroup=vo;exports.Input=Re;exports.InputSwitch=kn;exports.LibraryThemeProvider=fo;exports.List=Le;exports.Menu=de;exports.Message=ho;exports.Modal=zt;exports.Notification=On;exports.NotificationBadge=Rt;exports.NotificationDropdown=no;exports.NumericInput=kt;exports.Pagination=Nn;exports.Password=jn;exports.PlusOutlined=Me;exports.Progress=En;exports.Radio=Nt;exports.RadioGroup=Tn;exports.RelationSelector=ro;exports.RichTextEditor=Xn;exports.Row=He;exports.Search=Sn;exports.SearchOutlined=St;exports.Select=Ot;exports.Skeleton=zn;exports.Space=An;exports.Spin=_e;exports.SubToolbar=Rn;exports.Table=Et;exports.TableTransfer=to;exports.Tabs=Dn;exports.Tag=$n;exports.TextArea=Cn;exports.Timeline=It;exports.TimelineWithDefaults=oo;exports.Toolbar=Mn;exports.Tooltip=Tt;exports.Transfer=eo;exports.Tree=po;exports.Upload=In;exports.UploadDragger=Hn;exports.useFeedback=lo;
|