ht-emr 0.7.49 → 0.7.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.id="canvas-editor-style",e.appendChild(document.createTextNode(`.ce-select-control-popup{max-width:160px;min-width:69px;max-height:225px;position:absolute;z-index:1;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px #0000001a;box-sizing:border-box;margin:5px 0;display:flex;flex-direction:column;overflow:hidden}.ce-select-control-search{display:block;width:calc(100% - 16px);height:28px;margin:8px;padding:0 8px;border:1px solid #dcdfe6;border-radius:3px;outline:none;box-sizing:border-box;color:#606266;font-size:13px;line-height:28px}.ce-select-control-search:focus{border-color:var(--COLOR-HOVER, #5175f4)}.ce-select-control-popup ul{list-style:none;padding:3px 0;margin:0;min-height:0;overflow-y:auto;box-sizing:border-box}.ce-select-control-popup ul li{font-size:13px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#666;height:36px;line-height:36px;box-sizing:border-box;cursor:pointer}.ce-select-control-popup ul li:hover,.ce-select-control-popup ul li.keyboard-active{background-color:#eef2fd}.ce-select-control-popup ul li.active{color:var(--COLOR-HOVER, #5175f4);font-weight:700}.ce-select-control-popup ul li.ce-select-control-empty{color:#909399;cursor:default;text-align:center}.ce-select-control-popup ul li.ce-select-control-empty:hover{background-color:transparent}.ce-calculator{position:absolute;z-index:1;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px #0000001a;box-sizing:border-box;margin:5px 0;padding:8px;width:200px}.ce-calculator-display{width:100%;height:40px;line-height:40px;text-align:right;padding:0 10px;margin-bottom:8px;border:1px solid #e4e7ed;border-radius:4px;background-color:#f5f7fa;font-size:16px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}.ce-calculator-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.ce-calculator-button{width:100%;height:36px;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;font-size:14px;cursor:pointer;transition:all .2s;box-sizing:border-box}.ce-calculator-button:hover{background-color:#eef2fd;border-color:#c6d1ff}.ce-calculator-button:active{background-color:#e1e8ff}.ce-calculator-button.operator{background-color:#f5f7fa}.ce-calculator-button.operator:hover{background-color:#eef2fd}.ce-calculator-button.equal{background-color:var(--COLOR-HOVER, #5175f4);color:#fff;border-color:var(--COLOR-HOVER, #5175f4)}.ce-calculator-button.equal:hover{background-color:var(--COLOR-HOVER, #6a84ff);border-color:var(--COLOR-HOVER, #6a84ff)}.ce-calculator-button.utility{background-color:#f0f2f5}.ce-calculator-button.utility:hover{background-color:#e6e8eb}.ce-date-container{display:none;width:300px;overflow:hidden;left:0;right:0;position:absolute;z-index:1;color:#606266;background:#fff;border-radius:4px;padding:10px;-webkit-user-select:none;user-select:none;border:1px solid #e4e7ed;box-shadow:0 2px 12px #0000001a}.ce-date-container.active{display:block}.ce-date-wrap{display:none}.ce-date-wrap.active{display:block}.ce-date-title{display:flex;justify-content:center;align-items:center;text-align:center;color:#606266;font-size:16px}.ce-date-title>span{display:inline-block}.ce-date-title>span:not(.ce-date-title__now){font-family:cursive;cursor:pointer}.ce-date-title>span:not(.ce-date-title__now):hover{color:#5175f4}.ce-date-title .ce-date-title__pre-year,.ce-date-title .ce-date-title__pre-month{width:15%}.ce-date-title .ce-date-title__now{width:40%}.ce-date-title .ce-date-title__next-year,.ce-date-title .ce-date-title__next-month{width:15%}.ce-date-week{width:100%;display:flex;justify-content:center;margin-top:15px;padding-bottom:5px;border-bottom:1px solid #e4e7ed}.ce-date-week>span{list-style:none;width:calc(100%/7);text-align:center;color:#606266;font-size:14px}.ce-date-day{width:100%;display:flex;flex-wrap:wrap;align-items:center;margin-top:5px}.ce-date-day>div{width:calc(100%/7);height:40px;text-align:center;color:#606266;font-size:14px;cursor:pointer;line-height:40px;border-radius:4px}.ce-date-day>div:hover{color:#5175f4;opacity:.8}.ce-date-day>div.active{color:#5175f4;font-weight:700}.ce-date-day>div.disable{color:#c0c4cc}.ce-date-day>div.select{color:#fff;background-color:#5175f4}.ce-time-wrap{display:none;padding:10px;height:286px}.ce-time-wrap ::-webkit-scrollbar{width:0}.ce-time-wrap.active{display:flex}.ce-time-wrap li{list-style:none}.ce-time-wrap>li{width:33.3%;height:100%;text-align:center}.ce-time-wrap>li>span{transform:translateY(-5px);display:inline-block}.ce-time-wrap>li>ol{height:calc(100% - 20px);overflow-y:auto;border:1px solid #e2e2e2;position:relative}.ce-time-wrap>li:first-child>ol{border-right:0}.ce-time-wrap>li:last-child>ol{border-left:0}.ce-time-wrap>li>ol>li{line-height:30px;cursor:pointer;transition:all .3s}.ce-time-wrap>li>ol>li:hover{background-color:#eaeaea}.ce-time-wrap>li>ol>li.active{color:#fff;background:#5175f4}.ce-date-menu{width:100%;height:28px;display:flex;justify-content:flex-end;align-items:center;padding-top:10px;position:relative;border-top:1px solid #e4e7ed}.ce-date-menu button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;appearance:none;text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:500;-webkit-user-select:none;user-select:none;padding:7px 15px;font-size:12px;border-radius:3px;margin:0 0 0 10px}.ce-date-menu button:hover{color:#5175f4;border-color:#5175f4}.ce-date-menu button.ce-date-menu__time{border:1px solid transparent;position:absolute;left:0;margin-left:0}.ce-date-menu button.ce-date-menu__time:hover{color:#5175f4}.ce-block-item{position:absolute;z-index:0;background-color:#fff;border:1px solid rgb(235 236 240)}.ce-block-item .ce-resizer-selection{width:100%;height:100%}.ce-block-item .ce-resizer-mask{position:absolute;inset:0;z-index:1;background-color:transparent}.ce-table-tool__row{position:absolute;width:12px;border-radius:6.5px;overflow:hidden;background-color:#e2e6ed}.ce-table-tool__row .ce-table-tool__row__item{width:100%;position:relative;cursor:pointer;transition:all .3s}.ce-table-tool__row .ce-table-tool__row__item:after{content:"";position:absolute;bottom:0;left:2px;width:8px;height:1px;background-color:#c0c6cf}.ce-table-tool__row .ce-table-tool__row__item:hover{background-color:#dadce0}.ce-table-tool__row .ce-table-tool__row__item:last-child:after{display:none}.ce-table-tool__quick__add{width:16px;height:16px;position:absolute;border-radius:50%;background-color:#e2e6ed;cursor:pointer}.ce-table-tool__quick__add:after{content:"+";color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-55%)}.ce-table-tool__select{width:16px;height:18px;position:absolute;border-radius:3px;cursor:pointer}.ce-table-tool__select:hover{background-color:#e2e6ed}.ce-table-tool__select:after{content:":::";color:#aaaaab;position:absolute;top:50%;left:50%;transform:translate(-75%,-50%) rotate(-90deg)}.ce-table-tool__col{position:absolute;height:12px;border-radius:6.5px;overflow:hidden;background-color:#e2e6ed;display:flex}.ce-table-tool__col .ce-table-tool__col__item{height:100%;position:relative;cursor:pointer;transition:all .3s}.ce-table-tool__col .ce-table-tool__col__item:after{content:"";position:absolute;top:2px;left:-1px;width:1px;height:8px;z-index:1;background-color:#c0c6cf}.ce-table-tool__col .ce-table-tool__col__item:hover{background-color:#dadce0}.ce-table-tool__col .ce-table-tool__col__item:first-child:after{display:none}.ce-table-tool__row .ce-table-tool__row__item.active,.ce-table-tool__col .ce-table-tool__col__item.active{background-color:#c4d7fa}.ce-table-tool__col .ce-table-tool__anchor{right:-5px;width:10px;height:12px;z-index:9;position:absolute;cursor:col-resize}.ce-table-tool__row .ce-table-tool__anchor{bottom:-5px;left:0;width:12px;height:10px;z-index:9;position:absolute;cursor:row-resize}.ce-table-anchor__line{z-index:9;position:absolute;border:1px dotted #000000}.ce-table-tool__border{position:absolute;z-index:1;background:transparent;pointer-events:none}.ce-table-tool__border__row{position:absolute;cursor:row-resize;pointer-events:auto}.ce-table-tool__border__col{position:absolute;cursor:col-resize;pointer-events:auto}.ce-resizer-selection{position:absolute;border:1px solid;pointer-events:none}.ce-resizer-selection .resizer-handle{position:absolute;z-index:9;width:10px;height:10px;box-shadow:0 1px 4px #0000004d;border-radius:5px;border:2px solid #ffffff;box-sizing:border-box;pointer-events:initial}.ce-resizer-selection .handle-0{cursor:nw-resize}.ce-resizer-selection .handle-1{cursor:n-resize}.ce-resizer-selection .handle-2{cursor:ne-resize}.ce-resizer-selection .handle-3{cursor:e-resize}.ce-resizer-selection .handle-4{cursor:se-resize}.ce-resizer-selection .handle-5{cursor:s-resize}.ce-resizer-selection .handle-6{cursor:sw-resize}.ce-resizer-selection .handle-7{cursor:w-resize}.ce-resizer-size-view{display:flex;align-items:center;height:20px;white-space:nowrap;position:absolute;z-index:9;top:-30px;left:0;opacity:.9;background-color:#000;padding:0 5px;border-radius:4px}.ce-resizer-size-view span{color:#fff;font-size:12px}.ce-resizer-image{position:absolute;opacity:.5}.ce-image-previewer{position:fixed;left:0;top:0;z-index:1000;width:100%;height:100%;overflow:hidden;background:#f2f4f7;display:flex;align-items:center;justify-content:center;animation:previewerAnimation .3s}@keyframes previewerAnimation{0%{opacity:.1}to{opacity:1}}.ce-image-previewer .image-close{width:24px;height:24px;display:inline-block;position:absolute;right:50px;top:30px;z-index:99;cursor:pointer;background:url("data:image/svg+xml,%3csvg%20width='32'%20height='32'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.97%207l1.415%201.414-7.779%207.778%207.779%207.779-1.414%201.414-7.779-7.779-7.778%207.779L7%2023.97l7.778-7.779L7%208.414%208.414%207l7.778%207.778L23.971%207z'%20fill='%233D4757'%20fill-rule='evenodd'/%3e%3c/svg%3e") no-repeat;background-size:100% 100%;transition:all .3s;border-radius:50%}.ce-image-previewer .image-close:hover{background-color:#e2e6ed}.ce-image-previewer .ce-image-container{position:relative}.ce-image-previewer .ce-image-container img{cursor:move;position:relative}.ce-image-previewer .ce-image-menu{height:50px;position:absolute;bottom:50px;z-index:99;display:flex;align-items:center;justify-content:center}.ce-image-previewer .ce-image-menu i{width:32px;height:32px;margin:0 8px;cursor:pointer;display:inline-block;background-repeat:no-repeat;background-size:100% 100%;transition:all .3s;border-radius:50%}.ce-image-previewer .ce-image-menu i:hover{background-color:#e2e6ed}.ce-image-previewer .ce-image-menu i.zoom-in{background-image:url("data:image/svg+xml,%3csvg%20width='32'%20height='32'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014v-4h2v4h4v2h-4v4h-2v-4h-4v-2h4zm8.749%2010.163A11.952%2011.952%200%200115%2027C8.373%2027%203%2021.627%203%2015S8.373%203%2015%203s12%205.373%2012%2012c0%202.954-1.067%205.658-2.837%207.749l4.908%204.908-1.414%201.414-4.908-4.908zM15%2025c5.523%200%2010-4.477%2010-10S20.523%205%2015%205%205%209.477%205%2015s4.477%2010%2010%2010z'%20fill='%233D4757'/%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu i.zoom-out{background-image:url("data:image/svg+xml,%3csvg%20width='32'%20height='32'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.749%2024.163A11.952%2011.952%200%200115%2027C8.373%2027%203%2021.627%203%2015S8.373%203%2015%203s12%205.373%2012%2012c0%202.954-1.067%205.658-2.837%207.749l4.908%204.908-1.414%201.414-4.908-4.908zM15%2025c5.523%200%2010-4.477%2010-10S20.523%205%2015%205%205%209.477%205%2015s4.477%2010%2010%2010zm-5-11h10v2H10v-2z'%20fill='%233D4757'/%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu i.rotate{background-image:url("data:image/svg+xml,%3csvg%20width='32'%20height='32'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='%233D4757'%20fill-rule='evenodd'%3e%3cpath%20d='M16%204c6.627%200%2012%205.373%2012%2012a11.97%2011.97%200%2001-4%208.944V23h-.86A9.968%209.968%200%200026%2016c0-5.523-4.477-10-10-10S6%2010.477%206%2016c0%205.185%203.947%209.449%209%209.95v2.009C8.84%2027.451%204%2022.291%204%2016%204%209.373%209.373%204%2016%204z'%20fill-rule='nonzero'/%3e%3cpath%20d='M19.879%2027.328l1.767-6.717%204.95%204.95z'/%3e%3c/g%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu i.original-size{background-image:url("data:image/svg+xml,%3csvg%20width='32'%20height='32'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204h24v24H4V4zm2%202v20h20V6H6zm4%205h2v10h-2V11zm5%202h2v2h-2v-2zm0%204h2v2h-2v-2zm5-6h2v10h-2V11z'%20fill='%233D4757'/%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu i.image-download{background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.5%2015v3.5h15V15H21v5H3v-5h1.5zm8.232-11.226v9.196l4.05-4.05%201.06%201.06-5.834%205.834-5.833-5.833%201.06-1.06%203.998%203.996V3.774h1.5z'%20fill='%233D4757'/%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu .image-navigate{display:flex;align-items:center;justify-content:center}.ce-image-previewer .ce-image-menu i.image-pre{background-image:url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.5%204.063L6.875%2010l5.625%205.938'%20stroke='%233D4757'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu i.image-next{background-image:url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.5%204.063L13.125%2010%207.5%2015.938'%20stroke='%233D4757'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e")}.ce-image-previewer .ce-image-menu .image-count{color:#000;font-size:20px}.ce-image-previewer .ce-image-menu i.disabled{cursor:not-allowed;opacity:.5}.ce-contextmenu-container{z-index:9;position:fixed;display:none;padding:4px;overflow-x:hidden;overflow-y:auto;background:#fff;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed;border-radius:2px}.ce-contextmenu-content{display:flex;flex-direction:column}.ce-contextmenu-content .ce-contextmenu-sub-item:after{position:absolute;content:"";width:16px;height:16px;right:12px;background:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20d='M0%200h16v16H0z'/%3e%3cg%20fill='%23767C85'%3e%3cpath%20d='M7%2012.243l-.707-.707%204.243-4.243.707.707z'/%3e%3cpath%20d='M6.293%204.464L7%203.757%2011.243%208l-.707.707z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-content .ce-contextmenu-item{min-width:140px;padding:0 32px 0 16px;height:30px;display:flex;align-items:center;white-space:nowrap;box-sizing:border-box;cursor:pointer}.ce-contextmenu-content .ce-contextmenu-item.hover{background:#1937580a}.ce-contextmenu-content .ce-contextmenu-item span{max-width:300px;font-size:12px;color:#3d4757;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ce-contextmenu-content .ce-contextmenu-item span.ce-shortcut{color:#767c85;height:30px;flex:1;text-align:right;line-height:30px;margin-left:20px}.ce-contextmenu-content .ce-contextmenu-item i{width:16px;height:16px;vertical-align:middle;display:inline-block;background-repeat:no-repeat;background-size:100% 100%;flex-shrink:0;margin-right:8px}.ce-contextmenu-divider{background-color:#e2e6ed;margin:4px 16px;height:1px}.ce-contextmenu-print{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='%233D4757'%20fill-rule='evenodd'%3e%3cpath%20d='M12%204h-1V2H5v2H4V2a1%201%200%20011-1h6a1%201%200%20011%201v2zm0%205v4a1%201%200%2001-1%201H5a1%201%200%2001-1-1V9h1v4h6V9h1z'/%3e%3cpath%20d='M12%2012v-1h2V5H2v6h2v1H2a1%201%200%2001-1-1V5a1%201%200%20011-1h12a1%201%200%20011%201v6a1%201%200%2001-1%201h-2z'/%3e%3cpath%20d='M3%208h10v1H3zm8-2h2v1h-2z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-image{background-image:url("data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20x='0'%20y='0'%20viewBox='0%200%2016%2016'%20xml:space='preserve'%3e%3cstyle%3e.st0{fill:%233d4757}%3c/style%3e%3cg%20id='_x30_0-公共_x2F_02工具栏_x2F_插入图片-16px-'%3e%3cg%20id='Group-19'%20transform='translate(1%201)'%3e%3cpath%20id='Combined-Shape'%20class='st0'%20d='M1%200h12c.6%200%201%20.4%201%201v11c0%20.6-.4%201-1%201H1c-.6%200-1-.4-1-1V1c0-.6.4-1%201-1zm0%201v11h12V1H1z'/%3e%3ccircle%20id='椭圆形'%20class='st0'%20cx='10'%20cy='4'%20r='1'/%3e%3cpath%20id='Path'%20class='st0'%20d='M8.5%2011.2l-4-4.1L1%2010.7V9.2c1.7-1.6%202.7-2.5%203-2.8.4-.5.7-.4%201%200L8.5%2010%2011%207.3c.4-.5.6-.5%201-.1l2%202.8v1.5l-2.5-3.4-3%203.1z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-image-change{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(2%204)'%20fill='%233D4757'%3e%3ccircle%20fill-rule='nonzero'%20cx='3'%20cy='1'%20r='1'/%3e%3cpath%20d='M7.473%208.223L3.47%204.107%200%207.667v-1.5C1.715%204.6%202.707%203.664%202.975%203.358c.402-.457.651-.39%201.042%200L7.473%207%209.96%204.349c.414-.462.62-.462%201.011-.071L13%207.06v1.5l-2.51-3.41-3.017%203.072z'/%3e%3c/g%3e%3cpath%20d='M6%201.5H1.5v12h13v-4V13a.5.5%200%2001-.5.5H2a.5.5%200%2001-.5-.5V2a.5.5%200%2001.5-.5h4zm8.5%208V6l-.5.5h1l-.5-.5v3.5zM6%201.5h4L9.5%201v1l.5-.5H6z'%20stroke='%233D4757'/%3e%3cpath%20d='M13.085%201.316l-3.814%204a1%201%200%20001.458%201.368l3.815-4a1%201%200%2010-1.459-1.368z'%20fill='%233D4757'%20fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-insert-row-col{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20stroke='%233D4757'%20d='M8.5%205.5h6v4h-6z'/%3e%3cpath%20fill='%233D4757'%20d='M4%207v1h2V7zm-3%20.5L4%205v5zM1%201h12v1H1zm0%2012h12v1H1z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-insert-top-row{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20fill='%233D4757'%20d='M8%205H7v3h1zm-.5-3L10%205H5z'/%3e%3crect%20stroke='%233D4757'%20x='1.5'%20y='10.5'%20width='12'%20height='3'%20rx='1'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-insert-bottom-row{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20fill='%233D4757'%20d='M7%2011h1V8H7zm.5%203L5%2011h5z'/%3e%3crect%20stroke='%233D4757'%20x='1.5'%20y='2.5'%20width='12'%20height='3'%20rx='1'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-insert-left-col{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20fill='%233D4757'%20d='M11%207v1h3V7zm-3%20.5L11%205v5z'/%3e%3crect%20stroke='%233D4757'%20transform='rotate(90%204%207.5)'%20x='-2'%20y='6'%20width='12'%20height='3'%20rx='1'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-insert-right-col{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20fill='%233D4757'%20d='M5%208V7H2v1zm3-.5L5%2010V5z'/%3e%3crect%20stroke='%233D4757'%20transform='rotate(90%2012%207.5)'%20x='6'%20y='6'%20width='12'%20height='3'%20rx='1'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-delete-row-col{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20stroke='%23929AA8'%20d='M8.5%206.5h6v2h-6z'/%3e%3cpath%20fill='%233D4757'%20d='M2%2012h11v1H2zM2%202h11v1H2zm.63%203L7%209.35l-.635.65L2%205.63z'/%3e%3cpath%20fill='%233D4757'%20d='M2%209.363L6.355%205%207%205.707%202.695%2010z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-delete-row{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20stroke='%23929AA8'%20d='M8.5%205.5h6v4h-6z'/%3e%3cpath%20fill='%233D4757'%20d='M1%2013h12v1H1zM1%201h12v1H1zm0%204h1v1H1zm1%201h1v1H2zm1%201h1v1H3zm1-1h1v1H4zm1-1h1v1H5zM4%208h1v1H4zM2%208h1v1H2zm3%201h1v1H5zM1%209h1v1H1z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-delete-col{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20stroke='%23929AA8'%20d='M5.5%207.5v-6h4v6z'/%3e%3cpath%20fill='%233D4757'%20d='M13%2015V3h1v12zM1%2015V3h1v12zm4%200v-1h1v1zm1-1v-1h1v1zm1-1v-1h1v1zm-1-1v-1h1v1zm-1-1v-1h1v1zm3%201v-1h1v1zm0%202v-1h1v1zm1-3v-1h1v1zm0%204v-1h1v1z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-delete-table{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='%233D4757'%20fill-rule='evenodd'%3e%3cpath%20d='M14%2013h-1v-3H2v3H1v-3a1%201%200%20011-1h11a1%201%200%20011%201v3z'%20fill-rule='nonzero'/%3e%3cpath%20d='M5.625%202L10%206.375%209.375%207%205%202.625z'/%3e%3cpath%20d='M5%206.375L9.375%202l.625.625L5.625%207z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-merge-cell{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='%233D4757'%20fill-rule='evenodd'%3e%3cpath%20d='M6%201v1H2v11h4v1H2a1%201%200%2001-1-1V2a1%201%200%20011-1h4zm3%200h4a1%201%200%20011%201v11a1%201%200%2001-1%201H9v-1h4V2H9V1z'/%3e%3cpath%20fill-rule='nonzero'%20d='M6%201h1v4H6zm2%200h1v4H8z'/%3e%3cpath%20d='M8%207.5L10%206v3zm-1%200L5%206v3z'/%3e%3cpath%20d='M9%207h3v1H9zM3%207h3v1H3z'/%3e%3cpath%20fill-rule='nonzero'%20d='M8%2010h1v4H8zm-2%200h1v4H6z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-merge-cancel-cell{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='%233D4757'%20fill-rule='evenodd'%3e%3cpath%20d='M6%201v1H2v11h4v1H2a1%201%200%2001-1-1V2a1%201%200%20011-1h4zm3%200h4a1%201%200%20011%201v11a1%201%200%2001-1%201H9v-1h4V2H9V1z'/%3e%3cpath%20fill-rule='nonzero'%20d='M6%201h1v4H6zm2%200h1v4H8z'/%3e%3cpath%20d='M3%207.5L5%206v3zm9%200L10%206v3z'/%3e%3cpath%20d='M4%207h3v1H4zm4%200h3v1H8z'/%3e%3cpath%20fill-rule='nonzero'%20d='M8%2010h1v4H8zm-2%200h1v4H6z'/%3e%3c/g%3e%3c/svg%3e")}.ce-contextmenu-vertical-align{background-image:url("data:image/svg+xml,%3csvg%20height='16'%20viewBox='0%200%2016%2016'%20width='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%2013h12v1H2zm0-3h8v1H2zm0-3h12v1H2zm0-6h12v1H2zm0%203h8v1H2z'%20fill='%233d4757'%20fill-rule='evenodd'/%3e%3c/svg%3e")}.ce-contextmenu-vertical-align-top{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%208H7v6h1zm-.5-3L10%208H5zM2%203h11v1H2z'%20fill='%233D4757'%20fill-rule='evenodd'/%3e%3c/svg%3e")}.ce-contextmenu-vertical-align-middle{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2012H7v3h1zm-.5-3l2.5%203H5zM7%203h1V0H7zm.5%203L5%203h5zM2%207h11v1H2z'%20fill='%233D4757'%20fill-rule='evenodd'/%3e%3c/svg%3e")}.ce-contextmenu-vertical-align-bottom{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%209h1V3H7zm.5%203L5%209h5zM2%2013h11v1H2z'%20fill='%233D4757'%20fill-rule='evenodd'/%3e%3c/svg%3e")}.ce-contextmenu-border-all{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%233D4757'/%3e%3cpath%20fill='%233D4757'%20d='M3%208h11v1H3z'/%3e%3cpath%20fill='%233D4757'%20d='M9%203v11H8V3z'/%3e%3c/svg%3e")}.ce-contextmenu-border-empty{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13%203h-1V2h1a1%201%200%20011%201v1h-1V3zm-3-1v1H8.5v2h-1V3H6V2h4zM4%202v1H3v1H2V3a1%201%200%20011-1h1zM2%206h1v1.5h2v1H3V10H2V6zm0%206h1v1h1v1H3a1%201%200%2001-1-1v-1zm4%202v-1h1.5v-2h1v2H10v1H6zm6%200v-1h1v-1h1v1a1%201%200%2001-1%201h-1zm2-4h-1V8.5h-2v-1h2V6h1v4zM8.5%207.5v-1h-1v1h-1v1h1v1h1v-1h1v-1h-1z'%20fill='%23AAACB0'/%3e%3c/svg%3e")}.ce-contextmenu-border-dash{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13%203h-1V2h1a1%201%200%20011%201v1h-1V3zm-3-1v1H8.5v2h-1V3H6V2h4zM4%202v1H3v1H2V3a1%201%200%20011-1h1zM2%206h1v1.5h2v1H3V10H2V6zm0%206h1v1h1v1H3a1%201%200%2001-1-1v-1zm4%202v-1h1.5v-2h1v2H10v1H6zm6%200v-1h1v-1h1v1a1%201%200%2001-1%201h-1zm2-4h-1V8.5h-2v-1h2V6h1v4zM8.5%207.5v-1h-1v1h-1v1h1v1h1v-1h1v-1h-1z'%20fill='%23000000'/%3e%3c/svg%3e")}.ce-contextmenu-border-external{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%233D4757'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9%205V3H8v2h1zm0%209v-2H8v2h1zM5%208H3v1h2V8zm9%200h-2v1h2V8zM9%207v1h1v1H9v1H8V9H7V8h1V7h1z'%20fill='%23AAACB0'/%3e%3c/svg%3e")}.ce-contextmenu-border-internal{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9%205V3H8v2h1zm0%209v-2H8v2h1zM5%208H3v1h2V8zm9%200h-2v1h2V8zM9%207v1h1v1H9v1H8V9H7V8h1V7h1z'%20fill='%233D4757'/%3e%3c/svg%3e")}.ce-contextmenu-border-td{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'/%3e%3cpath%20stroke='%233D4757'%20d='M8.5%202.5%20v6%20h-6'/%3e%3c/svg%3e")}.ce-contextmenu-border-td-top{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'/%3e%3cpath%20stroke='%233D4757'%20stroke-width='2'%20d='M2.5%203%20h12'/%3e%3c/svg%3e")}.ce-contextmenu-border-td-left{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'/%3e%3cpath%20stroke='%233D4757'%20stroke-width='2'%20d='M3%203%20v11'/%3e%3c/svg%3e")}.ce-contextmenu-border-td-bottom{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'/%3e%3cpath%20stroke='%233D4757'%20stroke-width='2'%20d='M2.5%2014%20h12'/%3e%3c/svg%3e")}.ce-contextmenu-border-td-right{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'/%3e%3cpath%20stroke='%233D4757'%20stroke-width='2'%20d='M14%203%20v11'/%3e%3c/svg%3e")}.ce-contextmenu-border-td-forward{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'%20/%3e%3cpath%20stroke='%233D4757'%20d='M14%203%20l-11%2011'%20/%3e%3c/svg%3e")}.ce-contextmenu-border-td-back{background-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%203a.5.5%200%2001.5-.5h11a.5.5%200%2001.5.5v11a.5.5%200%2001-.5.5H3a.5.5%200%2001-.5-.5V3z'%20stroke='%23AAACB0'%20/%3e%3cpath%20stroke='%233D4757'%20d='M3%203%20l11%2011'%20/%3e%3c/svg%3e")}.ce-hyperlink-popup{background:#fff;box-shadow:0 2px 12px #626b8433;border-radius:2px;color:#3d4757;padding:12px 16px;position:absolute;z-index:1;text-align:center;display:none}.ce-hyperlink-popup a{min-width:100px;max-width:300px;font-size:12px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;text-decoration:none;border-bottom-width:1px;border-bottom-style:solid;color:#00f}.ce-zone-indicator>div{padding:3px 6px;color:#000;font-size:12px;background:#dae7fc;position:absolute;transform-origin:0 0}.ce-zone-indicator-border__top,.ce-zone-indicator-border__bottom,.ce-zone-indicator-border__left,.ce-zone-indicator-border__right{display:block;position:absolute;z-index:0}.ce-zone-indicator-border__top{border-top:2px dashed rgb(238,238,238)}.ce-zone-indicator-border__bottom{border-top:2px dashed rgb(238,238,238);width:100%}.ce-zone-indicator-border__left{border-left:2px dashed rgb(238,238,238)}.ce-zone-indicator-border__right{border-right:2px dashed rgb(238,238,238)}.ce-zone-tip{display:none;align-items:center;height:30px;white-space:nowrap;position:fixed;opacity:.9;background-color:#000;padding:0 5px;border-radius:4px;z-index:9;transition:all .3s;outline:none;-webkit-user-select:none;user-select:none;pointer-events:none;transform:translate(10px,10px)}.ce-zone-tip.show{display:flex}.ce-zone-tip span{color:#fff;font-size:12px}.ce-inputarea{min-width:60px!important;min-height:0;margin:0;padding:0;left:0;top:0;letter-spacing:0;font-size:12px;position:absolute;z-index:-1;outline:none;resize:none;border:none;overflow:hidden;color:transparent;-webkit-user-select:none;user-select:none;caret-color:transparent;background-color:transparent;white-space:pre}.ce-cursor{width:1px;height:20px;left:0;right:0;position:absolute;outline:none;background-color:#000;pointer-events:none}.ce-cursor.ce-cursor--animation{animation-duration:1s;animation-iteration-count:infinite;animation-name:cursorAnimation}@keyframes cursorAnimation{0%{opacity:1}13%{opacity:0}50%{opacity:0}63%{opacity:1}to{opacity:1}}.ce-float-image{position:absolute;opacity:.5;pointer-events:none}.ce-button-input-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;display:flex;justify-content:center;align-items:center;z-index:2000}.ce-button-input-modal__content{background:#fff;border-radius:8px;padding:20px;min-width:320px;max-width:480px;box-shadow:0 4px 20px #00000026}.ce-button-input-modal__title{font-size:14px;font-weight:500;color:#333;margin-bottom:12px}.ce-button-input-modal__textarea{width:100%;min-height:100px;padding:10px 12px;border:1px solid #dcdfe6;border-radius:4px;font-size:13px;line-height:1.5;resize:vertical;outline:none;box-sizing:border-box;font-family:inherit}.ce-button-input-modal__textarea:focus{border-color:#5175f4}.ce-button-input-modal__textarea::placeholder{color:#c0c4cc}.ce-button-input-modal__buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.ce-button-input-modal__cancel,.ce-button-input-modal__confirm{padding:8px 16px;font-size:13px;border-radius:4px;cursor:pointer;border:1px solid #dcdfe6;background:#fff;color:#606266;transition:all .2s}.ce-button-input-modal__cancel:hover{color:#5175f4;border-color:#5175f4}.ce-button-input-modal__confirm{background:#5175f4;border-color:#5175f4;color:#fff}.ce-button-input-modal__confirm:hover{background:#409eff;border-color:#409eff}.ce-button-edit-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;display:flex;justify-content:center;align-items:center;z-index:1000}.ce-button-edit-modal__content{background:#fff;border-radius:8px;padding:20px;min-width:320px;max-width:480px;box-shadow:0 4px 20px #00000026}.ce-button-edit-modal__title{font-size:14px;font-weight:500;color:#333;margin-bottom:16px}.ce-button-edit-modal__form{display:flex;flex-direction:column;gap:12px}.ce-button-edit-modal__field{display:flex;align-items:center;gap:8px}.ce-button-edit-modal__field label{min-width:80px;font-size:13px;color:#606266}.ce-button-edit-modal__field input{flex:1;padding:8px 12px;border:1px solid #dcdfe6;border-radius:4px;font-size:13px;outline:none;box-sizing:border-box}.ce-button-edit-modal__field input:focus{border-color:#5175f4}.ce-button-edit-modal__field input::placeholder{color:#c0c4cc}.ce-button-edit-modal__buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.ce-button-edit-modal__cancel,.ce-button-edit-modal__confirm{padding:8px 16px;font-size:13px;border-radius:4px;cursor:pointer;border:1px solid #dcdfe6;background:#fff;color:#606266;transition:all .2s}.ce-button-edit-modal__cancel:hover{color:#5175f4;border-color:#5175f4}.ce-button-edit-modal__confirm{background:#5175f4;border-color:#5175f4;color:#fff}.ce-button-edit-modal__confirm:hover{background:#409eff;border-color:#409eff}.ce-number-input-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;display:flex;justify-content:center;align-items:center;z-index:2000}.ce-number-input-modal__content{background:#fff;border-radius:8px;padding:20px;min-width:300px;max-width:400px;box-shadow:0 4px 20px #00000026}.ce-number-input-modal__title{font-size:14px;font-weight:500;color:#333;margin-bottom:12px}.ce-number-input-modal__hint{font-size:12px;color:#909399;margin-bottom:12px}.ce-number-input-modal__input{width:100%;padding:10px 12px;border:1px solid #dcdfe6;border-radius:4px;font-size:13px;outline:none;box-sizing:border-box}.ce-number-input-modal__input:focus{border-color:#5175f4}.ce-number-input-modal__input::placeholder{color:#c0c4cc}.ce-number-input-modal__error{font-size:12px;color:#f56c6c;margin-top:8px}.ce-number-input-modal__buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.ce-number-input-modal__cancel,.ce-number-input-modal__confirm{padding:8px 16px;font-size:13px;border-radius:4px;cursor:pointer;border:1px solid #dcdfe6;background:#fff;color:#606266;transition:all .2s}.ce-number-input-modal__cancel:hover{color:#5175f4;border-color:#5175f4}.ce-number-input-modal__confirm{background:#5175f4;border-color:#5175f4;color:#fff}.ce-number-input-modal__confirm:hover{background:#409eff;border-color:#409eff}.tooth-position-edit-modal,.tooth-position-create-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000}.tooth-position-modal__container{position:relative;top:auto;left:auto;transform:none;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:400px;max-width:90vw;max-height:calc(100vh - 48px);display:flex;flex-direction:column;pointer-events:auto}.tooth-position-modal__header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e8e8e8}.tooth-position-modal__header span{font-size:16px;font-weight:500;color:#333}.tooth-position-modal__close{font-size:20px;cursor:pointer;color:#999;line-height:1}.tooth-position-modal__close:hover{color:#333}.tooth-position-modal__content{padding:20px;max-height:60vh;overflow-y:auto}.tooth-section{margin-bottom:20px}.tooth-section:last-child{margin-bottom:0}.tooth-section-title{font-size:14px;font-weight:500;color:#333;margin-bottom:12px;padding-left:8px;border-left:3px solid #1890ff}.tooth-row{display:flex;align-items:center;margin-bottom:8px}.tooth-row:last-child{margin-bottom:0}.tooth-row-label{width:30px;font-size:13px;color:#666}.tooth-buttons{display:flex;gap:8px;flex-wrap:wrap}.letter-buttons{margin-left:30px}.tooth-checkbox{display:flex;align-items:center;cursor:pointer}.tooth-checkbox input{display:none}.tooth-checkbox span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #d9d9d9;border-radius:4px;background:#f5f5f5;font-size:14px;color:#333;transition:all .2s}.tooth-checkbox input:checked+span{background:#1890ff;border-color:#1890ff;color:#fff}.tooth-checkbox:hover span{border-color:#1890ff}.tooth-position-modal__footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e8e8e8}.tooth-position-modal__footer .btn-cancel,.tooth-position-modal__footer .btn-confirm{padding:8px 20px;font-size:14px;border-radius:4px;cursor:pointer;border:1px solid #dcdfe6;background:#fff;color:#606266;transition:all .2s}.tooth-position-modal__footer .btn-cancel:hover{color:#1890ff;border-color:#1890ff}.tooth-position-modal__footer .btn-confirm{background:#1890ff;border-color:#1890ff;color:#fff}.tooth-position-modal__footer .btn-confirm:hover{background:#40a9ff;border-color:#40a9ff}.tooth-grid-container{display:flex;flex-direction:column;align-items:center;padding:15px 20px;background:#fafafa;border-radius:8px;margin-bottom:15px;position:relative}.tooth-quick-buttons{display:flex;gap:6px;margin-bottom:16px}.tooth-quick-buttons-left{display:flex;flex-direction:column;gap:6px;flex:1}.tooth-quick-buttons-row{display:flex;gap:6px}.tooth-quick-btn{padding:6px 12px;font-size:12px;border:1px solid #d9d9d9;border-radius:4px;cursor:pointer;background:#fff;color:#333;transition:all .2s;white-space:nowrap}.tooth-quick-btn:hover{border-color:#1890ff;color:#1890ff}.tooth-quick-btn.selected{background:#0ff;border-color:#0ff;color:#fff}.tooth-quick-btn--clear{background:#ff6b6b;border-color:#ff6b6b;color:#fff}.tooth-quick-btn--clear:hover{background:#ff5252;border-color:#ff5252;color:#fff}.tooth-grid-container:before{content:"";position:absolute;left:50%;top:20px;bottom:20px;width:2px;background:#000;transform:translate(-50%);z-index:1}.tooth-grid-container:after{content:"";position:absolute;left:20px;right:20px;top:50%;height:2px;background:#000;transform:translateY(-50%);z-index:1}.tooth-grid-letter-row,.tooth-grid-number-row{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.tooth-grid-half{display:flex;align-items:center;justify-content:center;gap:4px}.tooth-grid-half.left{justify-content:flex-end;padding-right:15px}.tooth-grid-half.right{justify-content:flex-start;padding-left:15px}.tooth-grid-divider-v,.tooth-grid-divider-h{display:none}.tooth-grid-number-item{width:34px;height:32px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;color:#333;cursor:pointer;background:#fff;transition:all .2s;box-sizing:border-box;border:1px solid #d9d9d9;border-radius:12px}.upper-number-row .tooth-grid-number-item{border-top:none;border-radius:0 0 12px 12px}.lower-number-row .tooth-grid-number-item{border-bottom:none;border-radius:12px 12px 0 0}.tooth-grid-number-item[data-value="1"],.tooth-grid-number-item[data-value="2"],.tooth-grid-number-item[data-value="3"]{border-radius:50px}.upper-number-row .tooth-grid-number-item[data-value="1"],.upper-number-row .tooth-grid-number-item[data-value="2"],.upper-number-row .tooth-grid-number-item[data-value="3"]{border-top:none!important;border-radius:0 0 50px 50px!important}.lower-number-row .tooth-grid-number-item[data-value="1"],.lower-number-row .tooth-grid-number-item[data-value="2"],.lower-number-row .tooth-grid-number-item[data-value="3"]{border-bottom:none!important;border-radius:50px 50px 0 0!important}.tooth-grid-number-item:hover{border-color:#1890ff;color:#1890ff}.tooth-grid-number-item.selected{background:#1890ff;border-color:#1890ff;color:#fff}.tooth-grid-letter-item{width:34px;height:32px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;color:#333;cursor:pointer;background:#fff;border:1px solid #d9d9d9;transition:all .2s;box-sizing:border-box;border-radius:12px}.upper-letter-row .tooth-grid-letter-item{border-top:none;border-radius:0 0 12px 12px}.lower-letter-row .tooth-grid-letter-item{border-bottom:none;border-radius:12px 12px 0 0}.tooth-grid-letter-item[data-value=A],.tooth-grid-letter-item[data-value=B],.tooth-grid-letter-item[data-value=C]{border-radius:50px}.upper-letter-row .tooth-grid-letter-item[data-value=A],.upper-letter-row .tooth-grid-letter-item[data-value=B],.upper-letter-row .tooth-grid-letter-item[data-value=C]{border-top:none!important;border-radius:0 0 50px 50px!important}.lower-letter-row .tooth-grid-letter-item[data-value=A],.lower-letter-row .tooth-grid-letter-item[data-value=B],.lower-letter-row .tooth-grid-letter-item[data-value=C]{border-bottom:none!important;border-radius:50px 50px 0 0!important}.tooth-grid-letter-item:hover{border-color:#1890ff;color:#1890ff}.tooth-grid-letter-item.selected{background:#1890ff;border-color:#1890ff;color:#fff}.tooth-grid-letter-row.hidden,.tooth-grid-number-row.hidden{display:none}.tooth-grid-letter-row{margin-bottom:8px}.tooth-grid-number-row.upper-number-row{margin-bottom:15px}.tooth-grid-number-row.lower-number-row{margin-top:15px}.tooth-grid-letter-row.lower-letter-row{margin-top:8px}.tooth-preview-section{padding-top:10px;border-top:1px solid #e8e8e8}.tooth-preview-title{font-size:14px;font-weight:500;color:#333;margin-bottom:12px}.tooth-preview-wrapper{display:flex;gap:15px}.tooth-preview-container{display:flex;justify-content:center;align-items:center;padding:10px;background:#fafafa;border-radius:8px;flex:1;min-height:60px}.tooth-preview-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:0;width:100%;min-height:70px;position:relative}.tooth-preview-grid:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:#000;transform:translate(-50%)}.tooth-preview-grid:after{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#000;transform:translateY(-50%)}.tooth-preview-quadrant{display:flex;align-items:center;padding:5px 10px;font-size:12px;flex-wrap:wrap;gap:4px;justify-content:center}.tooth-preview-upper-left{justify-content:flex-end}.tooth-preview-upper-right{justify-content:flex-start}.tooth-preview-lower-left{justify-content:flex-end}.tooth-preview-lower-right{justify-content:flex-start}.tooth-preview-tooth{position:relative;display:inline;margin:0 4px}.tooth-preview-tooth-value{font-size:12px}.tooth-preview-tooth-value--deciduous{font-size:10px}.tooth-preview-tooth-bracket{font-size:12px}.tooth-preview-supernumerary{font-size:9px;vertical-align:super;margin:0 1px}.tooth-preview-surface{font-size:9px;vertical-align:super;margin-left:1px}.tooth-extra-panel{width:100px;display:flex;flex-direction:column;gap:10px}.tooth-surface-panel{background:#fafafa;border-radius:8px;padding:10px 20px}.tooth-surface-title{font-size:12px;font-weight:500;color:#333;margin-bottom:8px;text-align:center}.tooth-surface-grid{display:flex;flex-direction:column;gap:4px;align-items:center}.tooth-surface-row{display:flex;gap:4px;justify-content:center}.tooth-surface-item{width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:#333;cursor:pointer;background:#fff;border:1px dashed #d9d9d9;border-radius:5px;transition:all .2s;box-sizing:border-box}.tooth-surface-item--indent{margin-left:17px}.tooth-surface-item:hover{border-color:#1890ff;color:#1890ff}.tooth-surface-item.selected{background:#1890ff;border-color:#1890ff;border-style:solid;color:#fff}.tooth-supernumerary-panel{background:#fafafa;border-radius:8px;padding:10px 20px}.tooth-supernumerary-title{font-size:12px;font-weight:500;color:#333;margin-bottom:4px;text-align:center}.tooth-supernumerary-hint{font-size:10px;color:#999;font-weight:400}.tooth-supernumerary-grid{display:flex;gap:8px;justify-content:center;margin-top:8px}.tooth-supernumerary-item{width:30px;height:35px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:#333;cursor:pointer;background:#fff;border:1px solid #d9d9d9;border-bottom:none;border-radius:50px;transition:all .2s;box-sizing:border-box}.tooth-supernumerary-item:hover{border-color:#1890ff;color:#1890ff}.tooth-supernumerary-item.selected{background:#1890ff;border-color:#1890ff;color:#fff}.ce-button-input-modal,.ce-button-edit-modal,.ce-number-input-modal,.tooth-position-edit-modal,.tooth-position-create-modal{inset:0;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;overflow:auto;background:transparent;pointer-events:none}.ce-button-input-modal__content,.ce-button-edit-modal__content,.ce-number-input-modal__content,.tooth-position-modal__container{pointer-events:auto}.ce-button-input-modal__content,.ce-button-edit-modal__content,.ce-number-input-modal__content{max-height:calc(100vh - 48px);overflow:auto}.tooth-position-modal__mask{display:none}.tooth-position-modal__container{position:relative;top:auto;left:auto;transform:none;display:flex;flex-direction:column;max-height:calc(100vh - 48px)}.ant-modal-mask{display:none!important}.ant-modal-wrap{position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box!important;overflow:auto!important;pointer-events:none!important}.ant-modal{top:auto!important;margin:0!important;padding-bottom:0!important;max-width:calc(100vw - 48px)!important;max-height:calc(100vh - 48px)!important;pointer-events:auto!important}.ant-modal-content{max-height:calc(100vh - 48px)!important;overflow:auto!important}.dialog-mask{display:none}.dialog-container{position:fixed;inset:0;overflow:auto;z-index:999;margin:0;padding:24px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;pointer-events:none}.dialog{position:relative;padding:0 30px 30px;background:#fff;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed;border-radius:2px;max-height:calc(100vh - 48px);overflow:auto;pointer-events:auto}.dialog-title{position:relative;border-bottom:1px solid #e2e6ed;margin-bottom:30px;height:60px;display:flex;align-items:center;justify-content:space-between}.dialog-title i{width:16px;height:16px;cursor:pointer;display:inline-block;background:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.9%208.192l4.242%204.243-.707.707L8.192%208.9%203.95%2013.142l-.707-.707%204.242-4.243L3.243%203.95l.707-.707%204.242%204.242%204.243-4.242.707.707L8.9%208.192z'%20fill='%236A6A6A'%20fill-rule='evenodd'/%3e%3c/svg%3e")}.dialog-option__item{margin-bottom:18px;display:flex;align-items:center;justify-content:space-between}.dialog-option__item span{margin-right:12px;font-size:14px;color:#3d4757;position:relative}.dialog-option__item input,.dialog-option__item textarea,.dialog-option__item select{width:276px;height:30px;border-radius:2px;border:1px solid #d3d3d3;min-height:30px;padding:5px;box-sizing:border-box;outline:none;appearance:none;-webkit-user-select:none;user-select:none;font-family:inherit}.dialog-option__item input:focus,.dialog-option__item textarea:focus{border-color:#4991f2}.dialog-option__item--require:before{content:"*";color:#f56c6c;margin-right:4px;position:absolute;left:-8px}.dialog-menu{display:flex;align-items:center;justify-content:flex-end}.dialog-menu button{position:relative;display:inline-block;border:1px solid #e2e6ed;border-radius:2px;background:#fff;line-height:22px;padding:0 16px;white-space:nowrap;cursor:pointer}.dialog-menu button:hover{background:#1937580a}.dialog-menu__cancel{margin-right:16px}.dialog-menu button[type=submit]{color:#fff;background:#4991f2;border-color:#4991f2}.dialog-menu button[type=submit]:hover{background:#5b9cf3;border-color:#5b9cf3}.dialog-radio-group{display:flex;flex-direction:column;gap:8px}.dialog-radio-group--horizontal{flex-direction:row;gap:16px}.dialog-radio-item{display:flex;align-items:center;cursor:pointer;font-size:14px;color:#3d4757}.dialog-radio-item input[type=radio]{width:16px;height:16px;margin:0 6px 0 0;cursor:pointer;appearance:auto}.dialog-radio-item span{margin:0}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- const xs = "0.7.49";
2
+ const bs = "0.7.50";
3
3
  var Jn;
4
4
  (function(o) {
5
5
  o.HALF = "half", o.ONE_THIRD = "one-third", o.QUARTER = "quarter";
@@ -16,12 +16,12 @@ var Ee;
16
16
  (function(o) {
17
17
  o.BEFORE = "before", o.AFTER = "after", o.OUTER_BEFORE = "outer-before", o.OUTER_AFTER = "outer-after";
18
18
  })(Ee || (Ee = {}));
19
- var ns;
19
+ var os;
20
20
  (function(o) {
21
21
  o.ROW = "row", o.COLUMN = "column";
22
- })(ns || (ns = {}));
22
+ })(os || (os = {}));
23
23
  const _ = "​", Ir = `
24
- `, bs = " ", mr = " ", Wa = [
24
+ `, ys = " ", mr = " ", Wa = [
25
25
  "·",
26
26
  "、",
27
27
  ":",
@@ -57,7 +57,7 @@ var kt;
57
57
  (function(o) {
58
58
  o.LEFT = "left", o.CENTER = "center", o.RIGHT = "right", o.ALIGNMENT = "alignment", o.JUSTIFY = "justify";
59
59
  })(kt || (kt = {}));
60
- const Qi = /[0-9.]/, Ua = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, wa = /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g, Za = new RegExp(`${wa.source}|${Ua.source}`, "g"), va = /[、,。?!;:……「」“”‘’*()【】〔〕〖〗〘〙〚〛《》———﹝﹞–—\\/·.,!?;:`~<>()[\]{}'"|]/, ys = new RegExp(`^[${_}
60
+ const Hi = /[0-9.]/, Ua = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, wa = /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g, Za = new RegExp(`${wa.source}|${Ua.source}`, "g"), va = /[、,。?!;:……「」“”‘’*()【】〔〕〖〗〘〙〚〛《》———﹝﹞–—\\/·.,!?;:`~<>()[\]{}'"|]/, Vs = new RegExp(`^[${_}
61
61
  ]`), Qa = /\s/;
62
62
  function Ha(o, t) {
63
63
  let e;
@@ -76,12 +76,12 @@ function Ka(o, t) {
76
76
  }, t));
77
77
  };
78
78
  }
79
- function os(o, t) {
79
+ function is(o, t) {
80
80
  if (!o || typeof o != "object")
81
81
  return o;
82
82
  let e = {};
83
- return Array.isArray(o) ? e = o.map((n) => os(n, t)) : Object.keys(o).forEach((n) => {
84
- t.includes(n) || (e[n] = os(o[n], t));
83
+ return Array.isArray(o) ? e = o.map((n) => is(n, t)) : Object.keys(o).forEach((n) => {
84
+ t.includes(n) || (e[n] = is(o[n], t));
85
85
  }), e;
86
86
  }
87
87
  function ut(o) {
@@ -94,14 +94,14 @@ function ut(o) {
94
94
  t[e] = ut(o[e]);
95
95
  }), t;
96
96
  }
97
- function Hi(o) {
97
+ function Ki(o) {
98
98
  return o && o.nodeType === 1 && o.tagName.toLowerCase() === "body";
99
99
  }
100
100
  function sl(o, t, e) {
101
- if (o && !Hi(o))
101
+ if (o && !Ki(o))
102
102
  for (o = o; o; ) {
103
- if (!t || t(o) || Hi(o))
104
- return t && !t(o) && Hi(o) ? null : o;
103
+ if (!t || t(o) || Ki(o))
104
+ return t && !t(o) && Ki(o) ? null : o;
105
105
  o = o.parentNode;
106
106
  }
107
107
  return null;
@@ -148,10 +148,10 @@ function _a(o, t, e) {
148
148
  function ai(o) {
149
149
  return Object.prototype.toString.call(o) === "[object Object]";
150
150
  }
151
- function is(o) {
151
+ function ss(o) {
152
152
  return Array.isArray(o);
153
153
  }
154
- function ss(o) {
154
+ function rs(o) {
155
155
  return Object.prototype.toString.call(o) === "[object Number]";
156
156
  }
157
157
  function Ba(o) {
@@ -162,10 +162,10 @@ function ll(o, t) {
162
162
  const e = t;
163
163
  for (const [n, i] of Object.entries(o))
164
164
  e[n] ? e[n] = ll(i, e[n]) : e[n] = i;
165
- } else is(o) && is(t) && t.push(...o);
165
+ } else ss(o) && ss(t) && t.push(...o);
166
166
  return t;
167
167
  }
168
- function Vs(o) {
168
+ function Si(o) {
169
169
  if (typeof queueMicrotask == "function") {
170
170
  queueMicrotask(() => {
171
171
  o();
@@ -295,7 +295,7 @@ function Er(o, t, e = 0) {
295
295
  const l = s.exec(o);
296
296
  return l ? { index: l.index, length: l[0].length } : { index: -1, length: 0 };
297
297
  }
298
- function rs(o, t) {
298
+ function ls(o, t) {
299
299
  if (!t) {
300
300
  o.scrollTop = 0;
301
301
  return;
@@ -332,7 +332,7 @@ const ul = 12, qa = {
332
332
  dragWidth: 2,
333
333
  dragColor: "#0000FF",
334
334
  dragFloatImageDisabled: !1
335
- }, Mn = "editor-component", ct = "ce", Si = `${ct}-clipboard`, Bo = {
335
+ }, Mn = "editor-component", ct = "ce", Di = `${ct}-clipboard`, Bo = {
336
336
  print: {
337
337
  imagePreviewerDisabled: !1,
338
338
  backgroundDisabled: !1
@@ -505,7 +505,7 @@ const Ge = [
505
505
  "listId",
506
506
  "listType",
507
507
  "listStyle"
508
- ], ls = [
508
+ ], as = [
509
509
  "control",
510
510
  "controlId",
511
511
  "controlComponent"
@@ -521,7 +521,7 @@ const Ge = [
521
521
  "deleteTime",
522
522
  "color",
523
523
  "newElEditTime"
524
- ], Nn = ["areaId", "area"], as = [
524
+ ], Nn = ["areaId", "area"], cs = [
525
525
  ..._n,
526
526
  ...Ys,
527
527
  ...oo,
@@ -699,7 +699,7 @@ class dl {
699
699
  }
700
700
  const Go = 82;
701
701
  function io(o) {
702
- return cs[o] == null && uc(o), cs[o];
702
+ return us[o] == null && uc(o), us[o];
703
703
  }
704
704
  function uc(o) {
705
705
  const t = dc[o];
@@ -717,7 +717,7 @@ function uc(o) {
717
717
  }
718
718
  h += 2;
719
719
  }
720
- cs[o] = {
720
+ us[o] = {
721
721
  w: i - n,
722
722
  xmin: c,
723
723
  xmax: u,
@@ -726,7 +726,7 @@ function uc(o) {
726
726
  polylines: s
727
727
  };
728
728
  }
729
- const cs = {}, dc = {
729
+ const us = {}, dc = {
730
730
  1: " 9MWRMNV RRMVV RPSTS",
731
731
  2: " 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",
732
732
  3: " 11MXVNTMRMPNOPOSPURVTVVU",
@@ -2575,7 +2575,7 @@ function Rc(o) {
2575
2575
  bbox: null
2576
2576
  };
2577
2577
  }
2578
- function us(o) {
2578
+ function ds(o) {
2579
2579
  let t = 0, e = {
2580
2580
  type: "node",
2581
2581
  text: "",
@@ -2595,7 +2595,7 @@ function us(o) {
2595
2595
  break;
2596
2596
  s++;
2597
2597
  }
2598
- const l = us(o.slice(t + 1, s));
2598
+ const l = ds(o.slice(t + 1, s));
2599
2599
  return t = s, l;
2600
2600
  }
2601
2601
  function i(r) {
@@ -2605,7 +2605,7 @@ function us(o) {
2605
2605
  if (o[s] == "{")
2606
2606
  a || (l = s), a++;
2607
2607
  else if (o[s] == "}") {
2608
- if (a--, !a && (u.push(us(o.slice(l + 1, s))), c++, c == r))
2608
+ if (a--, !a && (u.push(ds(o.slice(l + 1, s))), c++, c == r))
2609
2609
  break;
2610
2610
  } else if (a == 0 && (u.push(Rc(o[s])), c++, c == r))
2611
2611
  break;
@@ -3112,7 +3112,7 @@ class Ic {
3112
3112
  _tokens;
3113
3113
  _polylines;
3114
3114
  constructor(t) {
3115
- this._latex = t, this._tokens = hc(t), this._tree = us(this._tokens), hl(this._tree.chld), en(this._tree), pc(this._tree), this._polylines = Tc(this._tree);
3115
+ this._latex = t, this._tokens = hc(t), this._tree = ds(this._tokens), hl(this._tree.chld), en(this._tree), pc(this._tree), this._polylines = Tc(this._tree);
3116
3116
  }
3117
3117
  resolveScale(t) {
3118
3118
  if (t == null)
@@ -3306,7 +3306,7 @@ var Fe;
3306
3306
  })(Fe || (Fe = {}));
3307
3307
  const mc = {
3308
3308
  inheritStyle: !1
3309
- }, ds = {
3309
+ }, hs = {
3310
3310
  [Bn.DISC]: "•",
3311
3311
  [Bn.CIRCLE]: "◦",
3312
3312
  [Bn.SQUARE]: "▫︎",
@@ -3339,7 +3339,7 @@ const Ec = {
3339
3339
  [ae.FOURTH]: "defaultFourthSize",
3340
3340
  [ae.FIFTH]: "defaultFifthSize",
3341
3341
  [ae.SIXTH]: "defaultSixthSize"
3342
- }, hs = {
3342
+ }, Rs = {
3343
3343
  [ae.FIRST]: 1,
3344
3344
  [ae.SECOND]: 2,
3345
3345
  [ae.THIRD]: 3,
@@ -3366,10 +3366,10 @@ var R;
3366
3366
  (function(o) {
3367
3367
  o.PREFIX = "prefix", o.POSTFIX = "postfix", o.PRE_TEXT = "preText", o.PRETEXTFIX = "preTextFix", o.PRETEXTFIX_TEXT = "preTextFixText", o.POSTTEXTFIX = "postTextFix", o.POSTTEXTFIX_TEXT = "postTextFixText", o.POST_TEXT = "postText", o.PLACEHOLDER = "placeholder", o.TEXTFIXLABEL = "textFixLabel", o.VALUE = "value", o.DELETEPERSON = "deletePerson", o.CHECKBOX = "checkbox", o.RADIO = "radio", o.UNDERLINE = "underline";
3368
3368
  })(R || (R = {}));
3369
- var Rs;
3369
+ var gs;
3370
3370
  (function(o) {
3371
3371
  o.ROW_START = "rowStart", o.VALUE_START = "valueStart";
3372
- })(Rs || (Rs = {}));
3372
+ })(gs || (gs = {}));
3373
3373
  var ui;
3374
3374
  (function(o) {
3375
3375
  o.ACTIVE = "active", o.INACTIVE = "inactive";
@@ -3547,7 +3547,7 @@ var Vo;
3547
3547
  (function(o) {
3548
3548
  o.TEXT = "text", o.IMAGE = "image";
3549
3549
  })(Vo || (Vo = {}));
3550
- const gs = {
3550
+ const fs = {
3551
3551
  data: "",
3552
3552
  type: Vo.TEXT,
3553
3553
  width: 0,
@@ -3589,7 +3589,7 @@ const Zc = {
3589
3589
  color: "#CCCCCC",
3590
3590
  radius: 1
3591
3591
  };
3592
- function Di(o = {}) {
3592
+ function Ci(o = {}) {
3593
3593
  const t = {
3594
3594
  ...Uc,
3595
3595
  ...o.table
@@ -3603,7 +3603,7 @@ function Di(o = {}) {
3603
3603
  ...Vc,
3604
3604
  ...o.pageNumber
3605
3605
  }, r = {
3606
- ...gs,
3606
+ ...fs,
3607
3607
  ...o.watermark
3608
3608
  }, s = {
3609
3609
  ...Dc,
@@ -3777,7 +3777,7 @@ function Il(o) {
3777
3777
  function ko(o, t) {
3778
3778
  Tl.set(o, t);
3779
3779
  }
3780
- function fs(o) {
3780
+ function ps(o) {
3781
3781
  const t = [];
3782
3782
  for (let e = 0; e < o.length; e++) {
3783
3783
  const n = o[e], i = Zt(n.value);
@@ -3805,7 +3805,7 @@ const ml = /* @__PURE__ */ new Set([
3805
3805
  "双击获取日期",
3806
3806
  "格式化日期时间"
3807
3807
  ], Bc = " ";
3808
- function ps(o) {
3808
+ function Ts(o) {
3809
3809
  return (o || []).map((t) => t.value === _ ? `
3810
3810
  ` : t.value || "").join("");
3811
3811
  }
@@ -3839,9 +3839,9 @@ ${l}`) : i && s(l, !0), e.forEach((a) => {
3839
3839
  ${l}`), r;
3840
3840
  }
3841
3841
  function Sr(o) {
3842
- return ps(o.value);
3842
+ return Ts(o.value);
3843
3843
  }
3844
- function Ki(o) {
3844
+ function Ai(o) {
3845
3845
  return o.placeholder || "";
3846
3846
  }
3847
3847
  function to() {
@@ -3875,7 +3875,7 @@ function an(o, t = []) {
3875
3875
  ...Gc(t)
3876
3876
  ].includes(n) ? "" : e : "";
3877
3877
  }
3878
- function Ts(o, t) {
3878
+ function Is(o, t) {
3879
3879
  const e = an(o, [t?.label || ""]);
3880
3880
  if (!e)
3881
3881
  return [];
@@ -3925,10 +3925,10 @@ function kc(o) {
3925
3925
  if (t.type === b.CHECKBOX || t.type === b.RADIO) {
3926
3926
  const s = an(fi(t), e);
3927
3927
  if (s)
3928
- return Ts(s, o);
3928
+ return Is(s, o);
3929
3929
  }
3930
3930
  const i = po(t.value || []);
3931
- return an(pi(i), e) ? i : t.type === b.SELECT ? Ts(an(fi(t), e), o) : [];
3931
+ return an(pi(i), e) ? i : t.type === b.SELECT ? Is(an(fi(t), e), o) : [];
3932
3932
  }
3933
3933
  function Jc(o) {
3934
3934
  if (!o)
@@ -3942,12 +3942,12 @@ function Jc(o) {
3942
3942
  const n = an(pi(o.value || []), t);
3943
3943
  return n || (o.type === b.SELECT ? an(fi(o), t) : "");
3944
3944
  }
3945
- function Ci(o) {
3945
+ function Fi(o) {
3946
3946
  return pe(o) || o.controlComponent && ml.has(o.controlComponent) ? "" : o.type === P.CONTROL ? Jc(o.control) : o.type === P.MACRO || o.type === P.CUSTOM_MACRO || o.type === P.REUSABLE_ITEM ? Pl(o) : o.type === P.TABLE ? o.trList?.map((t) => t.tdList.map((e) => pi(e.value || [])).join(" ")).join(`
3947
3947
  `) || "" : o.type === P.TAB ? " " : o.valueList?.length ? pi(o.valueList) : o.value || "";
3948
3948
  }
3949
3949
  function pi(o) {
3950
- return o.map((t) => Ci(t)).join("");
3950
+ return o.map((t) => Fi(t)).join("");
3951
3951
  }
3952
3952
  function $c(o) {
3953
3953
  const t = o.menstrualData;
@@ -3963,7 +3963,7 @@ function Dr(o) {
3963
3963
  return (o || "").replace(new RegExp(`${_}`, "g"), `
3964
3964
  `);
3965
3965
  }
3966
- function Is(o) {
3966
+ function ms(o) {
3967
3967
  let t = "";
3968
3968
  for (let e = 0; e < o.length; e++) {
3969
3969
  const n = o[e];
@@ -3976,12 +3976,12 @@ function Is(o) {
3976
3976
  for (let r = 0; r < i.length; r++) {
3977
3977
  const s = i[r];
3978
3978
  for (let l = 0; l < s.tdList.length; l++) {
3979
- const a = s.tdList[l], c = Is(a.value || []), u = l === 0, h = s.tdList.length - 1 === l;
3979
+ const a = s.tdList[l], c = ms(a.value || []), u = l === 0, h = s.tdList.length - 1 === l;
3980
3980
  t += `${u ? "" : " "}${c}${h ? `
3981
3981
  ` : ""}`;
3982
3982
  }
3983
3983
  }
3984
- } else n.type === P.TAB ? t += " " : n.type === P.CHECKBOX ? t += n.checkbox?.value ? "☑" : "□" : n.type === P.RADIO ? t += n.radio?.value ? "☉" : "○" : n.type === P.MENSTRUAL_HISTORY ? t += $c(n) : n.type === P.MACRO || n.type === P.CUSTOM_MACRO || n.type === P.REUSABLE_ITEM ? t += Dr(Ci(n)) : n.valueList?.length ? t += Is(n.valueList) : t += Dr(n.value);
3984
+ } else n.type === P.TAB ? t += " " : n.type === P.CHECKBOX ? t += n.checkbox?.value ? "☑" : "□" : n.type === P.RADIO ? t += n.radio?.value ? "☉" : "○" : n.type === P.MENSTRUAL_HISTORY ? t += $c(n) : n.type === P.MACRO || n.type === P.CUSTOM_MACRO || n.type === P.REUSABLE_ITEM ? t += Dr(Fi(n)) : n.valueList?.length ? t += ms(n.valueList) : t += Dr(n.value);
3985
3985
  }
3986
3986
  return t;
3987
3987
  }
@@ -4004,7 +4004,7 @@ function po(o = []) {
4004
4004
  return;
4005
4005
  }
4006
4006
  if (e.type === P.MACRO || e.type === P.CUSTOM_MACRO || e.type === P.REUSABLE_ITEM) {
4007
- t.push(...Ts(Pl(e), e));
4007
+ t.push(...Is(Pl(e), e));
4008
4008
  return;
4009
4009
  }
4010
4010
  if (e.valueList?.length) {
@@ -4020,7 +4020,7 @@ function po(o = []) {
4020
4020
  }
4021
4021
  function le(o, t) {
4022
4022
  const { isHandleFirstElement: e = !0, isForceCompensation: n = !1, editorOptions: i } = t, r = o[0];
4023
- (n || e && r?.type !== P.LIST && (r?.type && r.type !== P.TEXT || !ys.test(r?.value))) && o.unshift({
4023
+ (n || e && r?.type !== P.LIST && (r?.type && r.type !== P.TEXT || !Vs.test(r?.value))) && o.unshift({
4024
4024
  value: _
4025
4025
  });
4026
4026
  let s = 0;
@@ -4107,7 +4107,7 @@ function le(o, t) {
4107
4107
  }
4108
4108
  } else if (l.type === P.HYPERLINK) {
4109
4109
  o.splice(s, 1);
4110
- const a = fs(l.valueList || []);
4110
+ const a = ps(l.valueList || []);
4111
4111
  if (a.length) {
4112
4112
  const c = Lt();
4113
4113
  for (let u = 0; u < a.length; u++) {
@@ -4118,7 +4118,7 @@ function le(o, t) {
4118
4118
  s--;
4119
4119
  } else if (l.type === P.DATE) {
4120
4120
  o.splice(s, 1);
4121
- const a = fs(l.valueList || []);
4121
+ const a = ps(l.valueList || []);
4122
4122
  if (a.length) {
4123
4123
  const c = Lt();
4124
4124
  for (let u = 0; u < a.length; u++) {
@@ -4151,7 +4151,7 @@ function le(o, t) {
4151
4151
  } = l.control, m = p, { editorOptions: { control: L, checkbox: T, radio: O } } = t, S = l.controlId || Lt();
4152
4152
  o.splice(s, 1);
4153
4153
  const M = ie(l, [
4154
- ...as,
4154
+ ...cs,
4155
4155
  ...me
4156
4156
  ]), F = ie(l.control, Me), N = {
4157
4157
  ...F,
@@ -4285,7 +4285,7 @@ function le(o, t) {
4285
4285
  }
4286
4286
  }
4287
4287
  const W = fo(l.control.valueLayout);
4288
- m === b.BUTTON && (W.newline || W.indentChars > 0) && (y = [{ value: ps(y) }]);
4288
+ m === b.BUTTON && (W.newline || W.indentChars > 0) && (y = [{ value: Ts(y) }]);
4289
4289
  for (let X = 0; X < y.length; X++) {
4290
4290
  const D = y[X];
4291
4291
  if (D.type === P.CONTROL && D.control) {
@@ -4322,7 +4322,7 @@ function le(o, t) {
4322
4322
  }), s++;
4323
4323
  }
4324
4324
  } else {
4325
- const J = Ki(E.control), z = Zt(J);
4325
+ const J = Ai(E.control), z = Zt(J);
4326
4326
  for (let at = 0; at < z.length; at++) {
4327
4327
  const tt = z[at];
4328
4328
  o.splice(s, 0, {
@@ -4610,7 +4610,7 @@ function le(o, t) {
4610
4610
  const { prefix: a, postfix: c, preText: u, postText: h, value: d, placeholder: f, code: g, type: p, valueSets: I } = l.control, { editorOptions: { control: m, checkbox: L, radio: T } } = t, O = l.controlId || Lt();
4611
4611
  o.splice(s, 1);
4612
4612
  const S = ie(l, [
4613
- ...as,
4613
+ ...cs,
4614
4614
  ...me
4615
4615
  ]), M = ie(l.control, Me), F = {
4616
4616
  ...M,
@@ -4619,7 +4619,7 @@ function le(o, t) {
4619
4619
  }, N = {
4620
4620
  ...M,
4621
4621
  color: void 0
4622
- }, w = p === b.BUTTON ? Ki(l.control) : f, V = Ae(p, a || m.prefix);
4622
+ }, w = p === b.BUTTON ? Ai(l.control) : f, V = Ae(p, a || m.prefix);
4623
4623
  for (let y = 0; y < V.length; y++) {
4624
4624
  const W = V[y];
4625
4625
  o.splice(s, 0, {
@@ -4745,7 +4745,7 @@ function le(o, t) {
4745
4745
  }
4746
4746
  }
4747
4747
  const W = fo(l.control.valueLayout);
4748
- p === b.BUTTON && (W.newline || W.indentChars > 0) && (y = [{ value: ps(y) }]);
4748
+ p === b.BUTTON && (W.newline || W.indentChars > 0) && (y = [{ value: Ts(y) }]);
4749
4749
  for (let X = 0; X < y.length; X++) {
4750
4750
  const D = y[X];
4751
4751
  if (D.type === P.CONTROL && D.control) {
@@ -4782,7 +4782,7 @@ function le(o, t) {
4782
4782
  }), s++;
4783
4783
  }
4784
4784
  } else {
4785
- const J = Ki(E.control), z = Zt(J);
4785
+ const J = Ai(E.control), z = Zt(J);
4786
4786
  for (let at = 0; at < z.length; at++) {
4787
4787
  const tt = z[at];
4788
4788
  o.splice(s, 0, {
@@ -5550,7 +5550,7 @@ function fe(o, t, e, n) {
5550
5550
  let c = !1;
5551
5551
  for (let u = 0; u < t.length; u++) {
5552
5552
  const h = t[u];
5553
- if (r && !i.listId && ys.test(h.value) && (c = !0), c || !i.listId && h.type === P.LIST) {
5553
+ if (r && !i.listId && Vs.test(h.value) && (c = !0), c || !i.listId && h.type === P.LIST) {
5554
5554
  const f = [
5555
5555
  ..._n,
5556
5556
  ...me,
@@ -5562,7 +5562,7 @@ function fe(o, t, e, n) {
5562
5562
  continue;
5563
5563
  }
5564
5564
  h.valueList?.length && fe(o, h.valueList, e, n);
5565
- const d = [...as];
5565
+ const d = [...cs];
5566
5566
  To(h) || d.push(...me), Pr(d, l), yn(d, i, h);
5567
5567
  }
5568
5568
  }
@@ -5581,7 +5581,7 @@ function Ml(o) {
5581
5581
  if (n === 0) {
5582
5582
  if (i.checkbox)
5583
5583
  continue;
5584
- i.value = i.value.replace(ys, "");
5584
+ i.value = i.value.replace(Vs, "");
5585
5585
  }
5586
5586
  if (i.listWrap) {
5587
5587
  const r = e.get(t) || [];
@@ -5624,7 +5624,7 @@ function eu(o) {
5624
5624
  return t;
5625
5625
  }
5626
5626
  function Fo(o, t) {
5627
- const e = Di(t), n = Ll(e.mode) ? po(Kt(o, { editorOptions: e })) : o;
5627
+ const e = Ci(t), n = Ll(e.mode) ? po(Kt(o, { editorOptions: e })) : o;
5628
5628
  function i(l) {
5629
5629
  const a = document.createElement("div");
5630
5630
  for (let c = 0; c < l.length; c++) {
@@ -5659,7 +5659,7 @@ function Fo(o, t) {
5659
5659
  const h = document.createElement("a");
5660
5660
  h.innerText = u.valueList.map((d) => d.value).join(""), u.url && (h.href = u.url), a.append(h);
5661
5661
  } else if (u.type === P.TITLE) {
5662
- const h = document.createElement(`h${hs[u.level]}`), d = i(u.valueList);
5662
+ const h = document.createElement(`h${Rs[u.level]}`), d = i(u.valueList);
5663
5663
  h.innerHTML = d.innerHTML, a.append(h);
5664
5664
  } else if (u.type === P.LIST) {
5665
5665
  const h = document.createElement(Lc[u.listType]);
@@ -5911,9 +5911,9 @@ function Xo(o, t) {
5911
5911
  }), l.forEach((a) => a.remove()), n(s), i.remove(), e;
5912
5912
  }
5913
5913
  function so(o, t) {
5914
- const e = t ? Di(t) : void 0;
5914
+ const e = t ? Ci(t) : void 0;
5915
5915
  if (e?.mode === K.COMPARE)
5916
- return Is(o);
5916
+ return ms(o);
5917
5917
  const n = Ll(e?.mode) ? po(Kt(o, { editorOptions: e })) : Kt(o);
5918
5918
  function i(r) {
5919
5919
  let s = "";
@@ -5940,7 +5940,7 @@ function so(o, t) {
5940
5940
  else if (a.type === P.LIST) {
5941
5941
  const c = Kt(a.valueList), u = Ml(c);
5942
5942
  let h = "";
5943
- a.listType === cn.UL && (h = ds[a.listStyle]), u.forEach((d, f) => {
5943
+ a.listType === cn.UL && (h = hs[a.listStyle]), u.forEach((d, f) => {
5944
5944
  const g = u.size - 1 === f;
5945
5945
  s += `
5946
5946
  ${h || `${f + 1}.`}${i(d)}${g ? `
@@ -5964,8 +5964,8 @@ ${h || `${f + 1}.`}${i(d)}${g ? `
5964
5964
  }
5965
5965
  return i(n);
5966
5966
  }
5967
- function Ai(o) {
5968
- return os(o, [
5967
+ function _i(o) {
5968
+ return is(o, [
5969
5969
  "metrics",
5970
5970
  "style"
5971
5971
  ]);
@@ -6014,19 +6014,19 @@ function Io(o, t, e = Ee.BEFORE) {
6014
6014
  }
6015
6015
  return n;
6016
6016
  }
6017
- const Sl = `${Si}-control`;
6017
+ const Sl = `${Di}-control`;
6018
6018
  function Dl(o) {
6019
- localStorage.setItem(Si, JSON.stringify({
6019
+ localStorage.setItem(Di, JSON.stringify({
6020
6020
  text: o.text,
6021
6021
  elementList: o.elementList
6022
6022
  }));
6023
6023
  }
6024
6024
  function Cl() {
6025
- const o = localStorage.getItem(Si);
6025
+ const o = localStorage.getItem(Di);
6026
6026
  return o ? JSON.parse(o) : null;
6027
6027
  }
6028
6028
  function Fl() {
6029
- localStorage.removeItem(Si);
6029
+ localStorage.removeItem(Di);
6030
6030
  }
6031
6031
  function su(o) {
6032
6032
  localStorage.setItem(Sl, JSON.stringify(o));
@@ -6482,7 +6482,7 @@ class Ru {
6482
6482
  return;
6483
6483
  }
6484
6484
  const y = this.cursorDom.style.top, W = this.draw.isReadonly();
6485
- this.cursorDom.style.width = `${s * n}px`, this.cursorDom.style.backgroundColor = r, this.cursorDom.style.left = `${C}px`, this.cursorDom.style.top = `${V}px`, this.cursorDom.style.display = W ? "none" : "block", this.cursorDom.style.height = `${F}px`, a ? this._setBlinkTimeout() : this._clearBlinkTimeout(), Vs(() => {
6485
+ this.cursorDom.style.width = `${s * n}px`, this.cursorDom.style.backgroundColor = r, this.cursorDom.style.left = `${C}px`, this.cursorDom.style.top = `${V}px`, this.cursorDom.style.display = W ? "none" : "block", this.cursorDom.style.height = `${F}px`, a ? this._setBlinkTimeout() : this._clearBlinkTimeout(), Si(() => {
6486
6486
  this.moveCursorToVisible({
6487
6487
  cursorPosition: e,
6488
6488
  direction: parseInt(y) > V ? oe.UP : oe.DOWN
@@ -6620,7 +6620,7 @@ class Ii {
6620
6620
  return -1;
6621
6621
  }
6622
6622
  }
6623
- class ms extends Ii {
6623
+ class Ls extends Ii {
6624
6624
  setSelect(t, e = {}, n = {}) {
6625
6625
  if (!n.isIgnoreDisabledRule && this.control.getIsDisabledControl(e))
6626
6626
  return;
@@ -6680,7 +6680,7 @@ function Nr(o, t) {
6680
6680
  t.getRadioParticle().setSelect(o);
6681
6681
  else {
6682
6682
  const i = e?.code ? [e.code] : [], r = t.getControl().getActiveControl();
6683
- r instanceof ms && r.setSelect(i);
6683
+ r instanceof Ls && r.setSelect(i);
6684
6684
  }
6685
6685
  }
6686
6686
  function gu(o, t) {
@@ -6876,8 +6876,8 @@ function gu(o, t) {
6876
6876
  return -1;
6877
6877
  const gt = y[v - 1];
6878
6878
  return !qt(gt, v - 1, b.TEXT) || o.offsetX > st.coordinate.leftTop[0] + q ? -1 : v - 1;
6879
- }, Zi = cr(V), ur = cr(V - 1), dr = Zi !== -1 || ur !== -1, hr = !!(G && ce && Y(C) && Yt(y, V, C.originControlId) === b.TEXT && Ne(Le, V - 1) && o.offsetX < ce.coordinate.leftTop[0]), ya = !!(G && ce && Ne(C, V) && Pe(it, V + 1, b.TEXT) && o.offsetX >= ce.coordinate.rightTop[0] - q), Va = Ke || dr || hr || ya;
6880
- if (It || Ct || Ot ? nt = V : rt || ot ? nt = Math.max(V - 1, 0) : dr ? nt = Zi !== -1 ? Zi : ur : hr && (nt = Math.max(V - 1, 0)), Nt) {
6879
+ }, vi = cr(V), ur = cr(V - 1), dr = vi !== -1 || ur !== -1, hr = !!(G && ce && Y(C) && Yt(y, V, C.originControlId) === b.TEXT && Ne(Le, V - 1) && o.offsetX < ce.coordinate.leftTop[0]), ya = !!(G && ce && Ne(C, V) && Pe(it, V + 1, b.TEXT) && o.offsetX >= ce.coordinate.rightTop[0] - q), Va = Ke || dr || hr || ya;
6880
+ if (It || Ct || Ot ? nt = V : rt || ot ? nt = Math.max(V - 1, 0) : dr ? nt = vi !== -1 ? vi : ur : hr && (nt = Math.max(V - 1, 0)), Nt) {
6881
6881
  nt = vt(Nt.index);
6882
6882
  const v = s.getPositionContext();
6883
6883
  s.setPositionContext({
@@ -7099,8 +7099,8 @@ function gu(o, t) {
7099
7099
  }
7100
7100
  const pr = e.getTableTool();
7101
7101
  pr.dispose(), S && !n && pr.render();
7102
- const vi = e.getHyperlinkParticle();
7103
- vi.clearHyperlinkPopup(), C.type === P.HYPERLINK && (sn(o) ? vi.openHyperlink(C) : vi.drawHyperlinkPopup(C, w[V]));
7102
+ const Qi = e.getHyperlinkParticle();
7103
+ Qi.clearHyperlinkPopup(), C.type === P.HYPERLINK && (sn(o) ? Qi.openHyperlink(C) : Qi.drawHyperlinkPopup(C, w[V]));
7104
7104
  const Tr = e.getDateParticle();
7105
7105
  Tr.clearDatePicker(), C.type === P.DATE && !n && Tr.renderDatePicker(C, w[V]), e.getMenstrualHistoryParticle().clearMenstrualHistoryEditor(), e.getFetalHeartPositionParticle().clearFetalHeartPositionEditor(), e.getToothPositionParticle().clearToothPositionEditor();
7106
7106
  }
@@ -7172,13 +7172,13 @@ function fu(o, t) {
7172
7172
  const B = {
7173
7173
  value: A.value
7174
7174
  }, nt = Ge;
7175
- return T || nt.push(...ls), nt.forEach((j) => {
7175
+ return T || nt.push(...as), nt.forEach((j) => {
7176
7176
  const Yt = A[j];
7177
7177
  Yt !== void 0 && (B[j] = Yt);
7178
7178
  }), B;
7179
7179
  } else {
7180
7180
  let B = ut(A);
7181
- return T && (B = Ye(B, ls)), le([B], {
7181
+ return T && (B = Ye(B, as)), le([B], {
7182
7182
  isHandleFirstElement: !1,
7183
7183
  editorOptions: O
7184
7184
  }), B;
@@ -7454,7 +7454,7 @@ function oi(o, t) {
7454
7454
  }
7455
7455
  return i;
7456
7456
  }
7457
- function _i(o, t) {
7457
+ function Bi(o, t) {
7458
7458
  return !!o && !!t && o.controlId === t;
7459
7459
  }
7460
7460
  function Iu(o, t) {
@@ -7578,7 +7578,7 @@ function Pu(o, t) {
7578
7578
  if (h.originControlId && W)
7579
7579
  for (let D = r; D < c.length; D++) {
7580
7580
  const E = c[D];
7581
- if (_i(E, W)) {
7581
+ if (Bi(E, W)) {
7582
7582
  if (E.controlComponent === R.VALUE) {
7583
7583
  n.setRange(D, D), e.render({
7584
7584
  curIndex: D,
@@ -7612,7 +7612,7 @@ function Pu(o, t) {
7612
7612
  if (N && d?.originControlId && y && W && T) {
7613
7613
  for (let X = r + 1; X < c.length; X++) {
7614
7614
  const D = c[X];
7615
- if (_i(D, W)) {
7615
+ if (Bi(D, W)) {
7616
7616
  if (D.controlComponent === R.VALUE || D.controlComponent === R.PLACEHOLDER) {
7617
7617
  n.setRange(X, X), e.render({
7618
7618
  curIndex: X,
@@ -7627,7 +7627,7 @@ function Pu(o, t) {
7627
7627
  }
7628
7628
  for (let X = r - 1; X >= 0; X--) {
7629
7629
  const D = c[X];
7630
- if (_i(D, W)) {
7630
+ if (Bi(D, W)) {
7631
7631
  if (D.controlComponent === R.VALUE || D.controlComponent === R.PLACEHOLDER) {
7632
7632
  n.setRange(X, X), e.render({
7633
7633
  curIndex: X,
@@ -8198,7 +8198,7 @@ function Cu(o, t) {
8198
8198
  }), e.insertElementList([m]);
8199
8199
  }
8200
8200
  }
8201
- function Bi(o) {
8201
+ function Gi(o) {
8202
8202
  const { positionList: t, index: e, isUp: n, rowNo: i, cursorX: r } = o;
8203
8203
  let s = -1;
8204
8204
  const l = [];
@@ -8347,7 +8347,7 @@ function Fu(o, t) {
8347
8347
  const { index: I, rowNo: m, rowIndex: L, coordinate: { rightTop: [T] } } = p;
8348
8348
  if (u && L === 0 || !u && L === e.getRowCount() - 1)
8349
8349
  return;
8350
- const O = Bi({
8350
+ const O = Gi({
8351
8351
  positionList: c,
8352
8352
  index: I,
8353
8353
  rowNo: m,
@@ -8367,7 +8367,7 @@ function Fu(o, t) {
8367
8367
  for (let E = 0; E < D.length; E++) {
8368
8368
  const U = D[E], x = U.x * F + N[3], Q = U.width * F;
8369
8369
  if (T >= x && T <= x + Q) {
8370
- const Z = U.positionList, H = Z[Z.length - 1], Y = Bi({
8370
+ const Z = U.positionList, H = Z[Z.length - 1], Y = Gi({
8371
8371
  positionList: Z,
8372
8372
  index: H.index + 1,
8373
8373
  rowNo: H.rowNo - 1,
@@ -8385,7 +8385,7 @@ function Fu(o, t) {
8385
8385
  for (let E = 0; E < D.length; E++) {
8386
8386
  const U = D[E], x = U.x * F + N[3], Q = U.width * F;
8387
8387
  if (T >= x && T <= x + Q) {
8388
- const Z = U.positionList, H = Bi({
8388
+ const Z = U.positionList, H = Gi({
8389
8389
  positionList: Z,
8390
8390
  index: -1,
8391
8391
  rowNo: -1,
@@ -8538,7 +8538,7 @@ function mi(o) {
8538
8538
  function _e(o) {
8539
8539
  return o?.type === P.CONTROL && (o.controlComponent === R.POSTFIX || o.controlComponent === R.POST_TEXT || o.controlComponent === R.POSTTEXTFIX || o.controlComponent === R.POSTTEXTFIX_TEXT);
8540
8540
  }
8541
- function Gi(o) {
8541
+ function ki(o) {
8542
8542
  return !!o?.originControlId && mi(o);
8543
8543
  }
8544
8544
  function Oo(o) {
@@ -8580,7 +8580,7 @@ function Vr(o, t, e) {
8580
8580
  if (n?.control?.type === b.TEXTFIELD)
8581
8581
  return n;
8582
8582
  }
8583
- function Ls(o, t, e) {
8583
+ function Ps(o, t, e) {
8584
8584
  Ge.forEach((n) => {
8585
8585
  delete o[n];
8586
8586
  }), Me.forEach((n) => {
@@ -8588,10 +8588,10 @@ function Ls(o, t, e) {
8588
8588
  i !== void 0 && (o[n] = i);
8589
8589
  }), t?.type === b.TEXT && o.color?.toLowerCase() === "#87d068" ? o.color = e : o.color || (o.color = e);
8590
8590
  }
8591
- function ki(o, t, e, n) {
8592
- o.controlId = t, o.control = e, o.controlComponent = R.VALUE, delete o.originControlId, Ls(o, e, n);
8591
+ function Ji(o, t, e, n) {
8592
+ o.controlId = t, o.control = e, o.controlComponent = R.VALUE, delete o.originControlId, Ps(o, e, n);
8593
8593
  }
8594
- function Ps(o, t, e = "input") {
8594
+ function Es(o, t, e = "input") {
8595
8595
  const n = ge(), i = t.getDraw(), r = i.getControl(), s = i.getOptions(), l = i.getElementList(), u = i.getPosition().getCursorPosition()?.index;
8596
8596
  if (i.isDisabled() || i.getMacroParticle().input(o, t.isComposing) || i.isReadonly())
8597
8597
  return;
@@ -8675,7 +8675,7 @@ function Ps(o, t, e = "input") {
8675
8675
  const $ = Z > 0 ? y[Z - 1] : null, G = !!(Y.controlId || Y.control), B = {
8676
8676
  ...!G && $ ? $ : Y,
8677
8677
  ...V
8678
- }, nt = i.isDesignMode(), j = y[H + 1], Yt = Xn(y, Y.originControlId, i.getMode()), At = Xn(y, j?.originControlId, i.getMode()), Ne = !Y.originControlId && !j?.originControlId && _e(Y) && mi(j) && !!Y.controlId && !!j.controlId && Y.controlId !== j.controlId, ce = Oo(Y) && Gi(j) && !Yt && !At, Le = i.getMode() === K.EDIT ? Vr(y, Y, j) : void 0, it = !!Y.originControlId && _e(Y) && j?.controlId === Y.originControlId && !j.originControlId && j.control?.type === b.TEXTFIELD && _e(j), q = !!Y.originControlId && _e(Y) && j?.controlId === Y.originControlId && !j.originControlId && j.control?.type === b.TEXTFIELD && j.controlComponent === R.VALUE, z = !!Yt && Yt === At && !!Y.controlId && !!j?.controlId && Y.controlId !== j.controlId && (Oo(Y) || Gi(j)) ? Yt : null;
8678
+ }, nt = i.isDesignMode(), j = y[H + 1], Yt = Xn(y, Y.originControlId, i.getMode()), At = Xn(y, j?.originControlId, i.getMode()), Ne = !Y.originControlId && !j?.originControlId && _e(Y) && mi(j) && !!Y.controlId && !!j.controlId && Y.controlId !== j.controlId, ce = Oo(Y) && ki(j) && !Yt && !At, Le = i.getMode() === K.EDIT ? Vr(y, Y, j) : void 0, it = !!Y.originControlId && _e(Y) && j?.controlId === Y.originControlId && !j.originControlId && j.control?.type === b.TEXTFIELD && _e(j), q = !!Y.originControlId && _e(Y) && j?.controlId === Y.originControlId && !j.originControlId && j.control?.type === b.TEXTFIELD && j.controlComponent === R.VALUE, z = !!Yt && Yt === At && !!Y.controlId && !!j?.controlId && Y.controlId !== j.controlId && (Oo(Y) || ki(j)) ? Yt : null;
8679
8679
  if (w && (Ne || ce))
8680
8680
  return;
8681
8681
  const at = mi(j) && !j?.originControlId, tt = _e(Y) && !Y.originControlId || Y.type === P.CONTROL && Y.controlComponent === R.VALUE && j?.type !== P.CONTROL && !Y.originControlId, Rt = [
@@ -8740,7 +8740,7 @@ function Ps(o, t, e = "input") {
8740
8740
  const _t = Y.originControlId && (Y.controlComponent === R.POSTFIX || Y.controlComponent === R.POSTTEXTFIX || Y.controlComponent === R.POSTTEXTFIX_TEXT || Y.controlComponent === R.POST_TEXT);
8741
8741
  if (it || q || Le) {
8742
8742
  const Ct = Le || j;
8743
- lt.controlId = Ct.controlId, lt.control = Ct.control, lt.controlComponent = R.VALUE, delete lt.originControlId, Ls(lt, Ct.control, s.defaultColor);
8743
+ lt.controlId = Ct.controlId, lt.control = Ct.control, lt.controlComponent = R.VALUE, delete lt.originControlId, Ps(lt, Ct.control, s.defaultColor);
8744
8744
  }
8745
8745
  const Bt = !Y.originControlId && Y.controlId && (Y.controlComponent === R.POSTFIX || Y.controlComponent === R.POSTTEXTFIX || Y.controlComponent === R.POSTTEXTFIX_TEXT || Y.controlComponent === R.POST_TEXT) && j?.controlId && j.controlId !== Y.controlId && Yu(Y, j), It = Y.controlId && Y.originControlId && (Y.controlComponent === R.VALUE || Y.controlComponent === R.PLACEHOLDER);
8746
8746
  if (!it && !q && !Le && _t && !lt.controlId) {
@@ -8755,7 +8755,7 @@ function Ps(o, t, e = "input") {
8755
8755
  break;
8756
8756
  }
8757
8757
  }
8758
- lt.controlId = Ct, lt.controlComponent = R.VALUE, Ot && (lt.control = Ot), Ls(lt, Ot, s.defaultColor);
8758
+ lt.controlId = Ct, lt.controlComponent = R.VALUE, Ot && (lt.control = Ot), Ps(lt, Ot, s.defaultColor);
8759
8759
  } else if (Bt && !lt.controlId) {
8760
8760
  if (j?.controlId && j.controlId !== Y.controlId)
8761
8761
  if (j.controlComponent === R.PREFIX || j.controlComponent === R.PRETEXTFIX)
@@ -8846,7 +8846,7 @@ function Ps(o, t, e = "input") {
8846
8846
  }, lt = Z + 1, _t = Ft ? Vt(Z) + 1 : lt, Bt = () => {
8847
8847
  let rt = null, ot, qt = null;
8848
8848
  const Pe = i.getMode() === K.EDIT ? Vr(l, yt, $t) : void 0;
8849
- if (Pe?.controlId ? (rt = Pe.controlId, ot = Pe.control?.type) : i.getMode() === K.EDIT && Oo(yt) && $t?.controlId === yt.originControlId && !$t.originControlId && $t.control?.type === b.TEXTFIELD && ($t.controlComponent === R.VALUE || _e($t)) ? (rt = yt.originControlId, ot = b.TEXTFIELD) : Oo(yt) ? rt = Xn(l, yt.originControlId, i.getMode()) : Gi($t) ? rt = Xn(l, $t.originControlId, i.getMode()) : z ? rt = z : yt?.control?.type === b.TEXT && yt.controlId && !yt.originControlId && _e(yt) && Te?.originControlId === yt.controlId && (rt = yt.controlId, qt = {
8849
+ if (Pe?.controlId ? (rt = Pe.controlId, ot = Pe.control?.type) : i.getMode() === K.EDIT && Oo(yt) && $t?.controlId === yt.originControlId && !$t.originControlId && $t.control?.type === b.TEXTFIELD && ($t.controlComponent === R.VALUE || _e($t)) ? (rt = yt.originControlId, ot = b.TEXTFIELD) : Oo(yt) ? rt = Xn(l, yt.originControlId, i.getMode()) : ki($t) ? rt = Xn(l, $t.originControlId, i.getMode()) : z ? rt = z : yt?.control?.type === b.TEXT && yt.controlId && !yt.originControlId && _e(yt) && Te?.originControlId === yt.controlId && (rt = yt.controlId, qt = {
8850
8850
  startIndex: u - 1,
8851
8851
  endIndex: u - 1
8852
8852
  }), !rt)
@@ -8888,7 +8888,7 @@ function Ps(o, t, e = "input") {
8888
8888
  if (wt && se?.control) {
8889
8889
  const rt = Vt(Z);
8890
8890
  bt.forEach((ot) => {
8891
- ki(ot, wt, se.control, s.defaultColor);
8891
+ Ji(ot, wt, se.control, s.defaultColor);
8892
8892
  }), fe(y, bt, rt, {
8893
8893
  editorOptions: s
8894
8894
  }), i.spliceElementList(y, rt + 1, 0, bt), Nt = rt + bt.length;
@@ -8906,7 +8906,7 @@ function Ps(o, t, e = "input") {
8906
8906
  endIndex: H
8907
8907
  });
8908
8908
  m(re.startIndex, re.endIndex), Pe && Pe.getElement()?.controlId === rt && (Pe.getElement()?.control?.type === b.TEXT || Pe.getElement()?.control?.type === b.TEXTFIELD) ? (bt.forEach((qn) => {
8909
- ki(qn, rt, Pe.getElement().control, s.defaultColor);
8909
+ Ji(qn, rt, Pe.getElement().control, s.defaultColor);
8910
8910
  }), Nt = Pe.setValue(bt, {
8911
8911
  range: re,
8912
8912
  elementList: y
@@ -8959,7 +8959,7 @@ function Ps(o, t, e = "input") {
8959
8959
  m(qn, qn), I();
8960
8960
  const Fn = r.getActiveControl();
8961
8961
  m(re.startIndex, re.endIndex), Fn && Fn.getElement()?.controlId === ot && (Fn.getElement()?.control?.type === b.TEXT || Fn.getElement()?.control?.type === b.TEXTFIELD) ? (bt.forEach((Ve) => {
8962
- ki(Ve, ot, Fn.getElement().control, s.defaultColor);
8962
+ Ji(Ve, ot, Fn.getElement().control, s.defaultColor);
8963
8963
  }), Nt = Fn.setValue(bt, {
8964
8964
  range: re,
8965
8965
  elementList: y
@@ -9131,13 +9131,13 @@ function Ku(o) {
9131
9131
  return null;
9132
9132
  const { value: n, index: i } = e, r = t.getLetterReg();
9133
9133
  let s = 0, l = 0;
9134
- const a = Qi.test(n);
9134
+ const a = Hi.test(n);
9135
9135
  if (a || r.test(n)) {
9136
9136
  const u = t.getElementList();
9137
9137
  let h = i - 1;
9138
9138
  for (; h > 0; ) {
9139
9139
  const f = u[h].value;
9140
- if (a && Qi.test(f) || !a && r.test(f))
9140
+ if (a && Hi.test(f) || !a && r.test(f))
9141
9141
  s++, h--;
9142
9142
  else
9143
9143
  break;
@@ -9145,7 +9145,7 @@ function Ku(o) {
9145
9145
  let d = i + 1;
9146
9146
  for (; d < u.length; ) {
9147
9147
  const f = u[d].value;
9148
- if (a && Qi.test(f) || !a && r.test(f))
9148
+ if (a && Hi.test(f) || !a && r.test(f))
9149
9149
  l++, d++;
9150
9150
  else
9151
9151
  break;
@@ -9288,8 +9288,8 @@ function Ju(o, t) {
9288
9288
  }
9289
9289
  if (t.data)
9290
9290
  o.compositionInfo && (o.compositionInfo.perfStartTime = e), nc ? setTimeout(() => {
9291
- o.compositionInfo && Ps(t.data, o, "compositionend");
9292
- }, 1) : o.compositionInfo && Ps(t.data, o, "compositionend");
9291
+ o.compositionInfo && Es(t.data, o, "compositionend");
9292
+ }, 1) : o.compositionInfo && Es(t.data, o, "compositionend");
9293
9293
  else {
9294
9294
  const l = o.compositionInfo?.cancel;
9295
9295
  if (Uu(o), !l) {
@@ -9309,7 +9309,7 @@ function Ju(o, t) {
9309
9309
  function $u(o) {
9310
9310
  o.compositionInfo && (o.compositionInfo.cancel = !0);
9311
9311
  }
9312
- const Ji = {
9312
+ const $i = {
9313
9313
  compositionstart: ku,
9314
9314
  compositionend: Ju,
9315
9315
  compositionCancel: $u
@@ -9533,7 +9533,7 @@ class qu {
9533
9533
  * @param source - 输入来源
9534
9534
  */
9535
9535
  input(t, e = "input") {
9536
- this.draw.isInteractionSuspended() || Ps(t, this, e);
9536
+ this.draw.isInteractionSuspended() || Es(t, this, e);
9537
9537
  }
9538
9538
  /**
9539
9539
  * 处理剪切操作
@@ -9552,20 +9552,20 @@ class qu {
9552
9552
  * 处理输入法组合开始事件
9553
9553
  */
9554
9554
  compositionstart() {
9555
- this.draw.isInteractionSuspended() || Ji.compositionstart(this);
9555
+ this.draw.isInteractionSuspended() || $i.compositionstart(this);
9556
9556
  }
9557
9557
  /**
9558
9558
  * 处理输入法组合结束事件
9559
9559
  * @param evt - 组合事件对象
9560
9560
  */
9561
9561
  compositionend(t) {
9562
- this.draw.isInteractionSuspended() || Ji.compositionend(this, t);
9562
+ this.draw.isInteractionSuspended() || $i.compositionend(this, t);
9563
9563
  }
9564
9564
  /**
9565
9565
  * 取消输入法组合
9566
9566
  */
9567
9567
  compositionCancel() {
9568
- this.draw.isInteractionSuspended() || Ji.compositionCancel(this);
9568
+ this.draw.isInteractionSuspended() || $i.compositionCancel(this);
9569
9569
  }
9570
9570
  /**
9571
9571
  * 处理拖放事件
@@ -11353,7 +11353,7 @@ class ad {
11353
11353
  return;
11354
11354
  let i = this.getSearchMatchList();
11355
11355
  const r = e?.index;
11356
- if (ss(r)) {
11356
+ if (rs(r)) {
11357
11357
  const p = [];
11358
11358
  i.forEach((I) => {
11359
11359
  const m = p[p.length - 1];
@@ -12347,7 +12347,7 @@ class Id {
12347
12347
  render(t, e, n, i) {
12348
12348
  const r = this.draw.getMode(), s = e.macroConfig;
12349
12349
  if (r === K.READONLY && e.type !== "subTemplate") {
12350
- this._renderPlainText(t, e, n, i, Ci(e));
12350
+ this._renderPlainText(t, e, n, i, Fi(e));
12351
12351
  return;
12352
12352
  }
12353
12353
  if (r === K.EDIT) {
@@ -13063,7 +13063,7 @@ const Yr = {
13063
13063
  borderColor: "#1677ff",
13064
13064
  backgroundColor: "rgba(22,119,255,0.08)"
13065
13065
  }
13066
- }, Dd = "#ff4d4f", Cd = 5e3, $i = 4;
13066
+ }, Dd = "#ff4d4f", Cd = 5e3, zi = 4;
13067
13067
  class Fd {
13068
13068
  draw;
13069
13069
  options;
@@ -13127,7 +13127,7 @@ class Fd {
13127
13127
  const { markIndex: Y, controlId: $ } = M[H], G = `${Y}:${$}:${f.startIndex}`, A = g.get(G), B = { x: C, y: U, right: y, bottom: x };
13128
13128
  if (A) {
13129
13129
  const nt = this._mergeBounds(A, B);
13130
- A.x = nt.x, A.y = nt.y, A.width = Math.max(1, nt.right - nt.x), A.height = Math.max(1, nt.bottom - nt.y), Q || (A.hasUnderline ? (A.underlineX = Math.min(A.underlineX, C), A.underlineY = Math.max(A.underlineY, x + $i), A.underlineRight = Math.max(A.underlineRight, Z)) : (A.underlineX = C, A.underlineY = x + $i, A.underlineRight = Z), A.hasUnderline = !0);
13130
+ A.x = nt.x, A.y = nt.y, A.width = Math.max(1, nt.right - nt.x), A.height = Math.max(1, nt.bottom - nt.y), Q || (A.hasUnderline ? (A.underlineX = Math.min(A.underlineX, C), A.underlineY = Math.max(A.underlineY, x + zi), A.underlineRight = Math.max(A.underlineRight, Z)) : (A.underlineX = C, A.underlineY = x + zi, A.underlineRight = Z), A.hasUnderline = !0);
13131
13131
  } else
13132
13132
  g.set(G, {
13133
13133
  mark: this.marks[Y],
@@ -13139,7 +13139,7 @@ class Fd {
13139
13139
  baseline: W + S.ascent,
13140
13140
  font: T.style || this.draw.getElementFont(T, this.options.scale),
13141
13141
  underlineX: C,
13142
- underlineY: x + $i,
13142
+ underlineY: x + zi,
13143
13143
  underlineRight: Z,
13144
13144
  hasUnderline: !Q,
13145
13145
  drawLeft: !1,
@@ -13536,7 +13536,7 @@ class Mo {
13536
13536
  const S = document.createElement("li");
13537
13537
  S.classList.add(`${ct}-select-control-empty`), S.textContent = this.draw.getI18n().t("select.empty") || "无匹配项", l.append(S);
13538
13538
  }
13539
- O && rs(i, O);
13539
+ O && ls(i, O);
13540
13540
  };
13541
13541
  s.addEventListener("input", () => {
13542
13542
  a(s.value);
@@ -13550,7 +13550,7 @@ class Mo {
13550
13550
  p.forEach((T, O) => {
13551
13551
  const S = O === L;
13552
13552
  T.classList.toggle("keyboard-active", S), T.setAttribute("aria-selected", String(S));
13553
- }), rs(i, p[L]);
13553
+ }), ls(i, p[L]);
13554
13554
  return;
13555
13555
  }
13556
13556
  if (g.key === "Enter") {
@@ -13560,7 +13560,11 @@ class Mo {
13560
13560
  g.key === "Escape" && this.destroy();
13561
13561
  }), i.append(s, l);
13562
13562
  const { coordinate: { leftTop: [c, u] }, lineHeight: h } = n, d = this.control.getPreY();
13563
- i.style.left = `${c}px`, i.style.top = `${u + d + h}px`, this.control.getContainer().append(i), this.selectDom = i, a(), s.focus();
13563
+ i.style.left = `${c}px`, i.style.top = `${u + d + h}px`, this.control.getContainer().append(i), this.selectDom = i, a(), Si(() => {
13564
+ window.setTimeout(() => {
13565
+ this.selectDom === i && i.isConnected && s.focus();
13566
+ });
13567
+ });
13564
13568
  }
13565
13569
  awake() {
13566
13570
  if (this.isPopup || this.control.getIsDisabledControl())
@@ -13643,8 +13647,8 @@ function xd() {
13643
13647
  function Wt(o) {
13644
13648
  return o._pf == null && (o._pf = xd()), o._pf;
13645
13649
  }
13646
- var Es;
13647
- Array.prototype.some ? Es = Array.prototype.some : Es = function(o) {
13650
+ var Os;
13651
+ Array.prototype.some ? Os = Array.prototype.some : Os = function(o) {
13648
13652
  var t = Object(this), e = t.length >>> 0, n;
13649
13653
  for (n = 0; n < e; n++)
13650
13654
  if (n in t && o.call(this, t[n], n, t))
@@ -13653,7 +13657,7 @@ Array.prototype.some ? Es = Array.prototype.some : Es = function(o) {
13653
13657
  };
13654
13658
  function Hs(o) {
13655
13659
  var t = null, e = !1, n = o._d && !isNaN(o._d.getTime());
13656
- if (n && (t = Wt(o), e = Es.call(t.parsedDateParts, function(i) {
13660
+ if (n && (t = Wt(o), e = Os.call(t.parsedDateParts, function(i) {
13657
13661
  return i != null;
13658
13662
  }), n = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && e), o._strict && (n = n && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(o))
13659
13663
  o._isValid = n;
@@ -13661,11 +13665,11 @@ function Hs(o) {
13661
13665
  return n;
13662
13666
  return o._isValid;
13663
13667
  }
13664
- function Fi(o) {
13668
+ function Xi(o) {
13665
13669
  var t = hn(NaN);
13666
13670
  return o != null ? Yn(Wt(t), o) : Wt(t).userInvalidated = !0, t;
13667
13671
  }
13668
- var Ur = dt.momentProperties = [], zi = !1;
13672
+ var Ur = dt.momentProperties = [], ji = !1;
13669
13673
  function Ks(o, t) {
13670
13674
  var e, n, i, r = Ur.length;
13671
13675
  if (xe(t._isAMomentObject) || (o._isAMomentObject = t._isAMomentObject), xe(t._i) || (o._i = t._i), xe(t._f) || (o._f = t._f), xe(t._l) || (o._l = t._l), xe(t._strict) || (o._strict = t._strict), xe(t._tzm) || (o._tzm = t._tzm), xe(t._isUTC) || (o._isUTC = t._isUTC), xe(t._offset) || (o._offset = t._offset), xe(t._pf) || (o._pf = Wt(t)), xe(t._locale) || (o._locale = t._locale), r > 0)
@@ -13674,7 +13678,7 @@ function Ks(o, t) {
13674
13678
  return o;
13675
13679
  }
13676
13680
  function Qo(o) {
13677
- Ks(this, o), this._d = new Date(o._d != null ? o._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), zi === !1 && (zi = !0, dt.updateOffset(this), zi = !1);
13681
+ Ks(this, o), this._d = new Date(o._d != null ? o._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), ji === !1 && (ji = !0, dt.updateOffset(this), ji = !1);
13678
13682
  }
13679
13683
  function Je(o) {
13680
13684
  return o instanceof Qo || o != null && o._isAMomentObject != null;
@@ -13724,7 +13728,7 @@ function bd(o) {
13724
13728
  (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
13725
13729
  );
13726
13730
  }
13727
- function Os(o, t) {
13731
+ function Ms(o, t) {
13728
13732
  var e = Yn({}, o), n;
13729
13733
  for (n in t)
13730
13734
  zt(t, n) && ($n(o[n]) && $n(t[n]) ? (e[n] = {}, Yn(e[n], o[n]), Yn(e[n], t[n])) : t[n] != null ? e[n] = t[n] : delete e[n]);
@@ -13735,8 +13739,8 @@ function Os(o, t) {
13735
13739
  function As(o) {
13736
13740
  o != null && this.set(o);
13737
13741
  }
13738
- var Ms;
13739
- Object.keys ? Ms = Object.keys : Ms = function(o) {
13742
+ var Ss;
13743
+ Object.keys ? Ss = Object.keys : Ss = function(o) {
13740
13744
  var t, e = [];
13741
13745
  for (t in o)
13742
13746
  zt(o, t) && e.push(t);
@@ -13758,7 +13762,7 @@ function dn(o, t, e) {
13758
13762
  var n = "" + Math.abs(o), i = t - n.length, r = o >= 0;
13759
13763
  return (r ? e ? "+" : "" : "-") + Math.pow(10, Math.max(0, i)).toString().substr(1) + n;
13760
13764
  }
13761
- var _s = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, jo = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, ji = {}, co = {};
13765
+ var _s = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, jo = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, qi = {}, co = {};
13762
13766
  function Pt(o, t, e, n) {
13763
13767
  var i = n;
13764
13768
  typeof n == "string" && (i = function() {
@@ -13787,7 +13791,7 @@ function Yd(o) {
13787
13791
  };
13788
13792
  }
13789
13793
  function ii(o, t) {
13790
- return o.isValid() ? (t = vl(t, o.localeData()), ji[t] = ji[t] || Yd(t), ji[t](o)) : o.localeData().invalidDate();
13794
+ return o.isValid() ? (t = vl(t, o.localeData()), qi[t] = qi[t] || Yd(t), qi[t](o)) : o.localeData().invalidDate();
13791
13795
  }
13792
13796
  function vl(o, t) {
13793
13797
  var e = 5;
@@ -13934,7 +13938,7 @@ function kd(o) {
13934
13938
  return n.priority - i.priority;
13935
13939
  }), t;
13936
13940
  }
13937
- var Ql = /\d/, we = /\d\d/, Hl = /\d{3}/, Gs = /\d{4}/, Xi = /[+-]?\d{6}/, he = /\d\d?/, Kl = /\d\d\d\d?/, Al = /\d\d\d\d\d\d?/, Ni = /\d{1,3}/, ks = /\d{1,4}/, xi = /[+-]?\d{1,6}/, Lo = /\d+/, bi = /[+-]?\d+/, Jd = /Z|[+-]\d\d:?\d\d/gi, yi = /Z|[+-]\d\d(?::?\d\d)?/gi, $d = /[+-]?\d+(\.\d{1,3})?/, Ho = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, Po = /^[1-9]\d?/, Js = /^([1-9]\d|\d)/, Li;
13941
+ var Ql = /\d/, we = /\d\d/, Hl = /\d{3}/, Gs = /\d{4}/, Ni = /[+-]?\d{6}/, he = /\d\d?/, Kl = /\d\d\d\d?/, Al = /\d\d\d\d\d\d?/, xi = /\d{1,3}/, ks = /\d{1,4}/, bi = /[+-]?\d{1,6}/, Lo = /\d+/, yi = /[+-]?\d+/, Jd = /Z|[+-]\d\d:?\d\d/gi, Vi = /Z|[+-]\d\d(?::?\d\d)?/gi, $d = /[+-]?\d+(\.\d{1,3})?/, Ho = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, Po = /^[1-9]\d?/, Js = /^([1-9]\d|\d)/, Li;
13938
13942
  Li = {};
13939
13943
  function ht(o, t, e) {
13940
13944
  Li[o] = Rn(t) ? t : function(n, i) {
@@ -13964,13 +13968,13 @@ function Ht(o) {
13964
13968
  var t = +o, e = 0;
13965
13969
  return t !== 0 && isFinite(t) && (e = ve(t)), e;
13966
13970
  }
13967
- var Ss = {};
13971
+ var Ds = {};
13968
13972
  function ee(o, t) {
13969
13973
  var e, n = t, i;
13970
13974
  for (typeof o == "string" && (o = [o]), Sn(t) && (n = function(r, s) {
13971
13975
  s[t] = Ht(r);
13972
13976
  }), i = o.length, e = 0; e < i; e++)
13973
- Ss[o[e]] = n;
13977
+ Ds[o[e]] = n;
13974
13978
  }
13975
13979
  function Ko(o, t) {
13976
13980
  ee(o, function(e, n, i, r) {
@@ -13978,9 +13982,9 @@ function Ko(o, t) {
13978
13982
  });
13979
13983
  }
13980
13984
  function qd(o, t, e) {
13981
- t != null && zt(Ss, o) && Ss[o](t, e._a, e, o);
13985
+ t != null && zt(Ds, o) && Ds[o](t, e._a, e, o);
13982
13986
  }
13983
- function Vi(o) {
13987
+ function Wi(o) {
13984
13988
  return o % 4 === 0 && o % 100 !== 0 || o % 400 === 0;
13985
13989
  }
13986
13990
  var Se = 0, mn = 1, rn = 2, Oe = 3, Be = 4, Ln = 5, kn = 6, th = 7, eh = 8;
@@ -13994,11 +13998,11 @@ Pt(0, ["YY", 2], 0, function() {
13994
13998
  Pt(0, ["YYYY", 4], 0, "year");
13995
13999
  Pt(0, ["YYYYY", 5], 0, "year");
13996
14000
  Pt(0, ["YYYYYY", 6, !0], 0, "year");
13997
- ht("Y", bi);
14001
+ ht("Y", yi);
13998
14002
  ht("YY", he, we);
13999
14003
  ht("YYYY", ks, Gs);
14000
- ht("YYYYY", xi, Xi);
14001
- ht("YYYYYY", xi, Xi);
14004
+ ht("YYYYY", bi, Ni);
14005
+ ht("YYYYYY", bi, Ni);
14002
14006
  ee(["YYYYY", "YYYYYY"], Se);
14003
14007
  ee("YYYY", function(o, t) {
14004
14008
  t[Se] = o.length === 2 ? dt.parseTwoDigitYear(o) : Ht(o);
@@ -14010,14 +14014,14 @@ ee("Y", function(o, t) {
14010
14014
  t[Se] = parseInt(o, 10);
14011
14015
  });
14012
14016
  function No(o) {
14013
- return Vi(o) ? 366 : 365;
14017
+ return Wi(o) ? 366 : 365;
14014
14018
  }
14015
14019
  dt.parseTwoDigitYear = function(o) {
14016
14020
  return Ht(o) + (Ht(o) > 68 ? 1900 : 2e3);
14017
14021
  };
14018
14022
  var _l = Eo("FullYear", !0);
14019
14023
  function nh() {
14020
- return Vi(this.year());
14024
+ return Wi(this.year());
14021
14025
  }
14022
14026
  function Eo(o, t) {
14023
14027
  return function(e) {
@@ -14073,7 +14077,7 @@ function Bl(o, t, e) {
14073
14077
  default:
14074
14078
  return;
14075
14079
  }
14076
- r = e, s = o.month(), l = o.date(), l = l === 29 && s === 1 && !Vi(r) ? 28 : l, i ? n.setUTCFullYear(r, s, l) : n.setFullYear(r, s, l);
14080
+ r = e, s = o.month(), l = o.date(), l = l === 29 && s === 1 && !Wi(r) ? 28 : l, i ? n.setUTCFullYear(r, s, l) : n.setFullYear(r, s, l);
14077
14081
  }
14078
14082
  }
14079
14083
  function oh(o) {
@@ -14104,7 +14108,7 @@ function $s(o, t) {
14104
14108
  if (isNaN(o) || isNaN(t))
14105
14109
  return NaN;
14106
14110
  var e = sh(t, 12);
14107
- return o += (t - e) / 12, e === 1 ? Vi(o) ? 29 : 28 : 31 - e % 7 % 2;
14111
+ return o += (t - e) / 12, e === 1 ? Wi(o) ? 29 : 28 : 31 - e % 7 % 2;
14108
14112
  }
14109
14113
  Pt("M", ["MM", 2], "Mo", function() {
14110
14114
  return this.month() + 1;
@@ -14517,7 +14521,7 @@ function vr(o) {
14517
14521
  function Gh(o) {
14518
14522
  for (var t = 0, e, n, i, r; t < o.length; ) {
14519
14523
  for (r = vr(o[t]).split("-"), e = r.length, n = vr(o[t + 1]), n = n ? n.split("-") : null; e > 0; ) {
14520
- if (i = Wi(r.slice(0, e).join("-")), i)
14524
+ if (i = Yi(r.slice(0, e).join("-")), i)
14521
14525
  return i;
14522
14526
  if (n && n.length >= e && Bh(r, n) >= e - 1)
14523
14527
  break;
@@ -14530,7 +14534,7 @@ function Gh(o) {
14530
14534
  function kh(o) {
14531
14535
  return !!(o && o.match("^[^/\\\\]*$"));
14532
14536
  }
14533
- function Wi(o) {
14537
+ function Yi(o) {
14534
14538
  var t = null, e;
14535
14539
  if (Re[o] === void 0 && typeof module < "u" && module && module.exports && kh(o))
14536
14540
  try {
@@ -14557,14 +14561,14 @@ function tr(o, t) {
14557
14561
  else if (t.parentLocale != null)
14558
14562
  if (Re[t.parentLocale] != null)
14559
14563
  n = Re[t.parentLocale]._config;
14560
- else if (e = Wi(t.parentLocale), e != null)
14564
+ else if (e = Yi(t.parentLocale), e != null)
14561
14565
  n = e._config;
14562
14566
  else
14563
14567
  return So[t.parentLocale] || (So[t.parentLocale] = []), So[t.parentLocale].push({
14564
14568
  name: o,
14565
14569
  config: t
14566
14570
  }), null;
14567
- return Re[o] = new As(Os(n, t)), So[o] && So[o].forEach(function(i) {
14571
+ return Re[o] = new As(Ms(n, t)), So[o] && So[o].forEach(function(i) {
14568
14572
  tr(i.name, i.config);
14569
14573
  }), wn(o), Re[o];
14570
14574
  } else
@@ -14573,7 +14577,7 @@ function tr(o, t) {
14573
14577
  function Jh(o, t) {
14574
14578
  if (t != null) {
14575
14579
  var e, n, i = na;
14576
- Re[o] != null && Re[o].parentLocale != null ? Re[o].set(Os(Re[o]._config, t)) : (n = Wi(o), n != null && (i = n._config), t = Os(i, t), n == null && (t.abbr = o), e = new As(t), e.parentLocale = Re[o], Re[o] = e), wn(o);
14580
+ Re[o] != null && Re[o].parentLocale != null ? Re[o].set(Ms(Re[o]._config, t)) : (n = Yi(o), n != null && (i = n._config), t = Ms(i, t), n == null && (t.abbr = o), e = new As(t), e.parentLocale = Re[o], Re[o] = e), wn(o);
14577
14581
  } else
14578
14582
  Re[o] != null && (Re[o].parentLocale != null ? (Re[o] = Re[o].parentLocale, o === wn() && wn(o)) : Re[o] != null && delete Re[o]);
14579
14583
  return Re[o];
@@ -14583,14 +14587,14 @@ function Dn(o) {
14583
14587
  if (o && o._locale && o._locale._abbr && (o = o._locale._abbr), !o)
14584
14588
  return wo;
14585
14589
  if (!ke(o)) {
14586
- if (t = Wi(o), t)
14590
+ if (t = Yi(o), t)
14587
14591
  return t;
14588
14592
  o = [o];
14589
14593
  }
14590
14594
  return Gh(o);
14591
14595
  }
14592
14596
  function $h() {
14593
- return Ms(Re);
14597
+ return Ss(Re);
14594
14598
  }
14595
14599
  function er(o) {
14596
14600
  var t, e = o._a;
@@ -14610,7 +14614,7 @@ var zh = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
14610
14614
  ["YYYYDDD", /\d{7}/],
14611
14615
  ["YYYYMM", /\d{6}/, !1],
14612
14616
  ["YYYY", /\d{4}/, !1]
14613
- ], qi = [
14617
+ ], ts = [
14614
14618
  ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
14615
14619
  ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
14616
14620
  ["HH:mm:ss", /\d\d:\d\d:\d\d/],
@@ -14633,7 +14637,7 @@ var zh = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
14633
14637
  PST: -480
14634
14638
  };
14635
14639
  function oa(o) {
14636
- var t, e, n = o._i, i = zh.exec(n) || jh.exec(n), r, s, l, a, c = qo.length, u = qi.length;
14640
+ var t, e, n = o._i, i = zh.exec(n) || jh.exec(n), r, s, l, a, c = qo.length, u = ts.length;
14637
14641
  if (i) {
14638
14642
  for (Wt(o).iso = !0, t = 0, e = c; t < e; t++)
14639
14643
  if (qo[t][1].exec(i[1])) {
@@ -14646,8 +14650,8 @@ function oa(o) {
14646
14650
  }
14647
14651
  if (i[3]) {
14648
14652
  for (t = 0, e = u; t < e; t++)
14649
- if (qi[t][1].exec(i[3])) {
14650
- l = (i[2] || " ") + qi[t][0];
14653
+ if (ts[t][1].exec(i[3])) {
14654
+ l = (i[2] || " ") + ts[t][0];
14651
14655
  break;
14652
14656
  }
14653
14657
  if (l == null) {
@@ -14833,7 +14837,7 @@ function gR(o) {
14833
14837
  }
14834
14838
  function sa(o) {
14835
14839
  var t = o._i, e = o._f;
14836
- return o._locale = o._locale || Dn(o._l), t === null || e === void 0 && t === "" ? Fi({ nullInput: !0 }) : (typeof t == "string" && (o._i = t = o._locale.preparse(t)), Je(t) ? new Qo(er(t)) : (vo(t) ? o._d = t : ke(e) ? hR(o) : e ? or(o) : fR(o), Hs(o) || (o._d = null), o));
14840
+ return o._locale = o._locale || Dn(o._l), t === null || e === void 0 && t === "" ? Xi({ nullInput: !0 }) : (typeof t == "string" && (o._i = t = o._locale.preparse(t)), Je(t) ? new Qo(er(t)) : (vo(t) ? o._d = t : ke(e) ? hR(o) : e ? or(o) : fR(o), Hs(o) || (o._d = null), o));
14837
14841
  }
14838
14842
  function fR(o) {
14839
14843
  var t = o._i;
@@ -14852,13 +14856,13 @@ var pR = Qe(
14852
14856
  "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
14853
14857
  function() {
14854
14858
  var o = de.apply(null, arguments);
14855
- return this.isValid() && o.isValid() ? o < this ? this : o : Fi();
14859
+ return this.isValid() && o.isValid() ? o < this ? this : o : Xi();
14856
14860
  }
14857
14861
  ), TR = Qe(
14858
14862
  "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
14859
14863
  function() {
14860
14864
  var o = de.apply(null, arguments);
14861
- return this.isValid() && o.isValid() ? o > this ? this : o : Fi();
14865
+ return this.isValid() && o.isValid() ? o > this ? this : o : Xi();
14862
14866
  }
14863
14867
  );
14864
14868
  function la(o, t) {
@@ -14909,16 +14913,16 @@ function ER() {
14909
14913
  function OR() {
14910
14914
  return $e(NaN);
14911
14915
  }
14912
- function Yi(o) {
14916
+ function Ui(o) {
14913
14917
  var t = Bs(o), e = t.year || 0, n = t.quarter || 0, i = t.month || 0, r = t.week || t.isoWeek || 0, s = t.day || 0, l = t.hour || 0, a = t.minute || 0, c = t.second || 0, u = t.millisecond || 0;
14914
14918
  this._isValid = PR(t), this._milliseconds = +u + c * 1e3 + // 1000
14915
14919
  a * 6e4 + // 1000 * 60
14916
14920
  l * 1e3 * 60 * 60, this._days = +s + r * 7, this._months = +i + n * 3 + e * 12, this._data = {}, this._locale = Dn(), this._bubble();
14917
14921
  }
14918
14922
  function si(o) {
14919
- return o instanceof Yi;
14923
+ return o instanceof Ui;
14920
14924
  }
14921
- function Ds(o) {
14925
+ function Cs(o) {
14922
14926
  return o < 0 ? Math.round(-1 * o) * -1 : Math.round(o);
14923
14927
  }
14924
14928
  function MR(o, t, e) {
@@ -14935,10 +14939,10 @@ function aa(o, t) {
14935
14939
  }
14936
14940
  aa("Z", ":");
14937
14941
  aa("ZZ", "");
14938
- ht("Z", yi);
14939
- ht("ZZ", yi);
14942
+ ht("Z", Vi);
14943
+ ht("ZZ", Vi);
14940
14944
  ee(["Z", "ZZ"], function(o, t, e) {
14941
- e._useUTC = !0, e._tzm = ir(yi, o);
14945
+ e._useUTC = !0, e._tzm = ir(Vi, o);
14942
14946
  });
14943
14947
  var SR = /([\+\-]|\d\d)/gi;
14944
14948
  function ir(o, t) {
@@ -14949,7 +14953,7 @@ function sr(o, t) {
14949
14953
  var e, n;
14950
14954
  return t._isUTC ? (e = t.clone(), n = (Je(o) || vo(o) ? o.valueOf() : de(o).valueOf()) - e.valueOf(), e._d.setTime(e._d.valueOf() + n), dt.updateOffset(e, !1), e) : de(o).local();
14951
14955
  }
14952
- function Cs(o) {
14956
+ function Fs(o) {
14953
14957
  return -Math.round(o._d.getTimezoneOffset());
14954
14958
  }
14955
14959
  dt.updateOffset = function() {
@@ -14960,17 +14964,17 @@ function DR(o, t, e) {
14960
14964
  return o != null ? this : NaN;
14961
14965
  if (o != null) {
14962
14966
  if (typeof o == "string") {
14963
- if (o = ir(yi, o), o === null)
14967
+ if (o = ir(Vi, o), o === null)
14964
14968
  return this;
14965
14969
  } else Math.abs(o) < 16 && !e && (o = o * 60);
14966
- return !this._isUTC && t && (i = Cs(this)), this._offset = o, this._isUTC = !0, i != null && this.add(i, "m"), n !== o && (!t || this._changeInProgress ? da(
14970
+ return !this._isUTC && t && (i = Fs(this)), this._offset = o, this._isUTC = !0, i != null && this.add(i, "m"), n !== o && (!t || this._changeInProgress ? da(
14967
14971
  this,
14968
14972
  $e(o - n, "m"),
14969
14973
  1,
14970
14974
  !1
14971
14975
  ) : this._changeInProgress || (this._changeInProgress = !0, dt.updateOffset(this, !0), this._changeInProgress = null)), this;
14972
14976
  } else
14973
- return this._isUTC ? n : Cs(this);
14977
+ return this._isUTC ? n : Fs(this);
14974
14978
  }
14975
14979
  function CR(o, t) {
14976
14980
  return o != null ? (typeof o != "string" && (o = -o), this.utcOffset(o, t), this) : -this.utcOffset();
@@ -14979,7 +14983,7 @@ function FR(o) {
14979
14983
  return this.utcOffset(0, o);
14980
14984
  }
14981
14985
  function XR(o) {
14982
- return this._isUTC && (this.utcOffset(0, o), this._isUTC = !1, o && this.subtract(Cs(this), "m")), this;
14986
+ return this._isUTC && (this.utcOffset(0, o), this._isUTC = !1, o && this.subtract(Fs(this), "m")), this;
14983
14987
  }
14984
14988
  function NR() {
14985
14989
  if (this._tzm != null)
@@ -15024,7 +15028,7 @@ function $e(o, t) {
15024
15028
  h: Ht(n[Oe]) * i,
15025
15029
  m: Ht(n[Be]) * i,
15026
15030
  s: Ht(n[Ln]) * i,
15027
- ms: Ht(Ds(n[kn] * 1e3)) * i
15031
+ ms: Ht(Cs(n[kn] * 1e3)) * i
15028
15032
  // the millisecond decimal point is included in the match
15029
15033
  }) : (n = UR.exec(o)) ? (i = n[1] === "-" ? -1 : 1, e = {
15030
15034
  y: Qn(n[2], i),
@@ -15037,9 +15041,9 @@ function $e(o, t) {
15037
15041
  }) : e == null ? e = {} : typeof e == "object" && ("from" in e || "to" in e) && (s = wR(
15038
15042
  de(e.from),
15039
15043
  de(e.to)
15040
- ), e = {}, e.ms = s.milliseconds, e.M = s.months), r = new Yi(e), si(o) && zt(o, "_locale") && (r._locale = o._locale), si(o) && zt(o, "_isValid") && (r._isValid = o._isValid), r;
15044
+ ), e = {}, e.ms = s.milliseconds, e.M = s.months), r = new Ui(e), si(o) && zt(o, "_locale") && (r._locale = o._locale), si(o) && zt(o, "_isValid") && (r._isValid = o._isValid), r;
15041
15045
  }
15042
- $e.fn = Yi.prototype;
15046
+ $e.fn = Ui.prototype;
15043
15047
  $e.invalid = OR;
15044
15048
  function Qn(o, t) {
15045
15049
  var e = o && parseFloat(o.replace(",", "."));
@@ -15063,7 +15067,7 @@ function ua(o, t) {
15063
15067
  };
15064
15068
  }
15065
15069
  function da(o, t, e, n) {
15066
- var i = t._milliseconds, r = Ds(t._days), s = Ds(t._months);
15070
+ var i = t._milliseconds, r = Cs(t._days), s = Cs(t._months);
15067
15071
  o.isValid() && (n = n ?? !0, s && Jl(o, Wo(o, "Month") + s * e), r && Bl(o, "Date", Wo(o, "Date") + r * e), i && o._d.setTime(o._d.valueOf() + i * e), n && dt.updateOffset(o, r || s));
15068
15072
  }
15069
15073
  var ZR = ua(1, "add"), vR = ua(-1, "subtract");
@@ -15560,21 +15564,21 @@ Pt(0, ["gg", 2], 0, function() {
15560
15564
  Pt(0, ["GG", 2], 0, function() {
15561
15565
  return this.isoWeekYear() % 100;
15562
15566
  });
15563
- function Ui(o, t) {
15567
+ function wi(o, t) {
15564
15568
  Pt(0, [o, o.length], 0, t);
15565
15569
  }
15566
- Ui("gggg", "weekYear");
15567
- Ui("ggggg", "weekYear");
15568
- Ui("GGGG", "isoWeekYear");
15569
- Ui("GGGGG", "isoWeekYear");
15570
- ht("G", bi);
15571
- ht("g", bi);
15570
+ wi("gggg", "weekYear");
15571
+ wi("ggggg", "weekYear");
15572
+ wi("GGGG", "isoWeekYear");
15573
+ wi("GGGGG", "isoWeekYear");
15574
+ ht("G", yi);
15575
+ ht("g", yi);
15572
15576
  ht("GG", he, we);
15573
15577
  ht("gg", he, we);
15574
15578
  ht("GGGG", ks, Gs);
15575
15579
  ht("gggg", ks, Gs);
15576
- ht("GGGGG", xi, Xi);
15577
- ht("ggggg", xi, Xi);
15580
+ ht("GGGGG", bi, Ni);
15581
+ ht("ggggg", bi, Ni);
15578
15582
  Ko(
15579
15583
  ["gggg", "ggggg", "GGGG", "GGGGG"],
15580
15584
  function(o, t, e, n) {
@@ -15646,7 +15650,7 @@ ee("Do", function(o, t) {
15646
15650
  });
15647
15651
  var La = Eo("Date", !0);
15648
15652
  Pt("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
15649
- ht("DDD", Ni);
15653
+ ht("DDD", xi);
15650
15654
  ht("DDDD", Hl);
15651
15655
  ee(["DDD", "DDDD"], function(o, t, e) {
15652
15656
  e._dayOfYear = Ht(o);
@@ -15692,9 +15696,9 @@ Pt(0, ["SSSSSSSS", 8], 0, function() {
15692
15696
  Pt(0, ["SSSSSSSSS", 9], 0, function() {
15693
15697
  return this.millisecond() * 1e6;
15694
15698
  });
15695
- ht("S", Ni, Ql);
15696
- ht("SS", Ni, we);
15697
- ht("SSS", Ni, Hl);
15699
+ ht("S", xi, Ql);
15700
+ ht("SS", xi, we);
15701
+ ht("SSS", xi, Hl);
15698
15702
  var Un, Pa;
15699
15703
  for (Un = "SSSS"; Un.length <= 9; Un += "S")
15700
15704
  ht(Un, Lo);
@@ -15943,12 +15947,12 @@ function Hr(o) {
15943
15947
  }
15944
15948
  function sf() {
15945
15949
  var o = this._milliseconds, t = this._days, e = this._months, n = this._data, i, r, s, l, a;
15946
- return o >= 0 && t >= 0 && e >= 0 || o <= 0 && t <= 0 && e <= 0 || (o += Hr(Fs(e) + t) * 864e5, t = 0, e = 0), n.milliseconds = o % 1e3, i = ve(o / 1e3), n.seconds = i % 60, r = ve(i / 60), n.minutes = r % 60, s = ve(r / 60), n.hours = s % 24, t += ve(s / 24), a = ve(Sa(t)), e += a, t -= Hr(Fs(a)), l = ve(e / 12), e %= 12, n.days = t, n.months = e, n.years = l, this;
15950
+ return o >= 0 && t >= 0 && e >= 0 || o <= 0 && t <= 0 && e <= 0 || (o += Hr(Xs(e) + t) * 864e5, t = 0, e = 0), n.milliseconds = o % 1e3, i = ve(o / 1e3), n.seconds = i % 60, r = ve(i / 60), n.minutes = r % 60, s = ve(r / 60), n.hours = s % 24, t += ve(s / 24), a = ve(Sa(t)), e += a, t -= Hr(Xs(a)), l = ve(e / 12), e %= 12, n.days = t, n.months = e, n.years = l, this;
15947
15951
  }
15948
15952
  function Sa(o) {
15949
15953
  return o * 4800 / 146097;
15950
15954
  }
15951
- function Fs(o) {
15955
+ function Xs(o) {
15952
15956
  return o * 146097 / 4800;
15953
15957
  }
15954
15958
  function rf(o) {
@@ -15965,7 +15969,7 @@ function rf(o) {
15965
15969
  return e / 12;
15966
15970
  }
15967
15971
  else
15968
- switch (t = this._days + Math.round(Fs(this._months)), o) {
15972
+ switch (t = this._days + Math.round(Xs(this._months)), o) {
15969
15973
  case "week":
15970
15974
  return t / 7 + n / 6048e5;
15971
15975
  case "day":
@@ -16039,17 +16043,17 @@ function Nf(o, t) {
16039
16043
  var e = !1, n = lo, i, r;
16040
16044
  return typeof o == "object" && (t = o, o = !1), typeof o == "boolean" && (e = o), typeof t == "object" && (n = Object.assign({}, lo, t), t.s != null && t.ss == null && (n.ss = t.s - 1)), i = this.localeData(), r = Cf(this, !e, n, i), e && (r = i.pastFuture(+this, r)), i.postformat(r);
16041
16045
  }
16042
- var ts = Math.abs;
16046
+ var es = Math.abs;
16043
16047
  function eo(o) {
16044
16048
  return (o > 0) - (o < 0) || +o;
16045
16049
  }
16046
- function wi() {
16050
+ function Zi() {
16047
16051
  if (!this.isValid())
16048
16052
  return this.localeData().invalidDate();
16049
- var o = ts(this._milliseconds) / 1e3, t = ts(this._days), e = ts(this._months), n, i, r, s, l = this.asSeconds(), a, c, u, h;
16053
+ var o = es(this._milliseconds) / 1e3, t = es(this._days), e = es(this._months), n, i, r, s, l = this.asSeconds(), a, c, u, h;
16050
16054
  return l ? (n = ve(o / 60), i = ve(n / 60), o %= 60, n %= 60, r = ve(e / 12), e %= 12, s = o ? o.toFixed(3).replace(/\.?0+$/, "") : "", a = l < 0 ? "-" : "", c = eo(this._months) !== eo(l) ? "-" : "", u = eo(this._days) !== eo(l) ? "-" : "", h = eo(this._milliseconds) !== eo(l) ? "-" : "", a + "P" + (r ? c + r + "Y" : "") + (e ? c + e + "M" : "") + (t ? u + t + "D" : "") + (i || n || o ? "T" : "") + (i ? h + i + "H" : "") + (n ? h + n + "M" : "") + (o ? h + s + "S" : "")) : "P0D";
16051
16055
  }
16052
- var Jt = Yi.prototype;
16056
+ var Jt = Ui.prototype;
16053
16057
  Jt.isValid = ER;
16054
16058
  Jt.abs = ef;
16055
16059
  Jt.add = nf;
@@ -16077,19 +16081,19 @@ Jt.weeks = Sf;
16077
16081
  Jt.months = Of;
16078
16082
  Jt.years = Mf;
16079
16083
  Jt.humanize = Nf;
16080
- Jt.toISOString = wi;
16081
- Jt.toString = wi;
16082
- Jt.toJSON = wi;
16084
+ Jt.toISOString = Zi;
16085
+ Jt.toString = Zi;
16086
+ Jt.toJSON = Zi;
16083
16087
  Jt.locale = Ra;
16084
16088
  Jt.localeData = fa;
16085
16089
  Jt.toIsoString = Qe(
16086
16090
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
16087
- wi
16091
+ Zi
16088
16092
  );
16089
16093
  Jt.lang = ga;
16090
16094
  Pt("X", 0, 0, "unix");
16091
16095
  Pt("x", 0, 0, "valueOf");
16092
- ht("x", bi);
16096
+ ht("x", yi);
16093
16097
  ht("X", $d);
16094
16098
  ee("X", function(o, t, e) {
16095
16099
  e._d = new Date(parseFloat(o) * 1e3);
@@ -16108,7 +16112,7 @@ dt.unix = kg;
16108
16112
  dt.months = $g;
16109
16113
  dt.isDate = vo;
16110
16114
  dt.locale = wn;
16111
- dt.invalid = Fi;
16115
+ dt.invalid = Xi;
16112
16116
  dt.duration = $e;
16113
16117
  dt.isMoment = Je;
16114
16118
  dt.weekdays = jg;
@@ -16146,7 +16150,7 @@ dt.HTML5_FMT = {
16146
16150
  MONTH: "YYYY-MM"
16147
16151
  // <input type="month" />
16148
16152
  };
16149
- class Xs {
16153
+ class Ns {
16150
16154
  draws;
16151
16155
  ranges;
16152
16156
  element;
@@ -16882,7 +16886,7 @@ class Ca {
16882
16886
  [l, i]
16883
16887
  ].forEach(([u, h]) => {
16884
16888
  const d = u.querySelector(`[data-id='${h}']`);
16885
- d.classList.add("active"), t && rs(u, d);
16889
+ d.classList.add("active"), t && ls(u, d);
16886
16890
  });
16887
16891
  }
16888
16892
  _preMonth() {
@@ -17094,7 +17098,7 @@ class Co {
17094
17098
  t ? this.setSelect(t) : this.clearSelect(), this.destroy();
17095
17099
  }
17096
17100
  }
17097
- class ti extends Xs {
17101
+ class ti extends Ns {
17098
17102
  isPopup;
17099
17103
  inputPopup;
17100
17104
  constructor(t, e) {
@@ -19133,14 +19137,14 @@ class Wf {
19133
19137
  if (r?.type === b.TEXTFIELD)
19134
19138
  this.activeControl = new Kr(s, this);
19135
19139
  else if (r.type === b.TEXT)
19136
- this.activeControl = new Xs(s, this);
19140
+ this.activeControl = new Ns(s, this);
19137
19141
  else if (r.type === b.SELECT) {
19138
19142
  const u = new Mo(s, this);
19139
19143
  this.activeControl = u, !this.isPopupAwakeDisabled && (c || this.draw.getMode() === K.FORM) && u.awake();
19140
19144
  } else if (r.type === b.CHECKBOX)
19141
19145
  this.activeControl = new Ii(s, this);
19142
19146
  else if (r.type === b.RADIO)
19143
- this.activeControl = new ms(s, this);
19147
+ this.activeControl = new Ls(s, this);
19144
19148
  else if (r.type === b.DATE) {
19145
19149
  const u = new Co(s, this);
19146
19150
  this.activeControl = u, !this.isPopupAwakeDisabled && (c || this.draw.getMode() === K.FORM) && u.awake();
@@ -19558,7 +19562,7 @@ class Wf {
19558
19562
  const O = u[m];
19559
19563
  if (O.controlId !== f.controlId)
19560
19564
  break;
19561
- (g === b.TEXT || g === b.TEXTFIELD || g === b.DATE || g === b.NUMBER) && O.controlComponent === R.VALUE && (L += O.value, T.push(Ye(O, ls))), m++;
19565
+ (g === b.TEXT || g === b.TEXTFIELD || g === b.DATE || g === b.NUMBER) && O.controlComponent === R.VALUE && (L += O.value, T.push(Ye(O, as))), m++;
19562
19566
  }
19563
19567
  if (g === b.TEXT || g === b.TEXTFIELD || g === b.DATE || g === b.NUMBER)
19564
19568
  s.push({
@@ -19651,7 +19655,7 @@ class Wf {
19651
19655
  isHandleFirstElement: !1,
19652
19656
  editorOptions: this.options
19653
19657
  });
19654
- const O = new Xs(c, this);
19658
+ const O = new Ns(c, this);
19655
19659
  this.activeControl = O, T.length ? O.setValue(T, I, m) : O.clearValue(I, m);
19656
19660
  } else if (f === b.SELECT) {
19657
19661
  if (Array.isArray(h))
@@ -19668,13 +19672,13 @@ class Wf {
19668
19672
  } else if (f === b.RADIO) {
19669
19673
  if (Array.isArray(h))
19670
19674
  continue;
19671
- const T = new ms(c, this);
19675
+ const T = new Ls(c, this);
19672
19676
  this.activeControl = T;
19673
19677
  const O = h ? [h] : [];
19674
19678
  T.setSelect(O, I, m);
19675
19679
  } else if (f === b.DATE) {
19676
19680
  const T = new Co(c, this);
19677
- this.activeControl = T, is(h) ? (h.length && le(h, {
19681
+ this.activeControl = T, ss(h) ? (h.length && le(h, {
19678
19682
  isHandleFirstElement: !1,
19679
19683
  editorOptions: this.options
19680
19684
  }), T.setValue(h, I, m)) : Ba(h) ? T.setSelect(h, I, m) : T.clearSelect(I, m);
@@ -20239,7 +20243,7 @@ class Yf {
20239
20243
  this.currentTextFieldId = null, this.valueStartX = 0, this.valueWidth = 0, this.valueY = 0;
20240
20244
  }
20241
20245
  }
20242
- function Ns(o, t) {
20246
+ function xs(o, t) {
20243
20247
  const e = (n) => {
20244
20248
  for (let i = 0; i < n.length; i++) {
20245
20249
  const r = n[i];
@@ -20268,7 +20272,7 @@ function wf(o) {
20268
20272
  value: s
20269
20273
  }), t.set(r, a);
20270
20274
  };
20271
- return Ns(o, (r) => {
20275
+ return xs(o, (r) => {
20272
20276
  r.control && r.controlId && !e.has(r.controlId) && (e.add(r.controlId), i(r.control.label, Uf(r), "control"));
20273
20277
  const s = r.id;
20274
20278
  if (s && !n.has(s) && (r.type === P.MACRO || r.type === P.CUSTOM_MACRO || r.type === P.REUSABLE_ITEM)) {
@@ -20319,7 +20323,7 @@ class vf {
20319
20323
  const { checkbox: { gap: l, lineWidth: a, fillStyle: c, strokeStyle: u, verticalAlign: h }, scale: d } = this.options, f = r.elementList[i], { metrics: g, checkbox: p } = f, I = f.controlComponent ? 0 : l;
20320
20324
  if (h === ue.TOP || h === ue.MIDDLE) {
20321
20325
  let S = i + 1, M = null;
20322
- for (; S < r.elementList.length && (M = r.elementList[S], !(M.value !== _ && M.value !== bs)); )
20326
+ for (; S < r.elementList.length && (M = r.elementList[S], !(M.value !== _ && M.value !== ys)); )
20323
20327
  S++;
20324
20328
  if (M) {
20325
20329
  const { metrics: { boundingBoxAscent: F, boundingBoxDescent: N } } = M, w = F + N;
@@ -20351,7 +20355,7 @@ class Qf {
20351
20355
  const { radio: { gap: l, lineWidth: a, fillStyle: c, strokeStyle: u, verticalAlign: h }, scale: d } = this.options, f = r.elementList[i], { metrics: g, radio: p } = f, I = f.controlComponent ? 0 : l;
20352
20356
  if (h === ue.TOP || h === ue.MIDDLE) {
20353
20357
  let S = i + 1, M = null;
20354
- for (; S < r.elementList.length && (M = r.elementList[S], !(M.value !== _ && M.value !== bs)); )
20358
+ for (; S < r.elementList.length && (M = r.elementList[S], !(M.value !== _ && M.value !== ys)); )
20355
20359
  S++;
20356
20360
  if (M) {
20357
20361
  const { metrics: { boundingBoxAscent: F, boundingBoxDescent: N } } = M, w = F + N;
@@ -21629,7 +21633,7 @@ class Jf {
21629
21633
  return new Promise((e, n) => {
21630
21634
  this.valueWorker.onmessage = (i) => {
21631
21635
  e({
21632
- version: xs,
21636
+ version: bs,
21633
21637
  data: i.data,
21634
21638
  options: ut(this.draw.getOptions())
21635
21639
  });
@@ -22179,7 +22183,7 @@ class qf {
22179
22183
  });
22180
22184
  }
22181
22185
  }
22182
- const tp = { global: { cut: "剪切", copy: "复制", paste: "粘贴", selectAll: "全选", print: "打印", cancel: "取消" }, control: { delete: "删除控件", editAttribute: "修改元素配置", addExpression: "添加表达式", addMenstrualHistory: "月经史", addFetalHeartPosition: "胎心位置" }, hyperlink: { delete: "删除链接", cancel: "取消链接", edit: "编辑链接" }, image: { change: "更改图片", saveAs: "另存为图片", textWrap: "文字环绕", textWrapType: { embed: "嵌入型", upDown: "上下型环绕", surround: "四周型环绕", floatTop: "浮于文字上方", floatBottom: "衬于文字下方" } }, table: { insertRowCol: "插入行列", insertTopRow: "上方插入1行", insertBottomRow: "下方插入1行", insertLeftCol: "左侧插入1列", insertRightCol: "右侧插入1列", deleteRowCol: "删除行列", deleteRow: "删除1行", deleteCol: "删除1列", deleteTable: "删除整个表格", mergeCell: "合并单元格", mergeCancelCell: "取消合并", verticalAlign: "垂直对齐", verticalAlignTop: "顶端对齐", verticalAlignMiddle: "垂直居中", verticalAlignBottom: "底端对齐", border: "表格边框", borderAll: "所有框线", borderEmpty: "无框线", borderDash: "虚框线", borderExternal: "外侧框线", borderInternal: "内侧框线", borderTd: "单元格边框", borderTdTop: "上边框", borderTdRight: "右边框", borderTdBottom: "下边框", borderTdLeft: "左边框", borderTdForward: "正斜线", borderTdBack: "反斜线", tableProperties: "表格属性" } }, ep = { now: "此刻", confirm: "确定", return: "返回日期", timeSelect: "时间选择", weeks: { sun: "日", mon: "一", tue: "二", wed: "三", thu: "四", fri: "五", sat: "六" }, year: "年", month: "月", hour: "时", minute: "分", second: "秒" }, np = { search: "搜索选项", empty: "无匹配项" }, op = { header: "页眉", footer: "页脚" }, ip = { displayName: "分页符" }, sp = { headerTip: "双击编辑页眉", footerTip: "双击编辑页脚" }, es = {
22186
+ const tp = { global: { cut: "剪切", copy: "复制", paste: "粘贴", selectAll: "全选", print: "打印", cancel: "取消" }, control: { delete: "删除控件", editAttribute: "修改元素配置", addExpression: "添加表达式", addMenstrualHistory: "月经史", addFetalHeartPosition: "胎心位置" }, hyperlink: { delete: "删除链接", cancel: "取消链接", edit: "编辑链接" }, image: { change: "更改图片", saveAs: "另存为图片", textWrap: "文字环绕", textWrapType: { embed: "嵌入型", upDown: "上下型环绕", surround: "四周型环绕", floatTop: "浮于文字上方", floatBottom: "衬于文字下方" } }, table: { insertRowCol: "插入行列", insertTopRow: "上方插入1行", insertBottomRow: "下方插入1行", insertLeftCol: "左侧插入1列", insertRightCol: "右侧插入1列", deleteRowCol: "删除行列", deleteRow: "删除1行", deleteCol: "删除1列", deleteTable: "删除整个表格", mergeCell: "合并单元格", mergeCancelCell: "取消合并", verticalAlign: "垂直对齐", verticalAlignTop: "顶端对齐", verticalAlignMiddle: "垂直居中", verticalAlignBottom: "底端对齐", border: "表格边框", borderAll: "所有框线", borderEmpty: "无框线", borderDash: "虚框线", borderExternal: "外侧框线", borderInternal: "内侧框线", borderTd: "单元格边框", borderTdTop: "上边框", borderTdRight: "右边框", borderTdBottom: "下边框", borderTdLeft: "左边框", borderTdForward: "正斜线", borderTdBack: "反斜线", tableProperties: "表格属性" } }, ep = { now: "此刻", confirm: "确定", return: "返回日期", timeSelect: "时间选择", weeks: { sun: "日", mon: "一", tue: "二", wed: "三", thu: "四", fri: "五", sat: "六" }, year: "年", month: "月", hour: "时", minute: "分", second: "秒" }, np = { search: "搜索选项", empty: "无匹配项" }, op = { header: "页眉", footer: "页脚" }, ip = { displayName: "分页符" }, sp = { headerTip: "双击编辑页眉", footerTip: "双击编辑页脚" }, ns = {
22183
22187
  contextmenu: tp,
22184
22188
  datePicker: ep,
22185
22189
  select: np,
@@ -22197,7 +22201,7 @@ const tp = { global: { cut: "剪切", copy: "复制", paste: "粘贴", selectAll
22197
22201
  class Rp {
22198
22202
  currentLocale;
22199
22203
  langMap = /* @__PURE__ */ new Map([
22200
- ["zhCN", es],
22204
+ ["zhCN", ns],
22201
22205
  ["en", hp]
22202
22206
  ]);
22203
22207
  constructor(t) {
@@ -22205,7 +22209,7 @@ class Rp {
22205
22209
  }
22206
22210
  registerLangMap(t, e) {
22207
22211
  const n = this.langMap.get(t);
22208
- this.langMap.set(t, ll(n || es, e));
22212
+ this.langMap.set(t, ll(n || ns, e));
22209
22213
  }
22210
22214
  getLocale() {
22211
22215
  return this.currentLocale;
@@ -22214,7 +22218,7 @@ class Rp {
22214
22218
  this.currentLocale = t;
22215
22219
  }
22216
22220
  getLang() {
22217
- return this.langMap.get(this.currentLocale) || es;
22221
+ return this.langMap.get(this.currentLocale) || ns;
22218
22222
  }
22219
22223
  t(t) {
22220
22224
  const e = t.split(".");
@@ -22328,7 +22332,7 @@ class pp {
22328
22332
  isSubmitHistory: !1,
22329
22333
  isSetCursor: !1,
22330
22334
  isCompute: !1
22331
- }), this.drawZoneIndicator(), Vs(() => {
22335
+ }), this.drawZoneIndicator(), Si(() => {
22332
22336
  const i = this.draw.getListener();
22333
22337
  i.zoneChange && i.zoneChange(t);
22334
22338
  const r = this.draw.getEventBus();
@@ -22606,7 +22610,7 @@ class Ip {
22606
22610
  });
22607
22611
  } else {
22608
22612
  let I = "";
22609
- if (a.listType === cn.UL ? I = ds[a.listStyle] || ds[Bn.DISC] : I = `${s + 1}${pt.PERIOD}`, !I)
22613
+ if (a.listType === cn.UL ? I = hs[a.listStyle] || hs[Bn.DISC] : I = `${s + 1}${pt.PERIOD}`, !I)
22610
22614
  return;
22611
22615
  t.save(), t.font = this.getListFontStyle(i, h), t.fillText(I, g, p), t.restore();
22612
22616
  }
@@ -25539,7 +25543,7 @@ class xp {
25539
25543
  graffiti: e.graffiti
25540
25544
  };
25541
25545
  return {
25542
- version: xs,
25546
+ version: bs,
25543
25547
  data: i,
25544
25548
  options: ut(this.options)
25545
25549
  };
@@ -25873,7 +25877,7 @@ class xp {
25873
25877
  T.font = this.getElementFont(E);
25874
25878
  const q = this.getMode(), J = q === K.EDIT, z = q === K.FORM;
25875
25879
  if (q === K.READONLY && E.type !== P.SUB_TEMPLATE) {
25876
- const tt = Ci(E).split(Hn), Rt = tt.reduce((Xt, Vt) => Math.max(Xt, T.measureText(Vt).width), 0), ft = (E.size || it) * d, xt = T.measureText(tt[0]);
25880
+ const tt = Fi(E).split(Hn), Rt = tt.reduce((Xt, Vt) => Math.max(Xt, T.measureText(Vt).width), 0), ft = (E.size || it) * d, xt = T.measureText(tt[0]);
25877
25881
  x.width = Rt, x.height = ft * tt.length, x.boundingBoxDescent = xt.actualBoundingBoxDescent + ft * (tt.length - 1), x.boundingBoxAscent = xt.actualBoundingBoxAscent;
25878
25882
  } else if (J) {
25879
25883
  const at = E.label || E.value || "";
@@ -25996,7 +26000,7 @@ class xp {
25996
26000
  At = D.width + J > Z;
25997
26001
  }
25998
26002
  }
25999
- const Ne = E.type === P.SEPARATOR || E.type === P.TABLE || B?.type === P.TABLE || B?.type === P.CUSTOM_MACRO && Hn.test(B.macroConfig?.value || "") || B?.type === P.REUSABLE_ITEM && Hn.test(B.reusableItemConfig?.value || "") || B?.type === P.BLOCK || E.type === P.BLOCK || B?.imgDisplay === Et.INLINE || E.imgDisplay === Et.INLINE || B?.listId !== E.listId || B?.areaId !== E.areaId && !E.area?.hide || E.control?.flexDirection === ns.COLUMN && (E.controlComponent === R.CHECKBOX || E.controlComponent === R.RADIO) && B?.controlComponent === R.VALUE || X !== 0 && E.value === _ && !E.area?.hide || At, ce = j > Z, Le = Ne || ce;
26003
+ const Ne = E.type === P.SEPARATOR || E.type === P.TABLE || B?.type === P.TABLE || B?.type === P.CUSTOM_MACRO && Hn.test(B.macroConfig?.value || "") || B?.type === P.REUSABLE_ITEM && Hn.test(B.reusableItemConfig?.value || "") || B?.type === P.BLOCK || E.type === P.BLOCK || B?.imgDisplay === Et.INLINE || E.imgDisplay === Et.INLINE || B?.listId !== E.listId || B?.areaId !== E.areaId && !E.area?.hide || E.control?.flexDirection === os.COLUMN && (E.controlComponent === R.CHECKBOX || E.controlComponent === R.RADIO) && B?.controlComponent === R.VALUE || X !== 0 && E.value === _ && !E.area?.hide || At, ce = j > Z, Le = Ne || ce;
26000
26004
  if (Le) {
26001
26005
  const it = {
26002
26006
  width: A,
@@ -26008,7 +26012,7 @@ class xp {
26008
26012
  rowFlex: n[X]?.rowFlex || n[X + 1]?.rowFlex,
26009
26013
  isPageBreak: E.type === P.PAGE_BREAK
26010
26014
  };
26011
- if (G.controlComponent !== R.PREFIX && G.control?.indentation === Rs.VALUE_START) {
26015
+ if (G.controlComponent !== R.PREFIX && G.control?.indentation === gs.VALUE_START) {
26012
26016
  const q = D.elementList.findIndex((J) => J.controlId === G.controlId && J.controlComponent !== R.PREFIX);
26013
26017
  if (~q) {
26014
26018
  const z = this.position.computeRowPosition({
@@ -26504,7 +26508,7 @@ class xp {
26504
26508
  }
26505
26509
  (f && !L || S !== void 0 && this.historyManager.isStackEmpty()) && this.submitHistory(S);
26506
26510
  const W = ge();
26507
- Vs(() => {
26511
+ Si(() => {
26508
26512
  const X = ge();
26509
26513
  this.range.setRangeStyle(), O && this.control.getActiveControl() && this.control.reAwakeControl(), O && !this.isReadonly() && u.isTable && this.getOriginalElementList()[u.index].type === P.TABLE && this.tableTool.render(), O && !this.zone.isMainActive() && this.zone.drawZoneIndicator(), w !== this.pageRowList.length && (this.listener.pageSizeChange && this.listener.pageSizeChange(this.pageRowList.length), this.eventBus.isSubscribe("pageSizeChange") && this.eventBus.emit("pageSizeChange", this.pageRowList.length)), (f || m) && !I && (this.listener.contentChange && this.listener.contentChange(), this.eventBus.isSubscribe("contentChange") && this.eventBus.emit("contentChange"));
26510
26514
  const D = ge();
@@ -26589,7 +26593,7 @@ class xp {
26589
26593
  }), t;
26590
26594
  }
26591
26595
  submitHistory(t) {
26592
- const e = this.position.getPositionContext(), n = Ai(this.elementList), i = Ai(this.header.getElementList()), r = Ai(this.footer.getElementList()), s = ut(this.range.getRange()), l = this.pageNo, a = ut(e), c = this.zone.getZone();
26596
+ const e = this.position.getPositionContext(), n = _i(this.elementList), i = _i(this.header.getElementList()), r = _i(this.footer.getElementList()), s = ut(this.range.getRange()), l = this.pageNo, a = ut(e), c = this.zone.getZone();
26593
26597
  this.historyManager.execute(() => {
26594
26598
  this.zone.setZone(c), this.setPageNo(l), this.position.setPositionContext(ut(a)), this.header.setElementList(ut(i)), this.footer.setElementList(ut(r)), this.elementList = ut(n), this.range.replaceRange(ut(s)), this.render({
26595
26599
  curIndex: t,
@@ -27319,7 +27323,7 @@ class wp {
27319
27323
  const r = this.draw.getElementList(), s = Yp(e.element), l = s.controlId;
27320
27324
  if (!l)
27321
27325
  return;
27322
- const a = fs([s]);
27326
+ const a = ps([s]);
27323
27327
  if (!a.length)
27324
27328
  return;
27325
27329
  le(a, {
@@ -27476,7 +27480,7 @@ class wp {
27476
27480
  */
27477
27481
  triggerControlEditAttribute(t, e) {
27478
27482
  const n = this.draw.getElementList(), i = [];
27479
- t && Ns(n, (l) => {
27483
+ t && xs(n, (l) => {
27480
27484
  l.controlId === t && i.push(l);
27481
27485
  });
27482
27486
  const r = i.length ? i : e ? [e] : [];
@@ -28209,7 +28213,7 @@ class wp {
28209
28213
  addWatermark(t) {
28210
28214
  if (this.draw.isReadonly())
28211
28215
  return;
28212
- const n = this.draw.getOptions(), { color: i, size: r, opacity: s, font: l, gap: a } = gs;
28216
+ const n = this.draw.getOptions(), { color: i, size: r, opacity: s, font: l, gap: a } = fs;
28213
28217
  n.watermark.data = t.data, n.watermark.type = t.type || Vo.TEXT, t.width && (n.watermark.width = t.width), t.height && (n.watermark.height = t.height), n.watermark.color = t.color || i, n.watermark.opacity = t.opacity || s, n.watermark.size = t.size || r, n.watermark.font = t.font || l, n.watermark.repeat = !!t.repeat, t.numberType && (n.watermark.numberType = t.numberType), n.watermark.gap = t.gap || a, this.draw.render({
28214
28218
  isSetCursor: !1,
28215
28219
  isSubmitHistory: !1,
@@ -28220,7 +28224,7 @@ class wp {
28220
28224
  if (this.draw.isReadonly())
28221
28225
  return;
28222
28226
  const e = this.draw.getOptions();
28223
- e.watermark && e.watermark.data && (e.watermark = { ...gs }, this.draw.render({
28227
+ e.watermark && e.watermark.data && (e.watermark = { ...fs }, this.draw.render({
28224
28228
  isSetCursor: !1,
28225
28229
  isSubmitHistory: !1,
28226
28230
  isCompute: !1
@@ -28824,7 +28828,7 @@ class wp {
28824
28828
  if (t[n].value === _)
28825
28829
  for (; n + 1 < t.length; ) {
28826
28830
  const r = t[n + 1];
28827
- if (r.value !== _ && r.value !== bs)
28831
+ if (r.value !== _ && r.value !== ys)
28828
28832
  break;
28829
28833
  t.splice(n + 1, 1), e = !0;
28830
28834
  }
@@ -28941,7 +28945,7 @@ class wp {
28941
28945
  });
28942
28946
  }
28943
28947
  updateOptions(t) {
28944
- const e = Di(t);
28948
+ const e = Ci(t);
28945
28949
  Object.entries(e).forEach(([n, i]) => {
28946
28950
  Reflect.set(this.options, n, i);
28947
28951
  }), this.forceUpdate();
@@ -29124,7 +29128,7 @@ class wp {
29124
29128
  for (; h < s.length; ) {
29125
29129
  const d = s[h];
29126
29130
  if (h++, c.titleId !== d.titleId) {
29127
- if (d.level && hs[d.level] <= hs[c.level])
29131
+ if (d.level && Rs[d.level] <= Rs[c.level])
29128
29132
  break;
29129
29133
  u.push(d);
29130
29134
  }
@@ -29216,9 +29220,9 @@ class wp {
29216
29220
  let s = -1;
29217
29221
  if (r)
29218
29222
  this.range.replaceRange(r), s = e === Ee.BEFORE ? r.startIndex : r.endIndex;
29219
- else if (ss(i)) {
29223
+ else if (rs(i)) {
29220
29224
  const a = this.draw.getOriginalRowList();
29221
- if (s = e === Ee.BEFORE ? a[i]?.startIndex : a[i + 1]?.startIndex - 1, !ss(s))
29225
+ if (s = e === Ee.BEFORE ? a[i]?.startIndex : a[i + 1]?.startIndex - 1, !rs(s))
29222
29226
  return;
29223
29227
  this.range.setRange(s, s);
29224
29228
  } else
@@ -29541,7 +29545,7 @@ class wp {
29541
29545
  ];
29542
29546
  let s = !1;
29543
29547
  for (let l = 0; l < r.length; l++)
29544
- Ns(r[l], (a) => {
29548
+ xs(r[l], (a) => {
29545
29549
  a.id !== e || a.type !== P.SUB_TEMPLATE || (Object.assign(a, {
29546
29550
  ...n,
29547
29551
  value: n.label ?? a.value,
@@ -30658,7 +30662,7 @@ class eI {
30658
30662
  * @param options - 编辑器配置选项
30659
30663
  */
30660
30664
  constructor(t, e, n = {}) {
30661
- const i = Di(n);
30665
+ const i = Ci(n);
30662
30666
  e = ut(e);
30663
30667
  let r = [], s = [], l = [], a = [];
30664
30668
  Array.isArray(e) ? s = e : (r = e.header || [], s = e.main, l = e.footer || [], a = e.graffiti || []), [
@@ -30670,7 +30674,7 @@ class eI {
30670
30674
  editorOptions: i,
30671
30675
  isForceCompensation: !0
30672
30676
  });
30673
- }), this.version = xs, this.listener = new Zp(), this.eventBus = new JT(), this.override = new $T(), this.draw = new xp(t, i, {
30677
+ }), this.version = bs, this.listener = new Zp(), this.eventBus = new JT(), this.override = new $T(), this.draw = new xp(t, i, {
30674
30678
  header: r,
30675
30679
  main: s,
30676
30680
  footer: l,
@@ -30737,17 +30741,17 @@ export {
30737
30741
  Pn as BlockType,
30738
30742
  bp as Command,
30739
30743
  R as ControlComponent,
30740
- Rs as ControlIndentation,
30744
+ gs as ControlIndentation,
30741
30745
  ui as ControlState,
30742
30746
  b as ControlType,
30743
- Si as EDITOR_CLIPBOARD,
30747
+ Di as EDITOR_CLIPBOARD,
30744
30748
  Mn as EDITOR_COMPONENT,
30745
30749
  eI as Editor,
30746
30750
  un as EditorComponent,
30747
30751
  K as EditorMode,
30748
30752
  St as EditorZone,
30749
30753
  P as ElementType,
30750
- ns as FlexDirection,
30754
+ os as FlexDirection,
30751
30755
  Ao as INTERNAL_CONTEXT_MENU_KEY,
30752
30756
  td as INTERNAL_SHORTCUT_KEY,
30753
30757
  Et as ImageDisplay,