@polyv/chat-ui 2.1.0-rc-20251023.2 → 2.2.0-rc-20251113.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +119 -5
- package/index.es.js +13786 -13082
- package/index.umd.js +80 -70
- package/package.json +1 -1
- package/special.d.ts +117 -5
- package/special.es.js +10632 -10130
- package/special.umd.js +72 -62
package/special.umd.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@charset "UTF-8";.plv-msg-user-actor{display:inline-flex;align-items:center;justify-content:center;max-width:110px;height:14px;margin-right:4px;line-height:14px;color:#fff;border-radius:18px;transform:translateY(-1px)}.plv-msg-user-actor--border-img{background:none!important;border-image-source:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAkCAYAAAA5DDySAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAaJSURBVGiB3ZpNbFTXFcd/5743H7Yzk+AxLu04aoqNVNldpJVcNVlQsgB3UWWD6KKJFKks8AakSlEUCVWKFNFFN5VwpdBFIkVpFoV0kwQVl0UCi3RBSl1F0IoURApDSMBgbM/X+7ini/dm/GY8Y4YgtfFc6endc8/Hfe8/Z/5v5p0jPOCovvXeLvN4cadV9qiRSUml87iOg2pk4BhwDGIMuA7iGMSJ564T6VwHUg7iuvHcjXw9H/UC1PPXjnry8NbOVQ/qfqhesEygFwX9C19Uz+Z+te/DB7kf6cVo8ZWj+YEfTc9KbuigDA2NoQqqaHxGFSyARjfYAMFx1uQGAG1nSTngdgIgSADgtYHgoTUPDcJ4f8BG1yGV4JpWvN/5V64dK8wdWn5oAGonzxyQ0W8c0WymgCoEIVr6HHv1Grq4BOUqVGrg+SACjguui7guOKn4RqO1xiHNs7O2roAfgh+gXgi+BT8AL0T9EDwLfhjpvBAUNO1CxoVcBt02hG7JokIEhBcsymLtcO7lfb//SgBUXjteNN+beF2GCzOqCuUK9vwC9p+X0LoPCKKxu0oUqkXutt6uo2kjCKogTZ9WfTe/ZkzXQR/PYccfRdMmyo57/nzqs3v7B3/7QqlnAFbeOTWVGt8+L5lsUYMA+/F5wn98AnV/gwuSONj9LnYjYNoB2eCGNwIm5WCfyGMncpHKC0vhjfJM4dWfX7gvACvvnJrK7Jj4UNOZES2XCU7+Gb35xfqN4wxQiDPh4TOgIUsvYHXKgDadPpYh/MEwpA349ra5Ud6VawPBJIXKm8eLqR3j85rNjuidOwQnTqA3b7ZjFG8W76Nti92MO4ldzLWjqlvs5MW0msldD/ejW8hqAK6MhNsG52//8s1i0rMFALPju2/IwGBRy2WCd99FV1bpShMS54G0LXYz7iRusCzrDDbia+kak2qIc+4O1C2SkmKm+MjrSXUTgNqps7OytbCHMCA4+T66shJrun9MijafQro+HVqNWx1bl3W9qJ38uo5kzLZgEIFwfgm1SphzZlZePXGgoTIAevRoXorFIyCE585F3/nm2CgDpC0TesmADp9Wh0xYH6nXDJB15gKYJR/nSgUA+6hzRJ/7Qx5iALwnn5plYGCYSplw4e/0hPwm4ID2eOZqFfEsmpbCylRmFhoZkM8fBAg/Pgd1j56+e5uFAxLxxFfM5SoAdkAOApjqn95/xuTyY4SW8ELjCdFrBmwODtDEYUq16Gd71ozdfentZ4x5YnwngJaug1ePXXrNgM3DAc0jUMxdHwCzNb3TiLAbwF65nAjYnxzQmMuXfizJbqOOOwmgi7cSLv3JAc35ahgJRieNZDN5AC2XEy79ywEKSN1GipTJG1JpB9oB6GMOAIgBUAfHNBFrGf3NAclhCIIQQIaGEsv9zQFkon8AEhIardWi10YtAPQ3B2g6gkN9u2zEhhcBTGEkEbC/OUBz0TtIsXLRqNXTAGb7RCJgf3OAjqYa0mljr14+CyDFMUhnYkX/cgCuoFsiAOwt76wZ2PvTD3Rl+TqOwZmciq36lwNsMYsaoGqvb/nNcx9EdLi8PAfgTE9DJk2/cgApwW4fAMDUdA7iv8Pphb8eo1K9w+AgzpPfp185wH57AM0Y8Oyd3IX6MYgBkEOHlvXG54dBcKZ/iNn2zYR7f3CAPpbCjseP+qXgsLz9/PI689pHC/MyMrJHV8sEfzwevRTV2KyHd/zNi/5/1wWSdgBZl+CpApoWnOVgPvfi3p807rnlrbD99NIvqNZKMjSE++yzSC7XGdIm6JuAAwYcwunh6NefryWntLo/6dkCwOALPyt5n/57Rmq12zI8jLtvL7JttPOem4ADdEua4Omt6CMuEujt8GZlpr1E1hHWjqWxhU+iAmgjxfga1gYbc9dgv5PHjuei5KiHJb/X0lhjVF47XpSpHW9IYXgPcXE0/NsC9l+X4hrh15ADUg52LIdOrBVHzT1/vv7Zvf0jD1IcTY7ayTMHdHT015LNDreWx/8Di0topQrlGngB68vj7eXwRoncAcdFUglZpVkex7OoH0RyYx6Xx/HiEjmA66LZRHl8OBthoYrUwkW5Wz+ce3nvVyuPJ8fiK0fzA09Pz8rQWoNES3OEatSgAPfvEHFNDMT9GiTieU8NEvH+ClT861T8Of9K+Vhh7vmHb5BoH9W33tvF2Ld+DLJbjExqs0UGQP93HSKJFhkJ9KJVe9p8WTvzoC0y/wUj+5Ofgrk8AAAAAABJRU5ErkJggg==);border-image-slice:0 20 0 20 fill;border-image-width:0 8px 0 8px}.plv-msg-user-actor__content{padding:0 6px;white-space:nowrap;font-size:9px}.plv-chat-complete-msg-popup__content{padding:0 24px 12px}.plv-chat-complete-msg-popup__info{display:flex;align-items:center;gap:8px;margin-bottom:12px}.plv-chat-complete-msg-popup__info img{width:28px;height:28px}.plv-chat-complete-msg-popup__info__nick{color:#5394f6;font-size:14px}.plv-chat-complete-msg-popup__info__actor{transform:translateY(0)!important}.plv-chat-complete-msg-popup__text{font-size:14px;line-height:24px}.plv-chat-complete-msg-popup__btn{padding:0 24px}.plv-msg-item__bubble-control{position:absolute}.plv-msg-item__bubble-control:after{position:absolute;bottom:3px;left:10px;width:0;height:0;content:"";border-color:#000 transparent transparent;border-style:solid;border-width:6px 6px 0;opacity:.9}.plv-msg-item__bubble-control__list{position:absolute;bottom:9px;display:flex;background:#000000e6;border-radius:8px}.plv-msg-item__bubble-control__item{cursor:pointer;padding:9px 16px;color:#fff;white-space:nowrap;font-size:14px}.plv-msg-item__bubble-control__item:not(:first-child){border-left:1px solid rgba(255,255,255,.2)}.plv-msg-item__context-menu{position:absolute;box-sizing:border-box;min-width:90px;max-width:200px;min-height:40px;padding:8px 4px;font-size:14px;background:#fff;border-radius:4px;box-shadow:0 4px 20px #333a471a}.plv-msg-item__context-menu__item{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:32px;padding:8px 16px;border-radius:4px;cursor:pointer}.plv-msg-item__context-menu__item:hover{background-color:#f2f3f5}.plv-msg-item__context-menu__item__icon{display:inline-flex;margin-right:8px}.show-hover-control .plv-msg-user-info--loose-mode{padding-right:128px}.plv-msg-item__hover-control{position:absolute;top:0;right:0;padding:0 12px;z-index:100}.is-msg-align-right .plv-msg-item__hover-control{right:initial;left:0}.plv-msg-item__hover-control__list{display:flex;align-items:center;gap:8px;line-height:30px;font-size:12px}.plv-msg-item__hover-control__list__item{cursor:pointer}.plv-msg-item__hover-control__list__item.is-disabled{cursor:not-allowed;opacity:.6}.plv-msg-item__hover-control__more{border-radius:2px;width:72px;background-color:#fff}.pwc-skin-color-mode--dark .plv-msg-item__hover-control__more{background-color:#2b2c35}.pwc-skin-color-mode--light .plv-msg-item__hover-control__more{background-color:#fff}.plv-msg-item__hover-control__more__item{cursor:pointer;padding:8px 0;box-sizing:border-box;text-align:center;font-size:12px;color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__hover-control__more__item{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__hover-control__more__item{color:#0006}.plv-msg-item__hover-control__more__item.is-disabled{cursor:not-allowed;opacity:.6}.plv-msg-item__hover-control__list__item:not(.is-disabled):hover,.plv-msg-item__hover-control__more__item:not(.is-disabled):hover{color:#333}.pwc-skin-color-mode--dark .plv-msg-item__hover-control__list__item:not(.is-disabled):hover,.pwc-skin-color-mode--dark .plv-msg-item__hover-control__more__item:not(.is-disabled):hover{color:#e4e4e4}.pwc-skin-color-mode--light .plv-msg-item__hover-control__list__item:not(.is-disabled):hover,.pwc-skin-color-mode--light .plv-msg-item__hover-control__more__item:not(.is-disabled):hover{color:#333}.plv-msg-user-info{display:inline}.plv-msg-user-info--actor{transform:translateY(-1px)}.plv-msg-user-info__avatar{display:inline-block;width:16px;height:16px;margin-right:4px;vertical-align:middle;background-size:100% 100%;border-radius:50%;transform:translateY(-1px)}.plv-msg-user-info__nick{color:#0006}.pwc-skin-color-mode--dark .plv-msg-user-info__nick{color:#fff9}.pwc-skin-color-mode--light .plv-msg-user-info__nick{color:#0006}.plv-msg-user-info__nick.show-colon:after{content:":"}.plv-msg-user-info--loose-mode{position:relative;display:flex;align-items:center;padding-left:36px;margin-bottom:4px;line-height:18px;box-sizing:border-box;max-width:100%}.plv-msg-user-info--loose-mode,.plv-msg-size-mini .plv-msg-user-info--loose-mode,.plv-msg-size-small .plv-msg-user-info--loose-mode,.plv-msg-size-medium .plv-msg-user-info--loose-mode{font-size:12px}.plv-msg-size-large .plv-msg-user-info--loose-mode{font-size:14px}.plv-msg-user-info--loose-mode.is-hide-avatar{padding-left:0}.plv-msg-user-info--loose-mode .plv-msg-user-info__avatar{position:absolute;top:0;left:0;width:28px;height:28px;transform:translateY(0);margin-right:0}.plv-msg-user-info--loose-mode .plv-msg-user-info__nick{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-msg-item__container{display:flex;line-height:1.6;padding:2px 0}.plv-msg-item__container{font-size:14px}.plv-msg-size-mini .plv-msg-item__container,.plv-msg-size-small .plv-msg-item__container{font-size:12px}.plv-msg-size-medium .plv-msg-item__container{font-size:14px}.plv-msg-size-large .plv-msg-item__container{font-size:16px}.plv-msg-item__container.plv-msg-item__container--cursor{cursor:pointer}.plv-msg-item__container__bubble-wrap{display:flex;align-items:flex-end;gap:8px;width:100%}.plv-msg-item__container__bubble{box-sizing:border-box;display:inline-block;max-width:100%;padding:3px 8px;border-radius:12px;color:#000c;background-color:#fff3}.pwc-skin-color-mode--dark .plv-msg-item__container__bubble{color:#fff;background-color:#0003}.pwc-skin-color-mode--light .plv-msg-item__container__bubble{color:#000c;background-color:#fff3}.plv-msg-item__container__content{position:relative;display:flex;align-items:center}.plv-msg-item__container__user-info--block{display:block;margin-bottom:4px}.plv-msg-item__container--loose-mode{display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;padding:8px 0;line-height:1.4}.plv-msg-item__container--loose-mode{font-size:16px}.plv-msg-size-mini .plv-msg-item__container--loose-mode{font-size:12px}.plv-msg-size-small .plv-msg-item__container--loose-mode{font-size:14px}.plv-msg-size-medium .plv-msg-item__container--loose-mode{font-size:16px}.plv-msg-size-large .plv-msg-item__container--loose-mode{font-size:18px}.plv-msg-item__container--loose-mode .plv-msg-item__container__bubble-wrap{padding-left:36px;box-sizing:border-box}.plv-msg-item__container--loose-mode .plv-msg-item__container__bubble{padding:8px 10px;border-radius:8px}.plv-msg-item__container--loose-mode .plv-msg-item__container__bubble.plv-msg-item__container__bubble--hide-bubble-style{padding:0;background:none!important;border-radius:0}.plv-msg-item__container--loose-mode.is-hide-avatar .plv-msg-item__container__bubble{margin-left:0}.plv-msg-item__container--align-right{align-items:flex-end}.plv-msg-item__container--align-right .plv-msg-item__container__bubble-wrap{justify-content:flex-end;padding-left:0;padding-right:36px}.plv-msg-item__container--align-right .plv-msg-user-info--loose-mode{padding-left:0;padding-right:36px}.plv-msg-item__container--align-right .plv-msg-user-info__avatar{left:initial;right:0}.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductClick,.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductBuy{cursor:pointer}.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductClick .plv-msg-item__effect__icon,.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductBuy .plv-msg-item__effect__icon{display:inline-flex!important}.plv-msg-item__effect__item{line-height:20px}.plv-msg-item__effect__item--nickname{margin-right:4px;color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__effect__item--nickname{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__effect__item--nickname{color:#0006}.plv-msg-item__effect__icon{display:none;align-items:center;justify-content:center;width:16px;height:16px;margin-top:-2px;overflow:hidden;font-size:18px;vertical-align:middle}.plv-msg-item__emotion__placeholder{width:80px;height:80px;margin-bottom:4px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAACQCAYAAADjlmWsAAAJrklEQVR4Xu2diVIUSxBFC0FRVBQRUNl+xf//DA1wgZDNXZAXt99r3jB0z/SWk5VwOoLQ0J6qmpM5h+raZu7t27eXiQsCELjTBOYQwZ2OP28eAgUBREAiQAACiIAcgAAE6BGQAxCAAI8G5AAEIMAYATkAAQgwWEgOQAAC/xJg1oBMgAAEEAE5AAEI0CMgByAAAR4NyAEIQIAxAnIAAhBgsJAcgAAEmDUgByAAgf8IMH1IKkAAAkwfkgMQgADTh+QABCDA9CE5AAEIMH1IDkAAAkwfkgMQgADTh+QABCDA9CE5AAEIlARYR0AuQAACrCMgByAAAdYRkAMQgADrCMgBCECAdQTkAAQgwDoCcgACEGAdATkAAQiwjoAcgAAEWEdADkAAAlcEWFBEMkAAAiwoIgcgAAEWFJEDEIAAC4rIAQhAQAQYIyAPIAABREAOQAAC9AjIAQhAgEcDcgACEGCMgByAAAQKAgwWkggQgAAiIAcgAAF6BOQABCDAo0E+OXB5eZn08/fv3+LP23zNzc2le/fuFT9ceRBgjCCDOOiDf3Z2lk5OTtLFxUUGLbJvwoMHD9LKykp6+PBhkhi4fAkgAl/+Re1HR0fFz138QLx69So9evQogyjc7SYgAuf4qwfw7t0751b4Va+ewebmpl8DqLkggAicE+HHjx/pw4cPlb2B29RDqBv30Hvc2dlhvMA5DxGBcwC+f/+ePn78eE0EGkR79uxZ0m/L23JJBD9//kynp6c33tLu7i4icA40InAOwLgI9IF58eJFev78uXPLbKpX70dCGL0QgQ3rNqUigja0DO6tEoEG0JaWlgxq8y/y4OAgff36FRH4h+JaCxCBc0AQQUr0CJyTkMFC/wBEFUG5AKocBNSgX/kziSo9Av+cq2oBPQLnuEQUwfn5edG9V9v1d10LCwvp8ePH6cmTJ2l+fr6WKiJwTria6hGBc1yiiUDtPTw8LAQwPr2p3oFmOl6+fFmsGKy6EIFzwiGCPAMQSQRq6+fPnyfuhZAM1CN4/fp15fQnIsgzD+kROMcligi0AnJ/f//qUWASNslgcXExvXnz5kavARE4Jxw9gjwDEEUE2hSlD3HT1Y6SgUQw/oiACPLMQ3oEznGJIgI9EmiAsI0ItDpydXX1GmFE4Jxw9AjyDEAUEVStCJxGVIuiNjY2EME0UBn8Pz0C5yBEEcGnT5+K6cI2l6YT19fXEUEbaE73IgIn8GW1UURwfHycvnz50urRYG1tLT19+hQROOdYk+oRQRNKhvdEEcGfP3/S3t5e42PUNJawvb19Y3ERYwSGydSjaETQA94QL52FCHQOYpPlv9Pej3oFOkmpyaUdlBosHL8QQRN6s78HEcye+bUaLUWguX+dg6jDT3TGgZ7Z1VVvOvI/jkZTgno8qDpToLxXZasOiaCqHkTgnHA11SMC57hYiUC9AB14Mr73XweG6qyDPjL49u1bIYPfv39fPSpINFpevLy8XAin7kIEzgmHCPIMgIUIJAHtB6ib95cM1G3vKgORVB0aN9BPucfg/v37U08aQgR55iE9Aue4WIigyanIWujT5zGhKzZE0JWc7esQgS3fqaUPLQL1AvRhm3apN1DKYNq9Q/4/IhiS5nBlIYLhWHYqaUgRaDxA4wJNvylJMtCCn1kei4YIOqWJ+YsQgTniyRUMJQKdD6BlwHpmb/Psr0E+yaDJl4xoFkJjAzqEpE0dowQQgXPCMViYZwCGEEE5Q/Dr169Ob1Iy0IGp2jpcd6mdmjpUXZod0GOFBgfbXoigLbHZ3E+PYDacJ37ARr/XQN36NqcY637NEGibcNff0mqcDhNRvePfpaDyNVWoAcjRRw5JQxuKJh1LVvWmEYFzwtEjyDMAfXsE+oBqxd8Ql37D68Nd/qbXo4DKl2SqLp01oMeKNjJABENEavgy6BEMz7RViX1E0HSGoE2D9PyvaUU9LkgAWjQ06dLYgmTQ9CvOEUGbaMzuXkQwO9aVNXUVgWYItDVYz+yelx4XtJJQOw2byAAReEarvm5E4ByXLiLQzIDGFcqjxJ3fQlG9ehEaQJw2ToEIcojWzTYgAue4tBWBegDqCYzvIXB+G0X12mdQt9mobB8iyCFSiCC7KLQRgbrh+iBp00+ulzY0aS9D3YUI8owcPQLnuLQRgebxta0496vc4VjVTkSQZ/QQgXNcmorAYobA6q1rnKDc4TheByKwot6vXETQj1/vVzcRQds9BL0bNVABmknQdyGOXohgILgDF4MIBgbatrhpItAMgfYQaHFPtEs9A8lg9KASRJBnFBGBc1wmiUDTg5omlAwiX1pwVMoAEeQZSUTgHJc6EWjFnnoCXTcSOb+ta9WP9gwQQU6R+b8tiMA5LnUi0L/XrfF3bnKn6svtzhr01M/otbu722hVYqeKeVEjAoigESa7m6pEoN5AjguG+lLQ5iTtZRjv5SCCvmT7vx4R9GfYq4RxEfQqLOiLEYF/4BCBcwwQQUqIwDkJU0qIwDkGiAAROKdgUT0icI4CIkAEzimICHIIACJABDnkIT0C5yggAkTgnIL0CHIIACJABDnkIT0C5yjom4q1gnDayT7OzTSrXu97Z2eHBUVmhJsVjAiacTK7S/sJ3r9/b1Z+7gXrxOStra3cm3nr24cIMgixvpdA3x1wF3sFOj59ll+5lkG4s2wCIsggLDqHUN9NoL0F+nvT7y7MoOmdmiDhaamxDi/RrsS7KMBO4AxfhAgM4bYpWh9+nTkQ8dyBNu9T9+qDr30H2oiEBNrSs7kfEdhwpVQIhCKACEKFi8ZCwIYAIrDhSqkQCEUAEYQKF42FgA0BRGDDlVIhEIoAIggVLhoLARsCiMCGK6VCIBQBRBAqXDQWAjYEEIENV0qFQCgCiCBUuGgsBGwIIAIbrpQKgVAEEEGocNFYCNgQQAQ2XCkVAqEIIIJQ4aKxELAhgAhsuFIqBEIRQAShwkVjIWBDABHYcKVUCIQigAhChYvGQsCGACKw4UqpEAhFABGECheNhYANAURgw5VSIRCKACIIFS4aCwEbAojAhiulQiAUAUQQKlw0FgI2BBCBDVdKhUAoAoggVLhoLARsCCACG66UCoFQBBBBqHDRWAjYEEAENlwpFQKhCCCCUOGisRCwIYAIbLhSKgRCEUAEocJFYyFgQwAR2HClVAiEIoAIQoWLxkLAhgAisOFKqRAIRQARhAoXjYWADQFEYMOVUiEQigAiCBUuGgsBGwKIwIYrpUIgFAFEECpcNBYCNgQQgQ1XSoVAKAKIIFS4aCwEbAggAhuulAqBUAQQQahw0VgI2BD4BzgaN0w/Yto2AAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-msg-item__emotion__img{display:block;width:80px;height:80px;object-fit:contain}.plv-msg-item__emotion__img.zoom-in-cursor{cursor:zoom-in}.plv-msg-item__emotion-wrap{display:inline-block;position:relative}.plv-msg-item__emotion__preview{position:absolute;right:4px;top:4px;font-size:24px;color:#fff;background:#00000080;border-radius:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;cursor:pointer}.plv-msg-item__emotion__preview span{display:flex}.plv-msg-item__file__content{display:flex;padding:7px 8px;line-height:20px;cursor:pointer;border-radius:8px;background-color:#fff6}.plv-msg-item__file__content span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis;overflow:hidden}.pwc-skin-color-mode--dark .plv-msg-item__file__content{background-color:#0000001a}.pwc-skin-color-mode--light .plv-msg-item__file__content{background-color:#fff6}.plv-msg-item__file__icon{flex-shrink:0;width:20px;height:20px;margin-right:8px;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='38px'%20viewBox='0%200%2032%2038'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon%20xls%3c/title%3e%3cg%20id='页面-3'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='pc观看页-聊天室文档-蓝色'%20transform='translate(-159.000000,%20-251.000000)'%20fill-rule='nonzero'%3e%3cg%20id='编组-7'%20transform='translate(53.000000,%2089.000000)'%3e%3cg%20id='编组-10'%20transform='translate(106.000000,%20162.000000)'%3e%3cpath%20d='M31.5727273,10.021831%20C31.8454545,10.2894366%2032,10.6507042%2032,11.0298122%20L32,36.57277%20C32,37.3622066%2031.35,38%2030.5454545,38%20L1.45454545,38%20C0.65,38%200,37.3622066%200,36.57277%20L0,1.42723005%20C0,0.637793427%200.65,0%201.45454545,0%20L20.7590909,0%20C21.1454545,0%2021.5181818,0.151643192%2021.7909091,0.419248826%20L31.5727273,10.021831%20Z%20M15.698,24.1679554%20L15.7677273,23.9873216%20L15.8626364,24.1565822%20C16.394,25.1041291%2017.0834545,25.8945469%2017.8416364,26.4452793%20L18.0050455,26.564007%20L17.8059545,26.6043263%20C17.0637727,26.7547207%2016.3721364,26.9815164%2015.4268636,27.3554953%20C15.5256818,27.3164249%2014.444,27.7507934%2014.1705909,27.8536432%20L13.9318636,27.9434249%20L14.0592273,27.7259061%20C14.6205909,26.7671643%2015.1391364,25.6151221%2015.6979545,24.1679554%20L15.698,24.1679554%20Z'%20id='形状'%20fill='%23089875'%3e%3c/path%3e%3cg%20id='X'%20transform='translate(9.896000,%2012.691200)'%20fill='%23FFFFFF'%3e%3cpolygon%20id='路径'%20points='0.3264%200%204.9344%206.624%200%2013.7088%202.5536%2013.7088%206.2208%208.2752%209.888%2013.7088%2012.4416%2013.7088%207.4688%206.624%2012.1152%200%209.5616%200%206.2208%204.9536%202.88%200'%3e%3c/polygon%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__file__icon--doc{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzOHB4IiB2aWV3Qm94PSIwIDAgMzIgMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+57yW57uE5aSH5Lu9PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Iue8lue7hOWkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0yNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMzEuNTcyNzI3MywxMC4wMjE4MzEgQzMxLjg0NTQ1NDUsMTAuMjg5NDM2NiAzMiwxMC42NTA3MDQyIDMyLDExLjAyOTgxMjIgTDMyLDM2LjU3Mjc3IEMzMiwzNy4zNjIyMDY2IDMxLjM1LDM4IDMwLjU0NTQ1NDUsMzggTDEuNDU0NTQ1NDUsMzggQzAuNjUsMzggMCwzNy4zNjIyMDY2IDAsMzYuNTcyNzcgTDAsMS40MjcyMzAwNSBDMCwwLjYzNzc5MzQyNyAwLjY1LDAgMS40NTQ1NDU0NSwwIEwyMC43NTkwOTA5LDAgQzIxLjE0NTQ1NDUsMCAyMS41MTgxODE4LDAuMTUxNjQzMTkyIDIxLjc5MDkwOTEsMC40MTkyNDg4MjYgTDMxLjU3MjcyNzMsMTAuMDIxODMxIFogTTE1LjY5OCwyNC4xNjc5NTU0IEwxNS43Njc3MjczLDIzLjk4NzMyMTYgTDE1Ljg2MjYzNjQsMjQuMTU2NTgyMiBDMTYuMzk0LDI1LjEwNDEyOTEgMTcuMDgzNDU0NSwyNS44OTQ1NDY5IDE3Ljg0MTYzNjQsMjYuNDQ1Mjc5MyBMMTguMDA1MDQ1NSwyNi41NjQwMDcgTDE3LjgwNTk1NDUsMjYuNjA0MzI2MyBDMTcuMDYzNzcyNywyNi43NTQ3MjA3IDE2LjM3MjEzNjQsMjYuOTgxNTE2NCAxNS40MjY4NjM2LDI3LjM1NTQ5NTMgQzE1LjUyNTY4MTgsMjcuMzE2NDI0OSAxNC40NDQsMjcuNzUwNzkzNCAxNC4xNzA1OTA5LDI3Ljg1MzY0MzIgTDEzLjkzMTg2MzYsMjcuOTQzNDI0OSBMMTQuMDU5MjI3MywyNy43MjU5MDYxIEMxNC42MjA1OTA5LDI2Ljc2NzE2NDMgMTUuMTM5MTM2NCwyNS42MTUxMjIxIDE1LjY5Nzk1NDUsMjQuMTY3OTU1NCBMMTUuNjk4LDI0LjE2Nzk1NTQgWiIgaWQ9IuW9oueKtiIgZmlsbD0iIzQ5OENGMSIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8dGV4dCBpZD0idyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iMjQiIGZvbnQtd2VpZ2h0PSJub3JtYWwiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSI3IiB5PSIyNy43OTY4NzUiPnc8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.plv-msg-item__file__icon--ppt{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='38px'%20viewBox='0%200%2032%2038'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e编组%202%3c/title%3e%3cg%20id='页面-3'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='编组-2'%20transform='translate(0.000000,%200.000000)'%20fill-rule='nonzero'%3e%3cg%20id='编组-19'%3e%3cpath%20d='M31.5727273,10.021831%20C31.8454545,10.2894366%2032,10.6507042%2032,11.0298122%20L32,36.57277%20C32,37.3622066%2031.35,38%2030.5454545,38%20L1.45454545,38%20C0.65,38%200,37.3622066%200,36.57277%20L0,1.42723005%20C0,0.637793427%200.65,0%201.45454545,0%20L20.7590909,0%20C21.1454545,0%2021.5181818,0.151643192%2021.7909091,0.419248826%20L31.5727273,10.021831%20Z%20M15.698,24.1679554%20L15.7677273,23.9873216%20L15.8626364,24.1565822%20C16.394,25.1041291%2017.0834545,25.8945469%2017.8416364,26.4452793%20L18.0050455,26.564007%20L17.8059545,26.6043263%20C17.0637727,26.7547207%2016.3721364,26.9815164%2015.4268636,27.3554953%20C15.5256818,27.3164249%2014.444,27.7507934%2014.1705909,27.8536432%20L13.9318636,27.9434249%20L14.0592273,27.7259061%20C14.6205909,26.7671643%2015.1391364,25.6151221%2015.6979545,24.1679554%20L15.698,24.1679554%20Z'%20id='形状'%20fill='%23EC584B'%3e%3c/path%3e%3cg%20id='P'%20transform='translate(11.944000,%2014.291200)'%20fill='%23FFFFFF'%3e%3cpath%20d='M0,0%20L0,13.7088%20L2.0928,13.7088%20L2.0928,8.3712%20L5.6448,8.3712%20C8.928,8.3712%2010.5792,6.9696%2010.5792,4.1664%20C10.5792,1.3824%208.9472,0%205.6832,0%20L0,0%20Z%20M2.0928,1.7856%20L5.5104,1.7856%20C6.528,1.7856%207.2768,1.9776%207.7568,2.3616%20C8.2368,2.7072%208.4864,3.3216%208.4864,4.1664%20C8.4864,5.0112%208.2368,5.6256%207.776,6.0096%20C7.296,6.3936%206.5472,6.5856%205.5104,6.5856%20L2.0928,6.5856%20L2.0928,1.7856%20Z'%20id='形状'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='编组-2备份-3'%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__file__icon--pdf{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='38px'%20viewBox='0%200%2032%2038'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e编组%2019%3c/title%3e%3cg%20id='页面-3'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='编组-2备份-3'%20transform='translate(-54.000000,%200.000000)'%20fill-rule='nonzero'%3e%3cg%20id='编组-19'%20transform='translate(54.000000,%200.000000)'%3e%3cpath%20d='M31.5727273,10.021831%20C31.8454545,10.2894366%2032,10.6507042%2032,11.0298122%20L32,36.57277%20C32,37.3622066%2031.35,38%2030.5454545,38%20L1.45454545,38%20C0.65,38%200,37.3622066%200,36.57277%20L0,1.42723005%20C0,0.637793427%200.65,0%201.45454545,0%20L20.7590909,0%20C21.1454545,0%2021.5181818,0.151643192%2021.7909091,0.419248826%20L31.5727273,10.021831%20Z%20M15.698,24.1679554%20L15.7677273,23.9873216%20L15.8626364,24.1565822%20C16.394,25.1041291%2017.0834545,25.8945469%2017.8416364,26.4452793%20L18.0050455,26.564007%20L17.8059545,26.6043263%20C17.0637727,26.7547207%2016.3721364,26.9815164%2015.4268636,27.3554953%20C15.5256818,27.3164249%2014.444,27.7507934%2014.1705909,27.8536432%20L13.9318636,27.9434249%20L14.0592273,27.7259061%20C14.6205909,26.7671643%2015.1391364,25.6151221%2015.6979545,24.1679554%20L15.698,24.1679554%20Z'%20id='形状'%20fill='%23D73224'%3e%3c/path%3e%3cg%20id='pdf'%20transform='translate(7.000000,%2010.885417)'%20fill='%23FFFFFF'%3e%3cpath%20d='M17.2180556,14.7763447%20C15.7184185,14.6661178%2014.2743235,14.1149835%2013.1079391,13.1229418%20C10.8307124,13.6189627%208.6645699,14.3354372%206.49842743,15.2172521%20C4.77662187,18.2484907%203.16590054,19.7916667%201.77734767,19.7916667%20C1.4996371,19.7916667%201.1663844,19.7365532%200.94421596,19.5712129%20C0.333252695,19.2956458%200,18.6893981%200,18.0831504%20C0,17.5871295%200.111084232,16.2092938%205.38758513,13.9496432%20C6.60951166,11.7451061%207.5537276,9.48545553%208.33131722,7.1155781%20C7.66481185,5.79285581%206.22071686,2.54116353%207.22047493,0.88776068%20C7.5537276,0.281512964%208.22023299,-0.0491676137%208.94228049,0.00594580621%20C9.49770163,0.00594580621%2010.0531228,0.281512945%2010.3863755,0.722420382%20C11.108423,1.7144621%2011.0528808,3.80877238%2010.1086649,6.89512438%20C10.9973387,8.54852723%2012.1637231,10.0365898%2013.552276,11.3041987%20C14.7186604,11.083745%2015.8850448,10.9184047%2017.0514292,10.9184047%20C19.6619086,10.9735181%2020.0507034,12.1860135%2019.9951613,12.9024881%20C19.9951613,14.7763447%2018.1622715,14.7763447%2017.2180556,14.7763447%20L17.2180556,14.7763447%20Z%20M1.66626344,18.1933772%20L1.83288979,18.1382638%20C2.6104794,17.8626967%203.22144266,17.3115624%203.66577957,16.5950878%20C2.83264784,16.9257684%202.16614247,17.4769027%201.66626344,18.1933772%20Z%20M9.0533647,1.65934868%20L8.88673836,1.65934868%20C8.83119626,1.65934868%208.72011203,1.65934868%208.6645699,1.7144621%20C8.44240144,2.65139039%208.60902779,3.6434321%208.99782259,4.52524696%20C9.33107529,3.58831866%209.33107529,2.59627695%209.0533647,1.65934868%20L9.0533647,1.65934868%20Z%20M9.44215952,9.65079581%20L9.3866174,9.76102267%20L9.33107529,9.70590925%20C8.83119626,10.9735181%208.27577512,12.241127%207.66481183,13.4536224%20L7.77589607,13.3985089%20L7.77589607,13.5087358%20C8.99782259,13.0678284%2010.3308333,12.6820344%2011.5527599,12.4064672%20L11.4972178,12.3513538%20L11.6638441,12.3513538%20C10.8307124,11.5246524%2010.0531228,10.5877241%209.44215952,9.65079581%20L9.44215952,9.65079581%20Z%20M16.9958871,12.5718075%20C16.4960081,12.5718075%2016.0516712,12.5718075%2015.5517921,12.6820344%20C16.1072133,12.9576015%2016.6626344,13.0678284%2017.2180556,13.1229418%20C17.6068504,13.1780552%2017.9956452,13.1229418%2018.3288979,13.0127149%20C18.3288979,12.8473747%2018.1067294,12.5718075%2016.9958871,12.5718075%20Z'%20id='形状'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__image__illegal{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;color:#fff;background:#000;margin-bottom:4px}.plv-msg-item__image__illegal,.plv-msg-size-mini .plv-msg-item__image__illegal,.plv-msg-size-small .plv-msg-item__image__illegal,.plv-msg-size-medium .plv-msg-item__image__illegal{font-size:12px}.plv-msg-size-large .plv-msg-item__image__illegal{font-size:14px}.plv-msg-item__image__illegal__icon{display:flex;flex-shrink:0;font-size:30px!important;color:red}.plv-msg-item__image__placeholder{width:80px;height:80px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAACQCAYAAADjlmWsAAAJrklEQVR4Xu2diVIUSxBFC0FRVBQRUNl+xf//DA1wgZDNXZAXt99r3jB0z/SWk5VwOoLQ0J6qmpM5h+raZu7t27eXiQsCELjTBOYQwZ2OP28eAgUBREAiQAACiIAcgAAE6BGQAxCAAI8G5AAEIMAYATkAAQgwWEgOQAAC/xJg1oBMgAAEEAE5AAEI0CMgByAAAR4NyAEIQIAxAnIAAhBgsJAcgAAEmDUgByAAgf8IMH1IKkAAAkwfkgMQgADTh+QABCDA9CE5AAEIMH1IDkAAAkwfkgMQgADTh+QABCDA9CE5AAEIlARYR0AuQAACrCMgByAAAdYRkAMQgADrCMgBCECAdQTkAAQgwDoCcgACEGAdATkAAQiwjoAcgAAEWEdADkAAAlcEWFBEMkAAAiwoIgcgAAEWFJEDEIAAC4rIAQhAQAQYIyAPIAABREAOQAAC9AjIAQhAgEcDcgACEGCMgByAAAQKAgwWkggQgAAiIAcgAAF6BOQABCDAo0E+OXB5eZn08/fv3+LP23zNzc2le/fuFT9ceRBgjCCDOOiDf3Z2lk5OTtLFxUUGLbJvwoMHD9LKykp6+PBhkhi4fAkgAl/+Re1HR0fFz138QLx69So9evQogyjc7SYgAuf4qwfw7t0751b4Va+ewebmpl8DqLkggAicE+HHjx/pw4cPlb2B29RDqBv30Hvc2dlhvMA5DxGBcwC+f/+ePn78eE0EGkR79uxZ0m/L23JJBD9//kynp6c33tLu7i4icA40InAOwLgI9IF58eJFev78uXPLbKpX70dCGL0QgQ3rNqUigja0DO6tEoEG0JaWlgxq8y/y4OAgff36FRH4h+JaCxCBc0AQQUr0CJyTkMFC/wBEFUG5AKocBNSgX/kziSo9Av+cq2oBPQLnuEQUwfn5edG9V9v1d10LCwvp8ePH6cmTJ2l+fr6WKiJwTria6hGBc1yiiUDtPTw8LAQwPr2p3oFmOl6+fFmsGKy6EIFzwiGCPAMQSQRq6+fPnyfuhZAM1CN4/fp15fQnIsgzD+kROMcligi0AnJ/f//qUWASNslgcXExvXnz5kavARE4Jxw9gjwDEEUE2hSlD3HT1Y6SgUQw/oiACPLMQ3oEznGJIgI9EmiAsI0ItDpydXX1GmFE4Jxw9AjyDEAUEVStCJxGVIuiNjY2EME0UBn8Pz0C5yBEEcGnT5+K6cI2l6YT19fXEUEbaE73IgIn8GW1UURwfHycvnz50urRYG1tLT19+hQROOdYk+oRQRNKhvdEEcGfP3/S3t5e42PUNJawvb19Y3ERYwSGydSjaETQA94QL52FCHQOYpPlv9Pej3oFOkmpyaUdlBosHL8QQRN6s78HEcye+bUaLUWguX+dg6jDT3TGgZ7Z1VVvOvI/jkZTgno8qDpToLxXZasOiaCqHkTgnHA11SMC57hYiUC9AB14Mr73XweG6qyDPjL49u1bIYPfv39fPSpINFpevLy8XAin7kIEzgmHCPIMgIUIJAHtB6ib95cM1G3vKgORVB0aN9BPucfg/v37U08aQgR55iE9Aue4WIigyanIWujT5zGhKzZE0JWc7esQgS3fqaUPLQL1AvRhm3apN1DKYNq9Q/4/IhiS5nBlIYLhWHYqaUgRaDxA4wJNvylJMtCCn1kei4YIOqWJ+YsQgTniyRUMJQKdD6BlwHpmb/Psr0E+yaDJl4xoFkJjAzqEpE0dowQQgXPCMViYZwCGEEE5Q/Dr169Ob1Iy0IGp2jpcd6mdmjpUXZod0GOFBgfbXoigLbHZ3E+PYDacJ37ARr/XQN36NqcY637NEGibcNff0mqcDhNRvePfpaDyNVWoAcjRRw5JQxuKJh1LVvWmEYFzwtEjyDMAfXsE+oBqxd8Ql37D68Nd/qbXo4DKl2SqLp01oMeKNjJABENEavgy6BEMz7RViX1E0HSGoE2D9PyvaUU9LkgAWjQ06dLYgmTQ9CvOEUGbaMzuXkQwO9aVNXUVgWYItDVYz+yelx4XtJJQOw2byAAReEarvm5E4ByXLiLQzIDGFcqjxJ3fQlG9ehEaQJw2ToEIcojWzTYgAue4tBWBegDqCYzvIXB+G0X12mdQt9mobB8iyCFSiCC7KLQRgbrh+iBp00+ulzY0aS9D3YUI8owcPQLnuLQRgebxta0496vc4VjVTkSQZ/QQgXNcmorAYobA6q1rnKDc4TheByKwot6vXETQj1/vVzcRQds9BL0bNVABmknQdyGOXohgILgDF4MIBgbatrhpItAMgfYQaHFPtEs9A8lg9KASRJBnFBGBc1wmiUDTg5omlAwiX1pwVMoAEeQZSUTgHJc6EWjFnnoCXTcSOb+ta9WP9gwQQU6R+b8tiMA5LnUi0L/XrfF3bnKn6svtzhr01M/otbu722hVYqeKeVEjAoigESa7m6pEoN5AjguG+lLQ5iTtZRjv5SCCvmT7vx4R9GfYq4RxEfQqLOiLEYF/4BCBcwwQQUqIwDkJU0qIwDkGiAAROKdgUT0icI4CIkAEzimICHIIACJABDnkIT0C5yggAkTgnIL0CHIIACJABDnkIT0C5yjom4q1gnDayT7OzTSrXu97Z2eHBUVmhJsVjAiacTK7S/sJ3r9/b1Z+7gXrxOStra3cm3nr24cIMgixvpdA3x1wF3sFOj59ll+5lkG4s2wCIsggLDqHUN9NoL0F+nvT7y7MoOmdmiDhaamxDi/RrsS7KMBO4AxfhAgM4bYpWh9+nTkQ8dyBNu9T9+qDr30H2oiEBNrSs7kfEdhwpVQIhCKACEKFi8ZCwIYAIrDhSqkQCEUAEYQKF42FgA0BRGDDlVIhEIoAIggVLhoLARsCiMCGK6VCIBQBRBAqXDQWAjYEEIENV0qFQCgCiCBUuGgsBGwIIAIbrpQKgVAEEEGocNFYCNgQQAQ2XCkVAqEIIIJQ4aKxELAhgAhsuFIqBEIRQAShwkVjIWBDABHYcKVUCIQigAhChYvGQsCGACKw4UqpEAhFABGECheNhYANAURgw5VSIRCKACIIFS4aCwEbAojAhiulQiAUAUQQKlw0FgI2BBCBDVdKhUAoAoggVLhoLARsCCACG66UCoFQBBBBqHDRWAjYEEAENlwpFQKhCCCCUOGisRCwIYAIbLhSKgRCEUAEocJFYyFgQwAR2HClVAiEIoAIQoWLxkLAhgAisOFKqRAIRQARhAoXjYWADQFEYMOVUiEQigAiCBUuGgsBGwKIwIYrpUIgFAFEECpcNBYCNgQQgQ1XSoVAKAKIIFS4aCwEbAggAhuulAqBUAQQQahw0VgI2BD4BzgaN0w/Yto2AAAAAElFTkSuQmCC);border-radius:4px;margin-bottom:4px;background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-msg-item__image-wrap{position:relative;display:inline-block}.plv-msg-item__image__img{display:block;max-width:80px;max-height:80px;border-radius:4px;object-fit:contain}.plv-msg-item__image__img.zoom-in-cursor{cursor:zoom-in}.plv-msg-item__image__preview{position:absolute;right:4px;top:4px;font-size:24px;color:#fff;background:#00000080;border-radius:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;cursor:pointer}.plv-msg-item__image__preview span{display:flex}.plv-msg-item__motivation-like__content span{color:#ff5353}.plv-msg-item__redpaper-receive__content__nick{color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__redpaper-receive__content__nick{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__redpaper-receive__content__nick{color:#0006}.plv-msg-item__redpaper-receive__icon,.plv-msg-item__redpaper-receive__icon-rain{display:inline-block;width:16px;height:16px;margin-top:-2px;margin-right:4px;vertical-align:middle;background-repeat:no-repeat;background-size:contain}.plv-msg-item__redpaper-receive__icon{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cdefs%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svg0_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg1_20_11202/20_3972'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-6.666666368643458'%20y='-0.10526315603725142'%20width='14.333332737286916'%20height='1.210526312074503'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.2222222238779068'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svg2_20_11202/20_3975'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-6.666666368643458'%20y='-0.10526315603725142'%20width='14.333332737286916'%20height='1.210526312074503'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.2222222238779068'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svg3_20_11202/20_3974'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.06979811127199771'%20y='0'%20width='1.1395962225439955'%20height='1.4536879736655357'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.8065564036369324'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.2016391009092331'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg4_1_6661'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.85714387893677%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg5_20_11202/20_3973'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.1159997500181171'%20y='-1.2759972268641202'%20width='1.2319995000362343'%20height='3.5519944537282404'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.28355494141578674'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.1549234404164919'%20y2='-0.7055181265936135'%20id='master_svg6_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg7_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svg8_1_6651'%3e%3cstop%20offset='0%25'%20stop-color='%23FFCC56'%20stop-opacity='1'/%3e%3cstop%20offset='77.22564935684204%25'%20stop-color='%23FFF5D6'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%3e%3crect%20x='2.22222900390625'%20y='0.888885498046875'%20width='11.55555534362793'%20height='14.222222328186035'%20rx='1.7777777910232544'%20fill='url(%23master_svg0_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='7.999986410140991'%20cy='7.999986410140991'%20rx='2.444444417953491'%20ry='2.444444417953491'%20fill='%23E04023'%20fill-opacity='0.6000000238418579'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M2.22222900390625,6.666656494140625L2.22222900390625,7.199981494140625Q4.603109003906249,8.444436494140625,8.051309003906251,8.444436494140625Q11.49950900390625,8.444436494140625,13.77782900390625,7.199981494140625L13.77782900390625,6.666656494140625Q11.17110900390625,8.024226494140624,8.051309003906251,8.024226494140624Q4.93150900390625,8.024226494140624,2.22222900390625,6.666656494140625Z'%20fill='%23E04023'%20fill-opacity='0.6000000238418579'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg1_20_11202/20_3972)'%3e%3cellipse%20cx='13.177750654518604'%20cy='6.88887882232666'%20rx='0.06666667014360428'%20ry='4.222222328186035'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg2_20_11202/20_3975)'%3e%3cellipse%20cx='2.7333536818623543'%20cy='6.88887882232666'%20rx='0.06666667014360428'%20ry='4.222222328186035'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg3_20_11202/20_3974)'%3e%3cpath%20d='M2.22436517390625,4.888885498046875L2.22437201390625,6.666665498046875Q4.00214900390625,8.444445498046875,8.00214900390625,8.444445498046875Q12.00214900390625,8.444445498046875,13.77992900390625,6.666665498046875L13.77992900390625,4.888885498046875Q13.50212900390625,6.222215498046875,12.00214900390625,6.888885498046875Q10.05769900390625,7.555555498046875,8.00214900390625,7.555555498046875Q5.94659900390625,7.555555498046875,4.00214900390625,6.888885498046875Q2.61326100390625,6.222215498046875,2.22436517390625,4.888885498046875Z'%20fill='url(%23master_svg4_1_6661)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg5_20_11202/20_3973)'%3e%3cpath%20d='M3.111083984375,1.629639505859375L3.111083984375,2.222232505859375Q5.555523984375,1.925936505859375,7.999973984375,1.925936505859375Q10.444413984375,1.925936505859375,12.888863984375,2.222232505859375L12.888863984375,1.629639505859375Q10.444413984375,1.333343505859375,7.999973984375,1.333343505859375Q5.555523984375,1.333343505859375,3.111083984375,1.629639505859375Z'%20fill='url(%23master_svg6_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cg%3e%3cellipse%20cx='7.999986410140991'%20cy='7.777787923812866'%20rx='2.444444417953491'%20ry='2.444444417953491'%20fill='url(%23master_svg7_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='8'%20cy='7.77777099609375'%20rx='2'%20ry='2'%20fill='url(%23master_svg8_1_6651)'%20fill-opacity='1'/%3e%3cellipse%20cx='8'%20cy='7.77777099609375'%20rx='1.8888888880610466'%20ry='1.8888888880610466'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.2222222238779068'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20d='M9.13335701171875,7.998227705078125L9.13335701171875,8.358227705078125L8.64801701171875,8.358227705078125L8.64801701171875,9.352897705078124L8.26935701171875,9.352897705078124L8.26935701171875,8.358227705078125L7.69601701171875,8.358227705078125Q7.67735701171875,8.600897705078125,7.62135401171875,8.767567705078125Q7.56535401171875,8.934227705078126,7.45735401171875,9.075567705078125Q7.34935401171875,9.216897705078125,7.15735401171875,9.392897705078125L6.82935401171875,9.147567705078124Q7.00802001171875,9.003567705078126,7.10668701171875,8.891567705078124Q7.20535401171875,8.779567705078126,7.25468701171875,8.655567705078125Q7.30402001171875,8.531567705078125,7.32002001171875,8.358227705078125L6.79202001171875,8.358227705078125L6.79202001171875,7.998227705078125L7.33068701171875,7.998227705078125L7.33068701171875,7.422227705078125L6.93602001171875,7.422227705078125L6.93602001171875,7.062230705078125L8.98401701171875,7.062230705078125L8.98401701171875,7.422227705078125L8.64801701171875,7.422227705078125L8.64801701171875,7.998227705078125L9.13335701171875,7.998227705078125ZM7.70668701171875,7.998227705078125L8.26935701171875,7.998227705078125L8.26935701171875,7.422227705078125L7.70668701171875,7.422227705078125L7.70668701171875,7.995567705078125L7.70668701171875,7.998227705078125Z'%20fill='%23DC303A'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__redpaper-receive__icon-rain{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='18.58905029296875'%20height='17.573272705078125'%20viewBox='0%200%2018.58905029296875%2017.573272705078125'%3e%3cdefs%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svg0_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg1_20_10739/20_4023'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.07692441738604847'%20y='0'%20width='1.153848834772097'%20height='1.4305481224152945'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.33862942457199097'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.08465735614299774'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg2_1_6523'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.534247636795044%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg3_20_10739/20_4015'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='0'%20y='0'%20width='1'%20height='1'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.3319106101989746'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.9372549057006836%200%200%200%200%200.6235294342041016%200%200%200%200%200'/%3e%3cfeBlend%20mode='normal'%20in2='shape'%20result='effect1_innerShadow'/%3e%3c/filter%3e%3clinearGradient%20x1='1'%20y1='0.5'%20x2='0'%20y2='0.5'%20id='master_svg4_1_6559'%3e%3cstop%20offset='4.999992251396179%25'%20stop-color='%23EF8146'%20stop-opacity='1'/%3e%3cstop%20offset='15.716083347797394%25'%20stop-color='%23FA7928'%20stop-opacity='1'/%3e%3cstop%20offset='24.69201236963272%25'%20stop-color='%23FA6C28'%20stop-opacity='1'/%3e%3cstop%20offset='77.97441482543945%25'%20stop-color='%23FD8F53'%20stop-opacity='1'/%3e%3cstop%20offset='87.87466287612915%25'%20stop-color='%23FFA16F'%20stop-opacity='1'/%3e%3cstop%20offset='97.33433127403259%25'%20stop-color='%23EE881C'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.3835298717021942'%20y1='0.13416613638401031'%20x2='0.981461869027923'%20y2='0.608746080905715'%20id='master_svg5_1_6560'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD2C1'%20stop-opacity='1'/%3e%3cstop%20offset='99.99995231628418%25'%20stop-color='%23F66537'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0.03752145171165466'%20x2='0.5'%20y2='0.3540796935558319'%20id='master_svg6_1_6561'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB492'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFB492'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg7_20_10739/20_4026'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.2940527193630767'%20y='-2.984771431213175'%20width='1.5881054387261533'%20height='6.96954286242635'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.24893297255039215'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.1851549418151888'%20y2='-0.6971024089747253'%20id='master_svg8_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg9_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svga_1_6571'%3e%3cstop%20offset='7.14285746216774%25'%20stop-color='%23FFB200'%20stop-opacity='1'/%3e%3cstop%20offset='93.57143044471741%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svgb_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgc_20_10739/20_3999'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.07692157753168327'%20y='0'%20width='1.1538431550633665'%20height='1.4197058963209996'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.23704059422016144'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.05926014855504036'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgd_1_6523'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.534247636795044%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='1'%20y1='0.5'%20x2='0'%20y2='0.5'%20id='master_svge_1_6607'%3e%3cstop%20offset='1.7226053401827812%25'%20stop-color='%23F65537'%20stop-opacity='1'/%3e%3cstop%20offset='18.621766567230225%25'%20stop-color='%23FD7C40'%20stop-opacity='1'/%3e%3cstop%20offset='34.12024676799774%25'%20stop-color='%23FA6C28'%20stop-opacity='1'/%3e%3cstop%20offset='69.14474964141846%25'%20stop-color='%23FF7446'%20stop-opacity='1'/%3e%3cstop%20offset='87.3401403427124%25'%20stop-color='%23FF9C75'%20stop-opacity='1'/%3e%3cstop%20offset='99.28570985794067%25'%20stop-color='%23F46F3B'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.27024340629577637'%20y1='0.4450797736644745'%20x2='1.0033274124741252'%20y2='0.5718225326001862'%20id='master_svgf_1_6608'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD3C2'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23F66329'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.8155937790870667'%20y1='0.8200788497924805'%20x2='0.47652875470424405'%20y2='0.7709331258102043'%20id='master_svgg_1_6609'%3e%3cstop%20offset='0%25'%20stop-color='%23F05A27'%20stop-opacity='0.5899999737739563'/%3e%3cstop%20offset='99.99991059303284%25'%20stop-color='%23F37641'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgh_20_10739/20_4010'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.4200598960190385'%20y='-4.156412245083039'%20width='1.840119792038077'%20height='9.312824490166077'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.24893297255039215'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.1957674475210263'%20y2='-0.694010781668311'%20id='master_svgi_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgj_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svgk_1_6571'%3e%3cstop%20offset='7.14285746216774%25'%20stop-color='%23FFB200'%20stop-opacity='1'/%3e%3cstop%20offset='93.57143044471741%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svgl_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgm_20_10739/20_3993'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-9.806891732571058'%20y='-0.1549420924752533'%20width='20.613783465142117'%20height='1.3098841849505067'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.25806429982185364'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svgn_20_10739/20_3987'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-7.845513612564852'%20y='-0.12395367755887216'%20width='16.691027225129705'%20height='1.2479073551177444'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.2064514458179474'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svgo_20_10739/20_3990'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.06963419090195735'%20y='0'%20width='1.1392683818039147'%20height='1.3028756327169573'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.4996127486228943'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.12490318715572357'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgp_1_6523'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.534247636795044%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgq_20_10739/20_3995'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='0'%20y='0'%20width='1'%20height='1'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.3319106101989746'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.9372549057006836%200%200%200%200%200.6235294342041016%200%200%200%200%200'/%3e%3cfeBlend%20mode='normal'%20in2='shape'%20result='effect1_innerShadow'/%3e%3c/filter%3e%3clinearGradient%20x1='1'%20y1='0.5'%20x2='0'%20y2='0.5'%20id='master_svgr_1_6559'%3e%3cstop%20offset='4.999992251396179%25'%20stop-color='%23EF8146'%20stop-opacity='1'/%3e%3cstop%20offset='15.716083347797394%25'%20stop-color='%23FA7928'%20stop-opacity='1'/%3e%3cstop%20offset='24.69201236963272%25'%20stop-color='%23FA6C28'%20stop-opacity='1'/%3e%3cstop%20offset='77.97441482543945%25'%20stop-color='%23FD8F53'%20stop-opacity='1'/%3e%3cstop%20offset='87.87466287612915%25'%20stop-color='%23FFA16F'%20stop-opacity='1'/%3e%3cstop%20offset='97.33433127403259%25'%20stop-color='%23EE881C'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.3835298717021942'%20y1='0.13416613638401031'%20x2='0.9809827161165509'%20y2='0.6214046633691488'%20id='master_svgs_1_6560'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD2C1'%20stop-opacity='1'/%3e%3cstop%20offset='99.99995231628418%25'%20stop-color='%23F66537'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0.03752145171165466'%20x2='0.5'%20y2='0.3540796935558319'%20id='master_svgt_1_6561'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB492'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFB492'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgu_20_10739/20_3981'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.18041583962438412'%20y='-1.2073278988093024'%20width='1.3608316792487682'%20height='3.4146557976186047'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.24893297255039215'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.4405981282047473'%20y2='-0.6017225501768877'%20id='master_svgv_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgw_20_10739/20_3989'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.5612937040763659'%20y='-3.756131112258611'%20width='2.122587408152732'%20height='8.512262224517222'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.774458110332489'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgx_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svgy_1_6571'%3e%3cstop%20offset='7.14285746216774%25'%20stop-color='%23FFB200'%20stop-opacity='1'/%3e%3cstop%20offset='93.57143044471741%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgz_20_10739/20_4027'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-1.8354906562573607'%20y='-1.6213303696183068'%20width='4.670981312514722'%20height='4.242660739236613'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.8627463579177856'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.7863100171089172%200%200%200%200%200.28769999742507935%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='master_svg10_20_10739/20_4013'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-2.575539083180256'%20y='-2.2750329577233455'%20width='6.151078166360512'%20height='5.550065915446691'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.8627463579177856'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.7863100171089172%200%200%200%200%200.28769999742507935%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg11_1_6582'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD432'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFD676'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg12_1_6582'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD432'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFD676'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%20transform='matrix(0.9396926164627075,0.3420201539993286,-0.3420201539993286,0.9396926164627075,1.2238626035766629,-0.5262076119204835)'%3e%3cg%3e%3crect%20x='2.156801462173462'%20y='3.2161200046539307'%20width='4.297914028167725'%20height='5.447057247161865'%20rx='0.7741929292678833'%20fill='url(%23master_svg0_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg1_20_10739/20_4023)'%3e%3cpath%20d='M2.104707956173462,5.056654131431579L2.104707956173462,4.680484131431579Q2.104707956173462,4.61378013143158,2.117721287173462,4.54835813143158Q2.1307345871734618,4.48293513143158,2.156261187173462,4.421309131431579Q2.181787787173462,4.35968213143158,2.218847087173462,4.304220131431579Q2.255905087173462,4.24875713143158,2.303072087173462,4.20159013143158Q2.350239087173462,4.15442313143158,2.405702087173462,4.11736413143158Q2.461164087173462,4.08030553143158,2.522791087173462,4.05477893143158Q2.5844180871734617,4.02925233143158,2.649840087173462,4.01623903143158Q2.715263087173462,4.003225684131579,2.781967087173462,4.003225684131579L5.8295570871734625,4.003225684131579Q5.896257087173462,4.003225684131579,5.961677087173462,4.01623903143158Q6.027107087173462,4.02925233143158,6.088727087173462,4.05477893143158Q6.150357087173462,4.08030553143158,6.205817087173462,4.11736413143158Q6.261287087173462,4.15442313143158,6.3084470871734615,4.20159013143158Q6.355617087173462,4.24875713143158,6.392677087173462,4.304220131431579Q6.429737087173462,4.35968213143158,6.455257087173462,4.421309131431579Q6.480787087173462,4.48293513143158,6.493797087173462,4.54835813143158Q6.506817087173462,4.61378013143158,6.506817087173462,4.680484131431579L6.506817087173462,5.05662413143158Q6.3041770871734615,5.1786941314315795,6.054397087173462,5.275684131431579Q5.804607087173462,5.37266413143158,5.519457087173462,5.439984131431579Q5.234317087173462,5.507294131431579,4.927257087173462,5.54177413143158Q4.620207087173462,5.576244131431579,4.305727087173462,5.576244131431579Q3.991267087173462,5.576244131431579,3.684227087173462,5.54177413143158Q3.377187087173462,5.50730413143158,3.0920430871734617,5.43999413143158Q2.8069050871734618,5.37268413143158,2.557125087173462,5.27570413143158Q2.307345087173462,5.178724131431579,2.104707956173462,5.056654131431579Z'%20fill-rule='evenodd'%20fill='url(%23master_svg2_1_6523)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg3_20_10739/20_4015)'%3e%3cpath%20d='M2.161348581314087,4.059817424575805C2.161348581314087,3.5889854245758057,2.543033581314087,3.2073004245758057,3.0138655813140867,3.2073004245758057L5.5982685813140876,3.2073004245758057C6.068998581314087,3.2073004245758057,6.450598581314087,3.5889044245758055,6.450598581314087,4.059637424575806C6.450598581314087,4.318430424575806,6.335728581314087,4.570500424575806,6.112008581314087,4.700590424575806C5.605668581314086,4.995010424575805,4.981608581314087,5.152730424575806,4.305718581314087,5.152730424575806C3.630068581314087,5.152730424575806,3.006181581314087,4.995110424575806,2.499910581314087,4.700860424575806C2.276048581314087,4.570750424575806,2.161348581314087,4.318740424575806,2.161348581314087,4.059817424575805'%20fill-rule='evenodd'%20fill='url(%23master_svg4_1_6559)'%20fill-opacity='1'/%3e%3cpath%20d='M2.161348581314087,4.059817424575805C2.161348581314087,3.5889854245758057,2.543033581314087,3.2073004245758057,3.0138655813140867,3.2073004245758057L5.5982685813140876,3.2073004245758057C6.068998581314087,3.2073004245758057,6.450598581314087,3.5889044245758055,6.450598581314087,4.059637424575806C6.450598581314087,4.318430424575806,6.335728581314087,4.570500424575806,6.112008581314087,4.700590424575806C5.605668581314086,4.995010424575805,4.981608581314087,5.152730424575806,4.305718581314087,5.152730424575806C3.630068581314087,5.152730424575806,3.006181581314087,4.995110424575806,2.499910581314087,4.700860424575806C2.276048581314087,4.570750424575806,2.161348581314087,4.318740424575806,2.161348581314087,4.059817424575805'%20fill-rule='evenodd'%20fill='url(%23master_svg5_1_6560)'%20fill-opacity='0.5099999904632568'/%3e%3cpath%20d='M2.161348581314087,4.059817424575805C2.161348581314087,3.5889854245758057,2.543033581314087,3.2073004245758057,3.0138655813140867,3.2073004245758057L5.5982685813140876,3.2073004245758057C6.068998581314087,3.2073004245758057,6.450598581314087,3.5889044245758055,6.450598581314087,4.059637424575806C6.450598581314087,4.318430424575806,6.335728581314087,4.570500424575806,6.112008581314087,4.700590424575806C5.605668581314086,4.995010424575805,4.981608581314087,5.152730424575806,4.305718581314087,5.152730424575806C3.630068581314087,5.152730424575806,3.006181581314087,4.995110424575806,2.499910581314087,4.700860424575806C2.276048581314087,4.570750424575806,2.161348581314087,4.318740424575806,2.161348581314087,4.059817424575805'%20fill-rule='evenodd'%20fill='url(%23master_svg6_1_6561)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg7_20_10739/20_4026)'%3e%3cpath%20d='M2.612856149673462,3.7200822351226805L2.612856149673462,3.942485235122681Q3.459415149673462,3.8312842351226806,4.305976149673462,3.8312842351226806Q5.1525361496734625,3.8312842351226806,5.999096149673462,3.942485235122681L5.999096149673462,3.7200822351226805Q5.1525361496734625,3.6088812351226807,4.305976149673462,3.6088812351226807Q3.459415149673462,3.6088812351226807,2.612856149673462,3.7200822351226805Z'%20fill='url(%23master_svg8_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cellipse%20cx='4.305768251419067'%20cy='5.705425679683685'%20rx='0.792548418045044'%20ry='0.7845436930656433'%20fill='%23FF9D41'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='4.3087238073349'%20cy='5.5734686851501465'%20rx='0.8860992193222046'%20ry='0.8771350383758545'%20fill='url(%23master_svg9_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='4.306034564971924'%20cy='5.574615180492401'%20rx='0.7520852088928223'%20ry='0.7444619536399841'%20fill='url(%23master_svga_1_6571)'%20fill-opacity='1'/%3e%3cellipse%20cx='4.306034564971924'%20cy='5.574615180492401'%20rx='0.7271045707166195'%20ry='0.7194813154637814'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.04996127635240555'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20transform='matrix(0.9396926164627075,0.3420201539993286,-0.3420201539993286,0.9396926164627075,1.9044443850914234,-4.3697179161299715)'%3e%3cg%3e%3crect%20x='13.379412293434143'%20y='3.222419261932373'%20width='3.008650779724121'%20height='3.91159987449646'%20rx='0.7741929292678833'%20fill='url(%23master_svgb_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgc_20_10739/20_3999)'%3e%3cpath%20d='M13.342928528410706,4.543821618682861L13.342928528410706,4.261423618682861Q13.342928528410706,4.214730618682862,13.352037869410706,4.1689346186828615Q13.361147169410705,4.1231396186828615,13.379015769410705,4.0800006186828615Q13.396884369410705,4.036861618682861,13.422825569410705,3.998038618682861Q13.448766669410706,3.959214618682861,13.481783669410705,3.9261976186828615Q13.514800669410706,3.8931806186828615,13.553624669410706,3.8672396186828615Q13.592447669410706,3.8412984186828614,13.635586669410706,3.8234298186828615Q13.678725669410706,3.805561218682861,13.724520669410705,3.7964518886828613Q13.770316669410706,3.787342548682861,13.817009669410705,3.787342548682861L15.950432669410706,3.787342548682861Q15.997122669410706,3.787342548682861,16.042922669410707,3.7964518886828613Q16.088722669410707,3.805561218682861,16.131852669410705,3.8234298186828615Q16.174992669410706,3.8412984186828614,16.213822669410707,3.8672396186828615Q16.252642669410704,3.8931806186828615,16.285662669410705,3.9261976186828615Q16.318672669410706,3.959214618682861,16.344622669410704,3.998038618682861Q16.370562669410706,4.036861618682861,16.388432669410705,4.0800006186828615Q16.406292669410707,4.1231396186828615,16.415402669410707,4.1689346186828615Q16.424512669410706,4.214730618682862,16.424512669410706,4.261423618682861L16.424512669410706,4.543708618682861Q16.282662669410705,4.631383618682861,16.107802669410706,4.701037618682861Q15.932942669410705,4.7706906186828615,15.733322669410706,4.819034618682862Q15.533702669410705,4.867384618682861,15.318742669410705,4.892144618682861Q15.103782669410705,4.9168946186828615,14.883632669410705,4.9168946186828615Q14.663512669410705,4.9168946186828615,14.448582669410705,4.892144618682861Q14.233662669410705,4.867394618682861,14.034067669410705,4.819064618682861Q13.834473669410706,4.770737618682861,13.659626669410706,4.701104618682861Q13.484779669410706,4.631471618682861,13.342928528410706,4.543821618682861Z'%20fill-rule='evenodd'%20fill='url(%23master_svgd_1_6523)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M13.382219910934143,3.831276254119873C13.382219910934143,3.491171254119873,13.657928980934143,3.215461254119873,13.998033980934142,3.215461254119873L15.768961980934144,3.215461254119873C16.109081980934143,3.215461254119873,16.384801980934142,3.491182254119873,16.384801980934142,3.831301254119873C16.384801980934142,4.015630254119873,16.306241980934143,4.194166254119873,16.147901980934144,4.288541254119873C15.793451980934144,4.499791254119873,15.356051980934144,4.613241254119873,14.883551980934143,4.613241254119873C14.411011980934143,4.613241254119873,13.973583980934142,4.499781254119873,13.619127980934143,4.288501254119873C13.460810180934143,4.194131254119873,13.382219910934143,4.015585254119873,13.382219910934143,3.831276254119873'%20fill-rule='evenodd'%20fill='url(%23master_svge_1_6607)'%20fill-opacity='1'/%3e%3cpath%20d='M13.382219910934143,3.831276254119873C13.382219910934143,3.491171254119873,13.657928980934143,3.215461254119873,13.998033980934142,3.215461254119873L15.768961980934144,3.215461254119873C16.109081980934143,3.215461254119873,16.384801980934142,3.491182254119873,16.384801980934142,3.831301254119873C16.384801980934142,4.015630254119873,16.306241980934143,4.194166254119873,16.147901980934144,4.288541254119873C15.793451980934144,4.499791254119873,15.356051980934144,4.613241254119873,14.883551980934143,4.613241254119873C14.411011980934143,4.613241254119873,13.973583980934142,4.499781254119873,13.619127980934143,4.288501254119873C13.460810180934143,4.194131254119873,13.382219910934143,4.015585254119873,13.382219910934143,3.831276254119873'%20fill-rule='evenodd'%20fill='url(%23master_svgf_1_6608)'%20fill-opacity='0.5'/%3e%3cpath%20d='M13.382219910934143,3.831276254119873C13.382219910934143,3.491171254119873,13.657928980934143,3.215461254119873,13.998033980934142,3.215461254119873L15.768961980934144,3.215461254119873C16.109081980934143,3.215461254119873,16.384801980934142,3.491182254119873,16.384801980934142,3.831301254119873C16.384801980934142,4.015630254119873,16.306241980934143,4.194166254119873,16.147901980934144,4.288541254119873C15.793451980934144,4.499791254119873,15.356051980934144,4.613241254119873,14.883551980934143,4.613241254119873C14.411011980934143,4.613241254119873,13.973583980934142,4.499781254119873,13.619127980934143,4.288501254119873C13.460810180934143,4.194131254119873,13.382219910934143,4.015585254119873,13.382219910934143,3.831276254119873'%20fill-rule='evenodd'%20fill='url(%23master_svgg_1_6609)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgh_20_10739/20_4010)'%3e%3cpath%20d='M13.698641419410706,3.584561959588623L13.698641419410706,3.744271859588623Q14.291254419410706,3.664416859588623,14.883871419410706,3.664416859588623Q15.476481419410705,3.664416859588623,16.069091419410704,3.744271859588623L16.069091419410704,3.584561959588623Q15.476481419410705,3.504706859588623,14.883871419410706,3.504706859588623Q14.291254419410706,3.504706859588623,13.698641419410706,3.584561959588623Z'%20fill='url(%23master_svgi_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cellipse%20cx='14.883883595466614'%20cy='5.009687304496765'%20rx='0.5548043251037598'%20ry='0.5633906126022339'%20fill='%23FF9D41'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14.883626461029053'%20cy='4.915965139865875'%20rx='0.6324738264083862'%20ry='0.642275869846344'%20fill='url(%23master_svgj_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14.883639454841614'%20cy='4.915693163871765'%20rx='0.5548043251037598'%20ry='0.5633906126022339'%20fill='url(%23master_svgk_1_6571)'%20fill-opacity='1'/%3e%3cellipse%20cx='14.883639454841614'%20cy='4.915693163871765'%20rx='0.529823686927557'%20ry='0.5384099744260311'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.04996127635240555'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%20transform='matrix(0.9458545446395874,0.32459065318107605,-0.3307768702507019,0.9437089562416077,1.8386360514137579,-2.010214284872344)'%3e%3cg%3e%3crect%20x='6.959852337837219'%20y='4.419206619262695'%20width='7.174819469451904'%20height='9.072142601013184'%20rx='1.2903214693069458'%20fill='url(%23master_svgl_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(1,0.0019458807073533535,0.0046019889414310455,1,-0.026204788245316024,-0.026293414145363236)'%20filter='url(%23master_svgm_20_10739/20_3993)'%3e%3cellipse%20cx='13.564975559711456'%20cy='9.02533745765686'%20rx='0.052629172801971436'%20ry='3.331106424331665'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(1,0.0019458807073533535,0.0046019889414310455,1,-0.030963369522858386,-0.014255259195146586)'%20filter='url(%23master_svgn_20_10739/20_3987)'%3e%3cellipse%20cx='7.378494083881378'%20cy='10.059364557266235'%20rx='0.052629172801971436'%20ry='3.331106424331665'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M7.044267773628235,7.27464485168457L7.044267773628235,7.6552888516845705Q8.487567773628236,8.54347485168457,10.577867773628235,8.54347485168457Q12.668177773628235,8.54347485168457,14.049267773628234,7.6552888516845705L14.049267773628234,7.27464485168457Q12.469097773628235,8.24356585168457,10.577867773628235,8.24356585168457Q8.686637773628235,8.24356585168457,7.044267773628235,7.27464485168457Z'%20fill='%23E04023'%20fill-opacity='0.4000000059604645'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgo_20_10739/20_3990)'%3e%3cpath%20d='M6.960037347798352,7.179327550888061L6.960037349398352,5.9688025508880616Q6.960037349498352,5.870387550888061,6.979237215498352,5.773863550888062Q6.998437015498352,5.677339550888061,7.036098815498352,5.586415550888061Q7.073760315498352,5.495492550888062,7.128437315498352,5.413662550888062Q7.183113315498352,5.331833550888062,7.252703315498352,5.262243550888061Q7.322293315498352,5.192653550888061,7.404123315498352,5.137977550888062Q7.485952315498352,5.083300550888062,7.576875315498352,5.045639050888061Q7.667799315498352,5.007977250888062,7.764323315498352,4.9887773508880615Q7.8608473154983525,4.9695775508880615,7.959263315498352,4.9695775508880615L13.135626315498353,4.9695775508880615Q13.234046315498352,4.9695775508880615,13.330566315498352,4.9887773508880615Q13.427096315498353,5.007977250888062,13.518016315498352,5.045639050888061Q13.608936315498351,5.083300550888062,13.690766315498351,5.137977550888062Q13.772596315498351,5.192653550888061,13.842186315498353,5.262243550888061Q13.911776315498352,5.331833550888062,13.966456315498352,5.413662550888062Q14.021136315498353,5.495492550888062,14.058796315498352,5.586415550888061Q14.09645631549835,5.677339550888061,14.115656315498352,5.773863550888062Q14.134856315498352,5.870387550888061,14.134856315498352,5.9688025508880616L14.134856315498352,7.179327550888061Q13.970216315498352,7.306907550888061,13.785316315498353,7.422067550888062Q13.600426315498353,7.537227550888062,13.397476315498352,7.638587550888062Q13.19452631549835,7.739947550888061,12.975916315498353,7.826317550888062Q12.75730631549835,7.912687550888061,12.525626315498352,7.983037550888062Q12.293936315498353,8.05339755088806,12.051926315498353,8.106907550888062Q11.809916315498352,8.160407550888062,11.560436315498352,8.196437550888062Q11.310946315498352,8.232467550888062,11.056956315498352,8.250587550888062Q10.802956315498353,8.268707550888061,10.547446315498352,8.268707550888061Q10.291936315498353,8.268707550888061,10.037936315498353,8.250587550888062Q9.783936315498352,8.232467550888062,9.534456315498351,8.196437550888062Q9.284976315498351,8.160407550888062,9.042966315498353,8.106907550888062Q8.800956315498352,8.05339755088806,8.569266315498352,7.983037550888062Q8.337586315498353,7.912687550888061,8.118976315498353,7.826317550888062Q7.900368315498352,7.739947550888061,7.6974173154983525,7.638587550888062Q7.494466315498352,7.537227550888062,7.309574315498352,7.422067550888062Q7.124682315498352,7.306917550888062,6.960037347798352,7.179327550888061Z'%20fill-rule='evenodd'%20fill='url(%23master_svgp_1_6523)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgq_20_10739/20_3995)'%3e%3cpath%20d='M6.959512828102453,5.710251301574707C6.9595128290024535,4.997623301574707,7.537209312202454,4.419926643574707,8.249832312202454,4.419926644574707L12.844012312202453,4.419926650574707C13.556632312202453,4.419926651574707,14.134332312202453,4.997623301574707,14.134332312202453,5.710251301574707C14.134332312202453,6.2901213015747075,13.868122312202454,6.861581301574708,13.347842312202452,7.117621301574707C12.550152312202453,7.510201301574707,11.590122312202453,7.718571301574707,10.547352312202454,7.718571301574707C9.504212312202453,7.718571301574707,8.543902312202453,7.510061301574707,7.746078312202454,7.117251301574707C7.226196312202454,6.861291301574707,6.959512827402453,6.289731301574707,6.959512828102453,5.710251301574707'%20fill-rule='evenodd'%20fill='url(%23master_svgr_1_6559)'%20fill-opacity='1'/%3e%3cpath%20d='M6.959512828102453,5.710251301574707C6.9595128290024535,4.997623301574707,7.537209312202454,4.419926643574707,8.249832312202454,4.419926644574707L12.844012312202453,4.419926650574707C13.556632312202453,4.419926651574707,14.134332312202453,4.997623301574707,14.134332312202453,5.710251301574707C14.134332312202453,6.2901213015747075,13.868122312202454,6.861581301574708,13.347842312202452,7.117621301574707C12.550152312202453,7.510201301574707,11.590122312202453,7.718571301574707,10.547352312202454,7.718571301574707C9.504212312202453,7.718571301574707,8.543902312202453,7.510061301574707,7.746078312202454,7.117251301574707C7.226196312202454,6.861291301574707,6.959512827402453,6.289731301574707,6.959512828102453,5.710251301574707'%20fill-rule='evenodd'%20fill='url(%23master_svgs_1_6560)'%20fill-opacity='0.5099999904632568'/%3e%3cpath%20d='M6.959512828102453,5.710251301574707C6.9595128290024535,4.997623301574707,7.537209312202454,4.419926643574707,8.249832312202454,4.419926644574707L12.844012312202453,4.419926650574707C13.556632312202453,4.419926651574707,14.134332312202453,4.997623301574707,14.134332312202453,5.710251301574707C14.134332312202453,6.2901213015747075,13.868122312202454,6.861581301574708,13.347842312202452,7.117621301574707C12.550152312202453,7.510201301574707,11.590122312202453,7.718571301574707,10.547352312202454,7.718571301574707C9.504212312202453,7.718571301574707,8.543902312202453,7.510061301574707,7.746078312202454,7.117251301574707C7.226196312202454,6.861291301574707,6.959512827402453,6.289731301574707,6.959512828102453,5.710251301574707'%20fill-rule='evenodd'%20fill='url(%23master_svgt_1_6561)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgu_20_10739/20_3981)'%3e%3cpath%20d='M7.787744641304016,4.96941869152832L7.787744641304016,5.519245691528321Q9.167514641304017,5.24433269152832,10.547294641304017,5.24433269152832Q11.927064641304016,5.24433269152832,13.306834641304016,5.519245691528321L13.306834641304016,4.96941869152832Q11.927064641304016,4.69450569152832,10.547294641304017,4.69450569152832Q9.167514641304017,4.69450569152832,7.787744641304016,4.96941869152832Z'%20fill='url(%23master_svgv_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(1,0,0,-1,0,26.13998794555664)'%20filter='url(%23master_svgw_20_10739/20_3989)'%3e%3cpath%20d='M7.736055493354797,13.34490697277832L7.736055493354797,13.89473397277832Q9.115825493354798,13.61982097277832,10.495605493354798,13.61982097277832Q11.875375493354797,13.61982097277832,13.255145493354798,13.89473397277832L13.255145493354798,13.34490697277832Q11.875375493354797,13.06999397277832,10.495605493354798,13.06999397277832Q9.115825493354798,13.06999397277832,7.736055493354797,13.34490697277832Z'%20fill='%23EB4414'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cellipse%20cx='10.546592354774475'%20cy='8.177485466003418'%20rx='1.273636817932129'%20ry='1.3176321983337402'%20fill='%23FF9D41'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='10.546767830848694'%20cy='7.957697868347168'%20rx='1.273636817932129'%20ry='1.3176321983337402'%20fill='url(%23master_svgx_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='10.546992897987366'%20cy='7.957941174507141'%20rx='1.0613641738891602'%20ry='1.0980268716812134'%20fill='url(%23master_svgy_1_6571)'%20fill-opacity='1'/%3e%3cellipse%20cx='10.546992897987366'%20cy='7.957941174507141'%20rx='1.0363835357129574'%20ry='1.0730462335050106'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.04996127635240555'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20filter='url(%23master_svgz_20_10739/20_4027)'%3e%3cpath%20d='M14.12067186832428,11.913696787109375L14.53336286832428,12.088106787109375C14.71178386832428,12.163506787109375,14.84837086832428,12.313076787109376,14.90730686832428,12.497586787109375L15.06073786832428,12.977946787109374L15.19991186832428,12.510376787109376C15.257051868324279,12.318416787109374,15.397811868324279,12.162516787109375,15.58295186832428,12.086116787109376L16.00081186832428,11.913696787109375L15.60343186832428,11.765134787109375C15.40643186832428,11.691484787109374,15.25599186832428,11.528836787109375,15.19789186832428,11.326702787109374L15.06073786832428,10.849456787109375L14.90967686832428,11.339286787109375C14.84956786832428,11.534196787109375,14.70319086832428,11.690651787109376,14.51270986832428,11.763588787109375L14.12067186832428,11.913696787109375Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg10_20_10739/20_4013)'%3e%3cpath%20d='M5.490987420082092,3.346673318359375L5.704328420082092,3.436831318359375C5.882749420082092,3.512231318359375,6.019336420082093,3.661796318359375,6.078272420082092,3.846316318359375L6.160937420082092,4.105116318359375L6.234166420082092,3.859106318359375C6.291305420082092,3.667146318359375,6.4320604200820926,3.5112403183593752,6.617207420082092,3.434846318359375L6.830897420082092,3.346673318359375L6.637677420082092,3.2744383183593753C6.440683420082093,3.200788318359375,6.2902404200820925,3.038141318359375,6.232148420082092,2.836007318359375L6.160937420082092,2.588226318359375L6.080642420082093,2.848591318359375C6.020533420082092,3.043500318359375,5.874156420082092,3.199956318359375,5.683675420082093,3.272892318359375L5.490987420082092,3.346673318359375Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(0.9297322630882263,0.3682362139225006,-0.3682362139225006,0.9297322630882263,1.7285465812319458,-4.092033285354379)'%3e%3cpath%20d='M12.00601911051178,4.974274814453125C12.00601911051178,5.135994814453126,11.91207711051178,5.2670948144531256,11.79619411051178,5.2670948144531256C11.68031171051178,5.2670948144531256,11.58637011051178,5.135994814453126,11.58637011051178,4.974274814453125Q11.58637011051178,4.812554814453125,11.87158911051178,2.483184814453125Q12.00601911051178,4.812554814453125,12.00601911051178,4.974274814453125Z'%20fill='url(%23master_svg11_1_6582)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(0.9297322630882263,0.3682362139225006,-0.3682362139225006,0.9297322630882263,3.5746984087872775,-0.13734944612412292)'%3e%3cpath%20d='M2.5668864200820924,12.786302080078125C2.5668864200820924,12.948022080078125,2.4729444200820923,13.079122080078125,2.3570614200820925,13.079122080078125C2.2411790200820922,13.079122080078125,2.1472374200820923,12.948022080078125,2.1472374200820923,12.786302080078125Q2.1472374200820923,12.624572080078124,2.3570614200820925,9.297882080078125Q2.5668864200820924,12.624572080078124,2.5668864200820924,12.786302080078125Z'%20fill='url(%23master_svg12_1_6582)'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__redpaper-receive__highlight{color:#ffd16b}.plv-msg-item__reward__text{line-height:20px;color:#ff9f45;margin-left:4px}.plv-msg-item__reward__img{display:inline-block;width:20px;height:20px;margin-top:-4px;margin-left:4px;vertical-align:middle;background-repeat:no-repeat;background-size:100% 100%;object-fit:contain}.plv-simple-msg-item__emotion,.plv-simple-msg-item__image{max-width:60px;max-height:45px;vertical-align:text-top;cursor:pointer}.plv-simple-msg-item__speak{word-break:break-word}.plv-simple-msg-item__speak .plv-emotion-img{width:24px!important;height:24px!important;margin-top:-2px}.plv-simple-msg-item{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis;overflow:hidden}.plv-simple-msg-item__avatar{display:inline-block;width:16px;height:16px;margin-right:4px;vertical-align:middle;background-size:100% 100%;border-radius:50%;transform:translateY(-1px)}.plv-msg-item__speak--over-style .plv-msg-item__speak__content__inner{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;text-overflow:ellipsis;overflow:hidden}.plv-msg-item__speak__content{white-space:pre-wrap;word-break:break-word}.plv-msg-item__speak__content a{color:#78a7ed!important}.plv-msg-item__speak__content .plv-emotion-img{width:22px!important;height:22px!important;margin-top:-1px}.plv-msg-item__speak__bottom{position:relative;width:100%;padding-top:3px;margin-top:6px;color:#0006}.plv-msg-item__speak__bottom,.plv-msg-size-mini .plv-msg-item__speak__bottom,.plv-msg-size-small .plv-msg-item__speak__bottom,.plv-msg-size-medium .plv-msg-item__speak__bottom{font-size:12px}.plv-msg-size-large .plv-msg-item__speak__bottom{font-size:14px}.plv-msg-item__speak__bottom:before{position:absolute;top:0;left:0;width:100%;height:1px;pointer-events:none;content:"";background-color:currentColor;opacity:.2}.pwc-skin-color-mode--dark .plv-msg-item__speak__bottom{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__speak__bottom{color:#0006}.plv-msg-item__speak__bottom__icon{display:inline-flex;margin-right:4px;vertical-align:middle;border-radius:2px;transform:translateY(-2px);font-size:16px}.plv-msg-item__speak__bottom--overlength{display:flex;align-items:center}.plv-msg-item__speak__bottom__item{position:relative;flex:1;text-align:center;cursor:pointer}.plv-msg-item__speak__bottom__item:before{position:absolute;top:50%;left:0;width:1px;height:15px;content:"";background:currentColor;opacity:.2;transform:translateY(-50%)}.plv-msg-item__speak__bottom__item:first-of-type:before{display:none}.plv-msg-item__speak__quote{position:relative;margin-bottom:4px;color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__speak__quote{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__speak__quote{color:#0006}.plv-msg-item__speak__quote,.plv-msg-size-mini .plv-msg-item__speak__quote,.plv-msg-size-small .plv-msg-item__speak__quote,.plv-msg-size-medium .plv-msg-item__speak__quote{font-size:12px}.plv-msg-size-large .plv-msg-item__speak__quote{font-size:14px}.plv-msg-item__speak__quote:after{display:block;width:100%;height:1px;pointer-events:none;content:"";background-color:currentColor;opacity:.2;margin-top:4px}.plv-msg-item__speak__quote__content{padding-left:6px;position:relative}.plv-msg-item__speak__quote__content:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:2px;border-radius:2px;background:var(--special-color)}.plv-msg-item__speak__quote__content .plv-simple-msg-item__nick{color:var(--special-color)}.plv-msg-item__container--loose-mode .plv-msg-item__speak__bottom{padding-top:8px}.plv-msg-item__container--loose-mode .plv-msg-item__speak__quote{margin-bottom:8px}.plv-msg-item__speak__control{height:100%;display:flex;flex-shrink:0;align-items:flex-end;padding-bottom:8px}.plv-msg-item__speak__translate-icon{width:16px;height:16px;border-radius:2px;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;color:#333;background-color:#3333}.plv-msg-item__speak__translate-icon span{display:flex;font-size:16px}.pwc-skin-color-mode--dark .plv-msg-item__speak__translate-icon{color:#fff;background-color:#fff3}.pwc-skin-color-mode--light .plv-msg-item__speak__translate-icon{color:#333;background-color:#3333}.plv-msg-item__system-prefix{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:16px;padding:2px 6px;margin-right:4px;font-size:10px;line-height:16px;border-radius:20px;transform:translateY(-1px);background-color:#0000001a}.pwc-skin-color-mode--dark .plv-msg-item__system-prefix{background-color:#fff3}.pwc-skin-color-mode--light .plv-msg-item__system-prefix{background-color:#0000001a}.plv-msg-item__system__text{color:#000c}.pwc-skin-color-mode--dark .plv-msg-item__system__text{color:#fff}.pwc-skin-color-mode--light .plv-msg-item__system__text{color:#000c}.plv-msg-item__time{margin:12px 0;line-height:17px;text-align:center}.plv-msg-item__time,.plv-msg-size-mini .plv-msg-item__time,.plv-msg-size-small .plv-msg-item__time,.plv-msg-size-medium .plv-msg-item__time{font-size:12px}.plv-msg-size-large .plv-msg-item__time{font-size:14px}.plv-msg-item__content{position:relative}.plv-msg-item__content.is-hover-highlight:hover{background:#0000000f}.pwc-skin-color-mode--dark .plv-msg-item__content.is-hover-highlight:hover{background:#ffffff0f}.pwc-skin-color-mode--light .plv-msg-item__content.is-hover-highlight:hover{background:#0000000f}.plv-msg-item:first-of-type .plv-msg-item__container{padding-top:var(--container-top-padding)!important}.plv-msg-item:last-of-type .plv-msg-item__container{padding-bottom:var(--container-bottom-padding)!important}.plv-chat-message-list{position:relative;height:100%}.plv-chat-message-list__container{position:relative;box-sizing:border-box;height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-mask-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,transparent),color-stop(.05,#000));color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-list__container{color:#fff9}.pwc-skin-color-mode--light .plv-chat-message-list__container{color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-chat-message-list__more-msg{position:absolute;bottom:0;left:16px;height:24px;padding:0 8px;font-size:14px;line-height:24px;color:#ffa611;background-color:#fff;border-radius:12px;cursor:pointer}.plv-chat-message-list__tips{font-size:14px;padding:4px 16px;color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-list__tips{color:#fff9}.pwc-skin-color-mode--light .plv-chat-message-list__tips{color:#0006}.plv-chat-message-list__tips:first-of-type{padding-top:var(--container-top-padding)!important}.plv-chat-message-list__tips:last-of-type{padding-bottom:var(--container-bottom-padding)!important}.plv-chat-message-list__loading{width:100%;height:32px;overflow:hidden}.plv-chat-message-list__loading:after{display:block;width:32px;height:32px;margin:0 auto;content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABgCAYAAACdSWXJAAAGuklEQVR4Xu3dS2gdVRgA4P+fY3KDgWqsD8RQU0WQZFPvw1BcKLiKUknBSmuSbpQq3fhYVV14XfhY+dgULXbTNLZYocGgWQm6kBLvw2xSBNHGUhEftSpEco1nfjn1TplOZu6dxzlnZpKT3eXOnXPPd/77n/+cO3eCYP60CKCWVkwjkDloIpLynhCRsjS+UjoVt0OyUMO2nya+dmjduEGDoBtdG3RWgL3wusCVQ2cVWDe4Uui8IDvoKqNbGXTekFVjG2hPDlEV1Uqg8xrNKqNaOnTekVVhS4XeKMgqsBNBbzTYbivMJPk7FPRmA+0GHqcG7whtgKORd4r4QGiDHA25W173hTbI8ZA7YRvoZKa+r/ZLIQY6LeispI1qtRqqIvI6VavVTHyz4o3qdZ3JAnRcZAc9C9gdodNGTgqcteh2Y18V0WlAy8YNSrlpRHlmoKMg79ixYwtj7CAiPiUwieg9zvnhxcXFv8LOZ7qxMwEdBVlAlkqlQ4hYJaIe8RgR14io2mg03ggLLY7TiZ0qdFRgB7FcLp8jom1uVEQ8X6/Xt0eB1jlh+kLryM9xkdsRzf1AG40GiwOtK7od7CuToWroJMiqoHVga4VOiqwSWjW2NmgZyKqhVWJrgZaFrANaFbZyaJnIuqBVYOcG+uzZs5cn7P3793/vV94dO3bsDvH88PCwlM0k2XW2Umh3NI+Ojva0Wq2dlmWVGGN/A8DntVrtWwCwu5VlDrI4bmJi4hBj7GX3goVz/srMzMyVBUtIbKtSqdwFAA9wzq+1bbtRKBTOLCwsrKmosZVBe1NGsVh8DBHfRsQbAEDUwj9yzt8dHBx8Z25uzrc2Fh12I4vH4+PjW/r7+w8yxg6Ix5zzIysrK4dnZ2evWoJ3wt61axe7cOHCM4yxpwHgNgBgRPQ7ET3bbDY/dA+8rMjWAj00NNS7devW8wBwk0/0NgHgBSI602w2V9zPe5G7Rb73eS92sVjsR8SdAPA6ABR9zvfrxYsXty0vL/8jO6q1QFcqlSHbtr8LgkJEEU0fA8DR6enpMwIoKbLTlnOuqakpAfwEIj5CROJT5ftnWdadtVptORfQ3rQxMjJS6OvrOwcAt3TAJiJaFh/f48ePfxI1ejsdPzk5+XA7bQ11Wfn+vLq6un1paaklO30oiWi/kq5SqTxORG8S0Y1i0y0IhohOt1qtJ0+dOvWnDOw9e/Zc19vbe9SyrPEO5yNE/A0Rn6/Vah94j5ORp6VDB9XNourgnD9IRAcQ8SGnavDpfH1tbW33yZMnf5IBvXfv3lt7enpOA0DZ73ztbdZPEfEIY+wzd9UhM6q1QTsVxL59+65njN1vWdarRHS3t/MqIrpQKLyPiLu9bSHiN7Ztv8Q5/+LEiRN/dKpUkka1Vmh3R0dGRm7u6+t7EREfFZMTEVmI+AMAPDc9PT0vI5qdc0xNTY0BwFtEdDsi2u3J96PV1dXXlpaWfgnTVm6hnc6Vy+UyEY0CwDWc8y/n5+e/vnTpUtdFTBgc55iBgQFrbGzsHsbYfQDwLyIu1Ov1epRz5B7aSSlROp302JArx6uaMdAx1ONAi2aSYEvN0XF36mQtTsKab0po3cjOYMTBznVEG+iwn0PXcSZ1BKNJzdHtCSPy1Z+6ozpO2sjUZLiRoZPkZ+GSekSLBYtt2/ciotgLUb5gIaI1y7K+2jQLFrMET3gvo04TosjFZlOpPWEmvSTMbJP6Vx7Sc3TQhGg2/v+/W5nUixzNV1nro1pJRHuj2nw5q6C8c8bSHdXmcgNN0ALfXECjIEf7RXX7y9mdtm2bS8IEUNLyzjsNxN1o8p7HXOTYZZdPFrTTTKlUkv4bFr8uJN3b8J5TWdXhbkgmtg5o2chKNpWCAlwWtmpoFchaoeNuoXoHTiW0KmTt0DKwVUGrRE4FOim2CmjVyL7QKkq8gFk98lde4jwb5ifKuqD9FjVdKsXLT5sf3YdRCjgmSkVibiORADpp3o7StI58HLRYuZyr3U/KXoZHgVCBngauu8+B9+vQnadVLXLSBnZXG04fM3mXsCTRnQXkUNBZieqoaSdLx5s7OWoaDQOdNWiTPuKPSNA9pM2NuuObrntlEPK6OjqozbTra4kWSk7VCTiwvIvyTjbbAIQBDfKLtZO2WSI/Cey65XiUCA5z7EaJcpnIoXN0GOAs7ZlEfb/rok/Bv1GVmjo2ArbsSJYyGXaKnLymkNxB53HRowpZWY7OYwpRiawF2kHPaipRDaw8R2e91tYFnBp0mmlFN667r8rKu7i1rKwUkyaqX98zBx13gLL+OgOtaYT+A2PhSKxqJnu/AAAAAElFTkSuQmCC);background-position:center;background-size:cover;animation:spin-animation 1s ease infinite}.plv-chat-message-list__loading:first-of-type{padding-top:var(--container-top-padding)!important}.plv-chat-message-list__loading:last-of-type{padding-bottom:var(--container-bottom-padding)!important}@keyframes spin-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.plv-donate-svga-animation{position:absolute;inset:0;overflow:hidden}.plv-donate-animation-item{width:152px;height:36px;margin-left:12px;line-height:1}.plv-donate-animation-item__content{position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:100%;height:100%;padding:6px 48px 0 40px;background:linear-gradient(90deg,#5b46ff99,#5b46ff1a 85%);border-radius:18px}.plv-donate-animation-item__pic{position:absolute;top:4px;left:4px;width:28px;height:28px;border-radius:50%;background-size:contain}.plv-donate-animation-item__nick{font-size:12px;font-weight:700;color:#fff}.plv-donate-animation-item__bottom{margin-top:4px;font-size:12px;color:#fff9;white-space:nowrap;transform:scale(.83);transform-origin:top left}.plv-donate-animation-item__good-image{position:absolute;right:4px;bottom:0;width:36px;height:36px;background-size:contain}.plv-donate-animation-item__good-image--redpaper{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAuWSURBVHic7ZtbrB3XWcd/31ozs/fZex+fq2/J8SVOfWInDklsAxIKQk2Ri5NIvVAoQu0TVDQ8IKryhlDqB6Q+UUSEBC9FokgkTamgKXEkhKgCres0blKInbRpSU58HMc+tc/xuezbzKyPh5m9z977XD3jOEdi/6XRXNZlvu+//usya62BPvroo48++uijj/+fkNv1Im29S7U74NSplTY8+WRHJGlbKaAr4r7PuCUEqarwxyePg57E6F6s+AigCNp6hUnuAYyA63i3S8/xcobELnmuDtQpziXkKkrkluOrpukdKBG2MIUGz/H06VdvBaG5CdI//K1dmKW/xJrfxjeCNeABYjoOAUzyuvZ1x+sdqfMOnIJzy0e8yjl24OKeuClRtgBeOcIrPY1vvih/87WrefzLRZB+/hM7IDpNKThKpQwDRfA98CxYC8aC2GWikEQ9bYJYJqXttIM4hihO7uMYoig5t66juOO+I9w5IABbBFsCWz6H75+Up56ayeqjl5kcEKLmX1D0jlIehLHtMDgIngempRppR25fKKlaWqWfOiYxxJKcW4hlmVwTg40T0m0HiV4EkQdhlJCMB+Kl6TiGBn+l8LtZq1tmBenvnXwIkZcYCDxGR2B8B5TLiUKSdiMt1bSkdY2q4+Lu63a1Sc8K7fbHdVbDnnitPCQAKYAUwSuBV3LY4i/LV/785Sx+ZlYQTh/D4BHHUK3C9RlYmiNpCOJucjod117nUqeV9Lp10EFKq1RYvtfO5+m1AyyJyrx2Pgb4DeD2EZR02WYfIokR9SpENbACxoG4DsV0Ot3hfK+jrZ5sxX3Hs95rWvFaPZmAWvBTwttV3e7V5Oqmq1l2BRnxsBasAdeEMIZYE4IM3WSscHKj+x4SNp2PLFdLa5L2UAyI+pndzJoQY8D3wQ+SnqrVTbeMXg/Sc14zwmr3PWGdZLUYFcB6iX3GksvNXCmNBc9Pu+4WUiPXI6kVtmaU3gBdJ2w1yLKCTHYXIQ9BmLTLTcc5ncZBWvfXQCvsVihoTfNMoiIjScOdETnpNWlD2PlwKyiIpBB6x2MZkJ0gEUkGcIZVS/iDVJBA27b17NgEsvdikMjX2MSIth1bQEFKqiDJIx4gbxVbtTvaCgpqEZN/siIbQQpUKqmUe43YCgpS2vNIAvi3vZtXePDetI7bnoYwg4JaRHcdXQnWuF4n/85Gev/wJnxaHZnbIHffXszMNVis95BxEwoSgclxuGcc9o7A8EDyfLYGU7Pw45/DhavJALQ3/3XRQdCggaOjN+FZN7JPd9g68bF92P98c6VxtL581nBGBHYPwolJ2DMMCFo3uGoiaBn0MMfLcPxOeGcOnnsDLt7ozn8jpKqO76vggrpk/dbIVsVOnZJQqiYeE+IjYzevoHu2w2eOwp5housFmm8PE81PoHoX6u4ivjFBc2qYeLaQEPj7x+DIzu78NwG31yM+IKhU5VTGFjuTgp49f14e/81j4qzBTZbQpV14Z+bT0A0UNDEEH78XJSC8OIQZmiC4d0cyC9kBjSLi92ZoTk/j776BfPoILDTgrTk2Q1K83yc8Cpgaisr5jARlUtCFmWfFmRrO1HC2RvPYGI2Tk2ilwLoK8g08OgnWEl4ex95xBG9ifzKxRaHrEK+MN7Efe8cRwsvjCYGfOJxMqayHgqX5kZ00H6ngvNRGqWVxE8jRBtW+/gqFjx3EbAsAiCbLRBOHCF5+F+8n15BGvJKkX9gNO8pEM4OYkX3YoWEu/8lfr1kdiw8cZOSzH4XaPqJrVbxdDo7fAd+fXo7U4qtgCR/cQfjwBDpWBOoAuIWQ2renMw+IshH0HWhsu0J0AwY+dTf2zlJi6eAAjQ/fTfPh/XhTN7DT85ipOcxsDVA4OAax4BZLBBMViJfw7xymfmGK8K0rDJ48DsCNfz5D8f79eMMBxEvY7RWar5dhdB7u354QJIIbG8DdPUJ8YJjonlE06KymSvxuneozbxNfnF/FifeTIGDb8AiNJUP1Hy8SPDDIwCOTSMFLiPLAHRrDHUriyo0a5tIswb4K8aLBlIrgEtmPP3GC63//H8zPzDH+xAlQmP/WWSoPH2LwxBGIqgCYcpF40WAPjBD+znHiPaPoaKmtoOW2QtF6SO2/pmn+cBG/VqG8fTfwb7eVIFfwffUrFULfo/G9aRZeeovCh++j+PARpBB0xx4fgfHtoO+hdYf4McSLhNOzhFduEE5fhWZE9aXz7ZnI5tRlqi+9RuHgTuy2AcSL0IaDIYP+4iEEf0Wrq42Q+ncv0Pj3H2N1mMrO/fiBwUTi7gN99nYR9CSo8z3nPA8CH1MaQGsh0QuvUH3xAt4vHca7/yD+gT3tIYBoHcLL4KJEPVHA/AvnmPunV5L5aeDyn30j9VSZf/5VFk7/iF1fepzSsb1JmjhZEjLeICrFdtzwzYs0z54nPvsGZjGmXB5FxoewQQFPkzXdJ0G/dLsIgnSd1BqM5xH5lrhhkMBH4wjO/g/RmR8RDW3Du3cSs2sndt8uGFXEj9H6AsQeI586zPBjH+LnX/0B4bvz7P7Tj6CqvPO5bzD86QcYOjGJGSxAvITWF5BCBGpxlxvE//s27q1LRK+9CVdn8RA8FcQrYozFeh7W8zFRjMTZl6CzT3e0P5sE31qMb4lVcYATh0FgfgF35mWcQojAE8fwxiqEV2dhLMD44BpN6q9foXR8N3ZI08W/dHF0mwJ1iMDNX8c/4BFemqPx5b9F0lURq4AYBDBiMNZifYu1Fml/I2bmJwdBmjqjMYJirWCwOJHkiBUXO9QJiiJOab52Bf+jg4ip4uaugVje+8oruPkGQ4/shngxWRkBcI3kHnALDcTWkOI2wv++imhSQu1vUiSZmhKD8UwylwfpIkJ2cvIRBHQu7C1/QBtUQI3irKBxujHDKc0fvIv+2l68fQOEr1/BbCtjCsr2PzhIMGGTHsspwb4ypqIQVdEwJro8i394FK03ib53icAKgrS2Q2CQdGajYzaA1DbSqY8PhKCEJXrna1olaKygokkhOsXGSu35Nyl98jDeXRWin11jx+cmMCUf4qV2DhOnkvGBW5gjurKEd/cYMmCpPnOBgaUIm36WiCbHShO0Y00tn3f5FbRCwt3fYm25GzAi6A9naOyqUPiVPfiHxgh/ehWZiTAlHykkjmszxi2FqHj4h3YglSKN717EO/Mevucn+XcuKvaipaCc1Qtyrc2nGxRcvFxiScVPwtcwLij61J/7KdWZJQYe+xDBQ3tws0u464u4epg0/oGPvWsEM1qByFH95huYFy9RCArd6lgLnbtHVMmz7pOjFxNtr713WbzxfFCxXKR59gqLr18j+NUJgod24h3Y0RVHaxGN70zRePEixdmQoFBIX7PJXqlz6TsHclaxDgUtP0xP688oBkUfv6bU/+VnLHzzJ7CrhBkbSNrW6zW4tEQglsEgQAK/w9FNetzaTqMCLvucdL4q5tJNT3pzCmq3T1YYKBUZUNB5h5tdBE26aymVehra1s0mFeRcsvPMeblUlIMgEgMkrettZFvVEBGstazY+9MbcVPepmO0MCL34nHmlJqWUNRIlNTGFlgXU4U4gjBMbXMbJlkLOdqg1AhI9wT1DDw+6JXVOC1AyU4O5NWfsspwfgsoCGjvV8qJnEvPq2ELKOgW4n0gaIso6Bahr6AN0FfQBugraAP0FbQBchCk4RrP09OWUlCUJRFkJEhAUX1nzVDYOgpSQNyUZGQ2xyZO8wKy2hh+iylIiIjif725RMvITtBXnz8H+vXVLEpOW0BByYfvMzz15Vc3n6gbmQkSUJz8EXBupVVsDQWJnoPwC1mrF+TsxeTvTs9Q10eBf0AkbQi3hIIU3NNQezTP34abftsmrBE+/+sPEsjjoPvx1Gv/kAvdvza1r3vCHMvl7HRl/Ha464nbkTfaxCu+gy2f5mvfOpdHOX300UcfffTRRx999LEu/g/tFMfiPIDcNAAAAABJRU5ErkJggg==)}.plv-donate-animation-item__count{position:absolute;top:8px;left:100%;padding-left:8px;color:#fff;white-space:nowrap;box-shadow:0 0 4px #0000004d}.plv-donate-animation-item__count span:first-child{margin-right:2px;font-size:14px}.plv-donate-animation-item__count--animation{animation:rewardNumber .3s linear}@keyframes rewardNumber{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}.donate-animation-enter-active{transform:translate(-270px);animation:rewardStart .15s linear forwards}.donate-animation-leave-active{transform:translateY(0);animation:rewardEnd .1s linear}@keyframes rewardStart{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rewardEnd{0%{margin-top:0;opacity:1}to{margin-top:-40px;opacity:0}}.plv-donate-animation{position:relative;pointer-events:none;display:flex;flex-direction:column;gap:4px}.plv-donate-animation:empty{display:none}.plv-donate-animation__item:last-of-type .plv-donate-animation-item{margin-bottom:0}.plv-message-input__auto-textarea{display:flex;align-items:flex-end;width:100%;min-height:36px;border-radius:18px;transition:.3s;background:#fff;color:#000c}.pwc-skin-color-mode--dark .plv-message-input__auto-textarea{background:#0003;color:#fff}.pwc-skin-color-mode--light .plv-message-input__auto-textarea{background:#fff;color:#000c}.plv-message-input__auto-textarea--multi-row{border-radius:4px}.plv-message-input__auto-textarea__inner{box-sizing:border-box;flex:1;width:100%;min-height:17px;padding:0 12px;margin:8px 0;overflow-x:hidden;overflow-y:auto;font-family:inherit;font-size:14px;vertical-align:top;resize:none;background:transparent;border:none;color:inherit;outline:none}.plv-message-input__auto-textarea__inner::-webkit-scrollbar{display:none}.plv-message-input__auto-textarea__inner::-webkit-scrollbar{width:4px}.plv-message-input__auto-textarea__inner::placeholder{color:#adadc0}.plv-message-input__auto-textarea__inner:disabled,.plv-message-input__auto-textarea__inner:disabled::placeholder{color:#adadc080}.plv-message-input__auto-textarea__inner--disabled{pointer-events:none}.plv-emotion-face-picker{padding:14px 8px 0}.plv-emotion-face-picker .plv-emotion-menu__item{margin:0 14px 16px 0}@supports (display: grid){.plv-emotion-face-picker .plv-emotion-menu__item{margin:0}.plv-emotion-face-picker .plv-emotion-menu{display:grid;grid-template-columns:repeat(auto-fill,32px);grid-gap:16px 14px;align-items:center;justify-content:space-between}}.plv-emotion-image-picker{box-sizing:border-box;display:grid;grid-template-columns:repeat(auto-fill,54px);gap:16px;justify-content:space-around;padding-top:16px}.plv-emotion-image-picker__item{box-sizing:border-box;display:inline-block;width:54px;text-align:center;cursor:pointer}.plv-emotion-image-picker__item:nth-last-child(1){padding-bottom:10px}.plv-emotion-image-picker__icon{display:block;width:54px;height:54px;margin:0 auto 4px;background-size:cover;background-position:center center;background-repeat:no-repeat}.plv-emotion-image-picker__text{font-size:12px;color:#adadc0}.plv-emotion-picker{padding:0 0 24px;overflow:hidden}.plv-emotion-picker__panel-wrap{position:relative;left:0;display:flex;width:200%;transition:.3s}.plv-emotion-picker__panel-wrap--image{left:-100%}.plv-emotion-picker__panel{box-sizing:border-box;flex-shrink:0;width:50%;height:200px;padding:0 16px;overflow-y:auto}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-emotion-picker__bottom{display:flex;align-items:center;padding:0 16px;margin-top:8px;gap:8px}.plv-emotion-picker__tabs{position:relative;display:flex;margin-right:auto;overflow:hidden;border-radius:16px;color:#333;background-color:#6666661a}.pwc-skin-color-mode--dark .plv-emotion-picker__tabs{color:#fff;background-color:#ffffff1a}.pwc-skin-color-mode--light .plv-emotion-picker__tabs{color:#333;background-color:#6666661a}.plv-emotion-picker__tabs-item{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:60px;height:32px;line-height:32px;opacity:.7;cursor:pointer}.plv-emotion-picker__tabs-item.is-active{opacity:1}.plv-emotion-picker__tabs-item__icon{display:flex;font-size:20px!important}.plv-emotion-picker__tabs-active{position:absolute;top:0;left:0;z-index:1;width:60px;height:32px;border-radius:16px;transition:.3s;background-color:#fff}.plv-emotion-picker__tabs-active.plv-emotion-picker__tabs-active--image{left:60px}.pwc-skin-color-mode--dark .plv-emotion-picker__tabs-active{background-color:#fff3}.pwc-skin-color-mode--light .plv-emotion-picker__tabs-active{background-color:#fff}.plv-message-input-popup{position:fixed;width:100%;height:100%;top:0;left:0;z-index:9999;background:#0006}.plv-message-input-popup__content{position:absolute;width:100%;bottom:0;left:0}.plv-message-input-popup__body{background-color:#f7f8fa}.pwc-skin-color-mode--dark .plv-message-input-popup__body{background-color:#2b2c35}.pwc-skin-color-mode--light .plv-message-input-popup__body{background-color:#f7f8fa}.plv-message-input-popup__main{padding:12px 16px;display:flex;gap:12px;align-items:flex-end}.plv-message-input-popup__main__textarea{flex:1;overflow:hidden}.plv-message-input-popup__emotion-btn{flex-shrink:0;width:24px;height:36px;display:flex;align-items:center;padding-right:10px;color:#0009}.plv-message-input-popup__emotion-btn span{display:flex;font-size:24px}.pwc-skin-color-mode--dark .plv-message-input-popup__emotion-btn{color:#fff9}.pwc-skin-color-mode--light .plv-message-input-popup__emotion-btn{color:#0009}.plv-message-input-popup__emotion-btn.is-disabled{opacity:.5}.plv-message-input-popup__send-btn{height:36px!important;min-width:60px!important;border-radius:18px!important}.plv-message-input-popup__del-btn{display:flex;align-items:center;justify-content:center;width:60px;height:32px;line-height:32px;border-radius:16px;background-color:#fff;color:#666}.plv-message-input-popup__del-btn span{display:flex;font-size:24px!important}.pwc-skin-color-mode--dark .plv-message-input-popup__del-btn{background-color:#ffffff1a;color:#fff}.pwc-skin-color-mode--light .plv-message-input-popup__del-btn{background-color:#fff;color:#666}.plv-chat-message-input-popup .pwc-popup__body,.plv-chat-message-input-popup .pwc-popup__content{overflow:initial!important}.plv-chat-message-input-popup .plv-message-input-popup__body{border-radius:16px 16px 0 0}.plv-chat-message-input-popup__quote{position:absolute;width:100%;bottom:100%;padding:0 12px 8px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;gap:28px}.plv-chat-message-input-popup__quote__content{border-radius:12px;background:#0003;padding:3px 8px;color:#fff;font-size:14px}.plv-chat-message-input-popup__quote__content .plv-simple-msg-item__nick{color:#fff9}.plv-chat-message-input-popup__quote__close{width:20px;height:20px;border-radius:50%;background:#0003;color:#fff;font-size:14px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.plv-input-paste-image{padding:0 8px;color:#1d2129;-webkit-transition:border-color .35s;transition:border-color .35s;border:1px solid #e5e5e5;border-radius:2px;background:#fff;outline:none;overflow-y:auto}.plv-input-paste-image img{width:48px;height:auto;-o-object-fit:cover;object-fit:cover}.plv-input-paste-image:empty:before{content:attr(placeholder);pointer-events:none;color:#adadc0}.plv-input-paste-image--focus{border-color:#3f76fc}.plv-input-paste-image--disabled{cursor:not-allowed;border-color:#e5e5e5!important;background:#f9fafd!important}.plv-chat-input-paste-image{box-sizing:border-box;height:100%;color:inherit;font-size:inherit}.plv-chat-input-paste-image .plv-input-paste-image{box-sizing:border-box;background:none!important;border:none!important;height:100%!important;max-height:100%!important;color:inherit;font-size:inherit;padding-top:8px}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-message-input-base{display:flex;flex-direction:column;position:relative}.plv-message-input-base__icons{height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px;font-size:14px;color:#0009;background-color:#6666661a}.pwc-skin-color-mode--dark .plv-message-input-base__icons{color:#fff9;background-color:#ffffff0f}.pwc-skin-color-mode--light .plv-message-input-base__icons{color:#0009;background-color:#6666661a}.plv-message-input-base__icons .polyv-icon{display:flex;font-size:20px;cursor:pointer}.plv-message-input-base__icons .polyv-icon.is-disabled{cursor:not-allowed;opacity:.5}.plv-message-input-base__icons .polyv-icon:not(.is-disabled):hover{color:#3082fe}.plv-message-input-base__icons__left,.plv-message-input-base__icons__right{display:flex;gap:10px;align-items:center}.plv-message-input-base__input{flex:1;overflow:hidden;font-size:14px;color:#666}.pwc-skin-color-mode--dark .plv-message-input-base__input{color:#fff}.pwc-skin-color-mode--light .plv-message-input-base__input{color:#666}.plv-message-input-base__input__textarea{width:100%;height:100%;resize:none;background:none;border:none;outline:none;box-sizing:border-box;padding:8px;font-size:inherit;color:inherit}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-message-input-base__panel{position:absolute;width:100%;left:0;bottom:100%;user-select:none;color:#0009;background-color:#fbfbfc}.pwc-skin-color-mode--dark .plv-message-input-base__panel{color:#fff9;background-color:#2b2c35}.pwc-skin-color-mode--light .plv-message-input-base__panel{color:#0009;background-color:#fbfbfc}.plv-message-input-base__emotion-picker{padding-bottom:12px}.plv-message-input-base__bottom{display:flex;align-items:center;padding:8px 12px;gap:8px;font-size:12px;color:#1d21294d}.pwc-skin-color-mode--dark .plv-message-input-base__bottom{color:#ffffff4d}.pwc-skin-color-mode--light .plv-message-input-base__bottom{color:#1d21294d}.plv-message-input-base__submit{height:24px;border-radius:4px;line-height:24px;padding:0 9px;font-size:12px;cursor:pointer;background:#3f76fc;color:#fff;transition:.3s}.plv-message-input-base__submit.is-disabled{cursor:not-allowed;color:#ffffffe6;background-color:#3f76fc99}.pwc-skin-color-mode--dark .plv-message-input-base__submit.is-disabled{background:#ffffff0f}.pwc-skin-color-mode--light .plv-message-input-base__submit.is-disabled{background-color:#3f76fc99}.plv-chat-message-input-section__more-panel{width:140px;box-sizing:border-box;padding:8px;border-radius:4px;display:flex;flex-direction:column;gap:10px;box-shadow:0 0 2px #0000001f}.pwc-skin-color-mode--dark .plv-chat-message-input-section__more-panel{border:1px solid rgba(255,255,255,.1);box-shadow:0 2px 8px #00000029}.pwc-skin-color-mode--light .plv-chat-message-input-section__more-panel{box-shadow:0 0 2px #0000001f}.plv-chat-message-input-section__more-panel>div{display:flex;align-items:center;cursor:pointer;font-size:14px;line-height:22px}.plv-chat-message-input-section__more-panel>div .polyv-icon{font-size:16px;display:flex;margin-right:4px}.plv-chat-message-input-section__more-panel>div:hover{color:#3082fe}.plv-chat-message-input-section__more-panel--auto-translate{order:10}.plv-chat-message-input-section__more-panel--only-special{order:30}.plv-chat-message-input-section__more-panel--clear{order:40}.plv-message-input-base__icons--more{position:relative;padding-right:6px;cursor:pointer}.plv-message-input-base__icons--more:hover{color:#3082fe}.plv-message-input-base__icons--more span,.plv-message-input-base__icons--more:after,.plv-message-input-base__icons--more:before{position:absolute;right:0;content:"";width:2px;height:2px;border-radius:50%;background-color:currentColor;top:50%;transform:translateY(-50%)}.plv-message-input-base__icons--more:after{margin-top:-4px}.plv-message-input-base__icons--more:before{margin-top:4px}.plv-message-input-base__panel--more{position:absolute;right:16px;bottom:5px;background:inherit}.plv-chat-message-input-section__switch{display:flex;align-items:center;gap:4px}.plv-chat-message-input-section__quote{padding:6px 42px 6px 16px;font-size:12px;line-height:18px;position:relative;box-sizing:border-box;min-height:36px;display:flex;align-items:center;color:#0009;background-color:#fbfbfc}.plv-chat-message-input-section__quote .plv-chat-message-input-section__quote__close{cursor:pointer;display:flex;font-size:16px;position:absolute;right:16px;top:50%;transform:translateY(-50%)}.pwc-skin-color-mode--dark .plv-chat-message-input-section__quote{color:#fff9;background-color:#2b2c35}.pwc-skin-color-mode--light .plv-chat-message-input-section__quote{color:#0009;background-color:#fbfbfc}.plv-chat-message-input-section__mask-title{font-size:12px;color:#333}.pwc-skin-color-mode--dark .plv-chat-message-input-section__mask-title{color:#fff}.pwc-skin-color-mode--light .plv-chat-message-input-section__mask-title{color:#333}.plv-chat-message-input-section__mask-text{padding:8px;font-size:14px;color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-input-section__mask-text{color:#fff6}.pwc-skin-color-mode--light .plv-chat-message-input-section__mask-text{color:#0006}.plv-viewer-input-control{display:flex;align-items:center;gap:12px}.plv-viewer-input-control__body{height:36px;border-radius:18px;flex:1;display:flex;align-items:center;padding:0 12px;gap:12px;cursor:pointer;overflow:hidden}.plv-viewer-input-control__body__text{flex:1;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0006}.pwc-skin-color-mode--dark .plv-viewer-input-control__body__text{color:#fff9}.pwc-skin-color-mode--light .plv-viewer-input-control__body__text{color:#0006}.plv-viewer-input-control__body.is-disabled{cursor:not-allowed}.plv-viewer-input-control__body.is-disabled .plv-viewer-input-control__body__text{color:#0003}.pwc-skin-color-mode--dark .plv-viewer-input-control__body.is-disabled .plv-viewer-input-control__body__text{color:#fff6}.pwc-skin-color-mode--light .plv-viewer-input-control__body.is-disabled .plv-viewer-input-control__body__text{color:#0003}.plv-viewer-input-control__body,.plv-viewer-input-control__btn{background-color:#fff9}.pwc-skin-color-mode--dark .plv-viewer-input-control__body,.pwc-skin-color-mode--dark .plv-viewer-input-control__btn{background-color:#0003}.pwc-skin-color-mode--light .plv-viewer-input-control__body,.pwc-skin-color-mode--light .plv-viewer-input-control__btn{background-color:#fff9}.plv-viewer-input-control__body .polyv-icon,.plv-viewer-input-control__btn .polyv-icon{display:flex;font-size:24px;color:#000c}.pwc-skin-color-mode--dark .plv-viewer-input-control__body .polyv-icon,.pwc-skin-color-mode--dark .plv-viewer-input-control__btn .polyv-icon{color:#ffffffb3}.pwc-skin-color-mode--light .plv-viewer-input-control__body .polyv-icon,.pwc-skin-color-mode--light .plv-viewer-input-control__btn .polyv-icon{color:#000c}.plv-viewer-input-control__btn{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.plv-manager-input-control__btn--chat-switch .polyv-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.plv-manager-input-control__btn--chat-switch.is-active .polyv-icon:last-of-type{color:#ff5252}.plv-ban-user-item{padding:12px 0;display:flex;align-items:center;gap:16px}.plv-ban-user-item__content{flex:1;overflow:hidden}.plv-ban-user-item__nick{font-size:14px;color:#000c;line-height:20px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ban-user-item__info{line-height:18px;font-size:12px;color:#0006;white-space:nowrap;display:flex;gap:16px}.plv-ban-user-item__info span:last-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ban-user-item__info span:first-of-type{position:relative}.plv-ban-user-item__info span:first-of-type:before{content:"";width:1px;height:10px;background-color:#0003;position:absolute;right:-8px;top:50%;transform:translateY(-50%)}.plv-ban-user-item__btn{font-size:12px;color:#0009}.plv-ban-user-item__btn:not(.is-disabled){color:#3f76fc;cursor:pointer}.plv-ban-user-list{flex:1;width:100%;overflow:hidden;display:flex;flex-direction:column;gap:8px;box-sizing:border-box}.plv-ban-user-list__search{padding:0 16px}.plv-ban-user-list__content{flex:1;overflow-y:auto;padding:0 16px}.plv-ban-ip-item{padding:0 16px;height:60px;display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#000c}.plv-ban-ip-item__btn{font-size:12px;color:#3f76fc;cursor:pointer}.plv-ban-ip-list{height:100%;overflow-y:auto}.plv-ban-list__top{padding:0 16px}.plv-ban-list__content{height:400px;display:flex;flex-direction:column;gap:8px}.plv-kick-user-item{padding:12px 0;display:flex;align-items:center;gap:16px}.plv-kick-user-item__content{flex:1;overflow:hidden}.plv-kick-user-item__nick{font-size:14px;color:#000c;line-height:20px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-kick-user-item__info{line-height:18px;font-size:12px;color:#0006;white-space:nowrap;display:flex;gap:16px}.plv-kick-user-item__info span:last-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-kick-user-item__info span:first-of-type{position:relative}.plv-kick-user-item__info span:first-of-type:before{content:"";width:1px;height:10px;background-color:#0003;position:absolute;right:-8px;top:50%;transform:translateY(-50%)}.plv-kick-user-item__btn{font-size:12px;color:#0009}.plv-kick-user-item__btn:not(.is-disabled){color:#3f76fc;cursor:pointer}.plv-kick-list__content{height:400px;padding:0 16px}.plv-online-item__control{font-size:20px;cursor:pointer;margin-left:8px;display:flex;opacity:.4}.plv-attendance-list{overflow-y:auto;height:100%}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-attendance-item{display:flex;align-items:center;height:52px;padding:0 20px 0 16px;box-sizing:border-box;font-size:14px;color:#000c}.pwc-skin-color-mode--dark .plv-attendance-item{color:#fff9}.pwc-skin-color-mode--light .plv-attendance-item{color:#000c}.plv-attendance-item:hover{background:#00000014}.pwc-skin-color-mode--dark .plv-attendance-item:hover{background:#ffffff14}.pwc-skin-color-mode--light .plv-attendance-item:hover{background:#00000014}.plv-attendance-item__avatar{width:32px;height:32px;border-radius:50%;margin-right:12px}.plv-attendance-item__nick{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-member-more__reference{padding:7px 6px;border-radius:6px;line-height:18px;font-size:12px;color:#0009}.pwc-skin-color-mode--dark .plv-member-more__reference{color:#fff9}.pwc-skin-color-mode--light .plv-member-more__reference{color:#0009}.plv-member-more:not(.is-mobile) .plv-member-more__reference:hover{background:#0000000f}.pwc-skin-color-mode--dark .plv-member-more:not(.is-mobile) .plv-member-more__reference:hover{background:#ffffff0f}.pwc-skin-color-mode--light .plv-member-more:not(.is-mobile) .plv-member-more__reference:hover{background:#0000000f}.plv-member-type__reference{padding:7px 6px;border-radius:6px;line-height:18px;font-size:12px;color:#0009}.pwc-skin-color-mode--dark .plv-member-type__reference{color:#fff9}.pwc-skin-color-mode--light .plv-member-type__reference{color:#0009}.plv-member-type:not(.is-mobile) .plv-member-type__reference:hover{background:#0000000f}.pwc-skin-color-mode--dark .plv-member-type:not(.is-mobile) .plv-member-type__reference:hover{background:#ffffff0f}.pwc-skin-color-mode--light .plv-member-type:not(.is-mobile) .plv-member-type__reference:hover{background:#0000000f}.plv-online-item{display:flex;align-items:center;height:52px;padding:0 20px 0 16px;box-sizing:border-box;font-size:14px;color:#000c}.pwc-skin-color-mode--dark .plv-online-item{color:#fff9}.pwc-skin-color-mode--light .plv-online-item{color:#000c}.plv-online-item:hover{background:#00000014}.pwc-skin-color-mode--dark .plv-online-item:hover{background:#ffffff14}.pwc-skin-color-mode--light .plv-online-item:hover{background:#00000014}.plv-online-item__avatar{width:32px;height:32px;border-radius:50%;margin-right:12px}.plv-online-item__nick{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-online-item__actor{margin-left:4px;transform:translateY(0)}.plv-online-list{width:100%;height:100%;overflow-y:auto}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-member-list{width:100%;height:100%;overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column}.plv-member-list__top{padding:12px 12px 8px;display:flex;gap:12px}.plv-member-list__search{flex:1}.plv-member-list__content{flex:1;overflow:hidden}.plv-toping-msg-item{box-sizing:border-box;width:100%;height:100%;padding:8px 12px}.plv-toping-msg-item__body{border-radius:12px;background:#3333337a;backdrop-filter:blur(10px);color:#fff;height:100%;box-sizing:border-box;padding:12px 12px 20px;position:relative}.plv-toping-msg-item__body.is-show-close{padding-right:40px}.plv-toping-msg-item__close{position:absolute;top:50%;right:12px;transform:translateY(-50%);font-size:18px;cursor:pointer;color:#fffc}.plv-toping-msg-item__control{font-size:12px;display:flex;align-self:center;gap:20px;margin-bottom:8px}.plv-toping-msg-item__control-actor{margin-right:auto}.plv-toping-msg-item__control__item{cursor:pointer}.plv-toping-msg-item__content{font-size:14px;line-height:20px}.plv-toping-msg-item__content .plv-simple-msg-item__nick{color:#fff9}.plv-toping-msg-list{position:absolute;top:0;left:0;width:100%;pointer-events:none;z-index:100}.plv-toping-msg-list__swiper{width:100%;height:100%;position:relative;pointer-events:initial}.plv-toping-msg-list__indicator{position:absolute;bottom:16px!important;left:50%!important;transform:translate(-50%)!important;display:flex;align-items:center;justify-content:center;gap:2px;z-index:10;width:initial!important}.plv-toping-msg-list__indicator.is-hide{opacity:0}.plv-toping-msg-list__indicator-item{width:8px;height:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.plv-toping-msg-list__indicator-item:before{content:"";width:4px;height:4px;border-radius:2px;background:#fff;opacity:.2}.plv-toping-msg-list__indicator-item.is-active:before{width:8px;opacity:.6}.plv-toping-msg-list__arrow{width:18px;height:58px;position:absolute;right:0;top:50%;transform:translateY(-50%);cursor:pointer;display:flex;align-items:center;justify-content:center;background:#3333337a;border-radius:9px 0 0 9px;color:#fff;pointer-events:initial}.plv-toping-msg-list__arrow span{display:flex}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
(function(
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@charset "UTF-8";.plv-msg-user-actor{display:inline-flex;align-items:center;justify-content:center;max-width:110px;height:14px;margin-right:4px;line-height:14px;color:#fff;border-radius:18px;transform:translateY(-1px);vertical-align:middle}.plv-msg-user-actor--border-img{background:none!important;border-image-source:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAkCAYAAAA5DDySAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAaJSURBVGiB3ZpNbFTXFcd/5743H7Yzk+AxLu04aoqNVNldpJVcNVlQsgB3UWWD6KKJFKks8AakSlEUCVWKFNFFN5VwpdBFIkVpFoV0kwQVl0UCi3RBSl1F0IoURApDSMBgbM/X+7ini/dm/GY8Y4YgtfFc6endc8/Hfe8/Z/5v5p0jPOCovvXeLvN4cadV9qiRSUml87iOg2pk4BhwDGIMuA7iGMSJ564T6VwHUg7iuvHcjXw9H/UC1PPXjnry8NbOVQ/qfqhesEygFwX9C19Uz+Z+te/DB7kf6cVo8ZWj+YEfTc9KbuigDA2NoQqqaHxGFSyARjfYAMFx1uQGAG1nSTngdgIgSADgtYHgoTUPDcJ4f8BG1yGV4JpWvN/5V64dK8wdWn5oAGonzxyQ0W8c0WymgCoEIVr6HHv1Grq4BOUqVGrg+SACjguui7guOKn4RqO1xiHNs7O2roAfgh+gXgi+BT8AL0T9EDwLfhjpvBAUNO1CxoVcBt02hG7JokIEhBcsymLtcO7lfb//SgBUXjteNN+beF2GCzOqCuUK9vwC9p+X0LoPCKKxu0oUqkXutt6uo2kjCKogTZ9WfTe/ZkzXQR/PYccfRdMmyo57/nzqs3v7B3/7QqlnAFbeOTWVGt8+L5lsUYMA+/F5wn98AnV/gwuSONj9LnYjYNoB2eCGNwIm5WCfyGMncpHKC0vhjfJM4dWfX7gvACvvnJrK7Jj4UNOZES2XCU7+Gb35xfqN4wxQiDPh4TOgIUsvYHXKgDadPpYh/MEwpA349ra5Ud6VawPBJIXKm8eLqR3j85rNjuidOwQnTqA3b7ZjFG8W76Nti92MO4ldzLWjqlvs5MW0msldD/ejW8hqAK6MhNsG52//8s1i0rMFALPju2/IwGBRy2WCd99FV1bpShMS54G0LXYz7iRusCzrDDbia+kak2qIc+4O1C2SkmKm+MjrSXUTgNqps7OytbCHMCA4+T66shJrun9MijafQro+HVqNWx1bl3W9qJ38uo5kzLZgEIFwfgm1SphzZlZePXGgoTIAevRoXorFIyCE585F3/nm2CgDpC0TesmADp9Wh0xYH6nXDJB15gKYJR/nSgUA+6hzRJ/7Qx5iALwnn5plYGCYSplw4e/0hPwm4ID2eOZqFfEsmpbCylRmFhoZkM8fBAg/Pgd1j56+e5uFAxLxxFfM5SoAdkAOApjqn95/xuTyY4SW8ELjCdFrBmwODtDEYUq16Gd71ozdfentZ4x5YnwngJaug1ePXXrNgM3DAc0jUMxdHwCzNb3TiLAbwF65nAjYnxzQmMuXfizJbqOOOwmgi7cSLv3JAc35ahgJRieNZDN5AC2XEy79ywEKSN1GipTJG1JpB9oB6GMOAIgBUAfHNBFrGf3NAclhCIIQQIaGEsv9zQFkon8AEhIardWi10YtAPQ3B2g6gkN9u2zEhhcBTGEkEbC/OUBz0TtIsXLRqNXTAGb7RCJgf3OAjqYa0mljr14+CyDFMUhnYkX/cgCuoFsiAOwt76wZ2PvTD3Rl+TqOwZmciq36lwNsMYsaoGqvb/nNcx9EdLi8PAfgTE9DJk2/cgApwW4fAMDUdA7iv8Pphb8eo1K9w+AgzpPfp185wH57AM0Y8Oyd3IX6MYgBkEOHlvXG54dBcKZ/iNn2zYR7f3CAPpbCjseP+qXgsLz9/PI689pHC/MyMrJHV8sEfzwevRTV2KyHd/zNi/5/1wWSdgBZl+CpApoWnOVgPvfi3p807rnlrbD99NIvqNZKMjSE++yzSC7XGdIm6JuAAwYcwunh6NefryWntLo/6dkCwOALPyt5n/57Rmq12zI8jLtvL7JttPOem4ADdEua4Omt6CMuEujt8GZlpr1E1hHWjqWxhU+iAmgjxfga1gYbc9dgv5PHjuei5KiHJb/X0lhjVF47XpSpHW9IYXgPcXE0/NsC9l+X4hrh15ADUg52LIdOrBVHzT1/vv7Zvf0jD1IcTY7ayTMHdHT015LNDreWx/8Di0topQrlGngB68vj7eXwRoncAcdFUglZpVkex7OoH0RyYx6Xx/HiEjmA66LZRHl8OBthoYrUwkW5Wz+ce3nvVyuPJ8fiK0fzA09Pz8rQWoNES3OEatSgAPfvEHFNDMT9GiTieU8NEvH+ClT861T8Of9K+Vhh7vmHb5BoH9W33tvF2Ld+DLJbjExqs0UGQP93HSKJFhkJ9KJVe9p8WTvzoC0y/wUj+5Ofgrk8AAAAAABJRU5ErkJggg==);border-image-slice:0 20 0 20 fill;border-image-width:0 8px 0 8px}.plv-msg-user-actor__content{padding:0 6px;white-space:nowrap;font-size:9px}.plv-chat-complete-msg-popup__content{padding:0 24px 12px}.plv-chat-complete-msg-popup__info{display:flex;align-items:center;gap:8px;margin-bottom:12px}.plv-chat-complete-msg-popup__info img{width:28px;height:28px}.plv-chat-complete-msg-popup__info__nick{color:#5394f6;font-size:14px}.plv-chat-complete-msg-popup__info__actor{transform:translateY(0)!important}.plv-chat-complete-msg-popup__text{font-size:14px;line-height:24px}.plv-chat-complete-msg-popup__btn{padding:0 24px}.plv-msg-item__bubble-control{position:absolute}.plv-msg-item__bubble-control:after{position:absolute;bottom:3px;left:10px;width:0;height:0;content:"";border-color:#000 transparent transparent;border-style:solid;border-width:6px 6px 0;opacity:.9}.plv-msg-item__bubble-control__list{position:absolute;bottom:9px;display:flex;background:#000000e6;border-radius:8px}.plv-msg-item__bubble-control__item{cursor:pointer;padding:9px 16px;color:#fff;white-space:nowrap;font-size:14px}.plv-msg-item__bubble-control__item:not(:first-child){border-left:1px solid rgba(255,255,255,.2)}.plv-msg-item__context-menu{position:absolute;box-sizing:border-box;min-width:90px;max-width:200px;min-height:40px;padding:8px 4px;font-size:14px;background:#fff;border-radius:4px;box-shadow:0 4px 20px #333a471a}.plv-msg-item__context-menu__item{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:32px;padding:8px 16px;border-radius:4px;cursor:pointer}.plv-msg-item__context-menu__item:hover{background-color:#f2f3f5}.plv-msg-item__context-menu__item__icon{display:inline-flex;margin-right:8px}.show-hover-control .plv-msg-user-info--loose-mode{padding-right:128px}.plv-msg-item__hover-control{position:absolute;top:0;right:0;padding:0 12px;z-index:100}.is-msg-align-right .plv-msg-item__hover-control{right:initial;left:0}.plv-msg-item__hover-control__list{display:flex;align-items:center;gap:8px;line-height:30px;font-size:12px}.plv-msg-item__hover-control__list__item{cursor:pointer}.plv-msg-item__hover-control__list__item.is-disabled{cursor:not-allowed;opacity:.6}.plv-msg-item__hover-control__more{border-radius:2px;width:72px;background-color:#fff}.pwc-skin-color-mode--dark .plv-msg-item__hover-control__more{background-color:#2b2c35}.pwc-skin-color-mode--light .plv-msg-item__hover-control__more{background-color:#fff}.plv-msg-item__hover-control__more__item{cursor:pointer;padding:8px 0;box-sizing:border-box;text-align:center;font-size:12px;color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__hover-control__more__item{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__hover-control__more__item{color:#0006}.plv-msg-item__hover-control__more__item.is-disabled{cursor:not-allowed;opacity:.6}.plv-msg-item__hover-control__list__item:not(.is-disabled):hover,.plv-msg-item__hover-control__more__item:not(.is-disabled):hover{color:#333}.pwc-skin-color-mode--dark .plv-msg-item__hover-control__list__item:not(.is-disabled):hover,.pwc-skin-color-mode--dark .plv-msg-item__hover-control__more__item:not(.is-disabled):hover{color:#e4e4e4}.pwc-skin-color-mode--light .plv-msg-item__hover-control__list__item:not(.is-disabled):hover,.pwc-skin-color-mode--light .plv-msg-item__hover-control__more__item:not(.is-disabled):hover{color:#333}.plv-msg-user-info{display:inline}.plv-msg-user-info--actor{transform:translateY(-1px)}.plv-msg-user-info__avatar{display:inline-block;width:16px;height:16px;margin-right:4px;vertical-align:middle;background-size:100% 100%;border-radius:50%;transform:translateY(-1px)}.plv-msg-user-info__nick{color:#0006}.pwc-skin-color-mode--dark .plv-msg-user-info__nick{color:#fff9}.pwc-skin-color-mode--light .plv-msg-user-info__nick{color:#0006}.plv-msg-user-info__nick.show-colon:after{content:":"}.plv-msg-user-info--loose-mode{position:relative;display:flex;align-items:center;padding-left:36px;margin-bottom:4px;line-height:18px;box-sizing:border-box;max-width:100%}.plv-msg-user-info--loose-mode,.plv-msg-size-mini .plv-msg-user-info--loose-mode,.plv-msg-size-small .plv-msg-user-info--loose-mode,.plv-msg-size-medium .plv-msg-user-info--loose-mode{font-size:12px}.plv-msg-size-large .plv-msg-user-info--loose-mode{font-size:14px}.plv-msg-user-info--loose-mode.is-hide-avatar{padding-left:0}.plv-msg-user-info--loose-mode .plv-msg-user-info__avatar{position:absolute;top:0;left:0;width:28px;height:28px;transform:translateY(0);margin-right:0}.plv-msg-user-info--loose-mode .plv-msg-user-info__nick{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-msg-item__container{display:flex;line-height:1.6;padding:2px 0}.plv-msg-item__container{font-size:14px}.plv-msg-size-mini .plv-msg-item__container,.plv-msg-size-small .plv-msg-item__container{font-size:12px}.plv-msg-size-medium .plv-msg-item__container{font-size:14px}.plv-msg-size-large .plv-msg-item__container{font-size:16px}.plv-msg-item__container.plv-msg-item__container--cursor{cursor:pointer}.plv-msg-item__container__bubble-wrap{display:flex;align-items:flex-end;gap:8px;width:100%}.plv-msg-item__container__bubble{box-sizing:border-box;display:inline-block;max-width:100%;padding:3px 8px;border-radius:12px;color:#000c;background-color:#fff3}.pwc-skin-color-mode--dark .plv-msg-item__container__bubble{color:#fff;background-color:#0003}.pwc-skin-color-mode--light .plv-msg-item__container__bubble{color:#000c;background-color:#fff3}.plv-msg-item__container__content{position:relative;display:flex;align-items:center}.plv-msg-item__container__content__inner{max-width:100%}.plv-msg-item__container__user-info--block{display:block;margin-bottom:4px}.plv-msg-item__container--loose-mode{display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;padding:8px 0;line-height:1.4}.plv-msg-item__container--loose-mode{font-size:16px}.plv-msg-size-mini .plv-msg-item__container--loose-mode{font-size:12px}.plv-msg-size-small .plv-msg-item__container--loose-mode{font-size:14px}.plv-msg-size-medium .plv-msg-item__container--loose-mode{font-size:16px}.plv-msg-size-large .plv-msg-item__container--loose-mode{font-size:18px}.plv-msg-item__container--loose-mode .plv-msg-item__container__bubble-wrap{padding-left:36px;box-sizing:border-box}.plv-msg-item__container--loose-mode .plv-msg-item__container__bubble{padding:8px 10px;border-radius:8px}.plv-msg-item__container--loose-mode .plv-msg-item__container__bubble.plv-msg-item__container__bubble--hide-bubble-style{padding:0;background:none!important;border-radius:0}.plv-msg-item__container--loose-mode.is-hide-avatar .plv-msg-item__container__bubble-wrap{padding-left:0}.plv-msg-item__container--align-right{align-items:flex-end}.plv-msg-item__container--align-right .plv-msg-item__container__bubble-wrap{justify-content:flex-end;padding-left:0;padding-right:36px}.plv-msg-item__container--align-right .plv-msg-user-info--loose-mode{padding-left:0;padding-right:36px}.plv-msg-item__container--align-right .plv-msg-user-info__avatar{left:initial;right:0}.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductClick,.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductBuy{cursor:pointer}.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductClick .plv-msg-item__effect__icon,.plv-msg-item__effect__inner.plv-msg-item__effect__inner--ProductBuy .plv-msg-item__effect__icon{display:inline-flex!important}.plv-msg-item__effect__item{line-height:20px}.plv-msg-item__effect__item--nickname{margin-right:4px;color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__effect__item--nickname{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__effect__item--nickname{color:#0006}.plv-msg-item__effect__icon{display:none;align-items:center;justify-content:center;width:16px;height:16px;margin-top:-2px;overflow:hidden;font-size:18px;vertical-align:middle}.plv-msg-item__emotion-wrap{padding-bottom:5px}.plv-msg-item__emotion__placeholder{width:80px;height:80px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAACQCAYAAADjlmWsAAAJrklEQVR4Xu2diVIUSxBFC0FRVBQRUNl+xf//DA1wgZDNXZAXt99r3jB0z/SWk5VwOoLQ0J6qmpM5h+raZu7t27eXiQsCELjTBOYQwZ2OP28eAgUBREAiQAACiIAcgAAE6BGQAxCAAI8G5AAEIMAYATkAAQgwWEgOQAAC/xJg1oBMgAAEEAE5AAEI0CMgByAAAR4NyAEIQIAxAnIAAhBgsJAcgAAEmDUgByAAgf8IMH1IKkAAAkwfkgMQgADTh+QABCDA9CE5AAEIMH1IDkAAAkwfkgMQgADTh+QABCDA9CE5AAEIlARYR0AuQAACrCMgByAAAdYRkAMQgADrCMgBCECAdQTkAAQgwDoCcgACEGAdATkAAQiwjoAcgAAEWEdADkAAAlcEWFBEMkAAAiwoIgcgAAEWFJEDEIAAC4rIAQhAQAQYIyAPIAABREAOQAAC9AjIAQhAgEcDcgACEGCMgByAAAQKAgwWkggQgAAiIAcgAAF6BOQABCDAo0E+OXB5eZn08/fv3+LP23zNzc2le/fuFT9ceRBgjCCDOOiDf3Z2lk5OTtLFxUUGLbJvwoMHD9LKykp6+PBhkhi4fAkgAl/+Re1HR0fFz138QLx69So9evQogyjc7SYgAuf4qwfw7t0751b4Va+ewebmpl8DqLkggAicE+HHjx/pw4cPlb2B29RDqBv30Hvc2dlhvMA5DxGBcwC+f/+ePn78eE0EGkR79uxZ0m/L23JJBD9//kynp6c33tLu7i4icA40InAOwLgI9IF58eJFev78uXPLbKpX70dCGL0QgQ3rNqUigja0DO6tEoEG0JaWlgxq8y/y4OAgff36FRH4h+JaCxCBc0AQQUr0CJyTkMFC/wBEFUG5AKocBNSgX/kziSo9Av+cq2oBPQLnuEQUwfn5edG9V9v1d10LCwvp8ePH6cmTJ2l+fr6WKiJwTria6hGBc1yiiUDtPTw8LAQwPr2p3oFmOl6+fFmsGKy6EIFzwiGCPAMQSQRq6+fPnyfuhZAM1CN4/fp15fQnIsgzD+kROMcligi0AnJ/f//qUWASNslgcXExvXnz5kavARE4Jxw9gjwDEEUE2hSlD3HT1Y6SgUQw/oiACPLMQ3oEznGJIgI9EmiAsI0ItDpydXX1GmFE4Jxw9AjyDEAUEVStCJxGVIuiNjY2EME0UBn8Pz0C5yBEEcGnT5+K6cI2l6YT19fXEUEbaE73IgIn8GW1UURwfHycvnz50urRYG1tLT19+hQROOdYk+oRQRNKhvdEEcGfP3/S3t5e42PUNJawvb19Y3ERYwSGydSjaETQA94QL52FCHQOYpPlv9Pej3oFOkmpyaUdlBosHL8QQRN6s78HEcye+bUaLUWguX+dg6jDT3TGgZ7Z1VVvOvI/jkZTgno8qDpToLxXZasOiaCqHkTgnHA11SMC57hYiUC9AB14Mr73XweG6qyDPjL49u1bIYPfv39fPSpINFpevLy8XAin7kIEzgmHCPIMgIUIJAHtB6ib95cM1G3vKgORVB0aN9BPucfg/v37U08aQgR55iE9Aue4WIigyanIWujT5zGhKzZE0JWc7esQgS3fqaUPLQL1AvRhm3apN1DKYNq9Q/4/IhiS5nBlIYLhWHYqaUgRaDxA4wJNvylJMtCCn1kei4YIOqWJ+YsQgTniyRUMJQKdD6BlwHpmb/Psr0E+yaDJl4xoFkJjAzqEpE0dowQQgXPCMViYZwCGEEE5Q/Dr169Ob1Iy0IGp2jpcd6mdmjpUXZod0GOFBgfbXoigLbHZ3E+PYDacJ37ARr/XQN36NqcY637NEGibcNff0mqcDhNRvePfpaDyNVWoAcjRRw5JQxuKJh1LVvWmEYFzwtEjyDMAfXsE+oBqxd8Ql37D68Nd/qbXo4DKl2SqLp01oMeKNjJABENEavgy6BEMz7RViX1E0HSGoE2D9PyvaUU9LkgAWjQ06dLYgmTQ9CvOEUGbaMzuXkQwO9aVNXUVgWYItDVYz+yelx4XtJJQOw2byAAReEarvm5E4ByXLiLQzIDGFcqjxJ3fQlG9ehEaQJw2ToEIcojWzTYgAue4tBWBegDqCYzvIXB+G0X12mdQt9mobB8iyCFSiCC7KLQRgbrh+iBp00+ulzY0aS9D3YUI8owcPQLnuLQRgebxta0496vc4VjVTkSQZ/QQgXNcmorAYobA6q1rnKDc4TheByKwot6vXETQj1/vVzcRQds9BL0bNVABmknQdyGOXohgILgDF4MIBgbatrhpItAMgfYQaHFPtEs9A8lg9KASRJBnFBGBc1wmiUDTg5omlAwiX1pwVMoAEeQZSUTgHJc6EWjFnnoCXTcSOb+ta9WP9gwQQU6R+b8tiMA5LnUi0L/XrfF3bnKn6svtzhr01M/otbu722hVYqeKeVEjAoigESa7m6pEoN5AjguG+lLQ5iTtZRjv5SCCvmT7vx4R9GfYq4RxEfQqLOiLEYF/4BCBcwwQQUqIwDkJU0qIwDkGiAAROKdgUT0icI4CIkAEzimICHIIACJABDnkIT0C5yggAkTgnIL0CHIIACJABDnkIT0C5yjom4q1gnDayT7OzTSrXu97Z2eHBUVmhJsVjAiacTK7S/sJ3r9/b1Z+7gXrxOStra3cm3nr24cIMgixvpdA3x1wF3sFOj59ll+5lkG4s2wCIsggLDqHUN9NoL0F+nvT7y7MoOmdmiDhaamxDi/RrsS7KMBO4AxfhAgM4bYpWh9+nTkQ8dyBNu9T9+qDr30H2oiEBNrSs7kfEdhwpVQIhCKACEKFi8ZCwIYAIrDhSqkQCEUAEYQKF42FgA0BRGDDlVIhEIoAIggVLhoLARsCiMCGK6VCIBQBRBAqXDQWAjYEEIENV0qFQCgCiCBUuGgsBGwIIAIbrpQKgVAEEEGocNFYCNgQQAQ2XCkVAqEIIIJQ4aKxELAhgAhsuFIqBEIRQAShwkVjIWBDABHYcKVUCIQigAhChYvGQsCGACKw4UqpEAhFABGECheNhYANAURgw5VSIRCKACIIFS4aCwEbAojAhiulQiAUAUQQKlw0FgI2BBCBDVdKhUAoAoggVLhoLARsCCACG66UCoFQBBBBqHDRWAjYEEAENlwpFQKhCCCCUOGisRCwIYAIbLhSKgRCEUAEocJFYyFgQwAR2HClVAiEIoAIQoWLxkLAhgAisOFKqRAIRQARhAoXjYWADQFEYMOVUiEQigAiCBUuGgsBGwKIwIYrpUIgFAFEECpcNBYCNgQQgQ1XSoVAKAKIIFS4aCwEbAggAhuulAqBUAQQQahw0VgI2BD4BzgaN0w/Yto2AAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-msg-item__emotion__img{display:block;width:80px;height:80px;object-fit:contain}.plv-msg-item__emotion__img.zoom-in-cursor{cursor:zoom-in}.plv-msg-item__emotion-wrap{display:inline-block;position:relative}.plv-msg-item__emotion__preview{position:absolute;right:4px;top:4px;font-size:24px;color:#fff;background:#00000080;border-radius:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;cursor:pointer}.plv-msg-item__emotion__preview span{display:flex}.plv-msg-item__file__content{display:flex;padding:7px 8px;line-height:20px;cursor:pointer;border-radius:8px;background-color:#fff6}.plv-msg-item__file__content span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis;overflow:hidden}.pwc-skin-color-mode--dark .plv-msg-item__file__content{background-color:#0000001a}.pwc-skin-color-mode--light .plv-msg-item__file__content{background-color:#fff6}.plv-msg-item__file__icon{flex-shrink:0;width:20px;height:20px;margin-right:8px;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='38px'%20viewBox='0%200%2032%2038'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon%20xls%3c/title%3e%3cg%20id='页面-3'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='pc观看页-聊天室文档-蓝色'%20transform='translate(-159.000000,%20-251.000000)'%20fill-rule='nonzero'%3e%3cg%20id='编组-7'%20transform='translate(53.000000,%2089.000000)'%3e%3cg%20id='编组-10'%20transform='translate(106.000000,%20162.000000)'%3e%3cpath%20d='M31.5727273,10.021831%20C31.8454545,10.2894366%2032,10.6507042%2032,11.0298122%20L32,36.57277%20C32,37.3622066%2031.35,38%2030.5454545,38%20L1.45454545,38%20C0.65,38%200,37.3622066%200,36.57277%20L0,1.42723005%20C0,0.637793427%200.65,0%201.45454545,0%20L20.7590909,0%20C21.1454545,0%2021.5181818,0.151643192%2021.7909091,0.419248826%20L31.5727273,10.021831%20Z%20M15.698,24.1679554%20L15.7677273,23.9873216%20L15.8626364,24.1565822%20C16.394,25.1041291%2017.0834545,25.8945469%2017.8416364,26.4452793%20L18.0050455,26.564007%20L17.8059545,26.6043263%20C17.0637727,26.7547207%2016.3721364,26.9815164%2015.4268636,27.3554953%20C15.5256818,27.3164249%2014.444,27.7507934%2014.1705909,27.8536432%20L13.9318636,27.9434249%20L14.0592273,27.7259061%20C14.6205909,26.7671643%2015.1391364,25.6151221%2015.6979545,24.1679554%20L15.698,24.1679554%20Z'%20id='形状'%20fill='%23089875'%3e%3c/path%3e%3cg%20id='X'%20transform='translate(9.896000,%2012.691200)'%20fill='%23FFFFFF'%3e%3cpolygon%20id='路径'%20points='0.3264%200%204.9344%206.624%200%2013.7088%202.5536%2013.7088%206.2208%208.2752%209.888%2013.7088%2012.4416%2013.7088%207.4688%206.624%2012.1152%200%209.5616%200%206.2208%204.9536%202.88%200'%3e%3c/polygon%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__file__icon--doc{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzOHB4IiB2aWV3Qm94PSIwIDAgMzIgMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+57yW57uE5aSH5Lu9PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Iue8lue7hOWkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0yNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMzEuNTcyNzI3MywxMC4wMjE4MzEgQzMxLjg0NTQ1NDUsMTAuMjg5NDM2NiAzMiwxMC42NTA3MDQyIDMyLDExLjAyOTgxMjIgTDMyLDM2LjU3Mjc3IEMzMiwzNy4zNjIyMDY2IDMxLjM1LDM4IDMwLjU0NTQ1NDUsMzggTDEuNDU0NTQ1NDUsMzggQzAuNjUsMzggMCwzNy4zNjIyMDY2IDAsMzYuNTcyNzcgTDAsMS40MjcyMzAwNSBDMCwwLjYzNzc5MzQyNyAwLjY1LDAgMS40NTQ1NDU0NSwwIEwyMC43NTkwOTA5LDAgQzIxLjE0NTQ1NDUsMCAyMS41MTgxODE4LDAuMTUxNjQzMTkyIDIxLjc5MDkwOTEsMC40MTkyNDg4MjYgTDMxLjU3MjcyNzMsMTAuMDIxODMxIFogTTE1LjY5OCwyNC4xNjc5NTU0IEwxNS43Njc3MjczLDIzLjk4NzMyMTYgTDE1Ljg2MjYzNjQsMjQuMTU2NTgyMiBDMTYuMzk0LDI1LjEwNDEyOTEgMTcuMDgzNDU0NSwyNS44OTQ1NDY5IDE3Ljg0MTYzNjQsMjYuNDQ1Mjc5MyBMMTguMDA1MDQ1NSwyNi41NjQwMDcgTDE3LjgwNTk1NDUsMjYuNjA0MzI2MyBDMTcuMDYzNzcyNywyNi43NTQ3MjA3IDE2LjM3MjEzNjQsMjYuOTgxNTE2NCAxNS40MjY4NjM2LDI3LjM1NTQ5NTMgQzE1LjUyNTY4MTgsMjcuMzE2NDI0OSAxNC40NDQsMjcuNzUwNzkzNCAxNC4xNzA1OTA5LDI3Ljg1MzY0MzIgTDEzLjkzMTg2MzYsMjcuOTQzNDI0OSBMMTQuMDU5MjI3MywyNy43MjU5MDYxIEMxNC42MjA1OTA5LDI2Ljc2NzE2NDMgMTUuMTM5MTM2NCwyNS42MTUxMjIxIDE1LjY5Nzk1NDUsMjQuMTY3OTU1NCBMMTUuNjk4LDI0LjE2Nzk1NTQgWiIgaWQ9IuW9oueKtiIgZmlsbD0iIzQ5OENGMSIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8dGV4dCBpZD0idyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iMjQiIGZvbnQtd2VpZ2h0PSJub3JtYWwiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSI3IiB5PSIyNy43OTY4NzUiPnc8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.plv-msg-item__file__icon--ppt{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='38px'%20viewBox='0%200%2032%2038'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e编组%202%3c/title%3e%3cg%20id='页面-3'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='编组-2'%20transform='translate(0.000000,%200.000000)'%20fill-rule='nonzero'%3e%3cg%20id='编组-19'%3e%3cpath%20d='M31.5727273,10.021831%20C31.8454545,10.2894366%2032,10.6507042%2032,11.0298122%20L32,36.57277%20C32,37.3622066%2031.35,38%2030.5454545,38%20L1.45454545,38%20C0.65,38%200,37.3622066%200,36.57277%20L0,1.42723005%20C0,0.637793427%200.65,0%201.45454545,0%20L20.7590909,0%20C21.1454545,0%2021.5181818,0.151643192%2021.7909091,0.419248826%20L31.5727273,10.021831%20Z%20M15.698,24.1679554%20L15.7677273,23.9873216%20L15.8626364,24.1565822%20C16.394,25.1041291%2017.0834545,25.8945469%2017.8416364,26.4452793%20L18.0050455,26.564007%20L17.8059545,26.6043263%20C17.0637727,26.7547207%2016.3721364,26.9815164%2015.4268636,27.3554953%20C15.5256818,27.3164249%2014.444,27.7507934%2014.1705909,27.8536432%20L13.9318636,27.9434249%20L14.0592273,27.7259061%20C14.6205909,26.7671643%2015.1391364,25.6151221%2015.6979545,24.1679554%20L15.698,24.1679554%20Z'%20id='形状'%20fill='%23EC584B'%3e%3c/path%3e%3cg%20id='P'%20transform='translate(11.944000,%2014.291200)'%20fill='%23FFFFFF'%3e%3cpath%20d='M0,0%20L0,13.7088%20L2.0928,13.7088%20L2.0928,8.3712%20L5.6448,8.3712%20C8.928,8.3712%2010.5792,6.9696%2010.5792,4.1664%20C10.5792,1.3824%208.9472,0%205.6832,0%20L0,0%20Z%20M2.0928,1.7856%20L5.5104,1.7856%20C6.528,1.7856%207.2768,1.9776%207.7568,2.3616%20C8.2368,2.7072%208.4864,3.3216%208.4864,4.1664%20C8.4864,5.0112%208.2368,5.6256%207.776,6.0096%20C7.296,6.3936%206.5472,6.5856%205.5104,6.5856%20L2.0928,6.5856%20L2.0928,1.7856%20Z'%20id='形状'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='编组-2备份-3'%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__file__icon--pdf{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='38px'%20viewBox='0%200%2032%2038'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e编组%2019%3c/title%3e%3cg%20id='页面-3'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='编组-2备份-3'%20transform='translate(-54.000000,%200.000000)'%20fill-rule='nonzero'%3e%3cg%20id='编组-19'%20transform='translate(54.000000,%200.000000)'%3e%3cpath%20d='M31.5727273,10.021831%20C31.8454545,10.2894366%2032,10.6507042%2032,11.0298122%20L32,36.57277%20C32,37.3622066%2031.35,38%2030.5454545,38%20L1.45454545,38%20C0.65,38%200,37.3622066%200,36.57277%20L0,1.42723005%20C0,0.637793427%200.65,0%201.45454545,0%20L20.7590909,0%20C21.1454545,0%2021.5181818,0.151643192%2021.7909091,0.419248826%20L31.5727273,10.021831%20Z%20M15.698,24.1679554%20L15.7677273,23.9873216%20L15.8626364,24.1565822%20C16.394,25.1041291%2017.0834545,25.8945469%2017.8416364,26.4452793%20L18.0050455,26.564007%20L17.8059545,26.6043263%20C17.0637727,26.7547207%2016.3721364,26.9815164%2015.4268636,27.3554953%20C15.5256818,27.3164249%2014.444,27.7507934%2014.1705909,27.8536432%20L13.9318636,27.9434249%20L14.0592273,27.7259061%20C14.6205909,26.7671643%2015.1391364,25.6151221%2015.6979545,24.1679554%20L15.698,24.1679554%20Z'%20id='形状'%20fill='%23D73224'%3e%3c/path%3e%3cg%20id='pdf'%20transform='translate(7.000000,%2010.885417)'%20fill='%23FFFFFF'%3e%3cpath%20d='M17.2180556,14.7763447%20C15.7184185,14.6661178%2014.2743235,14.1149835%2013.1079391,13.1229418%20C10.8307124,13.6189627%208.6645699,14.3354372%206.49842743,15.2172521%20C4.77662187,18.2484907%203.16590054,19.7916667%201.77734767,19.7916667%20C1.4996371,19.7916667%201.1663844,19.7365532%200.94421596,19.5712129%20C0.333252695,19.2956458%200,18.6893981%200,18.0831504%20C0,17.5871295%200.111084232,16.2092938%205.38758513,13.9496432%20C6.60951166,11.7451061%207.5537276,9.48545553%208.33131722,7.1155781%20C7.66481185,5.79285581%206.22071686,2.54116353%207.22047493,0.88776068%20C7.5537276,0.281512964%208.22023299,-0.0491676137%208.94228049,0.00594580621%20C9.49770163,0.00594580621%2010.0531228,0.281512945%2010.3863755,0.722420382%20C11.108423,1.7144621%2011.0528808,3.80877238%2010.1086649,6.89512438%20C10.9973387,8.54852723%2012.1637231,10.0365898%2013.552276,11.3041987%20C14.7186604,11.083745%2015.8850448,10.9184047%2017.0514292,10.9184047%20C19.6619086,10.9735181%2020.0507034,12.1860135%2019.9951613,12.9024881%20C19.9951613,14.7763447%2018.1622715,14.7763447%2017.2180556,14.7763447%20L17.2180556,14.7763447%20Z%20M1.66626344,18.1933772%20L1.83288979,18.1382638%20C2.6104794,17.8626967%203.22144266,17.3115624%203.66577957,16.5950878%20C2.83264784,16.9257684%202.16614247,17.4769027%201.66626344,18.1933772%20Z%20M9.0533647,1.65934868%20L8.88673836,1.65934868%20C8.83119626,1.65934868%208.72011203,1.65934868%208.6645699,1.7144621%20C8.44240144,2.65139039%208.60902779,3.6434321%208.99782259,4.52524696%20C9.33107529,3.58831866%209.33107529,2.59627695%209.0533647,1.65934868%20L9.0533647,1.65934868%20Z%20M9.44215952,9.65079581%20L9.3866174,9.76102267%20L9.33107529,9.70590925%20C8.83119626,10.9735181%208.27577512,12.241127%207.66481183,13.4536224%20L7.77589607,13.3985089%20L7.77589607,13.5087358%20C8.99782259,13.0678284%2010.3308333,12.6820344%2011.5527599,12.4064672%20L11.4972178,12.3513538%20L11.6638441,12.3513538%20C10.8307124,11.5246524%2010.0531228,10.5877241%209.44215952,9.65079581%20L9.44215952,9.65079581%20Z%20M16.9958871,12.5718075%20C16.4960081,12.5718075%2016.0516712,12.5718075%2015.5517921,12.6820344%20C16.1072133,12.9576015%2016.6626344,13.0678284%2017.2180556,13.1229418%20C17.6068504,13.1780552%2017.9956452,13.1229418%2018.3288979,13.0127149%20C18.3288979,12.8473747%2018.1067294,12.5718075%2016.9958871,12.5718075%20Z'%20id='形状'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__image__illegal{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;color:#fff;background:#000;margin-bottom:4px}.plv-msg-item__image__illegal,.plv-msg-size-mini .plv-msg-item__image__illegal,.plv-msg-size-small .plv-msg-item__image__illegal,.plv-msg-size-medium .plv-msg-item__image__illegal{font-size:12px}.plv-msg-size-large .plv-msg-item__image__illegal{font-size:14px}.plv-msg-item__image__illegal__icon{display:flex;flex-shrink:0;font-size:30px!important;color:red}.plv-msg-item__image__placeholder{width:80px;height:80px;border-radius:4px;background-color:#404040;color:#202020;display:flex;align-items:center;justify-content:center;font-size:24px}.plv-msg-item__image__placeholder span{display:flex}.plv-msg-item__image-wrap{position:relative;display:inline-block;vertical-align:middle;max-width:100%;padding-bottom:5px}.plv-msg-item__container--loose-mode .plv-msg-item__image-wrap{padding-bottom:0}.plv-msg-item__image__img{display:block;border-radius:4px;object-fit:cover;max-width:100%}.plv-msg-item__image__img.zoom-in-cursor{cursor:zoom-in}.plv-msg-item__image__preview{position:absolute;right:4px;top:4px;font-size:24px;color:#fff;background:#00000080;border-radius:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;cursor:pointer}.plv-msg-item__image__preview span{display:flex}.plv-msg-item__image__large{position:absolute;top:8px;right:8px;height:16px;padding:0 4px;font-size:10px;line-height:16px;color:#fff;pointer-events:none;background:#0006;border-radius:2px}.plv-msg-item__motivation-like__content span{color:#ff5353}.plv-msg-item__redpaper-receive__content__nick{color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__redpaper-receive__content__nick{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__redpaper-receive__content__nick{color:#0006}.plv-msg-item__redpaper-receive__icon,.plv-msg-item__redpaper-receive__icon-rain{display:inline-block;width:16px;height:16px;margin-top:-2px;margin-right:4px;vertical-align:middle;background-repeat:no-repeat;background-size:contain}.plv-msg-item__redpaper-receive__icon{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cdefs%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svg0_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg1_20_11202/20_3972'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-6.666666368643458'%20y='-0.10526315603725142'%20width='14.333332737286916'%20height='1.210526312074503'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.2222222238779068'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svg2_20_11202/20_3975'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-6.666666368643458'%20y='-0.10526315603725142'%20width='14.333332737286916'%20height='1.210526312074503'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.2222222238779068'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svg3_20_11202/20_3974'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.06979811127199771'%20y='0'%20width='1.1395962225439955'%20height='1.4536879736655357'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.8065564036369324'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.2016391009092331'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg4_1_6661'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.85714387893677%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg5_20_11202/20_3973'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.1159997500181171'%20y='-1.2759972268641202'%20width='1.2319995000362343'%20height='3.5519944537282404'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.28355494141578674'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.1549234404164919'%20y2='-0.7055181265936135'%20id='master_svg6_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg7_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svg8_1_6651'%3e%3cstop%20offset='0%25'%20stop-color='%23FFCC56'%20stop-opacity='1'/%3e%3cstop%20offset='77.22564935684204%25'%20stop-color='%23FFF5D6'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%3e%3crect%20x='2.22222900390625'%20y='0.888885498046875'%20width='11.55555534362793'%20height='14.222222328186035'%20rx='1.7777777910232544'%20fill='url(%23master_svg0_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='7.999986410140991'%20cy='7.999986410140991'%20rx='2.444444417953491'%20ry='2.444444417953491'%20fill='%23E04023'%20fill-opacity='0.6000000238418579'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M2.22222900390625,6.666656494140625L2.22222900390625,7.199981494140625Q4.603109003906249,8.444436494140625,8.051309003906251,8.444436494140625Q11.49950900390625,8.444436494140625,13.77782900390625,7.199981494140625L13.77782900390625,6.666656494140625Q11.17110900390625,8.024226494140624,8.051309003906251,8.024226494140624Q4.93150900390625,8.024226494140624,2.22222900390625,6.666656494140625Z'%20fill='%23E04023'%20fill-opacity='0.6000000238418579'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg1_20_11202/20_3972)'%3e%3cellipse%20cx='13.177750654518604'%20cy='6.88887882232666'%20rx='0.06666667014360428'%20ry='4.222222328186035'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg2_20_11202/20_3975)'%3e%3cellipse%20cx='2.7333536818623543'%20cy='6.88887882232666'%20rx='0.06666667014360428'%20ry='4.222222328186035'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg3_20_11202/20_3974)'%3e%3cpath%20d='M2.22436517390625,4.888885498046875L2.22437201390625,6.666665498046875Q4.00214900390625,8.444445498046875,8.00214900390625,8.444445498046875Q12.00214900390625,8.444445498046875,13.77992900390625,6.666665498046875L13.77992900390625,4.888885498046875Q13.50212900390625,6.222215498046875,12.00214900390625,6.888885498046875Q10.05769900390625,7.555555498046875,8.00214900390625,7.555555498046875Q5.94659900390625,7.555555498046875,4.00214900390625,6.888885498046875Q2.61326100390625,6.222215498046875,2.22436517390625,4.888885498046875Z'%20fill='url(%23master_svg4_1_6661)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg5_20_11202/20_3973)'%3e%3cpath%20d='M3.111083984375,1.629639505859375L3.111083984375,2.222232505859375Q5.555523984375,1.925936505859375,7.999973984375,1.925936505859375Q10.444413984375,1.925936505859375,12.888863984375,2.222232505859375L12.888863984375,1.629639505859375Q10.444413984375,1.333343505859375,7.999973984375,1.333343505859375Q5.555523984375,1.333343505859375,3.111083984375,1.629639505859375Z'%20fill='url(%23master_svg6_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cg%3e%3cellipse%20cx='7.999986410140991'%20cy='7.777787923812866'%20rx='2.444444417953491'%20ry='2.444444417953491'%20fill='url(%23master_svg7_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='8'%20cy='7.77777099609375'%20rx='2'%20ry='2'%20fill='url(%23master_svg8_1_6651)'%20fill-opacity='1'/%3e%3cellipse%20cx='8'%20cy='7.77777099609375'%20rx='1.8888888880610466'%20ry='1.8888888880610466'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.2222222238779068'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20d='M9.13335701171875,7.998227705078125L9.13335701171875,8.358227705078125L8.64801701171875,8.358227705078125L8.64801701171875,9.352897705078124L8.26935701171875,9.352897705078124L8.26935701171875,8.358227705078125L7.69601701171875,8.358227705078125Q7.67735701171875,8.600897705078125,7.62135401171875,8.767567705078125Q7.56535401171875,8.934227705078126,7.45735401171875,9.075567705078125Q7.34935401171875,9.216897705078125,7.15735401171875,9.392897705078125L6.82935401171875,9.147567705078124Q7.00802001171875,9.003567705078126,7.10668701171875,8.891567705078124Q7.20535401171875,8.779567705078126,7.25468701171875,8.655567705078125Q7.30402001171875,8.531567705078125,7.32002001171875,8.358227705078125L6.79202001171875,8.358227705078125L6.79202001171875,7.998227705078125L7.33068701171875,7.998227705078125L7.33068701171875,7.422227705078125L6.93602001171875,7.422227705078125L6.93602001171875,7.062230705078125L8.98401701171875,7.062230705078125L8.98401701171875,7.422227705078125L8.64801701171875,7.422227705078125L8.64801701171875,7.998227705078125L9.13335701171875,7.998227705078125ZM7.70668701171875,7.998227705078125L8.26935701171875,7.998227705078125L8.26935701171875,7.422227705078125L7.70668701171875,7.422227705078125L7.70668701171875,7.995567705078125L7.70668701171875,7.998227705078125Z'%20fill='%23DC303A'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__redpaper-receive__icon-rain{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='18.58905029296875'%20height='17.573272705078125'%20viewBox='0%200%2018.58905029296875%2017.573272705078125'%3e%3cdefs%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svg0_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg1_20_10739/20_4023'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.07692441738604847'%20y='0'%20width='1.153848834772097'%20height='1.4305481224152945'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.33862942457199097'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.08465735614299774'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg2_1_6523'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.534247636795044%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg3_20_10739/20_4015'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='0'%20y='0'%20width='1'%20height='1'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.3319106101989746'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.9372549057006836%200%200%200%200%200.6235294342041016%200%200%200%200%200'/%3e%3cfeBlend%20mode='normal'%20in2='shape'%20result='effect1_innerShadow'/%3e%3c/filter%3e%3clinearGradient%20x1='1'%20y1='0.5'%20x2='0'%20y2='0.5'%20id='master_svg4_1_6559'%3e%3cstop%20offset='4.999992251396179%25'%20stop-color='%23EF8146'%20stop-opacity='1'/%3e%3cstop%20offset='15.716083347797394%25'%20stop-color='%23FA7928'%20stop-opacity='1'/%3e%3cstop%20offset='24.69201236963272%25'%20stop-color='%23FA6C28'%20stop-opacity='1'/%3e%3cstop%20offset='77.97441482543945%25'%20stop-color='%23FD8F53'%20stop-opacity='1'/%3e%3cstop%20offset='87.87466287612915%25'%20stop-color='%23FFA16F'%20stop-opacity='1'/%3e%3cstop%20offset='97.33433127403259%25'%20stop-color='%23EE881C'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.3835298717021942'%20y1='0.13416613638401031'%20x2='0.981461869027923'%20y2='0.608746080905715'%20id='master_svg5_1_6560'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD2C1'%20stop-opacity='1'/%3e%3cstop%20offset='99.99995231628418%25'%20stop-color='%23F66537'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0.03752145171165466'%20x2='0.5'%20y2='0.3540796935558319'%20id='master_svg6_1_6561'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB492'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFB492'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svg7_20_10739/20_4026'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.2940527193630767'%20y='-2.984771431213175'%20width='1.5881054387261533'%20height='6.96954286242635'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.24893297255039215'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.1851549418151888'%20y2='-0.6971024089747253'%20id='master_svg8_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg9_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svga_1_6571'%3e%3cstop%20offset='7.14285746216774%25'%20stop-color='%23FFB200'%20stop-opacity='1'/%3e%3cstop%20offset='93.57143044471741%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svgb_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgc_20_10739/20_3999'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.07692157753168327'%20y='0'%20width='1.1538431550633665'%20height='1.4197058963209996'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.23704059422016144'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.05926014855504036'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgd_1_6523'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.534247636795044%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='1'%20y1='0.5'%20x2='0'%20y2='0.5'%20id='master_svge_1_6607'%3e%3cstop%20offset='1.7226053401827812%25'%20stop-color='%23F65537'%20stop-opacity='1'/%3e%3cstop%20offset='18.621766567230225%25'%20stop-color='%23FD7C40'%20stop-opacity='1'/%3e%3cstop%20offset='34.12024676799774%25'%20stop-color='%23FA6C28'%20stop-opacity='1'/%3e%3cstop%20offset='69.14474964141846%25'%20stop-color='%23FF7446'%20stop-opacity='1'/%3e%3cstop%20offset='87.3401403427124%25'%20stop-color='%23FF9C75'%20stop-opacity='1'/%3e%3cstop%20offset='99.28570985794067%25'%20stop-color='%23F46F3B'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.27024340629577637'%20y1='0.4450797736644745'%20x2='1.0033274124741252'%20y2='0.5718225326001862'%20id='master_svgf_1_6608'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD3C2'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23F66329'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.8155937790870667'%20y1='0.8200788497924805'%20x2='0.47652875470424405'%20y2='0.7709331258102043'%20id='master_svgg_1_6609'%3e%3cstop%20offset='0%25'%20stop-color='%23F05A27'%20stop-opacity='0.5899999737739563'/%3e%3cstop%20offset='99.99991059303284%25'%20stop-color='%23F37641'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgh_20_10739/20_4010'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.4200598960190385'%20y='-4.156412245083039'%20width='1.840119792038077'%20height='9.312824490166077'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.24893297255039215'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.1957674475210263'%20y2='-0.694010781668311'%20id='master_svgi_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgj_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svgk_1_6571'%3e%3cstop%20offset='7.14285746216774%25'%20stop-color='%23FFB200'%20stop-opacity='1'/%3e%3cstop%20offset='93.57143044471741%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0'%20y1='0.5'%20x2='1'%20y2='0.5'%20id='master_svgl_1_6556'%3e%3cstop%20offset='1.4285714365541935%25'%20stop-color='%23FF6149'%20stop-opacity='1'/%3e%3cstop%20offset='16.792649030685425%25'%20stop-color='%23FF7243'%20stop-opacity='1'/%3e%3cstop%20offset='86.1494779586792%25'%20stop-color='%23FF553B'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FF7381'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgm_20_10739/20_3993'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-9.806891732571058'%20y='-0.1549420924752533'%20width='20.613783465142117'%20height='1.3098841849505067'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.25806429982185364'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svgn_20_10739/20_3987'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-7.845513612564852'%20y='-0.12395367755887216'%20width='16.691027225129705'%20height='1.2479073551177444'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.2064514458179474'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3cfilter%20id='master_svgo_20_10739/20_3990'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.06963419090195735'%20y='0'%20width='1.1392683818039147'%20height='1.3028756327169573'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.4996127486228943'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.12490318715572357'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.5%200%200%200%200%200%200%200%200%200%200%200%200%200%200.10000000149011612%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgp_1_6523'%3e%3cstop%20offset='6.428571790456772%25'%20stop-color='%23FFCEB1'%20stop-opacity='1'/%3e%3cstop%20offset='57.534247636795044%25'%20stop-color='%23F2DD74'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFF7D2'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgq_20_10739/20_3995'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='0'%20y='0'%20width='1'%20height='1'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0.3319106101989746'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.9372549057006836%200%200%200%200%200.6235294342041016%200%200%200%200%200'/%3e%3cfeBlend%20mode='normal'%20in2='shape'%20result='effect1_innerShadow'/%3e%3c/filter%3e%3clinearGradient%20x1='1'%20y1='0.5'%20x2='0'%20y2='0.5'%20id='master_svgr_1_6559'%3e%3cstop%20offset='4.999992251396179%25'%20stop-color='%23EF8146'%20stop-opacity='1'/%3e%3cstop%20offset='15.716083347797394%25'%20stop-color='%23FA7928'%20stop-opacity='1'/%3e%3cstop%20offset='24.69201236963272%25'%20stop-color='%23FA6C28'%20stop-opacity='1'/%3e%3cstop%20offset='77.97441482543945%25'%20stop-color='%23FD8F53'%20stop-opacity='1'/%3e%3cstop%20offset='87.87466287612915%25'%20stop-color='%23FFA16F'%20stop-opacity='1'/%3e%3cstop%20offset='97.33433127403259%25'%20stop-color='%23EE881C'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.3835298717021942'%20y1='0.13416613638401031'%20x2='0.9809827161165509'%20y2='0.6214046633691488'%20id='master_svgs_1_6560'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD2C1'%20stop-opacity='1'/%3e%3cstop%20offset='99.99995231628418%25'%20stop-color='%23F66537'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0.03752145171165466'%20x2='0.5'%20y2='0.3540796935558319'%20id='master_svgt_1_6561'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB492'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFB492'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgu_20_10739/20_3981'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.18041583962438412'%20y='-1.2073278988093024'%20width='1.3608316792487682'%20height='3.4146557976186047'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.24893297255039215'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.4108622074127197'%20y1='-0.7434080839157104'%20x2='1.4405981282047473'%20y2='-0.6017225501768877'%20id='master_svgv_1_6540'%3e%3cstop%20offset='0%25'%20stop-color='%23FFBFAD'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFBFAD'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgw_20_10739/20_3989'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-0.5612937040763659'%20y='-3.756131112258611'%20width='2.122587408152732'%20height='8.512262224517222'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='0.774458110332489'%20result='effect1_foregroundBlur'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svgx_1_6579'%3e%3cstop%20offset='2.857142873108387%25'%20stop-color='%23FFE785'%20stop-opacity='1'/%3e%3cstop%20offset='99.28571581840515%25'%20stop-color='%23FFE878'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='1'%20x2='0.5'%20y2='0'%20id='master_svgy_1_6571'%3e%3cstop%20offset='7.14285746216774%25'%20stop-color='%23FFB200'%20stop-opacity='1'/%3e%3cstop%20offset='93.57143044471741%25'%20stop-color='%23FFF2BC'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3cfilter%20id='master_svgz_20_10739/20_4027'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-1.8354906562573607'%20y='-1.6213303696183068'%20width='4.670981312514722'%20height='4.242660739236613'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.8627463579177856'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.7863100171089172%200%200%200%200%200.28769999742507935%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='master_svg10_20_10739/20_4013'%20filterUnits='objectBoundingBox'%20color-interpolation-filters='sRGB'%20x='-2.575539083180256'%20y='-2.2750329577233455'%20width='6.151078166360512'%20height='5.550065915446691'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='0'%20dx='0'/%3e%3cfeGaussianBlur%20stdDeviation='0.8627463579177856'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201%200%200%200%200%200.7863100171089172%200%200%200%200%200.28769999742507935%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg11_1_6582'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD432'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFD676'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='0.5'%20y1='0'%20x2='0.5'%20y2='1'%20id='master_svg12_1_6582'%3e%3cstop%20offset='0%25'%20stop-color='%23FFD432'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%23FFD676'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%20transform='matrix(0.9396926164627075,0.3420201539993286,-0.3420201539993286,0.9396926164627075,1.2238626035766629,-0.5262076119204835)'%3e%3cg%3e%3crect%20x='2.156801462173462'%20y='3.2161200046539307'%20width='4.297914028167725'%20height='5.447057247161865'%20rx='0.7741929292678833'%20fill='url(%23master_svg0_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg1_20_10739/20_4023)'%3e%3cpath%20d='M2.104707956173462,5.056654131431579L2.104707956173462,4.680484131431579Q2.104707956173462,4.61378013143158,2.117721287173462,4.54835813143158Q2.1307345871734618,4.48293513143158,2.156261187173462,4.421309131431579Q2.181787787173462,4.35968213143158,2.218847087173462,4.304220131431579Q2.255905087173462,4.24875713143158,2.303072087173462,4.20159013143158Q2.350239087173462,4.15442313143158,2.405702087173462,4.11736413143158Q2.461164087173462,4.08030553143158,2.522791087173462,4.05477893143158Q2.5844180871734617,4.02925233143158,2.649840087173462,4.01623903143158Q2.715263087173462,4.003225684131579,2.781967087173462,4.003225684131579L5.8295570871734625,4.003225684131579Q5.896257087173462,4.003225684131579,5.961677087173462,4.01623903143158Q6.027107087173462,4.02925233143158,6.088727087173462,4.05477893143158Q6.150357087173462,4.08030553143158,6.205817087173462,4.11736413143158Q6.261287087173462,4.15442313143158,6.3084470871734615,4.20159013143158Q6.355617087173462,4.24875713143158,6.392677087173462,4.304220131431579Q6.429737087173462,4.35968213143158,6.455257087173462,4.421309131431579Q6.480787087173462,4.48293513143158,6.493797087173462,4.54835813143158Q6.506817087173462,4.61378013143158,6.506817087173462,4.680484131431579L6.506817087173462,5.05662413143158Q6.3041770871734615,5.1786941314315795,6.054397087173462,5.275684131431579Q5.804607087173462,5.37266413143158,5.519457087173462,5.439984131431579Q5.234317087173462,5.507294131431579,4.927257087173462,5.54177413143158Q4.620207087173462,5.576244131431579,4.305727087173462,5.576244131431579Q3.991267087173462,5.576244131431579,3.684227087173462,5.54177413143158Q3.377187087173462,5.50730413143158,3.0920430871734617,5.43999413143158Q2.8069050871734618,5.37268413143158,2.557125087173462,5.27570413143158Q2.307345087173462,5.178724131431579,2.104707956173462,5.056654131431579Z'%20fill-rule='evenodd'%20fill='url(%23master_svg2_1_6523)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg3_20_10739/20_4015)'%3e%3cpath%20d='M2.161348581314087,4.059817424575805C2.161348581314087,3.5889854245758057,2.543033581314087,3.2073004245758057,3.0138655813140867,3.2073004245758057L5.5982685813140876,3.2073004245758057C6.068998581314087,3.2073004245758057,6.450598581314087,3.5889044245758055,6.450598581314087,4.059637424575806C6.450598581314087,4.318430424575806,6.335728581314087,4.570500424575806,6.112008581314087,4.700590424575806C5.605668581314086,4.995010424575805,4.981608581314087,5.152730424575806,4.305718581314087,5.152730424575806C3.630068581314087,5.152730424575806,3.006181581314087,4.995110424575806,2.499910581314087,4.700860424575806C2.276048581314087,4.570750424575806,2.161348581314087,4.318740424575806,2.161348581314087,4.059817424575805'%20fill-rule='evenodd'%20fill='url(%23master_svg4_1_6559)'%20fill-opacity='1'/%3e%3cpath%20d='M2.161348581314087,4.059817424575805C2.161348581314087,3.5889854245758057,2.543033581314087,3.2073004245758057,3.0138655813140867,3.2073004245758057L5.5982685813140876,3.2073004245758057C6.068998581314087,3.2073004245758057,6.450598581314087,3.5889044245758055,6.450598581314087,4.059637424575806C6.450598581314087,4.318430424575806,6.335728581314087,4.570500424575806,6.112008581314087,4.700590424575806C5.605668581314086,4.995010424575805,4.981608581314087,5.152730424575806,4.305718581314087,5.152730424575806C3.630068581314087,5.152730424575806,3.006181581314087,4.995110424575806,2.499910581314087,4.700860424575806C2.276048581314087,4.570750424575806,2.161348581314087,4.318740424575806,2.161348581314087,4.059817424575805'%20fill-rule='evenodd'%20fill='url(%23master_svg5_1_6560)'%20fill-opacity='0.5099999904632568'/%3e%3cpath%20d='M2.161348581314087,4.059817424575805C2.161348581314087,3.5889854245758057,2.543033581314087,3.2073004245758057,3.0138655813140867,3.2073004245758057L5.5982685813140876,3.2073004245758057C6.068998581314087,3.2073004245758057,6.450598581314087,3.5889044245758055,6.450598581314087,4.059637424575806C6.450598581314087,4.318430424575806,6.335728581314087,4.570500424575806,6.112008581314087,4.700590424575806C5.605668581314086,4.995010424575805,4.981608581314087,5.152730424575806,4.305718581314087,5.152730424575806C3.630068581314087,5.152730424575806,3.006181581314087,4.995110424575806,2.499910581314087,4.700860424575806C2.276048581314087,4.570750424575806,2.161348581314087,4.318740424575806,2.161348581314087,4.059817424575805'%20fill-rule='evenodd'%20fill='url(%23master_svg6_1_6561)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg7_20_10739/20_4026)'%3e%3cpath%20d='M2.612856149673462,3.7200822351226805L2.612856149673462,3.942485235122681Q3.459415149673462,3.8312842351226806,4.305976149673462,3.8312842351226806Q5.1525361496734625,3.8312842351226806,5.999096149673462,3.942485235122681L5.999096149673462,3.7200822351226805Q5.1525361496734625,3.6088812351226807,4.305976149673462,3.6088812351226807Q3.459415149673462,3.6088812351226807,2.612856149673462,3.7200822351226805Z'%20fill='url(%23master_svg8_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cellipse%20cx='4.305768251419067'%20cy='5.705425679683685'%20rx='0.792548418045044'%20ry='0.7845436930656433'%20fill='%23FF9D41'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='4.3087238073349'%20cy='5.5734686851501465'%20rx='0.8860992193222046'%20ry='0.8771350383758545'%20fill='url(%23master_svg9_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='4.306034564971924'%20cy='5.574615180492401'%20rx='0.7520852088928223'%20ry='0.7444619536399841'%20fill='url(%23master_svga_1_6571)'%20fill-opacity='1'/%3e%3cellipse%20cx='4.306034564971924'%20cy='5.574615180492401'%20rx='0.7271045707166195'%20ry='0.7194813154637814'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.04996127635240555'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20transform='matrix(0.9396926164627075,0.3420201539993286,-0.3420201539993286,0.9396926164627075,1.9044443850914234,-4.3697179161299715)'%3e%3cg%3e%3crect%20x='13.379412293434143'%20y='3.222419261932373'%20width='3.008650779724121'%20height='3.91159987449646'%20rx='0.7741929292678833'%20fill='url(%23master_svgb_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgc_20_10739/20_3999)'%3e%3cpath%20d='M13.342928528410706,4.543821618682861L13.342928528410706,4.261423618682861Q13.342928528410706,4.214730618682862,13.352037869410706,4.1689346186828615Q13.361147169410705,4.1231396186828615,13.379015769410705,4.0800006186828615Q13.396884369410705,4.036861618682861,13.422825569410705,3.998038618682861Q13.448766669410706,3.959214618682861,13.481783669410705,3.9261976186828615Q13.514800669410706,3.8931806186828615,13.553624669410706,3.8672396186828615Q13.592447669410706,3.8412984186828614,13.635586669410706,3.8234298186828615Q13.678725669410706,3.805561218682861,13.724520669410705,3.7964518886828613Q13.770316669410706,3.787342548682861,13.817009669410705,3.787342548682861L15.950432669410706,3.787342548682861Q15.997122669410706,3.787342548682861,16.042922669410707,3.7964518886828613Q16.088722669410707,3.805561218682861,16.131852669410705,3.8234298186828615Q16.174992669410706,3.8412984186828614,16.213822669410707,3.8672396186828615Q16.252642669410704,3.8931806186828615,16.285662669410705,3.9261976186828615Q16.318672669410706,3.959214618682861,16.344622669410704,3.998038618682861Q16.370562669410706,4.036861618682861,16.388432669410705,4.0800006186828615Q16.406292669410707,4.1231396186828615,16.415402669410707,4.1689346186828615Q16.424512669410706,4.214730618682862,16.424512669410706,4.261423618682861L16.424512669410706,4.543708618682861Q16.282662669410705,4.631383618682861,16.107802669410706,4.701037618682861Q15.932942669410705,4.7706906186828615,15.733322669410706,4.819034618682862Q15.533702669410705,4.867384618682861,15.318742669410705,4.892144618682861Q15.103782669410705,4.9168946186828615,14.883632669410705,4.9168946186828615Q14.663512669410705,4.9168946186828615,14.448582669410705,4.892144618682861Q14.233662669410705,4.867394618682861,14.034067669410705,4.819064618682861Q13.834473669410706,4.770737618682861,13.659626669410706,4.701104618682861Q13.484779669410706,4.631471618682861,13.342928528410706,4.543821618682861Z'%20fill-rule='evenodd'%20fill='url(%23master_svgd_1_6523)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M13.382219910934143,3.831276254119873C13.382219910934143,3.491171254119873,13.657928980934143,3.215461254119873,13.998033980934142,3.215461254119873L15.768961980934144,3.215461254119873C16.109081980934143,3.215461254119873,16.384801980934142,3.491182254119873,16.384801980934142,3.831301254119873C16.384801980934142,4.015630254119873,16.306241980934143,4.194166254119873,16.147901980934144,4.288541254119873C15.793451980934144,4.499791254119873,15.356051980934144,4.613241254119873,14.883551980934143,4.613241254119873C14.411011980934143,4.613241254119873,13.973583980934142,4.499781254119873,13.619127980934143,4.288501254119873C13.460810180934143,4.194131254119873,13.382219910934143,4.015585254119873,13.382219910934143,3.831276254119873'%20fill-rule='evenodd'%20fill='url(%23master_svge_1_6607)'%20fill-opacity='1'/%3e%3cpath%20d='M13.382219910934143,3.831276254119873C13.382219910934143,3.491171254119873,13.657928980934143,3.215461254119873,13.998033980934142,3.215461254119873L15.768961980934144,3.215461254119873C16.109081980934143,3.215461254119873,16.384801980934142,3.491182254119873,16.384801980934142,3.831301254119873C16.384801980934142,4.015630254119873,16.306241980934143,4.194166254119873,16.147901980934144,4.288541254119873C15.793451980934144,4.499791254119873,15.356051980934144,4.613241254119873,14.883551980934143,4.613241254119873C14.411011980934143,4.613241254119873,13.973583980934142,4.499781254119873,13.619127980934143,4.288501254119873C13.460810180934143,4.194131254119873,13.382219910934143,4.015585254119873,13.382219910934143,3.831276254119873'%20fill-rule='evenodd'%20fill='url(%23master_svgf_1_6608)'%20fill-opacity='0.5'/%3e%3cpath%20d='M13.382219910934143,3.831276254119873C13.382219910934143,3.491171254119873,13.657928980934143,3.215461254119873,13.998033980934142,3.215461254119873L15.768961980934144,3.215461254119873C16.109081980934143,3.215461254119873,16.384801980934142,3.491182254119873,16.384801980934142,3.831301254119873C16.384801980934142,4.015630254119873,16.306241980934143,4.194166254119873,16.147901980934144,4.288541254119873C15.793451980934144,4.499791254119873,15.356051980934144,4.613241254119873,14.883551980934143,4.613241254119873C14.411011980934143,4.613241254119873,13.973583980934142,4.499781254119873,13.619127980934143,4.288501254119873C13.460810180934143,4.194131254119873,13.382219910934143,4.015585254119873,13.382219910934143,3.831276254119873'%20fill-rule='evenodd'%20fill='url(%23master_svgg_1_6609)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgh_20_10739/20_4010)'%3e%3cpath%20d='M13.698641419410706,3.584561959588623L13.698641419410706,3.744271859588623Q14.291254419410706,3.664416859588623,14.883871419410706,3.664416859588623Q15.476481419410705,3.664416859588623,16.069091419410704,3.744271859588623L16.069091419410704,3.584561959588623Q15.476481419410705,3.504706859588623,14.883871419410706,3.504706859588623Q14.291254419410706,3.504706859588623,13.698641419410706,3.584561959588623Z'%20fill='url(%23master_svgi_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cellipse%20cx='14.883883595466614'%20cy='5.009687304496765'%20rx='0.5548043251037598'%20ry='0.5633906126022339'%20fill='%23FF9D41'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14.883626461029053'%20cy='4.915965139865875'%20rx='0.6324738264083862'%20ry='0.642275869846344'%20fill='url(%23master_svgj_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14.883639454841614'%20cy='4.915693163871765'%20rx='0.5548043251037598'%20ry='0.5633906126022339'%20fill='url(%23master_svgk_1_6571)'%20fill-opacity='1'/%3e%3cellipse%20cx='14.883639454841614'%20cy='4.915693163871765'%20rx='0.529823686927557'%20ry='0.5384099744260311'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.04996127635240555'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%20transform='matrix(0.9458545446395874,0.32459065318107605,-0.3307768702507019,0.9437089562416077,1.8386360514137579,-2.010214284872344)'%3e%3cg%3e%3crect%20x='6.959852337837219'%20y='4.419206619262695'%20width='7.174819469451904'%20height='9.072142601013184'%20rx='1.2903214693069458'%20fill='url(%23master_svgl_1_6556)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(1,0.0019458807073533535,0.0046019889414310455,1,-0.026204788245316024,-0.026293414145363236)'%20filter='url(%23master_svgm_20_10739/20_3993)'%3e%3cellipse%20cx='13.564975559711456'%20cy='9.02533745765686'%20rx='0.052629172801971436'%20ry='3.331106424331665'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(1,0.0019458807073533535,0.0046019889414310455,1,-0.030963369522858386,-0.014255259195146586)'%20filter='url(%23master_svgn_20_10739/20_3987)'%3e%3cellipse%20cx='7.378494083881378'%20cy='10.059364557266235'%20rx='0.052629172801971436'%20ry='3.331106424331665'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M7.044267773628235,7.27464485168457L7.044267773628235,7.6552888516845705Q8.487567773628236,8.54347485168457,10.577867773628235,8.54347485168457Q12.668177773628235,8.54347485168457,14.049267773628234,7.6552888516845705L14.049267773628234,7.27464485168457Q12.469097773628235,8.24356585168457,10.577867773628235,8.24356585168457Q8.686637773628235,8.24356585168457,7.044267773628235,7.27464485168457Z'%20fill='%23E04023'%20fill-opacity='0.4000000059604645'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgo_20_10739/20_3990)'%3e%3cpath%20d='M6.960037347798352,7.179327550888061L6.960037349398352,5.9688025508880616Q6.960037349498352,5.870387550888061,6.979237215498352,5.773863550888062Q6.998437015498352,5.677339550888061,7.036098815498352,5.586415550888061Q7.073760315498352,5.495492550888062,7.128437315498352,5.413662550888062Q7.183113315498352,5.331833550888062,7.252703315498352,5.262243550888061Q7.322293315498352,5.192653550888061,7.404123315498352,5.137977550888062Q7.485952315498352,5.083300550888062,7.576875315498352,5.045639050888061Q7.667799315498352,5.007977250888062,7.764323315498352,4.9887773508880615Q7.8608473154983525,4.9695775508880615,7.959263315498352,4.9695775508880615L13.135626315498353,4.9695775508880615Q13.234046315498352,4.9695775508880615,13.330566315498352,4.9887773508880615Q13.427096315498353,5.007977250888062,13.518016315498352,5.045639050888061Q13.608936315498351,5.083300550888062,13.690766315498351,5.137977550888062Q13.772596315498351,5.192653550888061,13.842186315498353,5.262243550888061Q13.911776315498352,5.331833550888062,13.966456315498352,5.413662550888062Q14.021136315498353,5.495492550888062,14.058796315498352,5.586415550888061Q14.09645631549835,5.677339550888061,14.115656315498352,5.773863550888062Q14.134856315498352,5.870387550888061,14.134856315498352,5.9688025508880616L14.134856315498352,7.179327550888061Q13.970216315498352,7.306907550888061,13.785316315498353,7.422067550888062Q13.600426315498353,7.537227550888062,13.397476315498352,7.638587550888062Q13.19452631549835,7.739947550888061,12.975916315498353,7.826317550888062Q12.75730631549835,7.912687550888061,12.525626315498352,7.983037550888062Q12.293936315498353,8.05339755088806,12.051926315498353,8.106907550888062Q11.809916315498352,8.160407550888062,11.560436315498352,8.196437550888062Q11.310946315498352,8.232467550888062,11.056956315498352,8.250587550888062Q10.802956315498353,8.268707550888061,10.547446315498352,8.268707550888061Q10.291936315498353,8.268707550888061,10.037936315498353,8.250587550888062Q9.783936315498352,8.232467550888062,9.534456315498351,8.196437550888062Q9.284976315498351,8.160407550888062,9.042966315498353,8.106907550888062Q8.800956315498352,8.05339755088806,8.569266315498352,7.983037550888062Q8.337586315498353,7.912687550888061,8.118976315498353,7.826317550888062Q7.900368315498352,7.739947550888061,7.6974173154983525,7.638587550888062Q7.494466315498352,7.537227550888062,7.309574315498352,7.422067550888062Q7.124682315498352,7.306917550888062,6.960037347798352,7.179327550888061Z'%20fill-rule='evenodd'%20fill='url(%23master_svgp_1_6523)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgq_20_10739/20_3995)'%3e%3cpath%20d='M6.959512828102453,5.710251301574707C6.9595128290024535,4.997623301574707,7.537209312202454,4.419926643574707,8.249832312202454,4.419926644574707L12.844012312202453,4.419926650574707C13.556632312202453,4.419926651574707,14.134332312202453,4.997623301574707,14.134332312202453,5.710251301574707C14.134332312202453,6.2901213015747075,13.868122312202454,6.861581301574708,13.347842312202452,7.117621301574707C12.550152312202453,7.510201301574707,11.590122312202453,7.718571301574707,10.547352312202454,7.718571301574707C9.504212312202453,7.718571301574707,8.543902312202453,7.510061301574707,7.746078312202454,7.117251301574707C7.226196312202454,6.861291301574707,6.959512827402453,6.289731301574707,6.959512828102453,5.710251301574707'%20fill-rule='evenodd'%20fill='url(%23master_svgr_1_6559)'%20fill-opacity='1'/%3e%3cpath%20d='M6.959512828102453,5.710251301574707C6.9595128290024535,4.997623301574707,7.537209312202454,4.419926643574707,8.249832312202454,4.419926644574707L12.844012312202453,4.419926650574707C13.556632312202453,4.419926651574707,14.134332312202453,4.997623301574707,14.134332312202453,5.710251301574707C14.134332312202453,6.2901213015747075,13.868122312202454,6.861581301574708,13.347842312202452,7.117621301574707C12.550152312202453,7.510201301574707,11.590122312202453,7.718571301574707,10.547352312202454,7.718571301574707C9.504212312202453,7.718571301574707,8.543902312202453,7.510061301574707,7.746078312202454,7.117251301574707C7.226196312202454,6.861291301574707,6.959512827402453,6.289731301574707,6.959512828102453,5.710251301574707'%20fill-rule='evenodd'%20fill='url(%23master_svgs_1_6560)'%20fill-opacity='0.5099999904632568'/%3e%3cpath%20d='M6.959512828102453,5.710251301574707C6.9595128290024535,4.997623301574707,7.537209312202454,4.419926643574707,8.249832312202454,4.419926644574707L12.844012312202453,4.419926650574707C13.556632312202453,4.419926651574707,14.134332312202453,4.997623301574707,14.134332312202453,5.710251301574707C14.134332312202453,6.2901213015747075,13.868122312202454,6.861581301574708,13.347842312202452,7.117621301574707C12.550152312202453,7.510201301574707,11.590122312202453,7.718571301574707,10.547352312202454,7.718571301574707C9.504212312202453,7.718571301574707,8.543902312202453,7.510061301574707,7.746078312202454,7.117251301574707C7.226196312202454,6.861291301574707,6.959512827402453,6.289731301574707,6.959512828102453,5.710251301574707'%20fill-rule='evenodd'%20fill='url(%23master_svgt_1_6561)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svgu_20_10739/20_3981)'%3e%3cpath%20d='M7.787744641304016,4.96941869152832L7.787744641304016,5.519245691528321Q9.167514641304017,5.24433269152832,10.547294641304017,5.24433269152832Q11.927064641304016,5.24433269152832,13.306834641304016,5.519245691528321L13.306834641304016,4.96941869152832Q11.927064641304016,4.69450569152832,10.547294641304017,4.69450569152832Q9.167514641304017,4.69450569152832,7.787744641304016,4.96941869152832Z'%20fill='url(%23master_svgv_1_6540)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(1,0,0,-1,0,26.13998794555664)'%20filter='url(%23master_svgw_20_10739/20_3989)'%3e%3cpath%20d='M7.736055493354797,13.34490697277832L7.736055493354797,13.89473397277832Q9.115825493354798,13.61982097277832,10.495605493354798,13.61982097277832Q11.875375493354797,13.61982097277832,13.255145493354798,13.89473397277832L13.255145493354798,13.34490697277832Q11.875375493354797,13.06999397277832,10.495605493354798,13.06999397277832Q9.115825493354798,13.06999397277832,7.736055493354797,13.34490697277832Z'%20fill='%23EB4414'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cellipse%20cx='10.546592354774475'%20cy='8.177485466003418'%20rx='1.273636817932129'%20ry='1.3176321983337402'%20fill='%23FF9D41'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='10.546767830848694'%20cy='7.957697868347168'%20rx='1.273636817932129'%20ry='1.3176321983337402'%20fill='url(%23master_svgx_1_6579)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='10.546992897987366'%20cy='7.957941174507141'%20rx='1.0613641738891602'%20ry='1.0980268716812134'%20fill='url(%23master_svgy_1_6571)'%20fill-opacity='1'/%3e%3cellipse%20cx='10.546992897987366'%20cy='7.957941174507141'%20rx='1.0363835357129574'%20ry='1.0730462335050106'%20fill-opacity='0'%20stroke-opacity='0.30000001192092896'%20stroke='%23E44224'%20fill='none'%20stroke-width='0.04996127635240555'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20filter='url(%23master_svgz_20_10739/20_4027)'%3e%3cpath%20d='M14.12067186832428,11.913696787109375L14.53336286832428,12.088106787109375C14.71178386832428,12.163506787109375,14.84837086832428,12.313076787109376,14.90730686832428,12.497586787109375L15.06073786832428,12.977946787109374L15.19991186832428,12.510376787109376C15.257051868324279,12.318416787109374,15.397811868324279,12.162516787109375,15.58295186832428,12.086116787109376L16.00081186832428,11.913696787109375L15.60343186832428,11.765134787109375C15.40643186832428,11.691484787109374,15.25599186832428,11.528836787109375,15.19789186832428,11.326702787109374L15.06073786832428,10.849456787109375L14.90967686832428,11.339286787109375C14.84956786832428,11.534196787109375,14.70319086832428,11.690651787109376,14.51270986832428,11.763588787109375L14.12067186832428,11.913696787109375Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20filter='url(%23master_svg10_20_10739/20_4013)'%3e%3cpath%20d='M5.490987420082092,3.346673318359375L5.704328420082092,3.436831318359375C5.882749420082092,3.512231318359375,6.019336420082093,3.661796318359375,6.078272420082092,3.846316318359375L6.160937420082092,4.105116318359375L6.234166420082092,3.859106318359375C6.291305420082092,3.667146318359375,6.4320604200820926,3.5112403183593752,6.617207420082092,3.434846318359375L6.830897420082092,3.346673318359375L6.637677420082092,3.2744383183593753C6.440683420082093,3.200788318359375,6.2902404200820925,3.038141318359375,6.232148420082092,2.836007318359375L6.160937420082092,2.588226318359375L6.080642420082093,2.848591318359375C6.020533420082092,3.043500318359375,5.874156420082092,3.199956318359375,5.683675420082093,3.272892318359375L5.490987420082092,3.346673318359375Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(0.9297322630882263,0.3682362139225006,-0.3682362139225006,0.9297322630882263,1.7285465812319458,-4.092033285354379)'%3e%3cpath%20d='M12.00601911051178,4.974274814453125C12.00601911051178,5.135994814453126,11.91207711051178,5.2670948144531256,11.79619411051178,5.2670948144531256C11.68031171051178,5.2670948144531256,11.58637011051178,5.135994814453126,11.58637011051178,4.974274814453125Q11.58637011051178,4.812554814453125,11.87158911051178,2.483184814453125Q12.00601911051178,4.812554814453125,12.00601911051178,4.974274814453125Z'%20fill='url(%23master_svg11_1_6582)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%20transform='matrix(0.9297322630882263,0.3682362139225006,-0.3682362139225006,0.9297322630882263,3.5746984087872775,-0.13734944612412292)'%3e%3cpath%20d='M2.5668864200820924,12.786302080078125C2.5668864200820924,12.948022080078125,2.4729444200820923,13.079122080078125,2.3570614200820925,13.079122080078125C2.2411790200820922,13.079122080078125,2.1472374200820923,12.948022080078125,2.1472374200820923,12.786302080078125Q2.1472374200820923,12.624572080078124,2.3570614200820925,9.297882080078125Q2.5668864200820924,12.624572080078124,2.5668864200820924,12.786302080078125Z'%20fill='url(%23master_svg12_1_6582)'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.plv-msg-item__redpaper-receive__highlight{color:#ffd16b}.plv-msg-item__reward__text{line-height:20px;color:#ff9f45;margin-left:4px}.plv-msg-item__reward__img{display:inline-block;width:20px;height:20px;margin-top:-4px;margin-left:4px;vertical-align:middle;background-repeat:no-repeat;background-size:100% 100%;object-fit:contain}.plv-simple-msg-item__emotion,.plv-simple-msg-item__image{max-width:60px;max-height:45px;vertical-align:text-top;cursor:pointer}.plv-simple-msg-item__speak{word-break:break-word}.plv-simple-msg-item__speak .plv-emotion-img{width:24px!important;height:24px!important;margin-top:-2px}.plv-simple-msg-item{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis;overflow:hidden}.plv-simple-msg-item__avatar{display:inline-block;width:16px;height:16px;margin-right:4px;vertical-align:middle;background-size:100% 100%;border-radius:50%;transform:translateY(-1px)}.plv-msg-item__speak--over-style .plv-msg-item__speak__content__inner{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;text-overflow:ellipsis;overflow:hidden}.plv-msg-item__speak__content{white-space:pre-wrap;word-break:break-word}.plv-msg-item__speak__content a{color:#78a7ed!important}.plv-msg-item__speak__content .plv-emotion-img{width:22px!important;height:22px!important;margin-top:-1px}.plv-msg-item__speak__bottom{position:relative;width:100%;padding-top:3px;margin-top:6px;color:#0006}.plv-msg-item__speak__bottom,.plv-msg-size-mini .plv-msg-item__speak__bottom,.plv-msg-size-small .plv-msg-item__speak__bottom,.plv-msg-size-medium .plv-msg-item__speak__bottom{font-size:12px}.plv-msg-size-large .plv-msg-item__speak__bottom{font-size:14px}.plv-msg-item__speak__bottom:before{position:absolute;top:0;left:0;width:100%;height:1px;pointer-events:none;content:"";background-color:currentColor;opacity:.2}.pwc-skin-color-mode--dark .plv-msg-item__speak__bottom{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__speak__bottom{color:#0006}.plv-msg-item__speak__bottom__icon{display:inline-flex;margin-right:4px;vertical-align:middle;border-radius:2px;transform:translateY(-2px);font-size:16px}.plv-msg-item__speak__bottom--overlength{display:flex;align-items:center}.plv-msg-item__speak__bottom__item{position:relative;flex:1;text-align:center;cursor:pointer}.plv-msg-item__speak__bottom__item:before{position:absolute;top:50%;left:0;width:1px;height:15px;content:"";background:currentColor;opacity:.2;transform:translateY(-50%)}.plv-msg-item__speak__bottom__item:first-of-type:before{display:none}.plv-msg-item__speak__quote{position:relative;margin-bottom:4px;color:#0006}.pwc-skin-color-mode--dark .plv-msg-item__speak__quote{color:#fff9}.pwc-skin-color-mode--light .plv-msg-item__speak__quote{color:#0006}.plv-msg-item__speak__quote,.plv-msg-size-mini .plv-msg-item__speak__quote,.plv-msg-size-small .plv-msg-item__speak__quote,.plv-msg-size-medium .plv-msg-item__speak__quote{font-size:12px}.plv-msg-size-large .plv-msg-item__speak__quote{font-size:14px}.plv-msg-item__speak__quote:after{display:block;width:100%;height:1px;pointer-events:none;content:"";background-color:currentColor;opacity:.2;margin-top:4px}.plv-msg-item__speak__quote__content{padding-left:6px;position:relative}.plv-msg-item__speak__quote__content:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:2px;border-radius:2px;background:var(--special-color)}.plv-msg-item__speak__quote__content .plv-simple-msg-item__nick{color:var(--special-color)}.plv-msg-item__container--loose-mode .plv-msg-item__speak__bottom{padding-top:8px}.plv-msg-item__container--loose-mode .plv-msg-item__speak__quote{margin-bottom:8px}.plv-msg-item__speak__control{height:100%;display:flex;flex-shrink:0;align-items:flex-end;padding-bottom:8px}.plv-msg-item__speak__translate-icon{width:16px;height:16px;border-radius:2px;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;color:#333;background-color:#3333}.plv-msg-item__speak__translate-icon span{display:flex;font-size:16px}.pwc-skin-color-mode--dark .plv-msg-item__speak__translate-icon{color:#fff;background-color:#fff3}.pwc-skin-color-mode--light .plv-msg-item__speak__translate-icon{color:#333;background-color:#3333}.plv-msg-item__system-prefix{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:16px;padding:2px 6px;margin-right:4px;font-size:10px;line-height:16px;border-radius:20px;transform:translateY(-1px);background-color:#0000001a}.pwc-skin-color-mode--dark .plv-msg-item__system-prefix{background-color:#fff3}.pwc-skin-color-mode--light .plv-msg-item__system-prefix{background-color:#0000001a}.plv-msg-item__system__text{color:#000c}.pwc-skin-color-mode--dark .plv-msg-item__system__text{color:#fff}.pwc-skin-color-mode--light .plv-msg-item__system__text{color:#000c}.plv-msg-item__time{margin:12px 0;line-height:17px;text-align:center}.plv-msg-item__time,.plv-msg-size-mini .plv-msg-item__time,.plv-msg-size-small .plv-msg-item__time,.plv-msg-size-medium .plv-msg-item__time{font-size:12px}.plv-msg-size-large .plv-msg-item__time{font-size:14px}.plv-msg-item__content{position:relative}.plv-msg-item__content.is-hover-highlight:hover{background:#0000000f}.pwc-skin-color-mode--dark .plv-msg-item__content.is-hover-highlight:hover{background:#ffffff0f}.pwc-skin-color-mode--light .plv-msg-item__content.is-hover-highlight:hover{background:#0000000f}.plv-msg-item:first-of-type .plv-msg-item__container{padding-top:var(--container-top-padding)!important}.plv-msg-item:last-of-type .plv-msg-item__container{padding-bottom:var(--container-bottom-padding)!important}.plv-chat-message-list{position:relative;height:100%}.plv-chat-message-list__container{position:relative;box-sizing:border-box;height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-list__container{color:#fff9}.pwc-skin-color-mode--light .plv-chat-message-list__container{color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-chat-message-list__container::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-chat-message-list__container::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-chat-message-list__container.is-hide-scrollbar::-webkit-scrollbar{display:none}.plv-chat-message-list__more-msg{position:absolute;bottom:0;left:16px;height:24px;padding:0 8px;font-size:14px;line-height:24px;color:#ffa611;background-color:#fff;border-radius:12px;cursor:pointer}.plv-chat-message-list__tips{font-size:14px;padding:4px 16px;color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-list__tips{color:#fff9}.pwc-skin-color-mode--light .plv-chat-message-list__tips{color:#0006}.plv-chat-message-list__tips:first-of-type{padding-top:var(--container-top-padding)!important}.plv-chat-message-list__tips:last-of-type{padding-bottom:var(--container-bottom-padding)!important}.plv-chat-message-list__loading{width:100%;height:32px;overflow:hidden}.plv-chat-message-list__loading:after{display:block;width:32px;height:32px;margin:0 auto;content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABgCAYAAACdSWXJAAAGuklEQVR4Xu3dS2gdVRgA4P+fY3KDgWqsD8RQU0WQZFPvw1BcKLiKUknBSmuSbpQq3fhYVV14XfhY+dgULXbTNLZYocGgWQm6kBLvw2xSBNHGUhEftSpEco1nfjn1TplOZu6dxzlnZpKT3eXOnXPPd/77n/+cO3eCYP60CKCWVkwjkDloIpLynhCRsjS+UjoVt0OyUMO2nya+dmjduEGDoBtdG3RWgL3wusCVQ2cVWDe4Uui8IDvoKqNbGXTekFVjG2hPDlEV1Uqg8xrNKqNaOnTekVVhS4XeKMgqsBNBbzTYbivMJPk7FPRmA+0GHqcG7whtgKORd4r4QGiDHA25W173hTbI8ZA7YRvoZKa+r/ZLIQY6LeispI1qtRqqIvI6VavVTHyz4o3qdZ3JAnRcZAc9C9gdodNGTgqcteh2Y18V0WlAy8YNSrlpRHlmoKMg79ixYwtj7CAiPiUwieg9zvnhxcXFv8LOZ7qxMwEdBVlAlkqlQ4hYJaIe8RgR14io2mg03ggLLY7TiZ0qdFRgB7FcLp8jom1uVEQ8X6/Xt0eB1jlh+kLryM9xkdsRzf1AG40GiwOtK7od7CuToWroJMiqoHVga4VOiqwSWjW2NmgZyKqhVWJrgZaFrANaFbZyaJnIuqBVYOcG+uzZs5cn7P3793/vV94dO3bsDvH88PCwlM0k2XW2Umh3NI+Ojva0Wq2dlmWVGGN/A8DntVrtWwCwu5VlDrI4bmJi4hBj7GX3goVz/srMzMyVBUtIbKtSqdwFAA9wzq+1bbtRKBTOLCwsrKmosZVBe1NGsVh8DBHfRsQbAEDUwj9yzt8dHBx8Z25uzrc2Fh12I4vH4+PjW/r7+w8yxg6Ix5zzIysrK4dnZ2evWoJ3wt61axe7cOHCM4yxpwHgNgBgRPQ7ET3bbDY/dA+8rMjWAj00NNS7devW8wBwk0/0NgHgBSI602w2V9zPe5G7Rb73eS92sVjsR8SdAPA6ABR9zvfrxYsXty0vL/8jO6q1QFcqlSHbtr8LgkJEEU0fA8DR6enpMwIoKbLTlnOuqakpAfwEIj5CROJT5ftnWdadtVptORfQ3rQxMjJS6OvrOwcAt3TAJiJaFh/f48ePfxI1ejsdPzk5+XA7bQ11Wfn+vLq6un1paaklO30oiWi/kq5SqTxORG8S0Y1i0y0IhohOt1qtJ0+dOvWnDOw9e/Zc19vbe9SyrPEO5yNE/A0Rn6/Vah94j5ORp6VDB9XNourgnD9IRAcQ8SGnavDpfH1tbW33yZMnf5IBvXfv3lt7enpOA0DZ73ztbdZPEfEIY+wzd9UhM6q1QTsVxL59+65njN1vWdarRHS3t/MqIrpQKLyPiLu9bSHiN7Ztv8Q5/+LEiRN/dKpUkka1Vmh3R0dGRm7u6+t7EREfFZMTEVmI+AMAPDc9PT0vI5qdc0xNTY0BwFtEdDsi2u3J96PV1dXXlpaWfgnTVm6hnc6Vy+UyEY0CwDWc8y/n5+e/vnTpUtdFTBgc55iBgQFrbGzsHsbYfQDwLyIu1Ov1epRz5B7aSSlROp302JArx6uaMdAx1ONAi2aSYEvN0XF36mQtTsKab0po3cjOYMTBznVEG+iwn0PXcSZ1BKNJzdHtCSPy1Z+6ozpO2sjUZLiRoZPkZ+GSekSLBYtt2/ciotgLUb5gIaI1y7K+2jQLFrMET3gvo04TosjFZlOpPWEmvSTMbJP6Vx7Sc3TQhGg2/v+/W5nUixzNV1nro1pJRHuj2nw5q6C8c8bSHdXmcgNN0ALfXECjIEf7RXX7y9mdtm2bS8IEUNLyzjsNxN1o8p7HXOTYZZdPFrTTTKlUkv4bFr8uJN3b8J5TWdXhbkgmtg5o2chKNpWCAlwWtmpoFchaoeNuoXoHTiW0KmTt0DKwVUGrRE4FOim2CmjVyL7QKkq8gFk98lde4jwb5ifKuqD9FjVdKsXLT5sf3YdRCjgmSkVibiORADpp3o7StI58HLRYuZyr3U/KXoZHgVCBngauu8+B9+vQnadVLXLSBnZXG04fM3mXsCTRnQXkUNBZieqoaSdLx5s7OWoaDQOdNWiTPuKPSNA9pM2NuuObrntlEPK6OjqozbTra4kWSk7VCTiwvIvyTjbbAIQBDfKLtZO2WSI/Cey65XiUCA5z7EaJcpnIoXN0GOAs7ZlEfb/rok/Bv1GVmjo2ArbsSJYyGXaKnLymkNxB53HRowpZWY7OYwpRiawF2kHPaipRDaw8R2e91tYFnBp0mmlFN667r8rKu7i1rKwUkyaqX98zBx13gLL+OgOtaYT+A2PhSKxqJnu/AAAAAElFTkSuQmCC);background-position:center;background-size:cover;animation:spin-animation 1s ease infinite}.plv-chat-message-list__loading:first-of-type{padding-top:var(--container-top-padding)!important}.plv-chat-message-list__loading:last-of-type{padding-bottom:var(--container-bottom-padding)!important}@keyframes spin-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.pwc-font-din-pro-regular{font-family:D-DIN-PRO-Regular,sans-serif}.pwc-font-din-pro-medium{font-family:D-DIN-PRO-Medium,sans-serif}.pwc-font-din-pro-bold{font-family:D-DIN-PRO-Bold,sans-serif}.plv-donate-animation-item{width:152px;height:36px;margin-left:12px;line-height:1}.plv-donate-animation-item__content{position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:100%;height:100%;padding:6px 48px 0 40px;background:linear-gradient(90deg,#5b46ff99,#5b46ff1a 85%);border-radius:18px}.plv-donate-animation-item__pic{position:absolute;top:4px;left:4px;width:28px;height:28px;border-radius:50%;background-size:contain}.plv-donate-animation-item__nick{font-size:12px;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-donate-animation-item__bottom{margin-top:4px;font-size:12px;color:#fff9;white-space:nowrap;transform:scale(.83);transform-origin:top left}.plv-donate-animation-item__good-image{position:absolute;right:4px;bottom:0;width:36px;height:36px;background-size:contain}.plv-donate-animation-item__good-image--redpaper{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAuWSURBVHic7ZtbrB3XWcd/31ozs/fZex+fq2/J8SVOfWInDklsAxIKQk2Ri5NIvVAoQu0TVDQ8IKryhlDqB6Q+UUSEBC9FokgkTamgKXEkhKgCres0blKInbRpSU58HMc+tc/xuezbzKyPh5m9z977XD3jOEdi/6XRXNZlvu+//usya62BPvroo48++uijj/+fkNv1Im29S7U74NSplTY8+WRHJGlbKaAr4r7PuCUEqarwxyePg57E6F6s+AigCNp6hUnuAYyA63i3S8/xcobELnmuDtQpziXkKkrkluOrpukdKBG2MIUGz/H06VdvBaG5CdI//K1dmKW/xJrfxjeCNeABYjoOAUzyuvZ1x+sdqfMOnIJzy0e8yjl24OKeuClRtgBeOcIrPY1vvih/87WrefzLRZB+/hM7IDpNKThKpQwDRfA98CxYC8aC2GWikEQ9bYJYJqXttIM4hihO7uMYoig5t66juOO+I9w5IABbBFsCWz6H75+Up56ayeqjl5kcEKLmX1D0jlIehLHtMDgIngempRppR25fKKlaWqWfOiYxxJKcW4hlmVwTg40T0m0HiV4EkQdhlJCMB+Kl6TiGBn+l8LtZq1tmBenvnXwIkZcYCDxGR2B8B5TLiUKSdiMt1bSkdY2q4+Lu63a1Sc8K7fbHdVbDnnitPCQAKYAUwSuBV3LY4i/LV/785Sx+ZlYQTh/D4BHHUK3C9RlYmiNpCOJucjod117nUqeV9Lp10EFKq1RYvtfO5+m1AyyJyrx2Pgb4DeD2EZR02WYfIokR9SpENbACxoG4DsV0Ot3hfK+jrZ5sxX3Hs95rWvFaPZmAWvBTwttV3e7V5Oqmq1l2BRnxsBasAdeEMIZYE4IM3WSscHKj+x4SNp2PLFdLa5L2UAyI+pndzJoQY8D3wQ+SnqrVTbeMXg/Sc14zwmr3PWGdZLUYFcB6iX3GksvNXCmNBc9Pu+4WUiPXI6kVtmaU3gBdJ2w1yLKCTHYXIQ9BmLTLTcc5ncZBWvfXQCvsVihoTfNMoiIjScOdETnpNWlD2PlwKyiIpBB6x2MZkJ0gEUkGcIZVS/iDVJBA27b17NgEsvdikMjX2MSIth1bQEFKqiDJIx4gbxVbtTvaCgpqEZN/siIbQQpUKqmUe43YCgpS2vNIAvi3vZtXePDetI7bnoYwg4JaRHcdXQnWuF4n/85Gev/wJnxaHZnbIHffXszMNVis95BxEwoSgclxuGcc9o7A8EDyfLYGU7Pw45/DhavJALQ3/3XRQdCggaOjN+FZN7JPd9g68bF92P98c6VxtL581nBGBHYPwolJ2DMMCFo3uGoiaBn0MMfLcPxOeGcOnnsDLt7ozn8jpKqO76vggrpk/dbIVsVOnZJQqiYeE+IjYzevoHu2w2eOwp5housFmm8PE81PoHoX6u4ivjFBc2qYeLaQEPj7x+DIzu78NwG31yM+IKhU5VTGFjuTgp49f14e/81j4qzBTZbQpV14Z+bT0A0UNDEEH78XJSC8OIQZmiC4d0cyC9kBjSLi92ZoTk/j776BfPoILDTgrTk2Q1K83yc8Cpgaisr5jARlUtCFmWfFmRrO1HC2RvPYGI2Tk2ilwLoK8g08OgnWEl4ex95xBG9ifzKxRaHrEK+MN7Efe8cRwsvjCYGfOJxMqayHgqX5kZ00H6ngvNRGqWVxE8jRBtW+/gqFjx3EbAsAiCbLRBOHCF5+F+8n15BGvJKkX9gNO8pEM4OYkX3YoWEu/8lfr1kdiw8cZOSzH4XaPqJrVbxdDo7fAd+fXo7U4qtgCR/cQfjwBDpWBOoAuIWQ2renMw+IshH0HWhsu0J0AwY+dTf2zlJi6eAAjQ/fTfPh/XhTN7DT85ipOcxsDVA4OAax4BZLBBMViJfw7xymfmGK8K0rDJ48DsCNfz5D8f79eMMBxEvY7RWar5dhdB7u354QJIIbG8DdPUJ8YJjonlE06KymSvxuneozbxNfnF/FifeTIGDb8AiNJUP1Hy8SPDDIwCOTSMFLiPLAHRrDHUriyo0a5tIswb4K8aLBlIrgEtmPP3GC63//H8zPzDH+xAlQmP/WWSoPH2LwxBGIqgCYcpF40WAPjBD+znHiPaPoaKmtoOW2QtF6SO2/pmn+cBG/VqG8fTfwb7eVIFfwffUrFULfo/G9aRZeeovCh++j+PARpBB0xx4fgfHtoO+hdYf4McSLhNOzhFduEE5fhWZE9aXz7ZnI5tRlqi+9RuHgTuy2AcSL0IaDIYP+4iEEf0Wrq42Q+ncv0Pj3H2N1mMrO/fiBwUTi7gN99nYR9CSo8z3nPA8CH1MaQGsh0QuvUH3xAt4vHca7/yD+gT3tIYBoHcLL4KJEPVHA/AvnmPunV5L5aeDyn30j9VSZf/5VFk7/iF1fepzSsb1JmjhZEjLeICrFdtzwzYs0z54nPvsGZjGmXB5FxoewQQFPkzXdJ0G/dLsIgnSd1BqM5xH5lrhhkMBH4wjO/g/RmR8RDW3Du3cSs2sndt8uGFXEj9H6AsQeI586zPBjH+LnX/0B4bvz7P7Tj6CqvPO5bzD86QcYOjGJGSxAvITWF5BCBGpxlxvE//s27q1LRK+9CVdn8RA8FcQrYozFeh7W8zFRjMTZl6CzT3e0P5sE31qMb4lVcYATh0FgfgF35mWcQojAE8fwxiqEV2dhLMD44BpN6q9foXR8N3ZI08W/dHF0mwJ1iMDNX8c/4BFemqPx5b9F0lURq4AYBDBiMNZifYu1Fml/I2bmJwdBmjqjMYJirWCwOJHkiBUXO9QJiiJOab52Bf+jg4ip4uaugVje+8oruPkGQ4/shngxWRkBcI3kHnALDcTWkOI2wv++imhSQu1vUiSZmhKD8UwylwfpIkJ2cvIRBHQu7C1/QBtUQI3irKBxujHDKc0fvIv+2l68fQOEr1/BbCtjCsr2PzhIMGGTHsspwb4ypqIQVdEwJro8i394FK03ib53icAKgrS2Q2CQdGajYzaA1DbSqY8PhKCEJXrna1olaKygokkhOsXGSu35Nyl98jDeXRWin11jx+cmMCUf4qV2DhOnkvGBW5gjurKEd/cYMmCpPnOBgaUIm36WiCbHShO0Y00tn3f5FbRCwt3fYm25GzAi6A9naOyqUPiVPfiHxgh/ehWZiTAlHykkjmszxi2FqHj4h3YglSKN717EO/Mevucn+XcuKvaipaCc1Qtyrc2nGxRcvFxiScVPwtcwLij61J/7KdWZJQYe+xDBQ3tws0u464u4epg0/oGPvWsEM1qByFH95huYFy9RCArd6lgLnbtHVMmz7pOjFxNtr713WbzxfFCxXKR59gqLr18j+NUJgod24h3Y0RVHaxGN70zRePEixdmQoFBIX7PJXqlz6TsHclaxDgUtP0xP688oBkUfv6bU/+VnLHzzJ7CrhBkbSNrW6zW4tEQglsEgQAK/w9FNetzaTqMCLvucdL4q5tJNT3pzCmq3T1YYKBUZUNB5h5tdBE26aymVehra1s0mFeRcsvPMeblUlIMgEgMkrettZFvVEBGstazY+9MbcVPepmO0MCL34nHmlJqWUNRIlNTGFlgXU4U4gjBMbXMbJlkLOdqg1AhI9wT1DDw+6JXVOC1AyU4O5NWfsspwfgsoCGjvV8qJnEvPq2ELKOgW4n0gaIso6Bahr6AN0FfQBugraAP0FbQBchCk4RrP09OWUlCUJRFkJEhAUX1nzVDYOgpSQNyUZGQ2xyZO8wKy2hh+iylIiIjif725RMvITtBXnz8H+vXVLEpOW0BByYfvMzz15Vc3n6gbmQkSUJz8EXBupVVsDQWJnoPwC1mrF+TsxeTvTs9Q10eBf0AkbQi3hIIU3NNQezTP34abftsmrBE+/+sPEsjjoPvx1Gv/kAvdvza1r3vCHMvl7HRl/Ha464nbkTfaxCu+gy2f5mvfOpdHOX300UcfffTRRx999LEu/g/tFMfiPIDcNAAAAABJRU5ErkJggg==)}.plv-donate-animation-item__count{position:absolute;top:8px;left:100%;padding-left:8px;white-space:nowrap;text-shadow:0 0 12px rgba(0,0,0,.3);color:#0009}.pwc-skin-color-mode--dark .plv-donate-animation-item__count{color:#fff}.pwc-skin-color-mode--light .plv-donate-animation-item__count{color:#0009}.plv-donate-animation-item__count span{font-size:20px}.plv-donate-animation-item__count span:first-child{margin-right:4px;font-size:14px}.plv-donate-animation-item__count--animation{animation:rewardNumber .3s linear}@keyframes rewardNumber{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}.donate-animation-enter-active{transform:translate(-270px);animation:rewardStart .15s linear forwards}.donate-animation-leave-active{transform:translateY(0);animation:rewardEnd .1s linear}@keyframes rewardStart{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rewardEnd{0%{margin-top:0;opacity:1}to{margin-top:-40px;opacity:0}}.plv-donate-animation{position:relative;pointer-events:none;display:flex;flex-direction:column;gap:4px}.plv-runway-effect{position:relative;width:100%;height:20px;overflow:hidden;pointer-events:none}.plv-runway-effect:empty{display:none}.plv-runway-effect__inner{position:absolute;top:0;left:12px;box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;max-width:calc(100% - 26px);height:20px;padding:0 8px;font-size:12px;line-height:20px;color:#fff;background:#ff5091;border-radius:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runway-effect-enter-active{transition:transform .25s ease,opacity .1s ease}.runway-effect-leave-active{transition:opacity .2s ease}.runway-effect-enter{opacity:0;transform:translate(-100%)}.runway-effect-leave-to{opacity:0}.plv-message-input__auto-textarea{display:flex;align-items:flex-end;width:100%;min-height:36px;border-radius:18px;transition:.3s;background:#fff;color:#000c}.pwc-skin-color-mode--dark .plv-message-input__auto-textarea{background:#0003;color:#fff}.pwc-skin-color-mode--light .plv-message-input__auto-textarea{background:#fff;color:#000c}.plv-message-input__auto-textarea--multi-row{border-radius:4px}.plv-message-input__auto-textarea__inner{box-sizing:border-box;flex:1;width:100%;min-height:17px;padding:0 12px;margin:8px 0;overflow-x:hidden;overflow-y:auto;font-family:inherit;font-size:14px;vertical-align:top;resize:none;background:transparent;border:none;color:inherit;outline:none}.plv-message-input__auto-textarea__inner::-webkit-scrollbar{display:none}.plv-message-input__auto-textarea__inner::-webkit-scrollbar{width:4px}.plv-message-input__auto-textarea__inner::placeholder{color:#adadc0}.plv-message-input__auto-textarea__inner:disabled,.plv-message-input__auto-textarea__inner:disabled::placeholder{color:#adadc080}.plv-message-input__auto-textarea__inner--disabled{pointer-events:none}.plv-emotion-face-picker{padding:14px 8px 0}.plv-emotion-face-picker .plv-emotion-menu__item{margin:0 14px 16px 0}@supports (display: grid){.plv-emotion-face-picker .plv-emotion-menu__item{margin:0}.plv-emotion-face-picker .plv-emotion-menu{display:grid;grid-template-columns:repeat(auto-fill,32px);grid-gap:16px 14px;align-items:center;justify-content:space-between}}.plv-emotion-image-picker{box-sizing:border-box;display:grid;grid-template-columns:repeat(auto-fill,54px);gap:16px;justify-content:space-around;padding-top:16px}.plv-emotion-image-picker__item{box-sizing:border-box;display:inline-block;width:54px;text-align:center;cursor:pointer}.plv-emotion-image-picker__item:nth-last-child(1){padding-bottom:10px}.plv-emotion-image-picker__icon{display:block;width:54px;height:54px;margin:0 auto 4px;background-size:cover;background-position:center center;background-repeat:no-repeat}.plv-emotion-image-picker__text{font-size:12px;color:#adadc0}.plv-emotion-picker{padding:0 0 24px;overflow:hidden}.plv-emotion-picker__panel-wrap{position:relative;left:0;display:flex;width:200%;transition:.3s}.plv-emotion-picker__panel-wrap--image{left:-100%}.plv-emotion-picker__panel{box-sizing:border-box;flex-shrink:0;width:50%;height:200px;padding:0 16px;overflow-y:auto}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-emotion-picker__panel::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-emotion-picker__panel::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-emotion-picker__bottom{display:flex;align-items:center;padding:0 16px;margin-top:8px;gap:8px}.plv-emotion-picker__tabs{position:relative;display:flex;margin-right:auto;overflow:hidden;border-radius:16px;color:#333;background-color:#6666661a}.pwc-skin-color-mode--dark .plv-emotion-picker__tabs{color:#fff;background-color:#ffffff1a}.pwc-skin-color-mode--light .plv-emotion-picker__tabs{color:#333;background-color:#6666661a}.plv-emotion-picker__tabs-item{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:60px;height:32px;line-height:32px;opacity:.7;cursor:pointer}.plv-emotion-picker__tabs-item.is-active{opacity:1}.plv-emotion-picker__tabs-item__icon{display:flex;font-size:20px!important}.plv-emotion-picker__tabs-active{position:absolute;top:0;left:0;z-index:1;width:60px;height:32px;border-radius:16px;transition:.3s;background-color:#fff}.plv-emotion-picker__tabs-active.plv-emotion-picker__tabs-active--image{left:60px}.pwc-skin-color-mode--dark .plv-emotion-picker__tabs-active{background-color:#fff3}.pwc-skin-color-mode--light .plv-emotion-picker__tabs-active{background-color:#fff}.plv-message-input-popup{position:fixed;width:100%;height:100%;top:0;left:0;z-index:9999;background:#0006}.plv-message-input-popup__content{position:absolute;width:100%;bottom:0;left:0}.plv-message-input-popup__body{background-color:#f7f8fa}.pwc-skin-color-mode--dark .plv-message-input-popup__body{background-color:#2b2c35}.pwc-skin-color-mode--light .plv-message-input-popup__body{background-color:#f7f8fa}.plv-message-input-popup__main{padding:12px 16px;display:flex;gap:12px;align-items:flex-end}.plv-message-input-popup__main__textarea{flex:1;overflow:hidden}.plv-message-input-popup__emotion-btn{flex-shrink:0;width:24px;height:36px;display:flex;align-items:center;padding-right:10px;color:#0009}.plv-message-input-popup__emotion-btn span{display:flex;font-size:24px}.pwc-skin-color-mode--dark .plv-message-input-popup__emotion-btn{color:#fff9}.pwc-skin-color-mode--light .plv-message-input-popup__emotion-btn{color:#0009}.plv-message-input-popup__emotion-btn.is-disabled{opacity:.5}.plv-message-input-popup__send-btn{height:36px!important;min-width:60px!important;border-radius:18px!important}.plv-message-input-popup__del-btn{display:flex;align-items:center;justify-content:center;width:60px;height:32px;line-height:32px;border-radius:16px;background-color:#fff;color:#666}.plv-message-input-popup__del-btn span{display:flex;font-size:24px!important}.pwc-skin-color-mode--dark .plv-message-input-popup__del-btn{background-color:#ffffff1a;color:#fff}.pwc-skin-color-mode--light .plv-message-input-popup__del-btn{background-color:#fff;color:#666}.plv-chat-message-input-popup .pwc-popup__body,.plv-chat-message-input-popup .pwc-popup__content{overflow:initial!important}.plv-chat-message-input-popup .plv-message-input-popup__body{border-radius:16px 16px 0 0}.plv-chat-message-input-popup__quote{position:absolute;width:100%;bottom:100%;padding:0 12px 8px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;gap:28px}.plv-chat-message-input-popup__quote__content{border-radius:12px;background:#0003;padding:3px 8px;color:#fff;font-size:14px}.plv-chat-message-input-popup__quote__content .plv-simple-msg-item__nick{color:#fff9}.plv-chat-message-input-popup__quote__close{width:20px;height:20px;border-radius:50%;background:#0003;color:#fff;font-size:14px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.plv-input-paste-image{padding:0 8px;color:#1d2129;-webkit-transition:border-color .35s;transition:border-color .35s;border:1px solid #e5e5e5;border-radius:2px;background:#fff;outline:none;overflow-y:auto}.plv-input-paste-image img{width:48px;height:auto;-o-object-fit:cover;object-fit:cover}.plv-input-paste-image:empty:before{content:attr(placeholder);pointer-events:none;color:#adadc0}.plv-input-paste-image--focus{border-color:#3f76fc}.plv-input-paste-image--disabled{cursor:not-allowed;border-color:#e5e5e5!important;background:#f9fafd!important}.plv-chat-input-paste-image{box-sizing:border-box;height:100%;color:inherit;font-size:inherit}.plv-chat-input-paste-image .plv-input-paste-image{box-sizing:border-box;background:none!important;border:none!important;height:100%!important;max-height:100%!important;color:inherit;font-size:inherit;padding-top:8px}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-chat-input-paste-image .plv-input-paste-image::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-message-input-base{display:flex;flex-direction:column;position:relative}.plv-message-input-base__icons{height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px;font-size:14px;color:#0009;background-color:#6666661a}.pwc-skin-color-mode--dark .plv-message-input-base__icons{color:#fff9;background-color:#ffffff0f}.pwc-skin-color-mode--light .plv-message-input-base__icons{color:#0009;background-color:#6666661a}.plv-message-input-base__icons .polyv-icon{display:flex;font-size:20px;cursor:pointer}.plv-message-input-base__icons .polyv-icon.is-disabled{cursor:not-allowed;opacity:.5}.plv-message-input-base__icons .polyv-icon:not(.is-disabled):hover{color:#3082fe}.plv-message-input-base__icons__left,.plv-message-input-base__icons__right{display:flex;gap:10px;align-items:center}.plv-message-input-base__input{flex:1;overflow:hidden;font-size:14px;color:#666}.pwc-skin-color-mode--dark .plv-message-input-base__input{color:#fff}.pwc-skin-color-mode--light .plv-message-input-base__input{color:#666}.plv-message-input-base__input__textarea{width:100%;height:100%;resize:none;background:none;border:none;outline:none;box-sizing:border-box;padding:8px;font-size:inherit;color:inherit}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-message-input-base__input__textarea::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-message-input-base__input__textarea::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-message-input-base__panel{position:absolute;width:100%;left:0;bottom:100%;user-select:none;color:#0009;background-color:#fbfbfc}.pwc-skin-color-mode--dark .plv-message-input-base__panel{color:#fff9;background-color:#2b2c35}.pwc-skin-color-mode--light .plv-message-input-base__panel{color:#0009;background-color:#fbfbfc}.plv-message-input-base__emotion-picker{padding-bottom:12px}.plv-message-input-base__bottom{display:flex;align-items:center;padding:8px 12px;gap:8px;font-size:12px;color:#1d21294d}.pwc-skin-color-mode--dark .plv-message-input-base__bottom{color:#ffffff4d}.pwc-skin-color-mode--light .plv-message-input-base__bottom{color:#1d21294d}.plv-message-input-base__submit{height:24px;border-radius:4px;line-height:24px;padding:0 9px;font-size:12px;cursor:pointer;background:#3f76fc;color:#fff;transition:.3s}.plv-message-input-base__submit.is-disabled{cursor:not-allowed;color:#ffffffe6;background-color:#3f76fc99}.pwc-skin-color-mode--dark .plv-message-input-base__submit.is-disabled{background:#ffffff0f}.pwc-skin-color-mode--light .plv-message-input-base__submit.is-disabled{background-color:#3f76fc99}.plv-chat-message-input-section__more-panel{width:140px;box-sizing:border-box;padding:8px;border-radius:4px;display:flex;flex-direction:column;gap:10px;box-shadow:0 0 2px #0000001f}.pwc-skin-color-mode--dark .plv-chat-message-input-section__more-panel{border:1px solid rgba(255,255,255,.1);box-shadow:0 2px 8px #00000029}.pwc-skin-color-mode--light .plv-chat-message-input-section__more-panel{box-shadow:0 0 2px #0000001f}.plv-chat-message-input-section__more-panel>div{display:flex;align-items:center;cursor:pointer;font-size:14px;line-height:22px}.plv-chat-message-input-section__more-panel>div .polyv-icon{font-size:16px;display:flex;margin-right:4px}.plv-chat-message-input-section__more-panel>div:hover{color:#3082fe}.plv-chat-message-input-section__more-panel--auto-translate{order:10}.plv-chat-message-input-section__more-panel--only-special{order:30}.plv-chat-message-input-section__more-panel--special-effect{order:35}.plv-chat-message-input-section__more-panel--clear{order:40}.plv-message-input-base__icons--more{position:relative;padding-right:6px;cursor:pointer}.plv-message-input-base__icons--more:hover{color:#3082fe}.plv-message-input-base__icons--more span,.plv-message-input-base__icons--more:after,.plv-message-input-base__icons--more:before{position:absolute;right:0;content:"";width:2px;height:2px;border-radius:50%;background-color:currentColor;top:50%;transform:translateY(-50%)}.plv-message-input-base__icons--more:after{margin-top:-4px}.plv-message-input-base__icons--more:before{margin-top:4px}.plv-message-input-base__panel--more{position:absolute;right:16px;bottom:5px;background:inherit}.plv-chat-message-input-section__switch{display:flex;align-items:center;gap:4px}.plv-chat-message-input-section__quote{padding:6px 42px 6px 16px;font-size:12px;line-height:18px;position:relative;box-sizing:border-box;min-height:36px;display:flex;align-items:center;color:#0009;background-color:#fbfbfc}.plv-chat-message-input-section__quote .plv-chat-message-input-section__quote__close{cursor:pointer;display:flex;font-size:16px;position:absolute;right:16px;top:50%;transform:translateY(-50%)}.pwc-skin-color-mode--dark .plv-chat-message-input-section__quote{color:#fff9;background-color:#2b2c35}.pwc-skin-color-mode--light .plv-chat-message-input-section__quote{color:#0009;background-color:#fbfbfc}.plv-chat-message-input-section__mask-title{font-size:12px;color:#333}.pwc-skin-color-mode--dark .plv-chat-message-input-section__mask-title{color:#fff}.pwc-skin-color-mode--light .plv-chat-message-input-section__mask-title{color:#333}.plv-chat-message-input-section__mask-text{padding:8px;font-size:14px;color:#0006}.pwc-skin-color-mode--dark .plv-chat-message-input-section__mask-text{color:#fff6}.pwc-skin-color-mode--light .plv-chat-message-input-section__mask-text{color:#0006}.plv-viewer-input-control{display:flex;align-items:center;gap:12px}.plv-viewer-input-control__body{height:36px;border-radius:18px;flex:1;display:flex;align-items:center;padding:0 12px;gap:12px;cursor:pointer;overflow:hidden}.plv-viewer-input-control__body__text{flex:1;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0006}.pwc-skin-color-mode--dark .plv-viewer-input-control__body__text{color:#fff9}.pwc-skin-color-mode--light .plv-viewer-input-control__body__text{color:#0006}.plv-viewer-input-control__body.is-disabled{cursor:not-allowed}.plv-viewer-input-control__body.is-disabled .plv-viewer-input-control__body__text{color:#0003}.pwc-skin-color-mode--dark .plv-viewer-input-control__body.is-disabled .plv-viewer-input-control__body__text{color:#fff6}.pwc-skin-color-mode--light .plv-viewer-input-control__body.is-disabled .plv-viewer-input-control__body__text{color:#0003}.plv-viewer-input-control__body,.plv-viewer-input-control__btn{background-color:#fff9}.pwc-skin-color-mode--dark .plv-viewer-input-control__body,.pwc-skin-color-mode--dark .plv-viewer-input-control__btn{background-color:#0003}.pwc-skin-color-mode--light .plv-viewer-input-control__body,.pwc-skin-color-mode--light .plv-viewer-input-control__btn{background-color:#fff9}.plv-viewer-input-control__body .polyv-icon,.plv-viewer-input-control__btn .polyv-icon{display:flex;font-size:24px;color:#000c}.pwc-skin-color-mode--dark .plv-viewer-input-control__body .polyv-icon,.pwc-skin-color-mode--dark .plv-viewer-input-control__btn .polyv-icon{color:#ffffffb3}.pwc-skin-color-mode--light .plv-viewer-input-control__body .polyv-icon,.pwc-skin-color-mode--light .plv-viewer-input-control__btn .polyv-icon{color:#000c}.plv-viewer-input-control__btn{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.plv-manager-input-control__btn--chat-switch .polyv-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.plv-manager-input-control__btn--chat-switch.is-active .polyv-icon:last-of-type{color:#ff5252}.plv-ban-user-item{padding:12px 0;display:flex;align-items:center;gap:16px}.plv-ban-user-item__content{flex:1;overflow:hidden}.plv-ban-user-item__nick{font-size:14px;color:#000c;line-height:20px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ban-user-item__info{line-height:18px;font-size:12px;color:#0006;white-space:nowrap;display:flex;gap:16px}.plv-ban-user-item__info span:last-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ban-user-item__info span:first-of-type{position:relative}.plv-ban-user-item__info span:first-of-type:before{content:"";width:1px;height:10px;background-color:#0003;position:absolute;right:-8px;top:50%;transform:translateY(-50%)}.plv-ban-user-item__btn{font-size:12px;color:#0009}.plv-ban-user-item__btn:not(.is-disabled){color:#3f76fc;cursor:pointer}.plv-ban-user-list{flex:1;width:100%;overflow:hidden;display:flex;flex-direction:column;gap:8px;box-sizing:border-box}.plv-ban-user-list__search{padding:0 16px}.plv-ban-user-list__content{flex:1;overflow-y:auto;padding:0 16px}.plv-ban-ip-item{padding:0 16px;height:60px;display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#000c}.plv-ban-ip-item__btn{font-size:12px;color:#3f76fc;cursor:pointer}.plv-ban-ip-list{height:100%;overflow-y:auto}.plv-ban-list__top{padding:0 16px}.plv-ban-list__content{height:400px;display:flex;flex-direction:column;gap:8px}.plv-kick-user-item{padding:12px 0;display:flex;align-items:center;gap:16px}.plv-kick-user-item__content{flex:1;overflow:hidden}.plv-kick-user-item__nick{font-size:14px;color:#000c;line-height:20px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-kick-user-item__info{line-height:18px;font-size:12px;color:#0006;white-space:nowrap;display:flex;gap:16px}.plv-kick-user-item__info span:last-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-kick-user-item__info span:first-of-type{position:relative}.plv-kick-user-item__info span:first-of-type:before{content:"";width:1px;height:10px;background-color:#0003;position:absolute;right:-8px;top:50%;transform:translateY(-50%)}.plv-kick-user-item__btn{font-size:12px;color:#0009}.plv-kick-user-item__btn:not(.is-disabled){color:#3f76fc;cursor:pointer}.plv-kick-list__content{height:400px;padding:0 16px}.plv-online-item__control{font-size:20px;cursor:pointer;margin-left:8px;display:flex;opacity:.4}.plv-attendance-list{overflow-y:auto;height:100%}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-attendance-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-attendance-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-attendance-item{display:flex;align-items:center;height:52px;padding:0 20px 0 16px;box-sizing:border-box;font-size:14px;color:#000c}.pwc-skin-color-mode--dark .plv-attendance-item{color:#fff9}.pwc-skin-color-mode--light .plv-attendance-item{color:#000c}.plv-attendance-item:hover{background:#00000014}.pwc-skin-color-mode--dark .plv-attendance-item:hover{background:#ffffff14}.pwc-skin-color-mode--light .plv-attendance-item:hover{background:#00000014}.plv-attendance-item__avatar{width:32px;height:32px;border-radius:50%;margin-right:12px}.plv-attendance-item__nick{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-member-more__reference{padding:7px 6px;border-radius:6px;line-height:18px;font-size:12px;color:#0009}.pwc-skin-color-mode--dark .plv-member-more__reference{color:#fff9}.pwc-skin-color-mode--light .plv-member-more__reference{color:#0009}.plv-member-more:not(.is-mobile) .plv-member-more__reference:hover{background:#0000000f}.pwc-skin-color-mode--dark .plv-member-more:not(.is-mobile) .plv-member-more__reference:hover{background:#ffffff0f}.pwc-skin-color-mode--light .plv-member-more:not(.is-mobile) .plv-member-more__reference:hover{background:#0000000f}.plv-member-type__reference{padding:7px 6px;border-radius:6px;line-height:18px;font-size:12px;color:#0009}.pwc-skin-color-mode--dark .plv-member-type__reference{color:#fff9}.pwc-skin-color-mode--light .plv-member-type__reference{color:#0009}.plv-member-type:not(.is-mobile) .plv-member-type__reference:hover{background:#0000000f}.pwc-skin-color-mode--dark .plv-member-type:not(.is-mobile) .plv-member-type__reference:hover{background:#ffffff0f}.pwc-skin-color-mode--light .plv-member-type:not(.is-mobile) .plv-member-type__reference:hover{background:#0000000f}.plv-online-item{display:flex;align-items:center;height:52px;padding:0 20px 0 16px;box-sizing:border-box;font-size:14px;color:#000c}.pwc-skin-color-mode--dark .plv-online-item{color:#fff9}.pwc-skin-color-mode--light .plv-online-item{color:#000c}.plv-online-item:hover{background:#00000014}.pwc-skin-color-mode--dark .plv-online-item:hover{background:#ffffff14}.pwc-skin-color-mode--light .plv-online-item:hover{background:#00000014}.plv-online-item__avatar{width:32px;height:32px;border-radius:50%;margin-right:12px}.plv-online-item__nick{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-online-item__actor{margin-left:4px;transform:translateY(0)}.plv-online-list{width:100%;height:100%;overflow-y:auto}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .plv-online-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .plv-online-list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.plv-member-list{width:100%;height:100%;overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column}.plv-member-list__top{padding:12px 12px 8px;display:flex;gap:12px}.plv-member-list__search{flex:1}.plv-member-list__content{flex:1;overflow:hidden}.plv-special-effect-animation{position:absolute;inset:0;overflow:hidden;pointer-events:none}.plv-toping-msg-item{box-sizing:border-box;width:100%;height:100%;padding:8px 12px}.plv-toping-msg-item__body{border-radius:12px;background:#3333337a;backdrop-filter:blur(10px);color:#fff;height:100%;box-sizing:border-box;padding:12px 12px 20px;position:relative}.plv-toping-msg-item__body.is-show-close{padding-right:40px}.plv-toping-msg-item__close{position:absolute;top:50%;right:12px;transform:translateY(-50%);font-size:18px;cursor:pointer;color:#fffc}.plv-toping-msg-item__control{font-size:12px;display:flex;align-self:center;gap:20px;margin-bottom:8px}.plv-toping-msg-item__control-actor{margin-right:auto}.plv-toping-msg-item__control__item{cursor:pointer}.plv-toping-msg-item__content{font-size:14px;line-height:20px}.plv-toping-msg-item__content .plv-simple-msg-item__nick{color:#fff9}.plv-toping-msg-list{position:absolute;top:0;left:0;width:100%;pointer-events:none;z-index:100}.plv-toping-msg-list__swiper{width:100%;height:100%;position:relative;pointer-events:initial}.plv-toping-msg-list__indicator{position:absolute;bottom:16px!important;left:50%!important;transform:translate(-50%)!important;display:flex;align-items:center;justify-content:center;gap:2px;z-index:10;width:initial!important}.plv-toping-msg-list__indicator.is-hide{opacity:0}.plv-toping-msg-list__indicator-item{width:8px;height:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.plv-toping-msg-list__indicator-item:before{content:"";width:4px;height:4px;border-radius:2px;background:#fff;opacity:.2}.plv-toping-msg-list__indicator-item.is-active:before{width:8px;opacity:.6}.plv-toping-msg-list__arrow{width:18px;height:58px;position:absolute;right:0;top:50%;transform:translateY(-50%);cursor:pointer;display:flex;align-items:center;justify-content:center;background:#3333337a;border-radius:9px 0 0 9px;color:#fff;pointer-events:initial}.plv-toping-msg-list__arrow span{display:flex}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
(function(Y,p){typeof exports=="object"&&typeof module!="undefined"?p(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],p):(Y=typeof globalThis!="undefined"?globalThis:Y||self,p(Y.PolyvChatUISpecial={},Y.Vue2Module||Y.Vue))})(this,function(Y,p){"use strict";var dx=Object.defineProperty,mx=Object.defineProperties;var gx=Object.getOwnPropertyDescriptors;var $l=Object.getOwnPropertySymbols;var hx=Object.prototype.hasOwnProperty,vx=Object.prototype.propertyIsEnumerable;var Rl=(Y,p)=>(p=Symbol[Y])?p:Symbol.for("Symbol."+Y);var jt=Math.pow,Ol=(Y,p,pe)=>p in Y?dx(Y,p,{enumerable:!0,configurable:!0,writable:!0,value:pe}):Y[p]=pe,O=(Y,p)=>{for(var pe in p||(p={}))hx.call(p,pe)&&Ol(Y,pe,p[pe]);if($l)for(var pe of $l(p))vx.call(p,pe)&&Ol(Y,pe,p[pe]);return Y},ie=(Y,p)=>mx(Y,gx(p));var P=(Y,p,pe)=>new Promise((lt,Te)=>{var Re=Oe=>{try{kt(pe.next(Oe))}catch(Et){Te(Et)}},wn=Oe=>{try{kt(pe.throw(Oe))}catch(Et){Te(Et)}},kt=Oe=>Oe.done?lt(Oe.value):Promise.resolve(Oe.value).then(Re,wn);kt((pe=pe.apply(Y,p)).next())});var Dl=(Y,p,pe)=>(p=Y[Rl("asyncIterator")])?p.call(Y):(Y=Y[Rl("iterator")](),p={},pe=(lt,Te)=>(Te=Y[lt])&&(p[lt]=Re=>new Promise((wn,kt,Oe)=>(Re=Te.call(Y,Re),Oe=Re.done,Promise.resolve(Re.value).then(Et=>wn({value:Et,done:Oe}),kt)))),pe("next"),pe("return"),p);function pe(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const lt=pe(p),Te="currentColor",Re={size:"1em",type:"outline",strokeLinecap:"round",strokeLinejoin:"round",colors:{twoTone:{stroke:"#333",fill:"#2F88FF"},multiColor:{outStroke:"#333",outFill:"#2F88FF",innerStroke:"#FFF",innerFill:"#43CCF8"}}},wn=(t,e)=>{const n=typeof t=="string"?[t]:t||[],r=[Te,Te,Te,Te];switch(e){case"outline":{r[0]=typeof n[0]=="string"?n[0]:Te,r[1]="none",r[2]=typeof n[0]=="string"?n[0]:Te,r[3]="none";break}case"filled":{r[0]=typeof n[0]=="string"?n[0]:Te,r[1]=typeof n[0]=="string"?n[0]:Te,r[2]="#FFF",r[3]="#FFF";break}case"two-tone":{const{stroke:o,fill:i}=Re.colors.twoTone;r[0]=typeof n[0]=="string"?n[0]:o,r[1]=typeof n[1]=="string"?n[1]:i,r[2]=typeof n[0]=="string"?n[0]:o,r[3]=typeof n[1]=="string"?n[1]:i;break}case"multi-color":{const{outStroke:o,outFill:i,innerStroke:s,innerFill:c}=Re.colors.multiColor;r[0]=typeof n[0]=="string"?n[0]:o,r[1]=typeof n[1]=="string"?n[1]:i,r[2]=typeof n[2]=="string"?n[2]:s,r[3]=typeof n[3]=="string"?n[3]:c;break}}return r},kt="polyv",Oe=t=>`${kt}-${t}`,Et=p.version.startsWith("3"),re=(t,e)=>p.defineComponent({name:t,inheritAttrs:!1,props:{size:[String,Number],type:String,color:[String,Array],strokeLinecap:String,strokeLinejoin:String},setup(r,o){const{attrs:i}=o,s=o.listeners,c=r,a={size:c.size||Re.size,colorDesc:wn(c.color,c.type||Re.type),strokeLinecap:c.strokeLinecap||Re.strokeLinecap,strokeLinejoin:c.strokeLinejoin||Re.strokeLinejoin},l=[Oe("icon"),Oe(`icon-${t}`)],u={};return a.size&&(u.fontSize=`${a.size}px`),()=>Et?p.h("span",ie(O({class:l,style:u},i),{innerHTML:e(a)})):p.h("span",{class:l,style:u,attrs:i,on:s,domProps:{innerHTML:e(a)}})}});function rs(t){const e=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t)||/^#([a-f\d])([a-f\d])([a-f\d])$/.exec(t);return e?[e[1],e[2],e[3]].map(n=>parseInt(n.length===1?n+n:n,16)):null}/*!
|
|
3
3
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
6
6
|
* Released under the MIT License.
|
|
7
|
-
*/function
|
|
8
|
-
* `);return a.length=0,n===!1?(
|
|
9
|
-
${JSON.stringify(this)}`),this.validator=
|
|
10
|
-
${
|
|
11
|
-
`))}`),c}}:{type:o})}function
|
|
12
|
-
${
|
|
13
|
-
${
|
|
14
|
-
${Gn(c)}`),c===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),r}const Ul=["name","validate","getter"],Hl=(()=>{var t;return(t=class{static get any(){return $l()}static get func(){return os().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?Xr():Xr().def(this.defaults.bool)}static get string(){return Yn().def(this.defaults.string)}static get number(){return Jr().def(this.defaults.number)}static get array(){return is().def(this.defaults.array)}static get object(){return Vr().def(this.defaults.object)}static get integer(){return Rl().def(this.defaults.integer)}static get symbol(){return Ol()}static get nullable(){return Dl()}static extend(e){if(me("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),Nt(e))return e.forEach(a=>this.extend(a)),this;const{name:n,validate:r=!1,getter:o=!1}=e,i=Ki(e,Ul);if(Mt(this,n))throw new TypeError(`[VueTypes error]: Type "${n}" already defined`);const{type:s}=i;if(Wn(s))return delete i.type,Object.defineProperty(this,n,o?{get:()=>rs(n,s,i)}:{value(...a){const l=rs(n,s,i);return l.validator&&(l.validator=l.validator.bind(l,...a)),l}});let c;return c=o?{get(){const a=Object.assign({},i);return r?et(n,a):De(n,a)},enumerable:!0}:{value(...a){const l=Object.assign({},i);let p;return p=r?et(n,l):De(n,l),l.validator&&(p.validator=l.validator.bind(p,...a)),p},enumerable:!0},Object.defineProperty(this,n,c)}}).defaults={},t.sensibleDefaults=void 0,t.config=Zr,t.custom=zl,t.oneOf=ss,t.instanceOf=Bl,t.oneOfType=eo,t.arrayOf=Fl,t.objectOf=Ml,t.shape=Nl,t.utils={validate:(e,n)=>Ct(n,e,!0)===!0,toType:(e,n,r=!1)=>r?et(e,n):De(e,n)},t})();function jl(t={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var e;return(e=class extends Hl{static get sensibleDefaults(){return dn({},this.defaults)}static set sensibleDefaults(n){this.defaults=n!==!1?dn({},n!==!0?n:t):{}}}).defaults=dn({},t),e}class Vy extends jl(){}var Qt=[],ql=function(){return Qt.some(function(t){return t.activeTargets.length>0})},Wl=function(){return Qt.some(function(t){return t.skippedTargets.length>0})},as="ResizeObserver loop completed with undelivered notifications.",Gl=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:as}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=as),window.dispatchEvent(t)},mn;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(mn||(mn={}));var kt=function(t){return Object.freeze(t)},Yl=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,kt(this)}return t}(),cs=function(){function t(e,n,r,o){return this.x=e,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,kt(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,o=e.top,i=e.right,s=e.bottom,c=e.left,a=e.width,l=e.height;return{x:n,y:r,top:o,right:i,bottom:s,left:c,width:a,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),to=function(t){return t instanceof SVGElement&&"getBBox"in t},ls=function(t){if(to(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||t.getClientRects().length)},us=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Zl=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},gn=typeof window!="undefined"?window:{},Zn=new WeakMap,ps=/auto|scroll/,Kl=/^tb|vertical/,Xl=/msie|trident/i.test(gn.navigator&&gn.navigator.userAgent),tt=function(t){return parseFloat(t||"0")},Ht=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Yl((n?e:t)||0,(n?t:e)||0)},fs=kt({devicePixelContentBoxSize:Ht(),borderBoxSize:Ht(),contentBoxSize:Ht(),contentRect:new cs(0,0,0,0)}),ds=function(t,e){if(e===void 0&&(e=!1),Zn.has(t)&&!e)return Zn.get(t);if(ls(t))return Zn.set(t,fs),fs;var n=getComputedStyle(t),r=to(t)&&t.ownerSVGElement&&t.getBBox(),o=!Xl&&n.boxSizing==="border-box",i=Kl.test(n.writingMode||""),s=!r&&ps.test(n.overflowY||""),c=!r&&ps.test(n.overflowX||""),a=r?0:tt(n.paddingTop),l=r?0:tt(n.paddingRight),p=r?0:tt(n.paddingBottom),f=r?0:tt(n.paddingLeft),h=r?0:tt(n.borderTopWidth),d=r?0:tt(n.borderRightWidth),v=r?0:tt(n.borderBottomWidth),g=r?0:tt(n.borderLeftWidth),_=f+l,m=a+p,w=g+d,b=h+v,x=c?t.offsetHeight-b-t.clientHeight:0,C=s?t.offsetWidth-w-t.clientWidth:0,Q=o?_+w:0,S=o?m+b:0,y=r?r.width:tt(n.width)-Q-C,E=r?r.height:tt(n.height)-S-x,T=y+_+C+w,I=E+m+x+b,L=kt({devicePixelContentBoxSize:Ht(Math.round(y*devicePixelRatio),Math.round(E*devicePixelRatio),i),borderBoxSize:Ht(T,I,i),contentBoxSize:Ht(y,E,i),contentRect:new cs(f,a,y,E)});return Zn.set(t,L),L},ms=function(t,e,n){var r=ds(t,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case mn.DEVICE_PIXEL_CONTENT_BOX:return s;case mn.BORDER_BOX:return o;default:return i}},Jl=function(){function t(e){var n=ds(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=kt([n.borderBoxSize]),this.contentBoxSize=kt([n.contentBoxSize]),this.devicePixelContentBoxSize=kt([n.devicePixelContentBoxSize])}return t}(),gs=function(t){if(ls(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Vl=function(){var t=1/0,e=[];Qt.forEach(function(s){if(s.activeTargets.length!==0){var c=[];s.activeTargets.forEach(function(l){var p=new Jl(l.target),f=gs(l.target);c.push(p),l.lastReportedSize=ms(l.target,l.observedBox),f<t&&(t=f)}),e.push(function(){s.callback.call(s.observer,c,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var o=r[n];o()}return t},hs=function(t){Qt.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(gs(o.target)>t?n.activeTargets.push(o):n.skippedTargets.push(o))})})},e0=function(){var t=0;for(hs(t);ql();)t=Vl(),hs(t);return Wl()&&Gl(),t>0},no,vs=[],t0=function(){return vs.splice(0).forEach(function(t){return t()})},n0=function(t){if(!no){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return t0()}).observe(n,r),no=function(){n.textContent="".concat(e?e--:e++)}}vs.push(t),no()},r0=function(t){n0(function(){requestAnimationFrame(t)})},Kn=0,o0=function(){return!!Kn},i0=250,s0={attributes:!0,characterData:!0,childList:!0,subtree:!0},_s=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ws=function(t){return t===void 0&&(t=0),Date.now()+t},ro=!1,a0=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=i0),!ro){ro=!0;var r=ws(e);r0(function(){var o=!1;try{o=e0()}finally{if(ro=!1,e=r-ws(),!o0())return;o?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,s0)};document.body?n():gn.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_s.forEach(function(n){return gn.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),_s.forEach(function(n){return gn.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),oo=new a0,bs=function(t){!Kn&&t>0&&oo.start(),Kn+=t,!Kn&&oo.stop()},c0=function(t){return!to(t)&&!Zl(t)&&getComputedStyle(t).display==="inline"},l0=function(){function t(e,n){this.target=e,this.observedBox=n||mn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=ms(this.target,this.observedBox,!0);return c0(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),u0=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Xn=new WeakMap,ys=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Jn=function(){function t(){}return t.connect=function(e,n){var r=new u0(e,n);Xn.set(e,r)},t.observe=function(e,n,r){var o=Xn.get(e),i=o.observationTargets.length===0;ys(o.observationTargets,n)<0&&(i&&Qt.push(o),o.observationTargets.push(new l0(n,r&&r.box)),bs(1),oo.schedule())},t.unobserve=function(e,n){var r=Xn.get(e),o=ys(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&Qt.splice(Qt.indexOf(r),1),r.observationTargets.splice(o,1),bs(-1))},t.disconnect=function(e){var n=this,r=Xn.get(e);r.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),p0=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Jn.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!us(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Jn.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!us(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Jn.unobserve(this,e)},t.prototype.disconnect=function(){Jn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();function xs(t,e){var n,r;typeof e=="number"?e={enLen:1,nonEnLen:e}:((e=e||{}).enLen=(n=e.enLen)!==null&&n!==void 0?n:1,e.nonEnLen=(r=e.nonEnLen)!==null&&r!==void 0?r:2);let o=0;for(let i=t.length-1;i>=0;i--)o+=t.charCodeAt(i)>255?e.nonEnLen||0:e.enLen||0;return o}const f0=['"',"'","&","<",">"," "],Cs=[""","'","&","<",">"," "],d0=Object.create(null),m0=Object.create(null);f0.forEach((t,e)=>{d0[t]=Cs[e],m0[Cs[e]]=t});function hn(t,e){if(!(t|=0)||t<0)throw new Error('"length" must be a number greater than 0');let n="";do n+=Math.random().toString(36).substr(2);while(n.length<t);return n=n.substr(0,t),n}function g0(){let t=Date.now();return typeof performance!="undefined"&&typeof performance.now=="function"&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),(e==="x"?n:3&n|8).toString(16)})}class h0{constructor(){this.__eventStore={}}__addOnEvent(e,n,r,o){if(!n||!r)return;let i=this.__eventStore[n];i||(i=[]),i.push({type:e,handler:r,callbackHandler:r.bind(o)}),this.__eventStore[n]=i}on(e,n,r=this){this.__addOnEvent("normal",e,n,r)}once(e,n,r=this){this.__addOnEvent("once",e,n,r)}off(e,n){let r=this.__eventStore[e];r&&(r=r.filter(o=>o.handler!==n),this.__eventStore[e]=r)}emit(e,n,r){const o=this.__eventStore[e];o&&o.forEach(i=>{const{type:s,handler:c,callbackHandler:a}=i;typeof a=="function"&&a(n,r),s==="once"&&this.off(e,c)})}destroy(){this.__eventStore={}}}const v0=(()=>{let t;return()=>{if(t==null)try{t=function(){const e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){const n="image/webp";return e.toDataURL(n).indexOf("data:"+n)===0}return!1}()||function(){let e=!1;const n=navigator.userAgent,r=/\bOS\s([\d_.]+)\slike\sMac\sOS\sX\b/.exec(n);if(r)e=parseInt(r[1])>=14;else{const o=/\bVersion\/([\d.]+)\sSafari\b/.exec(n);o&&(e=parseInt(o[1])>=16)}return e}()}catch(e){t=!1}return t}})();function _0(t){const e=(t||"").split("."),n=e[e.length-1];return n?n.toLowerCase():""}function w0(t){var e,n;const r=typeof t=="number"?{width:t}:t;return r.allowJPG=(e=r.allowJPG)===null||e===void 0||e,r.allowWebP=(n=r.allowWebP)!==null&&n!==void 0?n:"auto",r}function b0(t){let e;if(typeof document!="undefined"){const n=document.createElement("a");n.href=t,e=n}else if(typeof URL=="function")try{e=new URL(/^\/\//.test(t)?"https:"+t:t)}catch(n){}return e}function y0(t,e){let n="";return e.width==null&&e.height==null||(n+="/resize",e.width&&(n+=",w_"+e.width),e.height&&(n+=",h_"+e.height),n+=",limit_1"),e.allowAVIF&&t!=="gif"?n+="/format,avif":e.allowWebP===!0||e.allowWebP==="auto"&&v0()?n+="/format,webp/quality,Q_80":e.allowJPG&&t!=="gif"&&(n+="/format,jpg/quality,Q_80"),n}function x0(t,e){let n=!1;return t=t.replace(/([?&]x-oss-process)(?:=([^&]*))?/,(r,o,i)=>(n=!0,/^image/.test(i)?o+"="+i.replace(/\/(?:resize|format|quality)[^/]*/gi,"")+e:r)),n?t:t+(t.indexOf("?")===-1?"?":"&")+"x-oss-process=image"+e}function Qs(t,e){const n=b0(t);if(!n)return t;const r=_0(n.pathname.split("/").pop());if(!/\.videocc\.net$/i.test(n.hostname)||r==="svg")return t;const o=y0(r,w0(e));return o&&(n.search=x0(n.search,o)),n.href}function C0(t){return new Promise((e,n)=>{const r=new Image;function o(){e({width:r.width,height:r.height,element:r})}r.onload=o,r.onerror=function(){n(new Error(`"${t}" load failed.`))},r.src=t,r.complete&&o()})}var Ie="top",He="bottom",je="right",Le="left",Vn="auto",vn=[Ie,He,je,Le],jt="start",_n="end",Q0="clippingParents",ks="viewport",wn="popper",k0="reference",Ss=vn.reduce(function(t,e){return t.concat([e+"-"+jt,e+"-"+_n])},[]),Es=[].concat(vn,[Vn]).reduce(function(t,e){return t.concat([e,e+"-"+jt,e+"-"+_n])},[]),S0="beforeRead",E0="read",T0="afterRead",I0="beforeMain",L0="main",P0="afterMain",A0="beforeWrite",$0="write",R0="afterWrite",io=[S0,E0,T0,I0,L0,P0,A0,$0,R0];function nt(t){return t?(t.nodeName||"").toLowerCase():null}function Xe(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function qt(t){var e=Xe(t).Element;return t instanceof e||t instanceof Element}function ze(t){var e=Xe(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function so(t){if(typeof ShadowRoot=="undefined")return!1;var e=Xe(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function O0(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!ze(i)||!nt(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var c=o[s];c===!1?i.removeAttribute(s):i.setAttribute(s,c===!0?"":c)}))})}function D0(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),c=s.reduce(function(a,l){return a[l]="",a},{});!ze(o)||!nt(o)||(Object.assign(o.style,c),Object.keys(i).forEach(function(a){o.removeAttribute(a)}))})}}const z0={name:"applyStyles",enabled:!0,phase:"write",fn:O0,effect:D0,requires:["computeStyles"]};function Je(t){return t.split("-")[0]}var St=Math.max,er=Math.min,Wt=Math.round;function Gt(t,e){e===void 0&&(e=!1);var n=t.getBoundingClientRect(),r=1,o=1;if(ze(t)&&e){var i=t.offsetHeight,s=t.offsetWidth;s>0&&(r=Wt(n.width)/s||1),i>0&&(o=Wt(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ao(t){var e=Gt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Ts(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&so(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ve(t){return Xe(t).getComputedStyle(t)}function F0(t){return["table","td","th"].indexOf(nt(t))>=0}function dt(t){return((qt(t)?t.ownerDocument:t.document)||window.document).documentElement}function tr(t){return nt(t)==="html"?t:t.assignedSlot||t.parentNode||(so(t)?t.host:null)||dt(t)}function Is(t){return!ze(t)||Ve(t).position==="fixed"?null:t.offsetParent}function B0(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&ze(t)){var r=Ve(t);if(r.position==="fixed")return null}var o=tr(t);for(so(o)&&(o=o.host);ze(o)&&["html","body"].indexOf(nt(o))<0;){var i=Ve(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function bn(t){for(var e=Xe(t),n=Is(t);n&&F0(n)&&Ve(n).position==="static";)n=Is(n);return n&&(nt(n)==="html"||nt(n)==="body"&&Ve(n).position==="static")?e:n||B0(t)||e}function co(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function yn(t,e,n){return St(t,er(e,n))}function M0(t,e,n){var r=yn(t,e,n);return r>n?n:r}function Ls(){return{top:0,right:0,bottom:0,left:0}}function Ps(t){return Object.assign({},Ls(),t)}function As(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var $s={},N0=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Ps(typeof e!="number"?e:As(e,vn))};function U0(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,c=Je(n.placement),a=co(c),l=[Le,je].indexOf(c)>=0,p=l?"height":"width";if(!(!i||!s)){var f=N0(o.padding,n),h=ao(i),d=a==="y"?Ie:Le,v=a==="y"?He:je,g=n.rects.reference[p]+n.rects.reference[a]-s[a]-n.rects.popper[p],_=s[a]-n.rects.reference[a],m=bn(i),w=m?a==="y"?m.clientHeight||0:m.clientWidth||0:0,b=g/2-_/2,x=f[d],C=w-h[p]-f[v],Q=w/2-h[p]/2+b,S=yn(x,Q,C),y=a;n.modifiersData[r]=(e={},e[y]=S,e.centerOffset=S-Q,e)}}function H0(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o))){if($s.NODE_ENV!=="production"&&(ze(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Ts(e.elements.popper,o)){$s.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=o}}const j0={name:"arrow",enabled:!0,phase:"main",fn:U0,effect:H0,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yt(t){return t.split("-")[1]}var q0={},W0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G0(t){var e=t.x,n=t.y,r=window,o=r.devicePixelRatio||1;return{x:Wt(e*o)/o||0,y:Wt(n*o)/o||0}}function Rs(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,s=t.offsets,c=t.position,a=t.gpuAcceleration,l=t.adaptive,p=t.roundOffsets,f=t.isFixed,h=s.x,d=h===void 0?0:h,v=s.y,g=v===void 0?0:v,_=typeof p=="function"?p({x:d,y:g}):{x:d,y:g};d=_.x,g=_.y;var m=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),b=Le,x=Ie,C=window;if(l){var Q=bn(n),S="clientHeight",y="clientWidth";if(Q===Xe(n)&&(Q=dt(n),Ve(Q).position!=="static"&&c==="absolute"&&(S="scrollHeight",y="scrollWidth")),Q=Q,o===Ie||(o===Le||o===je)&&i===_n){x=He;var E=f&&Q===C&&C.visualViewport?C.visualViewport.height:Q[S];g-=E-r.height,g*=a?1:-1}if(o===Le||(o===Ie||o===He)&&i===_n){b=je;var T=f&&Q===C&&C.visualViewport?C.visualViewport.width:Q[y];d-=T-r.width,d*=a?1:-1}}var I=Object.assign({position:c},l&&W0),L=p===!0?G0({x:d,y:g}):{x:d,y:g};if(d=L.x,g=L.y,a){var A;return Object.assign({},I,(A={},A[x]=w?"0":"",A[b]=m?"0":"",A.transform=(C.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",A))}return Object.assign({},I,(e={},e[x]=w?g+"px":"",e[b]=m?d+"px":"",e.transform="",e))}function Y0(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,c=n.roundOffsets,a=c===void 0?!0:c;if(q0.NODE_ENV!=="production"){var l=Ve(e.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(f){return l.indexOf(f)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
7
|
+
*/function os(t){return Object.prototype.toString.call(t)==="[object Object]"}function zl(t){var e,n;return os(t)===!1?!1:(e=t.constructor,e===void 0?!0:(n=e.prototype,!(os(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}var Fl={};function bn(){return bn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},bn.apply(this,arguments)}function is(t,e){if(t==null)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}const so={silent:!1,logLevel:"warn"},Bl=["validator"],ss=Object.prototype,as=ss.toString,Ml=ss.hasOwnProperty,cs=/^\s*function (\w+)/;function ls(t){var e;const n=(e=t==null?void 0:t.type)!==null&&e!==void 0?e:t;if(n){const r=n.toString().match(cs);return r?r[1]:""}return""}const St=zl,us=t=>t;let fe=us;Fl.NODE_ENV!=="production"&&(fe=typeof console!="undefined"?function(e,n=so.logLevel){so.silent===!1&&console[n](`[VueTypes warn]: ${e}`)}:us);const qt=(t,e)=>Ml.call(t,e),Nl=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t},Wt=Array.isArray||function(t){return as.call(t)==="[object Array]"},Gt=t=>as.call(t)==="[object Function]",er=(t,e)=>St(t)&&qt(t,"_vueTypes_name")&&(!e||t._vueTypes_name===e),ps=t=>St(t)&&(qt(t,"type")||["_vueTypes_name","validator","default","required"].some(e=>qt(t,e)));function ao(t,e){return Object.defineProperty(t.bind(e),"__original",{value:t})}function It(t,e,n=!1){let r,o=!0,i="";r=St(t)?t:{type:t};const s=er(r)?r._vueTypes_name+" - ":"";if(ps(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&e==null)return o;Wt(r.type)?(o=r.type.some(c=>It(c,e,!0)===!0),i=r.type.map(c=>ls(c)).join(" or ")):(i=ls(r),o=i==="Array"?Wt(e):i==="Object"?St(e):i==="String"||i==="Number"||i==="Boolean"||i==="Function"?function(c){if(c==null)return"";const a=c.constructor.toString().match(cs);return a?a[1].replace(/^Async/,""):""}(e)===i:e instanceof r.type)}if(!o){const c=`${s}value "${e}" should be of type "${i}"`;return n===!1?(fe(c),!1):c}if(qt(r,"validator")&&Gt(r.validator)){const c=fe,a=[];if(fe=l=>{a.push(l)},o=r.validator(e),fe=c,!o){const l=(a.length>1?"* ":"")+a.join(`
|
|
8
|
+
* `);return a.length=0,n===!1?(fe(l),o):l}}return o}function De(t,e){const n=Object.defineProperties(e,{_vueTypes_name:{value:t,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(o){return o===void 0?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(qt(this,"default")&&delete this.default,this):Gt(o)||It(this,o,!0)===!0?(this.default=Wt(o)?()=>[...o]:St(o)?()=>Object.assign({},o):o,this):(fe(`${this._vueTypes_name} - invalid default value: "${o}"`),this)}}}),{validator:r}=n;return Gt(r)&&(n.validator=ao(r,n)),n}function nt(t,e){const n=De(t,e);return Object.defineProperty(n,"validate",{value(r){return Gt(this.validator)&&fe(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
|
|
9
|
+
${JSON.stringify(this)}`),this.validator=ao(r,this),this}})}function fs(t,e,n){const r=function(a){const l={};return Object.getOwnPropertyNames(a).forEach(u=>{l[u]=Object.getOwnPropertyDescriptor(a,u)}),Object.defineProperties({},l)}(e);if(r._vueTypes_name=t,!St(n))return r;const{validator:o}=n,i=is(n,Bl);if(Gt(o)){let{validator:a}=r;a&&(a=(c=(s=a).__original)!==null&&c!==void 0?c:s),r.validator=ao(a?function(l){return a.call(this,l)&&o.call(this,l)}:o,r)}var s,c;return Object.assign(r,i)}function tr(t){return t.replace(/^(?!\s*$)/gm," ")}const ds=()=>nt("any",{}),ms=()=>nt("function",{type:Function}),co=()=>nt("boolean",{type:Boolean}),nr=()=>nt("string",{type:String}),lo=()=>nt("number",{type:Number}),gs=()=>nt("array",{type:Array}),uo=()=>nt("object",{type:Object}),Hl=()=>De("integer",{type:Number,validator(t){const e=Nl(t);return e===!1&&fe(`integer - "${t}" is not an integer`),e}}),Ul=()=>De("symbol",{validator(t){const e=typeof t=="symbol";return e===!1&&fe(`symbol - invalid value "${t}"`),e}}),jl=()=>Object.defineProperty({type:null,validator(t){const e=t===null;return e===!1&&fe("nullable - value should be null"),e}},"_vueTypes_name",{value:"nullable"});function ql(t,e="custom validation failed"){if(typeof t!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return De(t.name||"<<anonymous function>>",{type:null,validator(n){const r=t(n);return r||fe(`${this._vueTypes_name} - ${e}`),r}})}function hs(t){if(!Wt(t))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const e=`oneOf - value should be one of "${t.map(r=>typeof r=="symbol"?r.toString():r).join('", "')}".`,n={validator(r){const o=t.indexOf(r)!==-1;return o||fe(e),o}};if(t.indexOf(null)===-1){const r=t.reduce((o,i)=>{if(i!=null){const s=i.constructor;o.indexOf(s)===-1&&o.push(s)}return o},[]);r.length>0&&(n.type=r)}return De("oneOf",n)}function po(t){if(!Wt(t))throw new TypeError("[VueTypes error]: You must provide an array as argument");let e=!1,n=!1,r=[];for(let i=0;i<t.length;i+=1){const s=t[i];if(ps(s)){if(Gt(s.validator)&&(e=!0),er(s,"oneOf")&&s.type){r=r.concat(s.type);continue}if(er(s,"nullable")){n=!0;continue}if(s.type===!0||!s.type){fe('oneOfType - invalid usage of "true" and "null" as types.');continue}r=r.concat(s.type)}else r.push(s)}r=r.filter((i,s)=>r.indexOf(i)===s);const o=n===!1&&r.length>0?r:null;return De("oneOfType",e?{type:o,validator(i){const s=[],c=t.some(a=>{const l=It(a,i,!0);return typeof l=="string"&&s.push(l),l===!0});return c||fe(`oneOfType - provided value does not match any of the ${s.length} passed-in validators:
|
|
10
|
+
${tr(s.join(`
|
|
11
|
+
`))}`),c}}:{type:o})}function Wl(t){return De("arrayOf",{type:Array,validator(e){let n="";const r=e.every(o=>(n=It(t,o,!0),n===!0));return r||fe(`arrayOf - value validation error:
|
|
12
|
+
${tr(n)}`),r}})}function Gl(t){return De("instanceOf",{type:t})}function Zl(t){return De("objectOf",{type:Object,validator(e){let n="";const r=Object.keys(e).every(o=>(n=It(t,e[o],!0),n===!0));return r||fe(`objectOf - value validation error:
|
|
13
|
+
${tr(n)}`),r}})}function Yl(t){const e=Object.keys(t),n=e.filter(o=>{var i;return!((i=t[o])===null||i===void 0||!i.required)}),r=De("shape",{type:Object,validator(o){if(!St(o))return!1;const i=Object.keys(o);if(n.length>0&&n.some(s=>i.indexOf(s)===-1)){const s=n.filter(c=>i.indexOf(c)===-1);return fe(s.length===1?`shape - required property "${s[0]}" is not defined.`:`shape - required properties "${s.join('", "')}" are not defined.`),!1}return i.every(s=>{if(e.indexOf(s)===-1)return this._vueTypes_isLoose===!0||(fe(`shape - shape definition does not include a "${s}" property. Allowed keys: "${e.join('", "')}".`),!1);const c=It(t[s],o[s],!0);return typeof c=="string"&&fe(`shape - "${s}" property validation error:
|
|
14
|
+
${tr(c)}`),c===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),r}const Kl=["name","validate","getter"],Xl=(()=>{var t;return(t=class{static get any(){return ds()}static get func(){return ms().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?co():co().def(this.defaults.bool)}static get string(){return nr().def(this.defaults.string)}static get number(){return lo().def(this.defaults.number)}static get array(){return gs().def(this.defaults.array)}static get object(){return uo().def(this.defaults.object)}static get integer(){return Hl().def(this.defaults.integer)}static get symbol(){return Ul()}static get nullable(){return jl()}static extend(e){if(fe("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),Wt(e))return e.forEach(a=>this.extend(a)),this;const{name:n,validate:r=!1,getter:o=!1}=e,i=is(e,Kl);if(qt(this,n))throw new TypeError(`[VueTypes error]: Type "${n}" already defined`);const{type:s}=i;if(er(s))return delete i.type,Object.defineProperty(this,n,o?{get:()=>fs(n,s,i)}:{value(...a){const l=fs(n,s,i);return l.validator&&(l.validator=l.validator.bind(l,...a)),l}});let c;return c=o?{get(){const a=Object.assign({},i);return r?nt(n,a):De(n,a)},enumerable:!0}:{value(...a){const l=Object.assign({},i);let u;return u=r?nt(n,l):De(n,l),l.validator&&(u.validator=l.validator.bind(u,...a)),u},enumerable:!0},Object.defineProperty(this,n,c)}}).defaults={},t.sensibleDefaults=void 0,t.config=so,t.custom=ql,t.oneOf=hs,t.instanceOf=Gl,t.oneOfType=po,t.arrayOf=Wl,t.objectOf=Zl,t.shape=Yl,t.utils={validate:(e,n)=>It(n,e,!0)===!0,toType:(e,n,r=!1)=>r?nt(e,n):De(e,n)},t})();function Jl(t={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var e;return(e=class extends Xl{static get sensibleDefaults(){return bn({},this.defaults)}static set sensibleDefaults(n){this.defaults=n!==!1?bn({},n!==!0?n:t):{}}}).defaults=bn({},t),e}class _x extends Jl(){}class Vl{constructor(){this.__eventStore={}}__addOnEvent(e,n,r,o){if(!n||!r)return;let i=this.__eventStore[n];i||(i=[]),i.push({type:e,handler:r,callbackHandler:r.bind(o)}),this.__eventStore[n]=i}on(e,n,r=this){this.__addOnEvent("normal",e,n,r)}once(e,n,r=this){this.__addOnEvent("once",e,n,r)}off(e,n){let r=this.__eventStore[e];r&&(r=r.filter(o=>o.handler!==n),this.__eventStore[e]=r)}emit(e,n,r){const o=this.__eventStore[e];o&&o.forEach(i=>{const{type:s,handler:c,callbackHandler:a}=i;typeof a=="function"&&a(n,r),s==="once"&&this.off(e,c)})}destroy(){this.__eventStore={}}}function vs(t,e){var n,r;typeof e=="number"?e={enLen:1,nonEnLen:e}:((e=e||{}).enLen=(n=e.enLen)!==null&&n!==void 0?n:1,e.nonEnLen=(r=e.nonEnLen)!==null&&r!==void 0?r:2);let o=0;for(let i=t.length-1;i>=0;i--)o+=t.charCodeAt(i)>255?e.nonEnLen||0:e.enLen||0;return o}const e0=['"',"'","&","<",">"," "],_s=[""","'","&","<",">"," "],t0=Object.create(null),n0=Object.create(null);e0.forEach((t,e)=>{t0[t]=_s[e],n0[_s[e]]=t});function ut(t,e){if(!(t|=0)||t<0)throw new Error('"length" must be a number greater than 0');let n="";do n+=Math.random().toString(36).substr(2);while(n.length<t);return n=n.substr(0,t),n}function r0(){let t=Date.now();return typeof performance!="undefined"&&typeof performance.now=="function"&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),(e==="x"?n:3&n|8).toString(16)})}function o0(t,e){t=t.toLowerCase();const n=/[/\s;_-]/,r=/[/\s;_-]/;return e.some(o=>{const i=t.indexOf(o.toLowerCase());if(i!==-1&&(n.test(t[i-1])||i===0)&&(r.test(t[i+o.length])||i+o.length>=t.length))return!0})}function i0(t,e){return!!/;\s*([^;)]*?)(?:\s+Build\/[^;)]+)?(?:;(?:\s*wv)?)?\)/.test(t)&&e.test(RegExp.$1)}function rr(t,e){let n;return e.some(r=>{let o,i=!1;return r.regExp?(i=r.regExp.test(t),i&&(o=RegExp.$1)):r.keywords?i=o0(t,r.keywords):r.modelRegExp&&(i=i0(t,r.modelRegExp)),i&&(n={name:r.name,version:o}),i}),n}const s0=[{name:"windows",regExp:/\bWindows\s?NT\s?(([\d.]+))\b/},{name:"ios",regExp:/\bOS(?:\s([\d_.]+))?\slike\sMac\sOS\sX\b/},{name:"macos",regExp:/\bMac\sOS\sX(?:\s([\d_.]+))?/},{name:"openharmony",regExp:/\bOpenHarmony\s([\d.]+)\b/},{name:"android",regExp:/\bAndroid;?(?:[-/\s]([\d.]+))?(?:\b|_)/},{name:"android",regExp:/\bAdr\s([\d.]+)(?:\b|_)/}];function a0(t,e){const n=/(\.0+)+$/,r=String(t).replace(n,"").split("."),o=String(e).replace(n,"").split("."),i=Math.min(r.length,o.length);for(let s=0;s<i;s++){const c=parseInt(r[s])-parseInt(o[s]);if(c)return c}return r.length-o.length}class Zt{constructor(e){this._ver=(e||"").replace(/_/g,".").replace(/\.+$/,""),Object.freeze(this)}_compare(e,n){if(!this._ver||!e)return!1;const r=Array.isArray(n)?n:[n],o=a0(this._ver,e);return r.some(function(i){return o*i>0||o===0&&i===0})}gt(e){return this._compare(e,1)}gte(e){return this._compare(e,[1,0])}lt(e){return this._compare(e,-1)}lte(e){return this._compare(e,[-1,0])}eq(e){return this._compare(e,0)}toString(){return this._ver}}const c0={ios:"isIOS",openharmony:"isOpenHarmony",android:"isAndroid",windows:"isWindows",macos:"isMacOS"};function l0(t){switch(t){case"Android":return"android";case"iPad":case"iPhone":case"iPod":return"ios";case"MacIntel":return"macos";case"Win32":return"windows"}}class u0{constructor(e,n){var r;let o;if(this.isIOS=!1,this.isAndroid=!1,this.isHarmonyOS=!1,this.isOpenHarmony=!1,this.isWindows=!1,this.isMacOS=!1,n==null?void 0:n.platform){const s=l0(n.platform);s!==void 0&&(o={name:s,version:""})}let i=(r=rr(e,s0))!==null&&r!==void 0?r:o;i?(o&&o.name!==i.name&&(i=o),i.name==="macos"&&(n!=null&&n.maxTouchPoints)&&(i.name="ios",i.version=""),this[c0[i.name]]=!0,this.version=new Zt(i.version),this.isAndroid&&/\bHarmonyOS\b/.test(e)&&(this.isHarmonyOS=!0),Object.freeze(this)):this.version=Object.freeze(new Zt(""))}}const p0=[{name:"ipad",regExp:/iPad/},{name:"ipod",regExp:/iPod/},{name:"iphone",regExp:/iPhone/}],f0=[{name:"huawei",regExp:/\b(?:huawei|honor)/i},{name:"huawei",keywords:["ideahub","figi"]},{name:"vivo",keywords:["vivo"]},{name:"oppo",keywords:["oppo"]},{name:"mi",keywords:["redmi","hongmi","shark","Mi","MIX","POCO","POCOPHONE"]},{name:"mi",regExp:/\bxiaomi/i},{name:"samsung",keywords:["samsung","galaxy"]},{name:"oneplus",keywords:["oneplus","one"]},{name:"huawei",modelRegExp:/^Mate\s*\d{2}/i},{name:"huawei",modelRegExp:/^Nova\s\d$/},{name:"huawei",regExp:/\b(?:Hi)?MatePad/i},{name:"huawei",regExp:/\b(?:Liantong|UNICOMVSENS)VP\d{3}\b/},{name:"huawei",regExp:/\bCMDCSP\d{3}\b/},{name:"huawei",regExp:/\bTDTECH/i},{name:"huawei",modelRegExp:/^[A-Z]{3}\d?-W[0-5]9[A-Z]*$/},{name:"huawei",modelRegExp:/^[A-Z][A-Za-z]{2,3}-(?:AN|BD|BX|AL|TL)\d{2}[A-Za-z]*$/},{name:"huawei",modelRegExp:/^TYH\d+[A-Z]?$/},{name:"huawei",modelRegExp:/^H60-L0[12]$/},{name:"mi",modelRegExp:/^MI\s?(?:\d|CC|Note|MAX|PLAY|PAD)/i},{name:"mi",modelRegExp:/^(?:AWM|SKR|SKW|DLT)-/},{name:"mi",modelRegExp:/^XIG\d{2}$/},{name:"mi",modelRegExp:/^M\d{4}[A-Z]\d{1,2}[A-Z]{1,3}$/},{name:"mi",modelRegExp:/^2\d{3}[A-Z0-9]{6}$/},{name:"mi",modelRegExp:/^2\d{5}[0-9A-Z]{2}[A-Z]$/},{name:"mi",modelRegExp:/^2\d{6}[A-Z]$/},{name:"mi",modelRegExp:/^2\d{7}[A-Z]{2,3}$/},{name:"samsung",modelRegExp:/^S(?:M|[CGP]H)-[A-Za-z0-9]+$/},{name:"samsung",modelRegExp:/^SCV3\d$/},{name:"samsung",modelRegExp:/^SC-\d{2}[A-Z]$/},{name:"samsung",modelRegExp:/^SH[WV]-/},{name:"samsung",modelRegExp:/^GT[-_][A-Z][A-Z0-9]{3,}$/i},{name:"oppo",modelRegExp:/^(?:CPH|OPD|iPA)\d{4}$/},{name:"oppo",modelRegExp:/^OPG\d{2}$/},{name:"oppo",modelRegExp:/^A[1-5]0[1-9]OP$/},{name:"oneplus",modelRegExp:/^(?:KB|HD|IN|GM|NE|LE|MT)\d{4}$/},{name:"vivo",modelRegExp:/^V[12]\d{3}[A-Z]{0,2}$/}],d0={ipod:"isIPod",iphone:"isIPhone",ipad:"isIPad",huawei:"isHuawei",mi:"isMi",oppo:"isOppo",vivo:"isVivo",oneplus:"isOnePlus",samsung:"isSamsung"};class m0{constructor(e,n){let r;if(this.isHuawei=!1,this.isMi=!1,this.isOppo=!1,this.isVivo=!1,this.isOnePlus=!1,this.isSamsung=!1,this.isIPod=!1,this.isIPhone=!1,this.isIPad=!1,this.isMac=!1,this.isApple=!1,n.isIOS?(r=p0,this.isApple=!0):n.isMacOS?(this.isMac=!0,this.isApple=!0):(n.isAndroid||n.isOpenHarmony)&&(r=f0),r){const o=rr(e,r);o?this[d0[o.name]]=!0:n.isIOS&&(this.isIPad=!0)}Object.freeze(this)}}const ws=[{name:"edge",regExp:/\bEdge\/([\d.]+)/},{name:"chrome",regExp:/\b(?:Chrome|CrMo|CriOS)\/([\d.]+)/},{name:"safari",regExp:/\b(?:Version\/([\d.]+).*\s?)?Safari\b/},{name:"ie",regExp:/\bMSIE\s(\d+)/i},{name:"ie",regExp:/\bTrident\/.*;\srv:(\d+)/},{name:"firefox",regExp:/\bFirefox\/([\d.]+)/},{name:"opera-presto",regExp:/\bOpera\/([\d.]+)/}],g0={chrome:"isChrome",safari:"isSafari",edge:"isEdge",ie:"isIE",firefox:"isFirefox","opera-presto":"isPrestoOpera"};class h0{constructor(e){this.isChrome=!1,this.isSafari=!1,this.isEdge=!1,this.isIE=!1,this.isFirefox=!1,this.isPrestoOpera=!1;const n=rr(e,ws);n?(this[g0[n.name]]=!0,this.version=new Zt(n.version)):this.version=new Zt(""),Object.freeze(this)}}let fo=[{name:"wxwork",regExp:/\bwxwork\/([\d.]+)/},{name:"wx",regExp:/\bMicroMessenger\/([\d.]+)/},{name:"ding",regExp:/\bDingTalk\/([\d.]+)/},{name:"qq",regExp:/\bQQ\/([\d.]+)/},{name:"qq",regExp:/\bIPadQQ\b/},{name:"weibo",regExp:/(?:\b|_)Weibo(?:\b|_)/i},{name:"edge",regExp:/\bEdge?\/([\d.]+)/},{name:"opera-blink",regExp:/\bOPR\/([\d.]+)/},{name:"qqbrowser",regExp:/\bM?QQBrowser(?:\/([\d.]+))?/i},{name:"ucbrowser",regExp:/\b(?:UCBrowser|UCWEB)(?:-CMCC)?\/?\s?([\d.]+)/},{name:"ucbrowser",regExp:/\bUC\b/},{name:"quark",regExp:/\bQuark\/([\d.]+)/},{name:"maxthon",regExp:/\b(?:Maxthon|MxBrowser)(?:[/\s]([\d.]+))?/},{name:"theworld",regExp:/\bTheWorld(?:\s([\d.]+))?/i},{name:"baidubrowser",regExp:/\b(?:baidubrowser|bdbrowser_i18n|BIDUBrowser)(?:[/\s]([\d.]+))?/i},{name:"baidubrowser",regExp:/\bbaidubrowserpad\b/},{name:"baiduapp",regExp:/\bbaiduboxapp\b\/([\d.]+)?/i},{name:"baiduapp",regExp:/\bbaiduboxpad\b/i}];fo=fo.concat(ws);const v0={wxwork:"isWxWork",wx:"isWx",ding:"isDing",qq:"isQQ",weibo:"isWeibo",edge:"isEdge","opera-blink":"isOpera","opera-presto":"isOpera",qqbrowser:"isQQBrowser",ucbrowser:"isUCBrowser",quark:"isQuark",maxthon:"isMaxthon",theworld:"isTheWorld",baidubrowser:"isBaiduBrowser",baiduapp:"isBaiduApp",chrome:"isChrome",safari:"isSafari",ie:"isIE",firefox:"isFirefox"};class _0{constructor(e){this.isWxWork=!1,this.isWx=!1,this.isWxMiniProgram=!1,this.isDing=!1,this.isQQ=!1,this.isWeibo=!1,this.isEdge=!1,this.isOpera=!1,this.isQQBrowser=!1,this.isUCBrowser=!1,this.isQuark=!1,this.isMaxthon=!1,this.isTheWorld=!1,this.isBaiduBrowser=!1,this.isBaiduApp=!1,this.isChrome=!1,this.isSafari=!1,this.isIE=!1,this.isFirefox=!1;const n=rr(e,fo);n?(this[v0[n.name]]=!0,this.version=new Zt(n.version)):this.version=new Zt(""),this.isWxMiniProgram=(this.isWx||this.isWxWork)&&/\bMiniProgramEnv\b/.test(e),Object.freeze(this)}}class bs{constructor(e,n){this.os=Object.freeze(new u0(e,n)),this.brand=Object.freeze(new m0(e,this.os)),this.browser=Object.freeze(new h0(e)),this.client=Object.freeze(new _0(e)),this.isTablet=this.brand.isIPad||/\bTablet\b/i.test(e)||this.os.isAndroid&&!/\bMobile\b/i.test(e),this.os.isIOS||this.os.isAndroid||this.isTablet?this.isPortable=!0:/\(X11[;)]/i.test(e)||/\b(Windows\sNT|Macintosh)\b/.test(e)?this.isPortable=!1:this.isPortable=/mobile|android/i.test(e),Object.freeze(this)}}let mo;function w0(){return mo||(mo=Object.freeze(typeof window!="undefined"?new bs(window.navigator.userAgent,window.navigator):new bs(""))),mo}var Tt=[],b0=function(){return Tt.some(function(t){return t.activeTargets.length>0})},y0=function(){return Tt.some(function(t){return t.skippedTargets.length>0})},ys="ResizeObserver loop completed with undelivered notifications.",x0=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:ys}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=ys),window.dispatchEvent(t)},yn;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(yn||(yn={}));var Lt=function(t){return Object.freeze(t)},C0=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,Lt(this)}return t}(),xs=function(){function t(e,n,r,o){return this.x=e,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Lt(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,o=e.top,i=e.right,s=e.bottom,c=e.left,a=e.width,l=e.height;return{x:n,y:r,top:o,right:i,bottom:s,left:c,width:a,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),go=function(t){return t instanceof SVGElement&&"getBBox"in t},Cs=function(t){if(go(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||t.getClientRects().length)},Qs=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Q0=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},xn=typeof window!="undefined"?window:{},or=new WeakMap,ks=/auto|scroll/,k0=/^tb|vertical/,E0=/msie|trident/i.test(xn.navigator&&xn.navigator.userAgent),rt=function(t){return parseFloat(t||"0")},Yt=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new C0((n?e:t)||0,(n?t:e)||0)},Es=Lt({devicePixelContentBoxSize:Yt(),borderBoxSize:Yt(),contentBoxSize:Yt(),contentRect:new xs(0,0,0,0)}),Ss=function(t,e){if(e===void 0&&(e=!1),or.has(t)&&!e)return or.get(t);if(Cs(t))return or.set(t,Es),Es;var n=getComputedStyle(t),r=go(t)&&t.ownerSVGElement&&t.getBBox(),o=!E0&&n.boxSizing==="border-box",i=k0.test(n.writingMode||""),s=!r&&ks.test(n.overflowY||""),c=!r&&ks.test(n.overflowX||""),a=r?0:rt(n.paddingTop),l=r?0:rt(n.paddingRight),u=r?0:rt(n.paddingBottom),f=r?0:rt(n.paddingLeft),h=r?0:rt(n.borderTopWidth),d=r?0:rt(n.borderRightWidth),_=r?0:rt(n.borderBottomWidth),m=r?0:rt(n.borderLeftWidth),w=f+l,g=a+u,v=m+d,b=h+_,y=c?t.offsetHeight-b-t.clientHeight:0,x=s?t.offsetWidth-v-t.clientWidth:0,C=o?w+v:0,E=o?g+b:0,Q=r?r.width:rt(n.width)-C-x,S=r?r.height:rt(n.height)-E-y,I=Q+w+x+v,T=S+g+y+b,L=Lt({devicePixelContentBoxSize:Yt(Math.round(Q*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:Yt(I,T,i),contentBoxSize:Yt(Q,S,i),contentRect:new xs(f,a,Q,S)});return or.set(t,L),L},Is=function(t,e,n){var r=Ss(t,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case yn.DEVICE_PIXEL_CONTENT_BOX:return s;case yn.BORDER_BOX:return o;default:return i}},S0=function(){function t(e){var n=Ss(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=Lt([n.borderBoxSize]),this.contentBoxSize=Lt([n.contentBoxSize]),this.devicePixelContentBoxSize=Lt([n.devicePixelContentBoxSize])}return t}(),Ts=function(t){if(Cs(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},I0=function(){var t=1/0,e=[];Tt.forEach(function(s){if(s.activeTargets.length!==0){var c=[];s.activeTargets.forEach(function(l){var u=new S0(l.target),f=Ts(l.target);c.push(u),l.lastReportedSize=Is(l.target,l.observedBox),f<t&&(t=f)}),e.push(function(){s.callback.call(s.observer,c,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var o=r[n];o()}return t},Ls=function(t){Tt.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(Ts(o.target)>t?n.activeTargets.push(o):n.skippedTargets.push(o))})})},T0=function(){var t=0;for(Ls(t);b0();)t=I0(),Ls(t);return y0()&&x0(),t>0},ho,Ps=[],L0=function(){return Ps.splice(0).forEach(function(t){return t()})},P0=function(t){if(!ho){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return L0()}).observe(n,r),ho=function(){n.textContent="".concat(e?e--:e++)}}Ps.push(t),ho()},A0=function(t){P0(function(){requestAnimationFrame(t)})},ir=0,$0=function(){return!!ir},R0=250,O0={attributes:!0,characterData:!0,childList:!0,subtree:!0},As=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],$s=function(t){return t===void 0&&(t=0),Date.now()+t},vo=!1,D0=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=R0),!vo){vo=!0;var r=$s(e);A0(function(){var o=!1;try{o=T0()}finally{if(vo=!1,e=r-$s(),!$0())return;o?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,O0)};document.body?n():xn.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),As.forEach(function(n){return xn.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),As.forEach(function(n){return xn.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),_o=new D0,Rs=function(t){!ir&&t>0&&_o.start(),ir+=t,!ir&&_o.stop()},z0=function(t){return!go(t)&&!Q0(t)&&getComputedStyle(t).display==="inline"},F0=function(){function t(e,n){this.target=e,this.observedBox=n||yn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Is(this.target,this.observedBox,!0);return z0(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),B0=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),sr=new WeakMap,Os=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},ar=function(){function t(){}return t.connect=function(e,n){var r=new B0(e,n);sr.set(e,r)},t.observe=function(e,n,r){var o=sr.get(e),i=o.observationTargets.length===0;Os(o.observationTargets,n)<0&&(i&&Tt.push(o),o.observationTargets.push(new F0(n,r&&r.box)),Rs(1),_o.schedule())},t.unobserve=function(e,n){var r=sr.get(e),o=Os(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&Tt.splice(Tt.indexOf(r),1),r.observationTargets.splice(o,1),Rs(-1))},t.disconnect=function(e){var n=this,r=sr.get(e);r.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),M0=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ar.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Qs(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ar.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Qs(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ar.unobserve(this,e)},t.prototype.disconnect=function(){ar.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),mt;(function(t){t.B="B",t.KB="KB",t.MB="MB",t.GB="GB",t.TB="TB"})(mt||(mt={}));function N0(t,e){const n=typeof e=="object"?Object.assign({},e):{unit:e};if(!n.unit)throw new Error("Please specify file size unit");const r=[mt.B,mt.KB,mt.MB,mt.GB,mt.TB],o={value:t,unit:n.unit};return r.some((i,s)=>{const c=t/Math.pow(1024,s);return n.allowPureDecimal===!1&&c<1||(o.value=c,o.unit=i,n.unit===i||s===r.length)}),o}function Ds(t){const e=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/^([a-z]+:)?\/\/[^/]+/i,"").split("/"),n=/\.([a-z0-9]+)$/.exec(e[e.length-1]);return n?n[1].toLowerCase():""}var Ke;(function(t){t.PPT="ppt",t.PDF="pdf",t.Word="word",t.Excel="excel",t.Image="image",t.Txt="txt",t.Zip="zip",t.Others="others"})(Ke||(Ke={}));function zs(t){const e=Ds(t);return["pdf"].indexOf(e)!==-1?Ke.PDF:["doc","docx"].indexOf(e)!==-1?Ke.Word:["xls","xlsx"].indexOf(e)!==-1?Ke.Excel:["txt","md","csv","log"].indexOf(e)!==-1?Ke.Txt:["zip","rar","7z","tar","gz","bz2"].indexOf(e)!==-1?Ke.Zip:["ppt","pptx"].indexOf(e)!==-1?Ke.PPT:["jpg","jpeg","png","gif","bmp","webp","svg"].indexOf(e)!==-1?Ke.Image:Ke.Others}const H0=(()=>{let t;return()=>{if(t==null)try{t=function(){const e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){const n="image/webp";return e.toDataURL(n).indexOf("data:"+n)===0}return!1}()||function(){let e=!1;const n=navigator.userAgent,r=/\bOS\s([\d_.]+)\slike\sMac\sOS\sX\b/.exec(n);if(r)e=parseInt(r[1])>=14;else{const o=/\bVersion\/([\d.]+)\sSafari\b/.exec(n);o&&(e=parseInt(o[1])>=16)}return e}()}catch(e){t=!1}return t}})();var wo;function U0(t){const e=(t||"").split("."),n=e[e.length-1];return n?n.toLowerCase():""}function j0(t){var e,n;const r=typeof t=="number"?{width:t}:t;return r.allowJPG=(e=r.allowJPG)===null||e===void 0||e,r.allowWebP=(n=r.allowWebP)!==null&&n!==void 0?n:"auto",r}function q0(t){let e;if(typeof document!="undefined"){const n=document.createElement("a");n.href=t,e=n}else if(typeof URL=="function")try{e=new URL(/^\/\//.test(t)?"https:"+t:t)}catch(n){}return e}function W0(t,e){let n="";return e.width==null&&e.height==null||(n+="/resize",e.width&&(n+=",w_"+e.width),e.height&&(n+=",h_"+e.height),e.mode&&(n+=",m_"+e.mode),n+=",limit_1"),e.allowAVIF&&t!=="gif"?n+="/format,avif":e.allowWebP===!0||e.allowWebP==="auto"&&H0()?n+="/format,webp/quality,Q_80":e.allowJPG&&t!=="gif"&&(n+="/format,jpg/quality,Q_80"),n}function G0(t,e){let n=!1;return t=t.replace(/([?&]x-oss-process)(?:=([^&]*))?/,(r,o,i)=>(n=!0,/^image/.test(i)?o+"="+i.replace(/\/(?:resize|format|quality)[^/]*/gi,"")+e:r)),n?t:t+(t.indexOf("?")===-1?"?":"&")+"x-oss-process=image"+e}(function(t){t.LFit="lfit",t.MFit="mfit",t.Fill="fill",t.Pad="pad",t.Fixed="fixed"})(wo||(wo={}));function Fs(t,e){const n=q0(t);if(!n)return t;const r=U0(n.pathname.split("/").pop());if(!/\.videocc\.net$/i.test(n.hostname)||r==="svg")return t;const o=W0(r,j0(e));return o&&(n.search=G0(n.search,o)),n.href}function Z0(t){return new Promise((e,n)=>{const r=new Image;function o(){e({width:r.width,height:r.height,element:r})}r.onload=o,r.onerror=function(){n(new Error(`"${t}" load failed.`))},r.src=t,r.complete&&o()})}var Le="top",He="bottom",Ue="right",Pe="left",cr="auto",Cn=[Le,He,Ue,Pe],Kt="start",Qn="end",Y0="clippingParents",Bs="viewport",kn="popper",K0="reference",Ms=Cn.reduce(function(t,e){return t.concat([e+"-"+Kt,e+"-"+Qn])},[]),Ns=[].concat(Cn,[cr]).reduce(function(t,e){return t.concat([e,e+"-"+Kt,e+"-"+Qn])},[]),X0="beforeRead",J0="read",V0="afterRead",e2="beforeMain",t2="main",n2="afterMain",r2="beforeWrite",o2="write",i2="afterWrite",bo=[X0,J0,V0,e2,t2,n2,r2,o2,i2];function ot(t){return t?(t.nodeName||"").toLowerCase():null}function Xe(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Xt(t){var e=Xe(t).Element;return t instanceof e||t instanceof Element}function ze(t){var e=Xe(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function yo(t){if(typeof ShadowRoot=="undefined")return!1;var e=Xe(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function s2(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!ze(i)||!ot(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var c=o[s];c===!1?i.removeAttribute(s):i.setAttribute(s,c===!0?"":c)}))})}function a2(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),c=s.reduce(function(a,l){return a[l]="",a},{});!ze(o)||!ot(o)||(Object.assign(o.style,c),Object.keys(i).forEach(function(a){o.removeAttribute(a)}))})}}const c2={name:"applyStyles",enabled:!0,phase:"write",fn:s2,effect:a2,requires:["computeStyles"]};function Je(t){return t.split("-")[0]}var Pt=Math.max,lr=Math.min,Jt=Math.round;function Vt(t,e){e===void 0&&(e=!1);var n=t.getBoundingClientRect(),r=1,o=1;if(ze(t)&&e){var i=t.offsetHeight,s=t.offsetWidth;s>0&&(r=Jt(n.width)/s||1),i>0&&(o=Jt(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function xo(t){var e=Vt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Hs(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&yo(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ve(t){return Xe(t).getComputedStyle(t)}function l2(t){return["table","td","th"].indexOf(ot(t))>=0}function gt(t){return((Xt(t)?t.ownerDocument:t.document)||window.document).documentElement}function ur(t){return ot(t)==="html"?t:t.assignedSlot||t.parentNode||(yo(t)?t.host:null)||gt(t)}function Us(t){return!ze(t)||Ve(t).position==="fixed"?null:t.offsetParent}function u2(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&ze(t)){var r=Ve(t);if(r.position==="fixed")return null}var o=ur(t);for(yo(o)&&(o=o.host);ze(o)&&["html","body"].indexOf(ot(o))<0;){var i=Ve(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function En(t){for(var e=Xe(t),n=Us(t);n&&l2(n)&&Ve(n).position==="static";)n=Us(n);return n&&(ot(n)==="html"||ot(n)==="body"&&Ve(n).position==="static")?e:n||u2(t)||e}function Co(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Sn(t,e,n){return Pt(t,lr(e,n))}function p2(t,e,n){var r=Sn(t,e,n);return r>n?n:r}function js(){return{top:0,right:0,bottom:0,left:0}}function qs(t){return Object.assign({},js(),t)}function Ws(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Gs={},f2=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,qs(typeof e!="number"?e:Ws(e,Cn))};function d2(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,c=Je(n.placement),a=Co(c),l=[Pe,Ue].indexOf(c)>=0,u=l?"height":"width";if(!(!i||!s)){var f=f2(o.padding,n),h=xo(i),d=a==="y"?Le:Pe,_=a==="y"?He:Ue,m=n.rects.reference[u]+n.rects.reference[a]-s[a]-n.rects.popper[u],w=s[a]-n.rects.reference[a],g=En(i),v=g?a==="y"?g.clientHeight||0:g.clientWidth||0:0,b=m/2-w/2,y=f[d],x=v-h[u]-f[_],C=v/2-h[u]/2+b,E=Sn(y,C,x),Q=a;n.modifiersData[r]=(e={},e[Q]=E,e.centerOffset=E-C,e)}}function m2(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o))){if(Gs.NODE_ENV!=="production"&&(ze(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Hs(e.elements.popper,o)){Gs.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=o}}const g2={name:"arrow",enabled:!0,phase:"main",fn:d2,effect:m2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function en(t){return t.split("-")[1]}var h2={},v2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _2(t){var e=t.x,n=t.y,r=window,o=r.devicePixelRatio||1;return{x:Jt(e*o)/o||0,y:Jt(n*o)/o||0}}function Zs(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,s=t.offsets,c=t.position,a=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,f=t.isFixed,h=s.x,d=h===void 0?0:h,_=s.y,m=_===void 0?0:_,w=typeof u=="function"?u({x:d,y:m}):{x:d,y:m};d=w.x,m=w.y;var g=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),b=Pe,y=Le,x=window;if(l){var C=En(n),E="clientHeight",Q="clientWidth";if(C===Xe(n)&&(C=gt(n),Ve(C).position!=="static"&&c==="absolute"&&(E="scrollHeight",Q="scrollWidth")),C=C,o===Le||(o===Pe||o===Ue)&&i===Qn){y=He;var S=f&&C===x&&x.visualViewport?x.visualViewport.height:C[E];m-=S-r.height,m*=a?1:-1}if(o===Pe||(o===Le||o===He)&&i===Qn){b=Ue;var I=f&&C===x&&x.visualViewport?x.visualViewport.width:C[Q];d-=I-r.width,d*=a?1:-1}}var T=Object.assign({position:c},l&&v2),L=u===!0?_2({x:d,y:m}):{x:d,y:m};if(d=L.x,m=L.y,a){var A;return Object.assign({},T,(A={},A[y]=v?"0":"",A[b]=g?"0":"",A.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",A))}return Object.assign({},T,(e={},e[y]=v?m+"px":"",e[b]=g?d+"px":"",e.transform="",e))}function w2(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,c=n.roundOffsets,a=c===void 0?!0:c;if(h2.NODE_ENV!=="production"){var l=Ve(e.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(f){return l.indexOf(f)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
15
15
|
|
|
16
16
|
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
17
17
|
|
|
18
|
-
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var p={placement:Je(e.placement),variation:Yt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Rs(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Rs(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Z0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Y0,data:{}};var nr={passive:!0};function K0(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,c=s===void 0?!0:s,a=Xe(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&l.forEach(function(p){p.addEventListener("scroll",n.update,nr)}),c&&a.addEventListener("resize",n.update,nr),function(){i&&l.forEach(function(p){p.removeEventListener("scroll",n.update,nr)}),c&&a.removeEventListener("resize",n.update,nr)}}const X0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:K0,data:{}};var J0={left:"right",right:"left",bottom:"top",top:"bottom"};function rr(t){return t.replace(/left|right|bottom|top/g,function(e){return J0[e]})}var V0={start:"end",end:"start"};function Os(t){return t.replace(/start|end/g,function(e){return V0[e]})}function lo(t){var e=Xe(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function uo(t){return Gt(dt(t)).left+lo(t).scrollLeft}function e2(t){var e=Xe(t),n=dt(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:s+uo(t),y:c}}function t2(t){var e,n=dt(t),r=lo(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=St(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=St(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+uo(t),a=-r.scrollTop;return Ve(o||n).direction==="rtl"&&(c+=St(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:c,y:a}}function po(t){var e=Ve(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ds(t){return["html","body","#document"].indexOf(nt(t))>=0?t.ownerDocument.body:ze(t)&&po(t)?t:Ds(tr(t))}function xn(t,e){var n;e===void 0&&(e=[]);var r=Ds(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Xe(r),s=o?[i].concat(i.visualViewport||[],po(r)?r:[]):r,c=e.concat(s);return o?c:c.concat(xn(tr(s)))}function fo(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function n2(t){var e=Gt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function zs(t,e){return e===ks?fo(e2(t)):qt(e)?n2(e):fo(t2(dt(t)))}function r2(t){var e=xn(tr(t)),n=["absolute","fixed"].indexOf(Ve(t).position)>=0,r=n&&ze(t)?bn(t):t;return qt(r)?e.filter(function(o){return qt(o)&&Ts(o,r)&&nt(o)!=="body"}):[]}function o2(t,e,n){var r=e==="clippingParents"?r2(t):[].concat(e),o=[].concat(r,[n]),i=o[0],s=o.reduce(function(c,a){var l=zs(t,a);return c.top=St(l.top,c.top),c.right=er(l.right,c.right),c.bottom=er(l.bottom,c.bottom),c.left=St(l.left,c.left),c},zs(t,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Fs(t){var e=t.reference,n=t.element,r=t.placement,o=r?Je(r):null,i=r?Yt(r):null,s=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2,a;switch(o){case Ie:a={x:s,y:e.y-n.height};break;case He:a={x:s,y:e.y+e.height};break;case je:a={x:e.x+e.width,y:c};break;case Le:a={x:e.x-n.width,y:c};break;default:a={x:e.x,y:e.y}}var l=o?co(o):null;if(l!=null){var p=l==="y"?"height":"width";switch(i){case jt:a[l]=a[l]-(e[p]/2-n[p]/2);break;case _n:a[l]=a[l]+(e[p]/2-n[p]/2);break}}return a}function Cn(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.boundary,s=i===void 0?Q0:i,c=n.rootBoundary,a=c===void 0?ks:c,l=n.elementContext,p=l===void 0?wn:l,f=n.altBoundary,h=f===void 0?!1:f,d=n.padding,v=d===void 0?0:d,g=Ps(typeof v!="number"?v:As(v,vn)),_=p===wn?k0:wn,m=t.rects.popper,w=t.elements[h?_:p],b=o2(qt(w)?w:w.contextElement||dt(t.elements.popper),s,a),x=Gt(t.elements.reference),C=Fs({reference:x,element:m,placement:o}),Q=fo(Object.assign({},m,C)),S=p===wn?Q:x,y={top:b.top-S.top+g.top,bottom:S.bottom-b.bottom+g.bottom,left:b.left-S.left+g.left,right:S.right-b.right+g.right},E=t.modifiersData.offset;if(p===wn&&E){var T=E[o];Object.keys(y).forEach(function(I){var L=[je,He].indexOf(I)>=0?1:-1,A=[Ie,He].indexOf(I)>=0?"y":"x";y[I]+=T[A]*L})}return y}var i2={};function s2(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,c=n.flipVariations,a=n.allowedAutoPlacements,l=a===void 0?Es:a,p=Yt(r),f=p?c?Ss:Ss.filter(function(v){return Yt(v)===p}):vn,h=f.filter(function(v){return l.indexOf(v)>=0});h.length===0&&(h=f,i2.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=h.reduce(function(v,g){return v[g]=Cn(t,{placement:g,boundary:o,rootBoundary:i,padding:s})[Je(g)],v},{});return Object.keys(d).sort(function(v,g){return d[v]-d[g]})}function a2(t){if(Je(t)===Vn)return[];var e=rr(t);return[Os(t),e,Os(e)]}function c2(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!0:s,a=n.fallbackPlacements,l=n.padding,p=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,v=d===void 0?!0:d,g=n.allowedAutoPlacements,_=e.options.placement,m=Je(_),w=m===_,b=a||(w||!v?[rr(_)]:a2(_)),x=[_].concat(b).reduce(function(U,M){return U.concat(Je(M)===Vn?s2(e,{placement:M,boundary:p,rootBoundary:f,padding:l,flipVariations:v,allowedAutoPlacements:g}):M)},[]),C=e.rects.reference,Q=e.rects.popper,S=new Map,y=!0,E=x[0],T=0;T<x.length;T++){var I=x[T],L=Je(I),A=Yt(I)===jt,$=[Ie,He].indexOf(L)>=0,O=$?"width":"height",F=Cn(e,{placement:I,boundary:p,rootBoundary:f,altBoundary:h,padding:l}),W=$?A?je:Le:A?He:Ie;C[O]>Q[O]&&(W=rr(W));var N=rr(W),Z=[];if(i&&Z.push(F[L]<=0),c&&Z.push(F[W]<=0,F[N]<=0),Z.every(function(U){return U})){E=I,y=!1;break}S.set(I,Z)}if(y)for(var X=v?3:1,B=function(M){var Y=x.find(function(ie){var ge=S.get(ie);if(ge)return ge.slice(0,M).every(function($e){return $e})});if(Y)return E=Y,"break"},R=X;R>0;R--){var z=B(R);if(z==="break")break}e.placement!==E&&(e.modifiersData[r]._skip=!0,e.placement=E,e.reset=!0)}}const l2={name:"flip",enabled:!0,phase:"main",fn:c2,requiresIfExists:["offset"],data:{_skip:!1}};function Bs(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ms(t){return[Ie,je,He,Le].some(function(e){return t[e]>=0})}function u2(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,s=Cn(e,{elementContext:"reference"}),c=Cn(e,{altBoundary:!0}),a=Bs(s,r),l=Bs(c,o,i),p=Ms(a),f=Ms(l);e.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:p,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}const p2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:u2};function f2(t,e,n){var r=Je(t),o=[Le,Ie].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=i[0],c=i[1];return s=s||0,c=(c||0)*o,[Le,je].indexOf(r)>=0?{x:c,y:s}:{x:s,y:c}}function d2(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,s=Es.reduce(function(p,f){return p[f]=f2(f,e.rects,i),p},{}),c=s[e.placement],a=c.x,l=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=s}const m2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:d2};function g2(t){var e=t.state,n=t.name;e.modifiersData[n]=Fs({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const h2={name:"popperOffsets",enabled:!0,phase:"read",fn:g2,data:{}};function v2(t){return t==="x"?"y":"x"}function _2(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!1:s,a=n.boundary,l=n.rootBoundary,p=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,v=n.tetherOffset,g=v===void 0?0:v,_=Cn(e,{boundary:a,rootBoundary:l,padding:f,altBoundary:p}),m=Je(e.placement),w=Yt(e.placement),b=!w,x=co(m),C=v2(x),Q=e.modifiersData.popperOffsets,S=e.rects.reference,y=e.rects.popper,E=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,T=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(Q){if(i){var A,$=x==="y"?Ie:Le,O=x==="y"?He:je,F=x==="y"?"height":"width",W=Q[x],N=W+_[$],Z=W-_[O],X=d?-y[F]/2:0,B=w===jt?S[F]:y[F],R=w===jt?-y[F]:-S[F],z=e.elements.arrow,U=d&&z?ao(z):{width:0,height:0},M=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ls(),Y=M[$],ie=M[O],ge=yn(0,S[F],U[F]),$e=b?S[F]/2-X-ge-Y-T.mainAxis:B-ge-Y-T.mainAxis,zt=b?-S[F]/2+X+ge+ie+T.mainAxis:R+ge+ie+T.mainAxis,pn=e.elements.arrow&&bn(e.elements.arrow),Gr=pn?x==="y"?pn.clientTop||0:pn.clientLeft||0:0,ml=(A=I==null?void 0:I[x])!=null?A:0,jy=W+$e-ml-Gr,qy=W+zt-ml,gl=yn(d?er(N,jy):N,W,d?St(Z,qy):Z);Q[x]=gl,L[x]=gl-W}if(c){var hl,Wy=x==="x"?Ie:Le,Gy=x==="x"?He:je,Ft=Q[C],Yr=C==="y"?"height":"width",vl=Ft+_[Wy],_l=Ft-_[Gy],qi=[Ie,Le].indexOf(m)!==-1,wl=(hl=I==null?void 0:I[C])!=null?hl:0,bl=qi?vl:Ft-S[Yr]-y[Yr]-wl+T.altAxis,yl=qi?Ft+S[Yr]+y[Yr]-wl-T.altAxis:_l,xl=d&&qi?M0(bl,Ft,yl):yn(d?bl:vl,Ft,d?yl:_l);Q[C]=xl,L[C]=xl-Ft}e.modifiersData[r]=L}}const w2={name:"preventOverflow",enabled:!0,phase:"main",fn:_2,requiresIfExists:["offset"]};function b2(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function y2(t){return t===Xe(t)||!ze(t)?lo(t):b2(t)}function x2(t){var e=t.getBoundingClientRect(),n=Wt(e.width)/t.offsetWidth||1,r=Wt(e.height)/t.offsetHeight||1;return n!==1||r!==1}function C2(t,e,n){n===void 0&&(n=!1);var r=ze(e),o=ze(e)&&x2(e),i=dt(e),s=Gt(t,o),c={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!n)&&((nt(e)!=="body"||po(i))&&(c=y2(e)),ze(e)?(a=Gt(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):i&&(a.x=uo(i))),{x:s.left+c.scrollLeft-a.x,y:s.top+c.scrollTop-a.y,width:s.width,height:s.height}}function Q2(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(c){if(!n.has(c)){var a=e.get(c);a&&o(a)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function k2(t){var e=Q2(t);return io.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function S2(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function mt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(o,i){return o.replace(/%s/,i)},t)}var Et='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',E2='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Ns=["name","enabled","phase","fn","effect","requires","options"];function T2(t){t.forEach(function(e){[].concat(Object.keys(e),Ns).filter(function(n,r,o){return o.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof e.name!="string"&&console.error(mt(Et,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(mt(Et,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":io.indexOf(e.phase)<0&&console.error(mt(Et,e.name,'"phase"',"either "+io.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(mt(Et,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(mt(Et,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(mt(Et,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(mt(Et,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+Ns.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}e.requires&&e.requires.forEach(function(r){t.find(function(o){return o.name===r})==null&&console.error(mt(E2,String(e.name),r,r))})})})}function I2(t,e){var n=new Set;return t.filter(function(r){var o=e(r);if(!n.has(o))return n.add(o),!0})}function L2(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var or={},Us="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",P2="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Hs={placement:"bottom",modifiers:[],strategy:"absolute"};function js(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function A2(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Hs:o;return function(c,a,l){l===void 0&&(l=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hs,i),modifiersData:{},elements:{reference:c,popper:a},attributes:{},styles:{}},f=[],h=!1,d={state:p,setOptions:function(m){var w=typeof m=="function"?m(p.options):m;g(),p.options=Object.assign({},i,p.options,w),p.scrollParents={reference:qt(c)?xn(c):c.contextElement?xn(c.contextElement):[],popper:xn(a)};var b=k2(L2([].concat(r,p.options.modifiers)));if(p.orderedModifiers=b.filter(function(I){return I.enabled}),or.NODE_ENV!=="production"){var x=I2([].concat(b,p.options.modifiers),function(I){var L=I.name;return L});if(T2(x),Je(p.options.placement)===Vn){var C=p.orderedModifiers.find(function(I){var L=I.name;return L==="flip"});C||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var Q=Ve(a),S=Q.marginTop,y=Q.marginRight,E=Q.marginBottom,T=Q.marginLeft;[S,y,E,T].some(function(I){return parseFloat(I)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return v(),d.update()},forceUpdate:function(){if(!h){var m=p.elements,w=m.reference,b=m.popper;if(!js(w,b)){or.NODE_ENV!=="production"&&console.error(Us);return}p.rects={reference:C2(w,bn(b),p.options.strategy==="fixed"),popper:ao(b)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(I){return p.modifiersData[I.name]=Object.assign({},I.data)});for(var x=0,C=0;C<p.orderedModifiers.length;C++){if(or.NODE_ENV!=="production"&&(x+=1,x>100)){console.error(P2);break}if(p.reset===!0){p.reset=!1,C=-1;continue}var Q=p.orderedModifiers[C],S=Q.fn,y=Q.options,E=y===void 0?{}:y,T=Q.name;typeof S=="function"&&(p=S({state:p,options:E,name:T,instance:d})||p)}}},update:S2(function(){return new Promise(function(_){d.forceUpdate(),_(p)})}),destroy:function(){g(),h=!0}};if(!js(c,a))return or.NODE_ENV!=="production"&&console.error(Us),d;d.setOptions(l).then(function(_){!h&&l.onFirstUpdate&&l.onFirstUpdate(_)});function v(){p.orderedModifiers.forEach(function(_){var m=_.name,w=_.options,b=w===void 0?{}:w,x=_.effect;if(typeof x=="function"){var C=x({state:p,name:m,instance:d,options:b}),Q=function(){};f.push(C||Q)}})}function g(){f.forEach(function(_){return _()}),f=[]}return d}}var $2=[X0,h2,Z0,z0,m2,l2,w2,j0,p2],R2=A2({defaultModifiers:$2});function O2(t,e){t=t.toLowerCase();const n=/[/\s;_-]/,r=/[/\s;_-]/;return e.some(o=>{const i=t.indexOf(o.toLowerCase());if(i!==-1&&(n.test(t[i-1])||i===0)&&(r.test(t[i+o.length])||i+o.length>=t.length))return!0})}function D2(t,e){return!!/;\s*([^;)]*?)(?:\s+Build\/[^;)]+)?(?:;(?:\s*wv)?)?\)/.test(t)&&e.test(RegExp.$1)}function ir(t,e){let n;return e.some(r=>{let o,i=!1;return r.regExp?(i=r.regExp.test(t),i&&(o=RegExp.$1)):r.keywords?i=O2(t,r.keywords):r.modelRegExp&&(i=D2(t,r.modelRegExp)),i&&(n={name:r.name,version:o}),i}),n}const z2=[{name:"windows",regExp:/\bWindows\s?NT\s?(([\d.]+))\b/},{name:"ios",regExp:/\bOS(?:\s([\d_.]+))?\slike\sMac\sOS\sX\b/},{name:"macos",regExp:/\bMac\sOS\sX(?:\s([\d_.]+))?/},{name:"openharmony",regExp:/\bOpenHarmony\s([\d.]+)\b/},{name:"android",regExp:/\bAndroid;?(?:[-/\s]([\d.]+))?(?:\b|_)/},{name:"android",regExp:/\bAdr\s([\d.]+)(?:\b|_)/}];function F2(t,e){const n=/(\.0+)+$/,r=String(t).replace(n,"").split("."),o=String(e).replace(n,"").split("."),i=Math.min(r.length,o.length);for(let s=0;s<i;s++){const c=parseInt(r[s])-parseInt(o[s]);if(c)return c}return r.length-o.length}class Zt{constructor(e){this._ver=(e||"").replace(/_/g,".").replace(/\.+$/,""),Object.freeze(this)}_compare(e,n){if(!this._ver||!e)return!1;const r=Array.isArray(n)?n:[n],o=F2(this._ver,e);return r.some(function(i){return o*i>0||o===0&&i===0})}gt(e){return this._compare(e,1)}gte(e){return this._compare(e,[1,0])}lt(e){return this._compare(e,-1)}lte(e){return this._compare(e,[-1,0])}eq(e){return this._compare(e,0)}toString(){return this._ver}}const B2={ios:"isIOS",openharmony:"isOpenHarmony",android:"isAndroid",windows:"isWindows",macos:"isMacOS"};function M2(t){switch(t){case"Android":return"android";case"iPad":case"iPhone":case"iPod":return"ios";case"MacIntel":return"macos";case"Win32":return"windows"}}class N2{constructor(e,n){var r;let o;if(this.isIOS=!1,this.isAndroid=!1,this.isHarmonyOS=!1,this.isOpenHarmony=!1,this.isWindows=!1,this.isMacOS=!1,n==null?void 0:n.platform){const s=M2(n.platform);s!==void 0&&(o={name:s,version:""})}let i=(r=ir(e,z2))!==null&&r!==void 0?r:o;i?(o&&o.name!==i.name&&(i=o),i.name==="macos"&&(n!=null&&n.maxTouchPoints)&&(i.name="ios",i.version=""),this[B2[i.name]]=!0,this.version=new Zt(i.version),this.isAndroid&&/\bHarmonyOS\b/.test(e)&&(this.isHarmonyOS=!0),Object.freeze(this)):this.version=Object.freeze(new Zt(""))}}const U2=[{name:"ipad",regExp:/iPad/},{name:"ipod",regExp:/iPod/},{name:"iphone",regExp:/iPhone/}],H2=[{name:"huawei",regExp:/\b(?:huawei|honor)/i},{name:"huawei",keywords:["ideahub","figi"]},{name:"vivo",keywords:["vivo"]},{name:"oppo",keywords:["oppo"]},{name:"mi",keywords:["redmi","hongmi","shark","Mi","MIX","POCO","POCOPHONE"]},{name:"mi",regExp:/\bxiaomi/i},{name:"samsung",keywords:["samsung","galaxy"]},{name:"oneplus",keywords:["oneplus","one"]},{name:"huawei",modelRegExp:/^Mate\s*\d{2}/i},{name:"huawei",modelRegExp:/^Nova\s\d$/},{name:"huawei",regExp:/\b(?:Hi)?MatePad/i},{name:"huawei",regExp:/\b(?:Liantong|UNICOMVSENS)VP\d{3}\b/},{name:"huawei",regExp:/\bCMDCSP\d{3}\b/},{name:"huawei",regExp:/\bTDTECH/i},{name:"huawei",modelRegExp:/^[A-Z]{3}\d?-W[0-5]9[A-Z]*$/},{name:"huawei",modelRegExp:/^[A-Z][A-Za-z]{2,3}-(?:AN|BD|BX|AL|TL)\d{2}[A-Za-z]*$/},{name:"huawei",modelRegExp:/^TYH\d+[A-Z]?$/},{name:"huawei",modelRegExp:/^H60-L0[12]$/},{name:"mi",modelRegExp:/^MI\s?(?:\d|CC|Note|MAX|PLAY|PAD)/i},{name:"mi",modelRegExp:/^(?:AWM|SKR|SKW|DLT)-/},{name:"mi",modelRegExp:/^XIG\d{2}$/},{name:"mi",modelRegExp:/^M\d{4}[A-Z]\d{1,2}[A-Z]{1,3}$/},{name:"mi",modelRegExp:/^2\d{3}[A-Z0-9]{6}$/},{name:"mi",modelRegExp:/^2\d{5}[0-9A-Z]{2}[A-Z]$/},{name:"mi",modelRegExp:/^2\d{6}[A-Z]$/},{name:"mi",modelRegExp:/^2\d{7}[A-Z]{2,3}$/},{name:"samsung",modelRegExp:/^S(?:M|[CGP]H)-[A-Za-z0-9]+$/},{name:"samsung",modelRegExp:/^SCV3\d$/},{name:"samsung",modelRegExp:/^SC-\d{2}[A-Z]$/},{name:"samsung",modelRegExp:/^SH[WV]-/},{name:"samsung",modelRegExp:/^GT[-_][A-Z][A-Z0-9]{3,}$/i},{name:"oppo",modelRegExp:/^(?:CPH|OPD|iPA)\d{4}$/},{name:"oppo",modelRegExp:/^OPG\d{2}$/},{name:"oppo",modelRegExp:/^A[1-5]0[1-9]OP$/},{name:"oneplus",modelRegExp:/^(?:KB|HD|IN|GM|NE|LE|MT)\d{4}$/},{name:"vivo",modelRegExp:/^V[12]\d{3}[A-Z]{0,2}$/}],j2={ipod:"isIPod",iphone:"isIPhone",ipad:"isIPad",huawei:"isHuawei",mi:"isMi",oppo:"isOppo",vivo:"isVivo",oneplus:"isOnePlus",samsung:"isSamsung"};class q2{constructor(e,n){let r;if(this.isHuawei=!1,this.isMi=!1,this.isOppo=!1,this.isVivo=!1,this.isOnePlus=!1,this.isSamsung=!1,this.isIPod=!1,this.isIPhone=!1,this.isIPad=!1,this.isMac=!1,this.isApple=!1,n.isIOS?(r=U2,this.isApple=!0):n.isMacOS?(this.isMac=!0,this.isApple=!0):(n.isAndroid||n.isOpenHarmony)&&(r=H2),r){const o=ir(e,r);o?this[j2[o.name]]=!0:n.isIOS&&(this.isIPad=!0)}Object.freeze(this)}}const qs=[{name:"edge",regExp:/\bEdge\/([\d.]+)/},{name:"chrome",regExp:/\b(?:Chrome|CrMo|CriOS)\/([\d.]+)/},{name:"safari",regExp:/\b(?:Version\/([\d.]+).*\s?)?Safari\b/},{name:"ie",regExp:/\bMSIE\s(\d+)/i},{name:"ie",regExp:/\bTrident\/.*;\srv:(\d+)/},{name:"firefox",regExp:/\bFirefox\/([\d.]+)/},{name:"opera-presto",regExp:/\bOpera\/([\d.]+)/}],W2={chrome:"isChrome",safari:"isSafari",edge:"isEdge",ie:"isIE",firefox:"isFirefox","opera-presto":"isPrestoOpera"};class G2{constructor(e){this.isChrome=!1,this.isSafari=!1,this.isEdge=!1,this.isIE=!1,this.isFirefox=!1,this.isPrestoOpera=!1;const n=ir(e,qs);n?(this[W2[n.name]]=!0,this.version=new Zt(n.version)):this.version=new Zt(""),Object.freeze(this)}}let mo=[{name:"wxwork",regExp:/\bwxwork\/([\d.]+)/},{name:"wx",regExp:/\bMicroMessenger\/([\d.]+)/},{name:"ding",regExp:/\bDingTalk\/([\d.]+)/},{name:"qq",regExp:/\bQQ\/([\d.]+)/},{name:"qq",regExp:/\bIPadQQ\b/},{name:"weibo",regExp:/(?:\b|_)Weibo(?:\b|_)/i},{name:"edge",regExp:/\bEdge?\/([\d.]+)/},{name:"opera-blink",regExp:/\bOPR\/([\d.]+)/},{name:"qqbrowser",regExp:/\bM?QQBrowser(?:\/([\d.]+))?/i},{name:"ucbrowser",regExp:/\b(?:UCBrowser|UCWEB)(?:-CMCC)?\/?\s?([\d.]+)/},{name:"ucbrowser",regExp:/\bUC\b/},{name:"quark",regExp:/\bQuark\/([\d.]+)/},{name:"maxthon",regExp:/\b(?:Maxthon|MxBrowser)(?:[/\s]([\d.]+))?/},{name:"theworld",regExp:/\bTheWorld(?:\s([\d.]+))?/i},{name:"baidubrowser",regExp:/\b(?:baidubrowser|bdbrowser_i18n|BIDUBrowser)(?:[/\s]([\d.]+))?/i},{name:"baidubrowser",regExp:/\bbaidubrowserpad\b/},{name:"baiduapp",regExp:/\bbaiduboxapp\b\/([\d.]+)?/i},{name:"baiduapp",regExp:/\bbaiduboxpad\b/i}];mo=mo.concat(qs);const Y2={wxwork:"isWxWork",wx:"isWx",ding:"isDing",qq:"isQQ",weibo:"isWeibo",edge:"isEdge","opera-blink":"isOpera","opera-presto":"isOpera",qqbrowser:"isQQBrowser",ucbrowser:"isUCBrowser",quark:"isQuark",maxthon:"isMaxthon",theworld:"isTheWorld",baidubrowser:"isBaiduBrowser",baiduapp:"isBaiduApp",chrome:"isChrome",safari:"isSafari",ie:"isIE",firefox:"isFirefox"};class Z2{constructor(e){this.isWxWork=!1,this.isWx=!1,this.isWxMiniProgram=!1,this.isDing=!1,this.isQQ=!1,this.isWeibo=!1,this.isEdge=!1,this.isOpera=!1,this.isQQBrowser=!1,this.isUCBrowser=!1,this.isQuark=!1,this.isMaxthon=!1,this.isTheWorld=!1,this.isBaiduBrowser=!1,this.isBaiduApp=!1,this.isChrome=!1,this.isSafari=!1,this.isIE=!1,this.isFirefox=!1;const n=ir(e,mo);n?(this[Y2[n.name]]=!0,this.version=new Zt(n.version)):this.version=new Zt(""),this.isWxMiniProgram=(this.isWx||this.isWxWork)&&/\bMiniProgramEnv\b/.test(e),Object.freeze(this)}}class Ws{constructor(e,n){this.os=Object.freeze(new N2(e,n)),this.brand=Object.freeze(new q2(e,this.os)),this.browser=Object.freeze(new G2(e)),this.client=Object.freeze(new Z2(e)),this.isTablet=this.brand.isIPad||/\bTablet\b/i.test(e)||this.os.isAndroid&&!/\bMobile\b/i.test(e),this.os.isIOS||this.os.isAndroid||this.isTablet?this.isPortable=!0:/\(X11[;)]/i.test(e)||/\b(Windows\sNT|Macintosh)\b/.test(e)?this.isPortable=!1:this.isPortable=/mobile|android/i.test(e),Object.freeze(this)}}let go;function K2(){return go||(go=Object.freeze(typeof window!="undefined"?new Ws(window.navigator.userAgent,window.navigator):new Ws(""))),go}var Gs={};function Tt(){return Tt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Tt.apply(this,arguments)}function X2(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Qn(t,e)}function ho(t){return ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ho(t)}function Qn(t,e){return Qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Qn(t,e)}function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sr(t,e,n){return J2()?sr=Reflect.construct.bind():sr=function(o,i,s){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return s&&Qn(l,s.prototype),l},sr.apply(null,arguments)}function V2(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vo(t){var e=typeof Map=="function"?new Map:void 0;return vo=function(r){if(r===null||!V2(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(r))return e.get(r);e.set(r,o)}function o(){return sr(r,arguments,ho(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Qn(o,r)},vo(t)}var e5=/%[sdj%]/g,Ys=function(){};typeof process!="undefined"&&Gs&&Gs.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Ys=function(e,n){typeof console!="undefined"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING=="undefined"&&n.every(function(r){return typeof r=="string"})&&console.warn(e,n)});function _o(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var r=n.field;e[r]=e[r]||[],e[r].push(n)}),e}function Fe(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0,i=n.length;if(typeof t=="function")return t.apply(null,n);if(typeof t=="string"){var s=t.replace(e5,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(a){return"[Circular]"}break;default:return c}});return s}return t}function t5(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function ve(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||t5(e)&&typeof t=="string"&&!t)}function n5(t,e,n){var r=[],o=0,i=t.length;function s(c){r.push.apply(r,c||[]),o++,o===i&&n(r)}t.forEach(function(c){e(c,s)})}function Zs(t,e,n){var r=0,o=t.length;function i(s){if(s&&s.length){n(s);return}var c=r;r=r+1,c<o?e(t[c],i):n([])}i([])}function r5(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n]||[])}),e}var Ks=function(t){X2(e,t);function e(n,r){var o;return o=t.call(this,"Async Validation Error")||this,o.errors=n,o.fields=r,o}return e}(vo(Error));function o5(t,e,n,r,o){if(e.first){var i=new Promise(function(h,d){var v=function(m){return r(m),m.length?d(new Ks(m,_o(m))):h(o)},g=r5(t);Zs(g,n,v)});return i.catch(function(h){return h}),i}var s=e.firstFields===!0?Object.keys(t):e.firstFields||[],c=Object.keys(t),a=c.length,l=0,p=[],f=new Promise(function(h,d){var v=function(_){if(p.push.apply(p,_),l++,l===a)return r(p),p.length?d(new Ks(p,_o(p))):h(o)};c.length||(r(p),h(o)),c.forEach(function(g){var _=t[g];s.indexOf(g)!==-1?Zs(_,n,v):n5(_,n,v)})});return f.catch(function(h){return h}),f}function i5(t){return!!(t&&t.message!==void 0)}function s5(t,e){for(var n=t,r=0;r<e.length;r++){if(n==null)return n;n=n[e[r]]}return n}function Xs(t,e){return function(n){var r;return t.fullFields?r=s5(e,t.fullFields):r=e[n.field||t.fullField],i5(n)?(n.field=n.field||t.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||t.fullField}}}function Js(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];typeof r=="object"&&typeof t[n]=="object"?t[n]=Tt({},t[n],r):t[n]=r}}return t}var Vs=function(e,n,r,o,i,s){e.required&&(!r.hasOwnProperty(e.field)||ve(n,s||e.type))&&o.push(Fe(i.messages.required,e.fullField))},a5=function(e,n,r,o,i){(/^\s+$/.test(n)||n==="")&&o.push(Fe(i.messages.whitespace,e.fullField))},ar,c5=function(){if(ar)return ar;var t="[a-fA-F\\d:]",e=function(x){return x&&x.includeBoundaries?"(?:(?<=\\s|^)(?="+t+")|(?<="+t+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=(`
|
|
18
|
+
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:Je(e.placement),variation:en(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Zs(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Zs(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const b2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:w2,data:{}};var pr={passive:!0};function y2(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,c=s===void 0?!0:s,a=Xe(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",n.update,pr)}),c&&a.addEventListener("resize",n.update,pr),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",n.update,pr)}),c&&a.removeEventListener("resize",n.update,pr)}}const x2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:y2,data:{}};var C2={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(t){return t.replace(/left|right|bottom|top/g,function(e){return C2[e]})}var Q2={start:"end",end:"start"};function Ys(t){return t.replace(/start|end/g,function(e){return Q2[e]})}function Qo(t){var e=Xe(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ko(t){return Vt(gt(t)).left+Qo(t).scrollLeft}function k2(t){var e=Xe(t),n=gt(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:s+ko(t),y:c}}function E2(t){var e,n=gt(t),r=Qo(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=Pt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Pt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+ko(t),a=-r.scrollTop;return Ve(o||n).direction==="rtl"&&(c+=Pt(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:c,y:a}}function Eo(t){var e=Ve(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ks(t){return["html","body","#document"].indexOf(ot(t))>=0?t.ownerDocument.body:ze(t)&&Eo(t)?t:Ks(ur(t))}function In(t,e){var n;e===void 0&&(e=[]);var r=Ks(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Xe(r),s=o?[i].concat(i.visualViewport||[],Eo(r)?r:[]):r,c=e.concat(s);return o?c:c.concat(In(ur(s)))}function So(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function S2(t){var e=Vt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function Xs(t,e){return e===Bs?So(k2(t)):Xt(e)?S2(e):So(E2(gt(t)))}function I2(t){var e=In(ur(t)),n=["absolute","fixed"].indexOf(Ve(t).position)>=0,r=n&&ze(t)?En(t):t;return Xt(r)?e.filter(function(o){return Xt(o)&&Hs(o,r)&&ot(o)!=="body"}):[]}function T2(t,e,n){var r=e==="clippingParents"?I2(t):[].concat(e),o=[].concat(r,[n]),i=o[0],s=o.reduce(function(c,a){var l=Xs(t,a);return c.top=Pt(l.top,c.top),c.right=lr(l.right,c.right),c.bottom=lr(l.bottom,c.bottom),c.left=Pt(l.left,c.left),c},Xs(t,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Js(t){var e=t.reference,n=t.element,r=t.placement,o=r?Je(r):null,i=r?en(r):null,s=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2,a;switch(o){case Le:a={x:s,y:e.y-n.height};break;case He:a={x:s,y:e.y+e.height};break;case Ue:a={x:e.x+e.width,y:c};break;case Pe:a={x:e.x-n.width,y:c};break;default:a={x:e.x,y:e.y}}var l=o?Co(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case Kt:a[l]=a[l]-(e[u]/2-n[u]/2);break;case Qn:a[l]=a[l]+(e[u]/2-n[u]/2);break}}return a}function Tn(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.boundary,s=i===void 0?Y0:i,c=n.rootBoundary,a=c===void 0?Bs:c,l=n.elementContext,u=l===void 0?kn:l,f=n.altBoundary,h=f===void 0?!1:f,d=n.padding,_=d===void 0?0:d,m=qs(typeof _!="number"?_:Ws(_,Cn)),w=u===kn?K0:kn,g=t.rects.popper,v=t.elements[h?w:u],b=T2(Xt(v)?v:v.contextElement||gt(t.elements.popper),s,a),y=Vt(t.elements.reference),x=Js({reference:y,element:g,placement:o}),C=So(Object.assign({},g,x)),E=u===kn?C:y,Q={top:b.top-E.top+m.top,bottom:E.bottom-b.bottom+m.bottom,left:b.left-E.left+m.left,right:E.right-b.right+m.right},S=t.modifiersData.offset;if(u===kn&&S){var I=S[o];Object.keys(Q).forEach(function(T){var L=[Ue,He].indexOf(T)>=0?1:-1,A=[Le,He].indexOf(T)>=0?"y":"x";Q[T]+=I[A]*L})}return Q}var L2={};function P2(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,c=n.flipVariations,a=n.allowedAutoPlacements,l=a===void 0?Ns:a,u=en(r),f=u?c?Ms:Ms.filter(function(_){return en(_)===u}):Cn,h=f.filter(function(_){return l.indexOf(_)>=0});h.length===0&&(h=f,L2.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=h.reduce(function(_,m){return _[m]=Tn(t,{placement:m,boundary:o,rootBoundary:i,padding:s})[Je(m)],_},{});return Object.keys(d).sort(function(_,m){return d[_]-d[m]})}function A2(t){if(Je(t)===cr)return[];var e=fr(t);return[Ys(t),e,Ys(e)]}function $2(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!0:s,a=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,_=d===void 0?!0:d,m=n.allowedAutoPlacements,w=e.options.placement,g=Je(w),v=g===w,b=a||(v||!_?[fr(w)]:A2(w)),y=[w].concat(b).reduce(function(U,N){return U.concat(Je(N)===cr?P2(e,{placement:N,boundary:u,rootBoundary:f,padding:l,flipVariations:_,allowedAutoPlacements:m}):N)},[]),x=e.rects.reference,C=e.rects.popper,E=new Map,Q=!0,S=y[0],I=0;I<y.length;I++){var T=y[I],L=Je(T),A=en(T)===Kt,$=[Le,He].indexOf(L)>=0,D=$?"width":"height",F=Tn(e,{placement:T,boundary:u,rootBoundary:f,altBoundary:h,padding:l}),G=$?A?Ue:Pe:A?He:Le;x[D]>C[D]&&(G=fr(G));var H=fr(G),K=[];if(i&&K.push(F[L]<=0),c&&K.push(F[G]<=0,F[H]<=0),K.every(function(U){return U})){S=T,Q=!1;break}E.set(T,K)}if(Q)for(var X=_?3:1,B=function(N){var Z=y.find(function(ce){var Qe=E.get(ce);if(Qe)return Qe.slice(0,N).every(function(Qt){return Qt})});if(Z)return S=Z,"break"},R=X;R>0;R--){var z=B(R);if(z==="break")break}e.placement!==S&&(e.modifiersData[r]._skip=!0,e.placement=S,e.reset=!0)}}const R2={name:"flip",enabled:!0,phase:"main",fn:$2,requiresIfExists:["offset"],data:{_skip:!1}};function Vs(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ea(t){return[Le,Ue,He,Pe].some(function(e){return t[e]>=0})}function O2(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,s=Tn(e,{elementContext:"reference"}),c=Tn(e,{altBoundary:!0}),a=Vs(s,r),l=Vs(c,o,i),u=ea(a),f=ea(l);e.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const D2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:O2};function z2(t,e,n){var r=Je(t),o=[Pe,Le].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=i[0],c=i[1];return s=s||0,c=(c||0)*o,[Pe,Ue].indexOf(r)>=0?{x:c,y:s}:{x:s,y:c}}function F2(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,s=Ns.reduce(function(u,f){return u[f]=z2(f,e.rects,i),u},{}),c=s[e.placement],a=c.x,l=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=s}const B2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:F2};function M2(t){var e=t.state,n=t.name;e.modifiersData[n]=Js({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const N2={name:"popperOffsets",enabled:!0,phase:"read",fn:M2,data:{}};function H2(t){return t==="x"?"y":"x"}function U2(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!1:s,a=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,_=n.tetherOffset,m=_===void 0?0:_,w=Tn(e,{boundary:a,rootBoundary:l,padding:f,altBoundary:u}),g=Je(e.placement),v=en(e.placement),b=!v,y=Co(g),x=H2(y),C=e.modifiersData.popperOffsets,E=e.rects.reference,Q=e.rects.popper,S=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,I=typeof S=="number"?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(C){if(i){var A,$=y==="y"?Le:Pe,D=y==="y"?He:Ue,F=y==="y"?"height":"width",G=C[y],H=G+w[$],K=G-w[D],X=d?-Q[F]/2:0,B=v===Kt?E[F]:Q[F],R=v===Kt?-Q[F]:-E[F],z=e.elements.arrow,U=d&&z?xo(z):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:js(),Z=N[$],ce=N[D],Qe=Sn(0,E[F],U[F]),Qt=b?E[F]/2-X-Qe-Z-I.mainAxis:B-Qe-Z-I.mainAxis,Vn=b?-E[F]/2+X+Qe+ce+I.mainAxis:R+Qe+ce+I.mainAxis,_n=e.elements.arrow&&En(e.elements.arrow),oo=_n?y==="y"?_n.clientTop||0:_n.clientLeft||0:0,Ql=(A=T==null?void 0:T[y])!=null?A:0,lx=G+Qt-Ql-oo,ux=G+Vn-Ql,kl=Sn(d?lr(H,lx):H,G,d?Pt(K,ux):K);C[y]=kl,L[y]=kl-G}if(c){var El,px=y==="x"?Le:Pe,fx=y==="x"?He:Ue,Ut=C[x],io=x==="y"?"height":"width",Sl=Ut+w[px],Il=Ut-w[fx],ns=[Le,Pe].indexOf(g)!==-1,Tl=(El=T==null?void 0:T[x])!=null?El:0,Ll=ns?Sl:Ut-E[io]-Q[io]-Tl+I.altAxis,Pl=ns?Ut+E[io]+Q[io]-Tl-I.altAxis:Il,Al=d&&ns?p2(Ll,Ut,Pl):Sn(d?Ll:Sl,Ut,d?Pl:Il);C[x]=Al,L[x]=Al-Ut}e.modifiersData[r]=L}}const j2={name:"preventOverflow",enabled:!0,phase:"main",fn:U2,requiresIfExists:["offset"]};function q2(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function W2(t){return t===Xe(t)||!ze(t)?Qo(t):q2(t)}function G2(t){var e=t.getBoundingClientRect(),n=Jt(e.width)/t.offsetWidth||1,r=Jt(e.height)/t.offsetHeight||1;return n!==1||r!==1}function Z2(t,e,n){n===void 0&&(n=!1);var r=ze(e),o=ze(e)&&G2(e),i=gt(e),s=Vt(t,o),c={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!n)&&((ot(e)!=="body"||Eo(i))&&(c=W2(e)),ze(e)?(a=Vt(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):i&&(a.x=ko(i))),{x:s.left+c.scrollLeft-a.x,y:s.top+c.scrollTop-a.y,width:s.width,height:s.height}}function Y2(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(c){if(!n.has(c)){var a=e.get(c);a&&o(a)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function K2(t){var e=Y2(t);return bo.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function X2(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function ht(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(o,i){return o.replace(/%s/,i)},t)}var At='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',J2='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',ta=["name","enabled","phase","fn","effect","requires","options"];function V2(t){t.forEach(function(e){[].concat(Object.keys(e),ta).filter(function(n,r,o){return o.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof e.name!="string"&&console.error(ht(At,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(ht(At,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":bo.indexOf(e.phase)<0&&console.error(ht(At,e.name,'"phase"',"either "+bo.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(ht(At,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(ht(At,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(ht(At,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(ht(At,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+ta.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}e.requires&&e.requires.forEach(function(r){t.find(function(o){return o.name===r})==null&&console.error(ht(J2,String(e.name),r,r))})})})}function e5(t,e){var n=new Set;return t.filter(function(r){var o=e(r);if(!n.has(o))return n.add(o),!0})}function t5(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var dr={},na="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",n5="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",ra={placement:"bottom",modifiers:[],strategy:"absolute"};function oa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function r5(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?ra:o;return function(c,a,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ra,i),modifiersData:{},elements:{reference:c,popper:a},attributes:{},styles:{}},f=[],h=!1,d={state:u,setOptions:function(g){var v=typeof g=="function"?g(u.options):g;m(),u.options=Object.assign({},i,u.options,v),u.scrollParents={reference:Xt(c)?In(c):c.contextElement?In(c.contextElement):[],popper:In(a)};var b=K2(t5([].concat(r,u.options.modifiers)));if(u.orderedModifiers=b.filter(function(T){return T.enabled}),dr.NODE_ENV!=="production"){var y=e5([].concat(b,u.options.modifiers),function(T){var L=T.name;return L});if(V2(y),Je(u.options.placement)===cr){var x=u.orderedModifiers.find(function(T){var L=T.name;return L==="flip"});x||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var C=Ve(a),E=C.marginTop,Q=C.marginRight,S=C.marginBottom,I=C.marginLeft;[E,Q,S,I].some(function(T){return parseFloat(T)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return _(),d.update()},forceUpdate:function(){if(!h){var g=u.elements,v=g.reference,b=g.popper;if(!oa(v,b)){dr.NODE_ENV!=="production"&&console.error(na);return}u.rects={reference:Z2(v,En(b),u.options.strategy==="fixed"),popper:xo(b)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var y=0,x=0;x<u.orderedModifiers.length;x++){if(dr.NODE_ENV!=="production"&&(y+=1,y>100)){console.error(n5);break}if(u.reset===!0){u.reset=!1,x=-1;continue}var C=u.orderedModifiers[x],E=C.fn,Q=C.options,S=Q===void 0?{}:Q,I=C.name;typeof E=="function"&&(u=E({state:u,options:S,name:I,instance:d})||u)}}},update:X2(function(){return new Promise(function(w){d.forceUpdate(),w(u)})}),destroy:function(){m(),h=!0}};if(!oa(c,a))return dr.NODE_ENV!=="production"&&console.error(na),d;d.setOptions(l).then(function(w){!h&&l.onFirstUpdate&&l.onFirstUpdate(w)});function _(){u.orderedModifiers.forEach(function(w){var g=w.name,v=w.options,b=v===void 0?{}:v,y=w.effect;if(typeof y=="function"){var x=y({state:u,name:g,instance:d,options:b}),C=function(){};f.push(x||C)}})}function m(){f.forEach(function(w){return w()}),f=[]}return d}}var o5=[x2,N2,b2,c2,B2,R2,j2,g2,D2],i5=r5({defaultModifiers:o5}),ia={};function $t(){return $t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$t.apply(this,arguments)}function s5(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Ln(t,e)}function Io(t){return Io=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Io(t)}function Ln(t,e){return Ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ln(t,e)}function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mr(t,e,n){return a5()?mr=Reflect.construct.bind():mr=function(o,i,s){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return s&&Ln(l,s.prototype),l},mr.apply(null,arguments)}function c5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function To(t){var e=typeof Map=="function"?new Map:void 0;return To=function(r){if(r===null||!c5(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(r))return e.get(r);e.set(r,o)}function o(){return mr(r,arguments,Io(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ln(o,r)},To(t)}var l5=/%[sdj%]/g,sa=function(){};typeof process!="undefined"&&ia&&ia.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(sa=function(e,n){typeof console!="undefined"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING=="undefined"&&n.every(function(r){return typeof r=="string"})&&console.warn(e,n)});function Lo(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var r=n.field;e[r]=e[r]||[],e[r].push(n)}),e}function Fe(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0,i=n.length;if(typeof t=="function")return t.apply(null,n);if(typeof t=="string"){var s=t.replace(l5,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(a){return"[Circular]"}break;default:return c}});return s}return t}function u5(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function ve(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||u5(e)&&typeof t=="string"&&!t)}function p5(t,e,n){var r=[],o=0,i=t.length;function s(c){r.push.apply(r,c||[]),o++,o===i&&n(r)}t.forEach(function(c){e(c,s)})}function aa(t,e,n){var r=0,o=t.length;function i(s){if(s&&s.length){n(s);return}var c=r;r=r+1,c<o?e(t[c],i):n([])}i([])}function f5(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n]||[])}),e}var ca=function(t){s5(e,t);function e(n,r){var o;return o=t.call(this,"Async Validation Error")||this,o.errors=n,o.fields=r,o}return e}(To(Error));function d5(t,e,n,r,o){if(e.first){var i=new Promise(function(h,d){var _=function(g){return r(g),g.length?d(new ca(g,Lo(g))):h(o)},m=f5(t);aa(m,n,_)});return i.catch(function(h){return h}),i}var s=e.firstFields===!0?Object.keys(t):e.firstFields||[],c=Object.keys(t),a=c.length,l=0,u=[],f=new Promise(function(h,d){var _=function(w){if(u.push.apply(u,w),l++,l===a)return r(u),u.length?d(new ca(u,Lo(u))):h(o)};c.length||(r(u),h(o)),c.forEach(function(m){var w=t[m];s.indexOf(m)!==-1?aa(w,n,_):p5(w,n,_)})});return f.catch(function(h){return h}),f}function m5(t){return!!(t&&t.message!==void 0)}function g5(t,e){for(var n=t,r=0;r<e.length;r++){if(n==null)return n;n=n[e[r]]}return n}function la(t,e){return function(n){var r;return t.fullFields?r=g5(e,t.fullFields):r=e[n.field||t.fullField],m5(n)?(n.field=n.field||t.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||t.fullField}}}function ua(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];typeof r=="object"&&typeof t[n]=="object"?t[n]=$t({},t[n],r):t[n]=r}}return t}var pa=function(e,n,r,o,i,s){e.required&&(!r.hasOwnProperty(e.field)||ve(n,s||e.type))&&o.push(Fe(i.messages.required,e.fullField))},h5=function(e,n,r,o,i){(/^\s+$/.test(n)||n==="")&&o.push(Fe(i.messages.whitespace,e.fullField))},gr,v5=function(){if(gr)return gr;var t="[a-fA-F\\d:]",e=function(y){return y&&y.includeBoundaries?"(?:(?<=\\s|^)(?="+t+")|(?<="+t+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=(`
|
|
19
19
|
(?:
|
|
20
20
|
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
21
21
|
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
@@ -26,12 +26,12 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
26
26
|
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
27
27
|
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
28
28
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
29
|
-
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),s=new RegExp("^"+n+"$"),c=new RegExp("^"+o+"$"),a=function(x){return x&&x.exact?i:new RegExp("(?:"+e(x)+n+e(x)+")|(?:"+e(x)+o+e(x)+")","g")};a.v4=function(b){return b&&b.exact?s:new RegExp(""+e(b)+n+e(b),"g")},a.v6=function(b){return b&&b.exact?c:new RegExp(""+e(b)+o+e(b),"g")};var l="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",f=a.v4().source,h=a.v6().source,d="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",_="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',w="(?:"+l+"|www\\.)"+p+"(?:localhost|"+f+"|"+h+"|"+d+v+g+")"+_+m;return ar=new RegExp("(?:^"+w+"$)","i"),ar},ea={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},kn={integer:function(e){return kn.number(e)&&parseInt(e,10)===e},float:function(e){return kn.number(e)&&!kn.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!kn.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(ea.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(c5())},hex:function(e){return typeof e=="string"&&!!e.match(ea.hex)}},l5=function(e,n,r,o,i){if(e.required&&n===void 0){Vs(e,n,r,o,i);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;s.indexOf(c)>-1?kn[c](n)||o.push(Fe(i.messages.types[c],e.fullField,e.type)):c&&typeof n!==e.type&&o.push(Fe(i.messages.types[c],e.fullField,e.type))},u5=function(e,n,r,o,i){var s=typeof e.len=="number",c=typeof e.min=="number",a=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=n,f=null,h=typeof n=="number",d=typeof n=="string",v=Array.isArray(n);if(h?f="number":d?f="string":v&&(f="array"),!f)return!1;v&&(p=n.length),d&&(p=n.replace(l,"_").length),s?p!==e.len&&o.push(Fe(i.messages[f].len,e.fullField,e.len)):c&&!a&&p<e.min?o.push(Fe(i.messages[f].min,e.fullField,e.min)):a&&!c&&p>e.max?o.push(Fe(i.messages[f].max,e.fullField,e.max)):c&&a&&(p<e.min||p>e.max)&&o.push(Fe(i.messages[f].range,e.fullField,e.min,e.max))},Kt="enum",p5=function(e,n,r,o,i){e[Kt]=Array.isArray(e[Kt])?e[Kt]:[],e[Kt].indexOf(n)===-1&&o.push(Fe(i.messages[Kt],e.fullField,e[Kt].join(", ")))},f5=function(e,n,r,o,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||o.push(Fe(i.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var s=new RegExp(e.pattern);s.test(n)||o.push(Fe(i.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},V={required:Vs,whitespace:a5,type:l5,range:u5,enum:p5,pattern:f5},d5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n,"string")&&!e.required)return r();V.required(e,n,o,s,i,"string"),ve(n,"string")||(V.type(e,n,o,s,i),V.range(e,n,o,s,i),V.pattern(e,n,o,s,i),e.whitespace===!0&&V.whitespace(e,n,o,s,i))}r(s)},m5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V.type(e,n,o,s,i)}r(s)},g5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(n===""&&(n=void 0),ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},h5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V.type(e,n,o,s,i)}r(s)},v5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),ve(n)||V.type(e,n,o,s,i)}r(s)},_5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},w5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},b5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(n==null&&!e.required)return r();V.required(e,n,o,s,i,"array"),n!=null&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},y5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V.type(e,n,o,s,i)}r(s)},x5="enum",C5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V[x5](e,n,o,s,i)}r(s)},Q5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n,"string")&&!e.required)return r();V.required(e,n,o,s,i),ve(n,"string")||V.pattern(e,n,o,s,i)}r(s)},k5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n,"date")&&!e.required)return r();if(V.required(e,n,o,s,i),!ve(n,"date")){var a;n instanceof Date?a=n:a=new Date(n),V.type(e,a,o,s,i),a&&V.range(e,a.getTime(),o,s,i)}}r(s)},S5=function(e,n,r,o,i){var s=[],c=Array.isArray(n)?"array":typeof n;V.required(e,n,o,s,i,c),r(s)},wo=function(e,n,r,o,i){var s=e.type,c=[],a=e.required||!e.required&&o.hasOwnProperty(e.field);if(a){if(ve(n,s)&&!e.required)return r();V.required(e,n,o,c,i,s),ve(n,s)||V.type(e,n,o,c,i)}r(c)},E5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i)}r(s)},Sn={string:d5,method:m5,number:g5,boolean:h5,regexp:v5,integer:_5,float:w5,array:b5,object:y5,enum:C5,pattern:Q5,date:k5,url:wo,hex:wo,email:wo,required:S5,any:E5};function bo(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var yo=bo(),Xt=function(){function t(n){this.rules=null,this._messages=yo,this.define(n)}var e=t.prototype;return e.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var s=r[i];o.rules[i]=Array.isArray(s)?s:[s]})},e.messages=function(r){return r&&(this._messages=Js(bo(),r)),this._messages},e.validate=function(r,o,i){var s=this;o===void 0&&(o={}),i===void 0&&(i=function(){});var c=r,a=o,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,c),Promise.resolve(c);function p(g){var _=[],m={};function w(x){if(Array.isArray(x)){var C;_=(C=_).concat.apply(C,x)}else _.push(x)}for(var b=0;b<g.length;b++)w(g[b]);_.length?(m=_o(_),l(_,m)):l(null,c)}if(a.messages){var f=this.messages();f===yo&&(f=bo()),Js(f,a.messages),a.messages=f}else a.messages=this.messages();var h={},d=a.keys||Object.keys(this.rules);d.forEach(function(g){var _=s.rules[g],m=c[g];_.forEach(function(w){var b=w;typeof b.transform=="function"&&(c===r&&(c=Tt({},c)),m=c[g]=b.transform(m)),typeof b=="function"?b={validator:b}:b=Tt({},b),b.validator=s.getValidationMethod(b),b.validator&&(b.field=g,b.fullField=b.fullField||g,b.type=s.getType(b),h[g]=h[g]||[],h[g].push({rule:b,value:m,source:c,field:g}))})});var v={};return o5(h,a,function(g,_){var m=g.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&g.value),m.field=g.field;function b(Q,S){return Tt({},S,{fullField:m.fullField+"."+Q,fullFields:m.fullFields?[].concat(m.fullFields,[Q]):[Q]})}function x(Q){Q===void 0&&(Q=[]);var S=Array.isArray(Q)?Q:[Q];!a.suppressWarning&&S.length&&t.warning("async-validator:",S),S.length&&m.message!==void 0&&(S=[].concat(m.message));var y=S.map(Xs(m,c));if(a.first&&y.length)return v[m.field]=1,_(y);if(!w)_(y);else{if(m.required&&!g.value)return m.message!==void 0?y=[].concat(m.message).map(Xs(m,c)):a.error&&(y=[a.error(m,Fe(a.messages.required,m.field))]),_(y);var E={};m.defaultField&&Object.keys(g.value).map(function(L){E[L]=m.defaultField}),E=Tt({},E,g.rule.fields);var T={};Object.keys(E).forEach(function(L){var A=E[L],$=Array.isArray(A)?A:[A];T[L]=$.map(b.bind(null,L))});var I=new t(T);I.messages(a.messages),g.rule.options&&(g.rule.options.messages=a.messages,g.rule.options.error=a.error),I.validate(g.value,g.rule.options||a,function(L){var A=[];y&&y.length&&A.push.apply(A,y),L&&L.length&&A.push.apply(A,L),_(A.length?A:null)})}}var C;if(m.asyncValidator)C=m.asyncValidator(m,g.value,x,g.source,a);else if(m.validator){try{C=m.validator(m,g.value,x,g.source,a)}catch(Q){console.error==null||console.error(Q),a.suppressValidatorError||setTimeout(function(){throw Q},0),x(Q.message)}C===!0?x():C===!1?x(typeof m.message=="function"?m.message(m.fullField||m.field):m.message||(m.fullField||m.field)+" fails"):C instanceof Array?x(C):C instanceof Error&&x(C.message)}C&&C.then&&C.then(function(){return x()},function(Q){return x(Q)})},function(g){p(g)},c)},e.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!Sn.hasOwnProperty(r.type))throw new Error(Fe("Unknown rule type %s",r.type));return r.type||"string"},e.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var o=Object.keys(r),i=o.indexOf("message");return i!==-1&&o.splice(i,1),o.length===1&&o[0]==="required"?Sn.required:Sn[this.getType(r)]||void 0},t}();Xt.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Sn[e]=n},Xt.warning=Ys,Xt.messages=yo,Xt.validators=Sn;var T5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ta(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var na={exports:{}};/*!
|
|
29
|
+
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),s=new RegExp("^"+n+"$"),c=new RegExp("^"+o+"$"),a=function(y){return y&&y.exact?i:new RegExp("(?:"+e(y)+n+e(y)+")|(?:"+e(y)+o+e(y)+")","g")};a.v4=function(b){return b&&b.exact?s:new RegExp(""+e(b)+n+e(b),"g")},a.v6=function(b){return b&&b.exact?c:new RegExp(""+e(b)+o+e(b),"g")};var l="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",f=a.v4().source,h=a.v6().source,d="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",_="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",m="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",w="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',v="(?:"+l+"|www\\.)"+u+"(?:localhost|"+f+"|"+h+"|"+d+_+m+")"+w+g;return gr=new RegExp("(?:^"+v+"$)","i"),gr},fa={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Pn={integer:function(e){return Pn.number(e)&&parseInt(e,10)===e},float:function(e){return Pn.number(e)&&!Pn.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Pn.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(fa.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(v5())},hex:function(e){return typeof e=="string"&&!!e.match(fa.hex)}},_5=function(e,n,r,o,i){if(e.required&&n===void 0){pa(e,n,r,o,i);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;s.indexOf(c)>-1?Pn[c](n)||o.push(Fe(i.messages.types[c],e.fullField,e.type)):c&&typeof n!==e.type&&o.push(Fe(i.messages.types[c],e.fullField,e.type))},w5=function(e,n,r,o,i){var s=typeof e.len=="number",c=typeof e.min=="number",a=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,f=null,h=typeof n=="number",d=typeof n=="string",_=Array.isArray(n);if(h?f="number":d?f="string":_&&(f="array"),!f)return!1;_&&(u=n.length),d&&(u=n.replace(l,"_").length),s?u!==e.len&&o.push(Fe(i.messages[f].len,e.fullField,e.len)):c&&!a&&u<e.min?o.push(Fe(i.messages[f].min,e.fullField,e.min)):a&&!c&&u>e.max?o.push(Fe(i.messages[f].max,e.fullField,e.max)):c&&a&&(u<e.min||u>e.max)&&o.push(Fe(i.messages[f].range,e.fullField,e.min,e.max))},tn="enum",b5=function(e,n,r,o,i){e[tn]=Array.isArray(e[tn])?e[tn]:[],e[tn].indexOf(n)===-1&&o.push(Fe(i.messages[tn],e.fullField,e[tn].join(", ")))},y5=function(e,n,r,o,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||o.push(Fe(i.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var s=new RegExp(e.pattern);s.test(n)||o.push(Fe(i.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},V={required:pa,whitespace:h5,type:_5,range:w5,enum:b5,pattern:y5},x5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n,"string")&&!e.required)return r();V.required(e,n,o,s,i,"string"),ve(n,"string")||(V.type(e,n,o,s,i),V.range(e,n,o,s,i),V.pattern(e,n,o,s,i),e.whitespace===!0&&V.whitespace(e,n,o,s,i))}r(s)},C5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V.type(e,n,o,s,i)}r(s)},Q5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(n===""&&(n=void 0),ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},k5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V.type(e,n,o,s,i)}r(s)},E5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),ve(n)||V.type(e,n,o,s,i)}r(s)},S5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},I5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},T5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(n==null&&!e.required)return r();V.required(e,n,o,s,i,"array"),n!=null&&(V.type(e,n,o,s,i),V.range(e,n,o,s,i))}r(s)},L5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V.type(e,n,o,s,i)}r(s)},P5="enum",A5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i),n!==void 0&&V[P5](e,n,o,s,i)}r(s)},$5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n,"string")&&!e.required)return r();V.required(e,n,o,s,i),ve(n,"string")||V.pattern(e,n,o,s,i)}r(s)},R5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n,"date")&&!e.required)return r();if(V.required(e,n,o,s,i),!ve(n,"date")){var a;n instanceof Date?a=n:a=new Date(n),V.type(e,a,o,s,i),a&&V.range(e,a.getTime(),o,s,i)}}r(s)},O5=function(e,n,r,o,i){var s=[],c=Array.isArray(n)?"array":typeof n;V.required(e,n,o,s,i,c),r(s)},Po=function(e,n,r,o,i){var s=e.type,c=[],a=e.required||!e.required&&o.hasOwnProperty(e.field);if(a){if(ve(n,s)&&!e.required)return r();V.required(e,n,o,c,i,s),ve(n,s)||V.type(e,n,o,c,i)}r(c)},D5=function(e,n,r,o,i){var s=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(ve(n)&&!e.required)return r();V.required(e,n,o,s,i)}r(s)},An={string:x5,method:C5,number:Q5,boolean:k5,regexp:E5,integer:S5,float:I5,array:T5,object:L5,enum:A5,pattern:$5,date:R5,url:Po,hex:Po,email:Po,required:O5,any:D5};function Ao(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var $o=Ao(),nn=function(){function t(n){this.rules=null,this._messages=$o,this.define(n)}var e=t.prototype;return e.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var s=r[i];o.rules[i]=Array.isArray(s)?s:[s]})},e.messages=function(r){return r&&(this._messages=ua(Ao(),r)),this._messages},e.validate=function(r,o,i){var s=this;o===void 0&&(o={}),i===void 0&&(i=function(){});var c=r,a=o,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,c),Promise.resolve(c);function u(m){var w=[],g={};function v(y){if(Array.isArray(y)){var x;w=(x=w).concat.apply(x,y)}else w.push(y)}for(var b=0;b<m.length;b++)v(m[b]);w.length?(g=Lo(w),l(w,g)):l(null,c)}if(a.messages){var f=this.messages();f===$o&&(f=Ao()),ua(f,a.messages),a.messages=f}else a.messages=this.messages();var h={},d=a.keys||Object.keys(this.rules);d.forEach(function(m){var w=s.rules[m],g=c[m];w.forEach(function(v){var b=v;typeof b.transform=="function"&&(c===r&&(c=$t({},c)),g=c[m]=b.transform(g)),typeof b=="function"?b={validator:b}:b=$t({},b),b.validator=s.getValidationMethod(b),b.validator&&(b.field=m,b.fullField=b.fullField||m,b.type=s.getType(b),h[m]=h[m]||[],h[m].push({rule:b,value:g,source:c,field:m}))})});var _={};return d5(h,a,function(m,w){var g=m.rule,v=(g.type==="object"||g.type==="array")&&(typeof g.fields=="object"||typeof g.defaultField=="object");v=v&&(g.required||!g.required&&m.value),g.field=m.field;function b(C,E){return $t({},E,{fullField:g.fullField+"."+C,fullFields:g.fullFields?[].concat(g.fullFields,[C]):[C]})}function y(C){C===void 0&&(C=[]);var E=Array.isArray(C)?C:[C];!a.suppressWarning&&E.length&&t.warning("async-validator:",E),E.length&&g.message!==void 0&&(E=[].concat(g.message));var Q=E.map(la(g,c));if(a.first&&Q.length)return _[g.field]=1,w(Q);if(!v)w(Q);else{if(g.required&&!m.value)return g.message!==void 0?Q=[].concat(g.message).map(la(g,c)):a.error&&(Q=[a.error(g,Fe(a.messages.required,g.field))]),w(Q);var S={};g.defaultField&&Object.keys(m.value).map(function(L){S[L]=g.defaultField}),S=$t({},S,m.rule.fields);var I={};Object.keys(S).forEach(function(L){var A=S[L],$=Array.isArray(A)?A:[A];I[L]=$.map(b.bind(null,L))});var T=new t(I);T.messages(a.messages),m.rule.options&&(m.rule.options.messages=a.messages,m.rule.options.error=a.error),T.validate(m.value,m.rule.options||a,function(L){var A=[];Q&&Q.length&&A.push.apply(A,Q),L&&L.length&&A.push.apply(A,L),w(A.length?A:null)})}}var x;if(g.asyncValidator)x=g.asyncValidator(g,m.value,y,m.source,a);else if(g.validator){try{x=g.validator(g,m.value,y,m.source,a)}catch(C){console.error==null||console.error(C),a.suppressValidatorError||setTimeout(function(){throw C},0),y(C.message)}x===!0?y():x===!1?y(typeof g.message=="function"?g.message(g.fullField||g.field):g.message||(g.fullField||g.field)+" fails"):x instanceof Array?y(x):x instanceof Error&&y(x.message)}x&&x.then&&x.then(function(){return y()},function(C){return y(C)})},function(m){u(m)},c)},e.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!An.hasOwnProperty(r.type))throw new Error(Fe("Unknown rule type %s",r.type));return r.type||"string"},e.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var o=Object.keys(r),i=o.indexOf("message");return i!==-1&&o.splice(i,1),o.length===1&&o[0]==="required"?An.required:An[this.getType(r)]||void 0},t}();nn.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");An[e]=n},nn.warning=sa,nn.messages=$o,nn.validators=An;var z5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function da(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ma={exports:{}};/*!
|
|
30
30
|
* clipboard.js v2.0.10
|
|
31
31
|
* https://clipboardjs.com/
|
|
32
32
|
*
|
|
33
33
|
* Licensed MIT © Zeno Rocha
|
|
34
|
-
*/(function(t,e){(function(r,o){t.exports=o()})(T5,function(){return function(){var n={686:function(i,s,c){c.d(s,{default:function(){return X}});var a=c(279),l=c.n(a),p=c(370),f=c.n(p),h=c(817),d=c.n(h);function v(B){try{return document.execCommand(B)}catch(R){return!1}}var g=function(R){var z=d()(R);return v("cut"),z},_=g;function m(B){var R=document.documentElement.getAttribute("dir")==="rtl",z=document.createElement("textarea");z.style.fontSize="12pt",z.style.border="0",z.style.padding="0",z.style.margin="0",z.style.position="absolute",z.style[R?"right":"left"]="-9999px";var U=window.pageYOffset||document.documentElement.scrollTop;return z.style.top="".concat(U,"px"),z.setAttribute("readonly",""),z.value=B,z}var w=function(R){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},U="";if(typeof R=="string"){var M=m(R);z.container.appendChild(M),U=d()(M),v("copy"),M.remove()}else U=d()(R),v("copy");return U},b=w;function x(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(z){return typeof z}:x=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},x(B)}var C=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=R.action,U=z===void 0?"copy":z,M=R.container,Y=R.target,ie=R.text;if(U!=="copy"&&U!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Y!==void 0)if(Y&&x(Y)==="object"&&Y.nodeType===1){if(U==="copy"&&Y.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(U==="cut"&&(Y.hasAttribute("readonly")||Y.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ie)return b(ie,{container:M});if(Y)return U==="cut"?_(Y):b(Y,{container:M})},Q=C;function S(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(z){return typeof z}:S=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},S(B)}function y(B,R){if(!(B instanceof R))throw new TypeError("Cannot call a class as a function")}function E(B,R){for(var z=0;z<R.length;z++){var U=R[z];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(B,U.key,U)}}function T(B,R,z){return R&&E(B.prototype,R),z&&E(B,z),B}function I(B,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(R&&R.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),R&&L(B,R)}function L(B,R){return L=Object.setPrototypeOf||function(U,M){return U.__proto__=M,U},L(B,R)}function A(B){var R=F();return function(){var U=W(B),M;if(R){var Y=W(this).constructor;M=Reflect.construct(U,arguments,Y)}else M=U.apply(this,arguments);return $(this,M)}}function $(B,R){return R&&(S(R)==="object"||typeof R=="function")?R:O(B)}function O(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(B){return!1}}function W(B){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)},W(B)}function N(B,R){var z="data-clipboard-".concat(B);if(R.hasAttribute(z))return R.getAttribute(z)}var Z=function(B){I(z,B);var R=A(z);function z(U,M){var Y;return y(this,z),Y=R.call(this),Y.resolveOptions(M),Y.listenClick(U),Y}return T(z,[{key:"resolveOptions",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof M.action=="function"?M.action:this.defaultAction,this.target=typeof M.target=="function"?M.target:this.defaultTarget,this.text=typeof M.text=="function"?M.text:this.defaultText,this.container=S(M.container)==="object"?M.container:document.body}},{key:"listenClick",value:function(M){var Y=this;this.listener=f()(M,"click",function(ie){return Y.onClick(ie)})}},{key:"onClick",value:function(M){var Y=M.delegateTarget||M.currentTarget,ie=this.action(Y)||"copy",ge=Q({action:ie,container:this.container,target:this.target(Y),text:this.text(Y)});this.emit(ge?"success":"error",{action:ie,text:ge,trigger:Y,clearSelection:function(){Y&&Y.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(M){return N("action",M)}},{key:"defaultTarget",value:function(M){var Y=N("target",M);if(Y)return document.querySelector(Y)}},{key:"defaultText",value:function(M){return N("text",M)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(M){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return b(M,Y)}},{key:"cut",value:function(M){return _(M)}},{key:"isSupported",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Y=typeof M=="string"?[M]:M,ie=!!document.queryCommandSupported;return Y.forEach(function(ge){ie=ie&&!!document.queryCommandSupported(ge)}),ie}}]),z}(l()),X=Z},828:function(i){var s=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var c=Element.prototype;c.matches=c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector}function a(l,p){for(;l&&l.nodeType!==s;){if(typeof l.matches=="function"&&l.matches(p))return l;l=l.parentNode}}i.exports=a},438:function(i,s,c){var a=c(828);function l(h,d,v,g,_){var m=f.apply(this,arguments);return h.addEventListener(v,m,_),{destroy:function(){h.removeEventListener(v,m,_)}}}function p(h,d,v,g,_){return typeof h.addEventListener=="function"?l.apply(null,arguments):typeof v=="function"?l.bind(null,document).apply(null,arguments):(typeof h=="string"&&(h=document.querySelectorAll(h)),Array.prototype.map.call(h,function(m){return l(m,d,v,g,_)}))}function f(h,d,v,g){return function(_){_.delegateTarget=a(_.target,d),_.delegateTarget&&g.call(h,_)}}i.exports=p},879:function(i,s){s.node=function(c){return c!==void 0&&c instanceof HTMLElement&&c.nodeType===1},s.nodeList=function(c){var a=Object.prototype.toString.call(c);return c!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in c&&(c.length===0||s.node(c[0]))},s.string=function(c){return typeof c=="string"||c instanceof String},s.fn=function(c){var a=Object.prototype.toString.call(c);return a==="[object Function]"}},370:function(i,s,c){var a=c(879),l=c(438);function p(v,g,_){if(!v&&!g&&!_)throw new Error("Missing required arguments");if(!a.string(g))throw new TypeError("Second argument must be a String");if(!a.fn(_))throw new TypeError("Third argument must be a Function");if(a.node(v))return f(v,g,_);if(a.nodeList(v))return h(v,g,_);if(a.string(v))return d(v,g,_);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(v,g,_){return v.addEventListener(g,_),{destroy:function(){v.removeEventListener(g,_)}}}function h(v,g,_){return Array.prototype.forEach.call(v,function(m){m.addEventListener(g,_)}),{destroy:function(){Array.prototype.forEach.call(v,function(m){m.removeEventListener(g,_)})}}}function d(v,g,_){return l(document.body,v,g,_)}i.exports=p},817:function(i){function s(c){var a;if(c.nodeName==="SELECT")c.focus(),a=c.value;else if(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA"){var l=c.hasAttribute("readonly");l||c.setAttribute("readonly",""),c.select(),c.setSelectionRange(0,c.value.length),l||c.removeAttribute("readonly"),a=c.value}else{c.hasAttribute("contenteditable")&&c.focus();var p=window.getSelection(),f=document.createRange();f.selectNodeContents(c),p.removeAllRanges(),p.addRange(f),a=p.toString()}return a}i.exports=s},279:function(i){function s(){}s.prototype={on:function(c,a,l){var p=this.e||(this.e={});return(p[c]||(p[c]=[])).push({fn:a,ctx:l}),this},once:function(c,a,l){var p=this;function f(){p.off(c,f),a.apply(l,arguments)}return f._=a,this.on(c,f,l)},emit:function(c){var a=[].slice.call(arguments,1),l=((this.e||(this.e={}))[c]||[]).slice(),p=0,f=l.length;for(p;p<f;p++)l[p].fn.apply(l[p].ctx,a);return this},off:function(c,a){var l=this.e||(this.e={}),p=l[c],f=[];if(p&&a)for(var h=0,d=p.length;h<d;h++)p[h].fn!==a&&p[h].fn._!==a&&f.push(p[h]);return f.length?l[c]=f:delete l[c],this}},i.exports=s,i.exports.TinyEmitter=s}},r={};function o(i){if(r[i])return r[i].exports;var s=r[i]={exports:{}};return n[i](s,s.exports,o),s.exports}return function(){o.n=function(i){var s=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(s,{a:s}),s}}(),function(){o.d=function(i,s){for(var c in s)o.o(s,c)&&!o.o(i,c)&&Object.defineProperty(i,c,{enumerable:!0,get:s[c]})}}(),function(){o.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)}}(),o(686)}().default})})(na);var I5=na.exports;const L5=ta(I5),ra=[{divisor:86400,unit:"days"},{divisor:3600,unit:"hours"},{divisor:60,unit:"minutes"},{divisor:1,unit:"seconds"}];class P5{constructor(e,n){if(e|=0,isNaN(e))throw new Error("Total seconds must be a number");this._totalMSecs=1e3*e,this._cb=n}_exec(){if(!this._startTime||this._usingMSecs==null)return;let e=Math.max(0,this._usingMSecs-(Date.now()-this._startTime));if(e>0&&setTimeout(()=>{this._exec()},1e3),this._remainingMSecs=e,e>=0){const n={days:0,hours:0,minutes:0,seconds:0,totalMsecs:e};e=Math.round(e/1e3),ra.forEach((r,o)=>{n[r.unit]=e/r.divisor,o===ra.length-1?n[r.unit]=Math.round(n[r.unit]):(n[r.unit]=Math.floor(n[r.unit]),e%=r.divisor)}),this._cb(n)}}start(){this._usingMSecs==null&&(this._usingMSecs=this._totalMSecs),this._usingMSecs<=0||(this._startTime=Date.now(),this._exec())}_break(){this._timerId&&clearTimeout(this._timerId),this._startTime=void 0}stop(){this._break(),this._usingMSecs=this._totalMSecs}pause(){this._break(),this._usingMSecs=this._remainingMSecs}}const xo=/^(?:([a-z]+):)?\/{2,3}/i;function A5(t,e){return xo.test(t)}function oa(t,e){return xo.test(e)||(e+="://"),A5(t)?t.replace(xo,e):e+t}function $5(t){return typeof t!="object"&&(t=new Date(t)),t}function cr(t,e){const n={Y:(t=$5(t)).getFullYear(),M:t.getMonth()+1,D:t.getDate(),h:t.getHours(),m:t.getMinutes(),s:t.getSeconds()};return e.replace(/([YMDhms])\1*/g,function(r){let o=n[r[0]].toString();const i=r.length;return i>o.length&&(o=new Array(i-o.length+1).join("0")+o),o})}function R5(t,e={segments:2,digits:2}){if(t=Number(t),isNaN(t)||t<0)throw new Error('"secs" must be a positive integer');let n=2;e.segments==="auto"&&t>=3600?n=3:typeof e.segments=="number"&&[2,3].indexOf(e.segments)!==-1&&(n=e.segments);let r=0|(e.digits||2);r=Math.max(1,r);const o=new Array(r+1).join("0"),i=[60,1];return n===3&&i.unshift(3600),i.map(s=>{const c=Math.floor(t/s),a=c.toString().length;return t%=s,(o+c).slice(-Math.max(a,r))}).join(":")}function O5(t){return/^1[3-9]\d{9}$/.test(t)}function D5(t,e="+86"){return e==="+86"?O5(t):/^\d{5,20}$/.test(t)}function ia(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Co(t={},e={}){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]=="undefined"?t[r]=e[r]:ia(e[r])&&ia(t[r])&&Object.keys(e[r]).length>0&&Co(t[r],e[r])})}const sa={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function It(){const t=typeof document!="undefined"?document:{};return Co(t,sa),t}const z5={document:sa,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function Se(){const t=typeof window!="undefined"?window:{};return Co(t,z5),t}function F5(t=""){return t.trim().split(" ").filter(e=>!!e.trim())}function B5(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch(r){}try{delete e[n]}catch(r){}})}function aa(t,e=0){return setTimeout(t,e)}function lr(){return Date.now()}function M5(t){const e=Se();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function N5(t,e="x"){const n=Se();let r,o,i;const s=M5(t);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(c=>c.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(o==="none"?"":o)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?o=i.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?o=i.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function ur(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function U5(t){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Be(...t){const e=Object(t[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<t.length;r+=1){const o=t[r];if(o!=null&&!U5(o)){const i=Object.keys(Object(o)).filter(s=>n.indexOf(s)<0);for(let s=0,c=i.length;s<c;s+=1){const a=i[s],l=Object.getOwnPropertyDescriptor(o,a);l!==void 0&&l.enumerable&&(ur(e[a])&&ur(o[a])?o[a].__swiper__?e[a]=o[a]:Be(e[a],o[a]):!ur(e[a])&&ur(o[a])?(e[a]={},o[a].__swiper__?e[a]=o[a]:Be(e[a],o[a])):e[a]=o[a])}}}return e}function pr(t,e,n){t.style.setProperty(e,n)}function ca({swiper:t,targetPosition:e,side:n}){const r=Se(),o=-t.translate;let i=null,s;const c=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const a=e>o?"next":"prev",l=(f,h)=>a==="next"&&f>=h||a==="prev"&&f<=h,p=()=>{s=new Date().getTime(),i===null&&(i=s);const f=Math.max(Math.min((s-i)/c,1),0),h=.5-Math.cos(f*Math.PI)/2;let d=o+h*(e-o);if(l(d,e)&&(d=e),t.wrapperEl.scrollTo({[n]:d}),l(d,e)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:d})}),r.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=r.requestAnimationFrame(p)};p()}function lt(t,e=""){const n=Se(),r=[...t.children];return n.HTMLSlotElement&&t instanceof HTMLSlotElement&&r.push(...t.assignedElements()),e?r.filter(o=>o.matches(e)):r}function H5(t,e){const n=[e];for(;n.length>0;){const r=n.shift();if(t===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function j5(t,e){const n=Se();let r=e.contains(t);return!r&&n.HTMLSlotElement&&e instanceof HTMLSlotElement&&(r=[...e.assignedElements()].includes(t),r||(r=H5(t,e))),r}function fr(t){try{console.warn(t);return}catch(e){}}function Qo(t,e=[]){const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:F5(e)),n}function q5(t,e){const n=[];for(;t.previousElementSibling;){const r=t.previousElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function W5(t,e){const n=[];for(;t.nextElementSibling;){const r=t.nextElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function gt(t,e){return Se().getComputedStyle(t,null).getPropertyValue(e)}function la(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function G5(t,e){const n=[];let r=t.parentElement;for(;r;)n.push(r),r=r.parentElement;return n}function ua(t,e,n){const r=Se();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}let ko;function Y5(){const t=Se(),e=It();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function pa(){return ko||(ko=Y5()),ko}let So;function Z5({userAgent:t}={}){const e=pa(),n=Se(),r=n.navigator.platform,o=t||n.navigator.userAgent,i={ios:!1,android:!1},s=n.screen.width,c=n.screen.height,a=o.match(/(Android);?[\s\/]+([\d.]+)?/);let l=o.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!l&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=r==="Win32";let d=r==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!l&&d&&e.touch&&v.indexOf(`${s}x${c}`)>=0&&(l=o.match(/(Version)\/([\d.]+)/),l||(l=[0,1,"13_0_0"]),d=!1),a&&!h&&(i.os="android",i.android=!0),(l||f||p)&&(i.os="ios",i.ios=!0),i}function fa(t={}){return So||(So=Z5(t)),So}let Eo;function K5(){const t=Se(),e=fa();let n=!1;function r(){const c=t.navigator.userAgent.toLowerCase();return c.indexOf("safari")>=0&&c.indexOf("chrome")<0&&c.indexOf("android")<0}if(r()){const c=String(t.navigator.userAgent);if(c.includes("Version/")){const[a,l]=c.split("Version/")[1].split(" ")[0].split(".").map(p=>Number(p));n=a<16||a===16&&l<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),i=r(),s=i||o&&e.ios;return{isSafari:n||i,needPerspectiveFix:n,need3dFix:s,isWebView:o}}function da(){return Eo||(Eo=K5()),Eo}function X5({swiper:t,on:e,emit:n}){const r=Se();let o=null,i=null;const s=()=>{!t||t.destroyed||!t.initialized||(n("beforeResize"),n("resize"))},c=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(p=>{i=r.requestAnimationFrame(()=>{const{width:f,height:h}=t;let d=f,v=h;p.forEach(({contentBoxSize:g,contentRect:_,target:m})=>{m&&m!==t.el||(d=_?_.width:(g[0]||g).inlineSize,v=_?_.height:(g[0]||g).blockSize)}),(d!==f||v!==h)&&s()})}),o.observe(t.el))},a=()=>{i&&r.cancelAnimationFrame(i),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},l=()=>{!t||t.destroyed||!t.initialized||n("orientationchange")};e("init",()=>{if(t.params.resizeObserver&&typeof r.ResizeObserver!="undefined"){c();return}r.addEventListener("resize",s),r.addEventListener("orientationchange",l)}),e("destroy",()=>{a(),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",l)})}function J5({swiper:t,extendParams:e,on:n,emit:r}){const o=[],i=Se(),s=(l,p={})=>{const f=i.MutationObserver||i.WebkitMutationObserver,h=new f(d=>{if(t.__preventObserver__)return;if(d.length===1){r("observerUpdate",d[0]);return}const v=function(){r("observerUpdate",d[0])};i.requestAnimationFrame?i.requestAnimationFrame(v):i.setTimeout(v,0)});h.observe(l,{attributes:typeof p.attributes=="undefined"?!0:p.attributes,childList:t.isElement||(typeof p.childList=="undefined"?!0:p).childList,characterData:typeof p.characterData=="undefined"?!0:p.characterData}),o.push(h)},c=()=>{if(t.params.observer){if(t.params.observeParents){const l=G5(t.hostEl);for(let p=0;p<l.length;p+=1)s(l[p])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}},a=()=>{o.forEach(l=>{l.disconnect()}),o.splice(0,o.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",c),n("destroy",a)}var V5={on(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const o=n?"unshift":"push";return t.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][o](e)}),r},once(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function o(...i){r.off(t,o),o.__emitterProxy&&delete o.__emitterProxy,e.apply(r,i)}return o.__emitterProxy=e,r.on(t,o,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const r=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[r](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(r=>{typeof e=="undefined"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,i)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&n.eventsListeners[r].splice(i,1)})}),n},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let n,r,o;return typeof t[0]=="string"||Array.isArray(t[0])?(n=t[0],r=t.slice(1,t.length),o=e):(n=t[0].events,r=t[0].data,o=t[0].context||e),r.unshift(o),(Array.isArray(n)?n:n.split(" ")).forEach(s=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(c=>{c.apply(o,[s,...r])}),e.eventsListeners&&e.eventsListeners[s]&&e.eventsListeners[s].forEach(c=>{c.apply(o,r)})}),e}};function e9(){const t=this;let e,n;const r=t.el;typeof t.params.width!="undefined"&&t.params.width!==null?e=t.params.width:e=r.clientWidth,typeof t.params.height!="undefined"&&t.params.height!==null?n=t.params.height:n=r.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(gt(r,"padding-left")||0,10)-parseInt(gt(r,"padding-right")||0,10),n=n-parseInt(gt(r,"padding-top")||0,10)-parseInt(gt(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function t9(){const t=this;function e(T,I){return parseFloat(T.getPropertyValue(t.getDirectionLabel(I))||0)}const n=t.params,{wrapperEl:r,slidesEl:o,rtlTranslate:i,wrongRTL:s}=t,c=t.virtual&&n.virtual.enabled,a=c?t.virtual.slides.length:t.slides.length,l=lt(o,`.${t.params.slideClass}, swiper-slide`),p=c?t.virtual.slides.length:l.length;let f=[];const h=[],d=[];let v=n.slidesOffsetBefore;typeof v=="function"&&(v=n.slidesOffsetBefore.call(t));let g=n.slidesOffsetAfter;typeof g=="function"&&(g=n.slidesOffsetAfter.call(t));const _=t.snapGrid.length,m=t.slidesGrid.length,w=t.size-v-g;let b=n.spaceBetween,x=-v,C=0,Q=0;if(typeof w=="undefined")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*w:typeof b=="string"&&(b=parseFloat(b)),t.virtualSize=-b-v-g,l.forEach(T=>{i?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(pr(r,"--swiper-centered-offset-before",""),pr(r,"--swiper-centered-offset-after",""));const S=n.grid&&n.grid.rows>1&&t.grid;S?t.grid.initSlides(l):t.grid&&t.grid.unsetSlides();let y;const E=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(T=>typeof n.breakpoints[T].slidesPerView!="undefined").length>0;for(let T=0;T<p;T+=1){y=0;const I=l[T];if(!(I&&(S&&t.grid.updateSlide(T,I,l),gt(I,"display")==="none"))){if(c&&n.slidesPerView==="auto")n.virtual.slidesPerViewAutoSlideSize&&(y=n.virtual.slidesPerViewAutoSlideSize),y&&I&&(n.roundLengths&&(y=Math.floor(y)),I.style[t.getDirectionLabel("width")]=`${y}px`);else if(n.slidesPerView==="auto"){E&&(I.style[t.getDirectionLabel("width")]="");const L=getComputedStyle(I),A=I.style.transform,$=I.style.webkitTransform;if(A&&(I.style.transform="none"),$&&(I.style.webkitTransform="none"),n.roundLengths)y=t.isHorizontal()?ua(I,"width"):ua(I,"height");else{const O=e(L,"width"),F=e(L,"padding-left"),W=e(L,"padding-right"),N=e(L,"margin-left"),Z=e(L,"margin-right"),X=L.getPropertyValue("box-sizing");if(X&&X==="border-box")y=O+N+Z;else{const{clientWidth:B,offsetWidth:R}=I;y=O+F+W+N+Z+(R-B)}}A&&(I.style.transform=A),$&&(I.style.webkitTransform=$),n.roundLengths&&(y=Math.floor(y))}else y=(w-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(y=Math.floor(y)),I&&(I.style[t.getDirectionLabel("width")]=`${y}px`);I&&(I.swiperSlideSize=y),d.push(y),n.centeredSlides?(x=x+y/2+C/2+b,C===0&&T!==0&&(x=x-w/2-b),T===0&&(x=x-w/2-b),Math.abs(x)<1/1e3&&(x=0),n.roundLengths&&(x=Math.floor(x)),Q%n.slidesPerGroup===0&&f.push(x),h.push(x)):(n.roundLengths&&(x=Math.floor(x)),(Q-Math.min(t.params.slidesPerGroupSkip,Q))%t.params.slidesPerGroup===0&&f.push(x),h.push(x),x=x+y+b),t.virtualSize+=y+b,C=y,Q+=1}}if(t.virtualSize=Math.max(t.virtualSize,w)+g,i&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${t.virtualSize+b}px`),n.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),S&&t.grid.updateWrapperSize(y,f),!n.centeredSlides){const T=[];for(let I=0;I<f.length;I+=1){let L=f[I];n.roundLengths&&(L=Math.floor(L)),f[I]<=t.virtualSize-w&&T.push(L)}f=T,Math.floor(t.virtualSize-w)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-w)}if(c&&n.loop){const T=d[0]+b;if(n.slidesPerGroup>1){const I=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),L=T*n.slidesPerGroup;for(let A=0;A<I;A+=1)f.push(f[f.length-1]+L)}for(let I=0;I<t.virtual.slidesBefore+t.virtual.slidesAfter;I+=1)n.slidesPerGroup===1&&f.push(f[f.length-1]+T),h.push(h[h.length-1]+T),t.virtualSize+=T}if(f.length===0&&(f=[0]),b!==0){const T=t.isHorizontal()&&i?"marginLeft":t.getDirectionLabel("marginRight");l.filter((I,L)=>!n.cssMode||n.loop?!0:L!==l.length-1).forEach(I=>{I.style[T]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let T=0;d.forEach(L=>{T+=L+(b||0)}),T-=b;const I=T>w?T-w:0;f=f.map(L=>L<=0?-v:L>I?I+g:L)}if(n.centerInsufficientSlides){let T=0;d.forEach(L=>{T+=L+(b||0)}),T-=b;const I=(v||0)+(g||0);if(T+I<w){const L=(w-T-I)/2;f.forEach((A,$)=>{f[$]=A-L}),h.forEach((A,$)=>{h[$]=A+L})}}if(Object.assign(t,{slides:l,snapGrid:f,slidesGrid:h,slidesSizesGrid:d}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){pr(r,"--swiper-centered-offset-before",`${-f[0]}px`),pr(r,"--swiper-centered-offset-after",`${t.size/2-d[d.length-1]/2}px`);const T=-t.snapGrid[0],I=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(L=>L+T),t.slidesGrid=t.slidesGrid.map(L=>L+I)}if(p!==a&&t.emit("slidesLengthChange"),f.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==m&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!c&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const T=`${n.containerModifierClass}backface-hidden`,I=t.el.classList.contains(T);p<=n.maxBackfaceHiddenSlides?I||t.el.classList.add(T):I&&t.el.classList.remove(T)}}function n9(t){const e=this,n=[],r=e.virtual&&e.params.virtual.enabled;let o=0,i;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const s=c=>r?e.slides[e.getSlideIndexByData(c)]:e.slides[c];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(c=>{n.push(c)});else for(i=0;i<Math.ceil(e.params.slidesPerView);i+=1){const c=e.activeIndex+i;if(c>e.slides.length&&!r)break;n.push(s(c))}else n.push(s(e.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]!="undefined"){const c=n[i].offsetHeight;o=c>o?c:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function r9(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(t.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-n-t.cssOverflowAdjustment()}const ma=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function o9(t=this&&this.translate||0){const e=this,n=e.params,{slides:r,rtlTranslate:o,snapGrid:i}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset=="undefined"&&e.updateSlidesOffset();let s=-t;o&&(s=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let c=n.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*e.size:typeof c=="string"&&(c=parseFloat(c));for(let a=0;a<r.length;a+=1){const l=r[a];let p=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(p-=r[0].swiperSlideOffset);const f=(s+(n.centeredSlides?e.minTranslate():0)-p)/(l.swiperSlideSize+c),h=(s-i[0]+(n.centeredSlides?e.minTranslate():0)-p)/(l.swiperSlideSize+c),d=-(s-p),v=d+e.slidesSizesGrid[a],g=d>=0&&d<=e.size-e.slidesSizesGrid[a],_=d>=0&&d<e.size-1||v>1&&v<=e.size||d<=0&&v>=e.size;_&&(e.visibleSlides.push(l),e.visibleSlidesIndexes.push(a)),ma(l,_,n.slideVisibleClass),ma(l,g,n.slideFullyVisibleClass),l.progress=o?-f:f,l.originalProgress=o?-h:h}}function i9(t){const e=this;if(typeof t=="undefined"){const p=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*p||0}const n=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:i,isEnd:s,progressLoop:c}=e;const a=i,l=s;if(r===0)o=0,i=!0,s=!0;else{o=(t-e.minTranslate())/r;const p=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;i=p||o<=0,s=f||o>=1,p&&(o=0),f&&(o=1)}if(n.loop){const p=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[p],d=e.slidesGrid[f],v=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(t);g>=h?c=(g-h)/v:c=(g+v-d)/v,c>1&&(c-=1)}Object.assign(e,{progress:o,progressLoop:c,isBeginning:i,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),i&&!a&&e.emit("reachBeginning toEdge"),s&&!l&&e.emit("reachEnd toEdge"),(a&&!i||l&&!s)&&e.emit("fromEdge"),e.emit("progress",o)}const To=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function s9(){const t=this,{slides:e,params:n,slidesEl:r,activeIndex:o}=t,i=t.virtual&&n.virtual.enabled,s=t.grid&&n.grid&&n.grid.rows>1,c=f=>lt(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let a,l,p;if(i)if(n.loop){let f=o-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),a=c(`[data-swiper-slide-index="${f}"]`)}else a=c(`[data-swiper-slide-index="${o}"]`);else s?(a=e.find(f=>f.column===o),p=e.find(f=>f.column===o+1),l=e.find(f=>f.column===o-1)):a=e[o];a&&(s||(p=W5(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!p&&(p=e[0]),l=q5(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!l===0&&(l=e[e.length-1]))),e.forEach(f=>{To(f,f===a,n.slideActiveClass),To(f,f===p,n.slideNextClass),To(f,f===l,n.slidePrevClass)}),t.emitSlidesClasses()}const dr=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,r=e.closest(n());if(r){let o=r.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Io=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Lo=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const r=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const s=o,c=[s-e];c.push(...Array.from({length:e}).map((a,l)=>s+r+l)),t.slides.forEach((a,l)=>{c.includes(a.column)&&Io(t,l)});return}const i=o+r-1;if(t.params.rewind||t.params.loop)for(let s=o-e;s<=i+e;s+=1){const c=(s%n+n)%n;(c<o||c>i)&&Io(t,c)}else for(let s=Math.max(o-e,0);s<=Math.min(i+e,n-1);s+=1)s!==o&&(s>i||s<o)&&Io(t,s)};function a9(t){const{slidesGrid:e,params:n}=t,r=t.rtlTranslate?t.translate:-t.translate;let o;for(let i=0;i<e.length;i+=1)typeof e[i+1]!="undefined"?r>=e[i]&&r<e[i+1]-(e[i+1]-e[i])/2?o=i:r>=e[i]&&r<e[i+1]&&(o=i+1):r>=e[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||typeof o=="undefined")&&(o=0),o}function c9(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:c}=e;let a=t,l;const p=d=>{let v=d-e.virtual.slidesBefore;return v<0&&(v=e.virtual.slides.length+v),v>=e.virtual.slides.length&&(v-=e.virtual.slides.length),v};if(typeof a=="undefined"&&(a=a9(e)),r.indexOf(n)>=0)l=r.indexOf(n);else{const d=Math.min(o.slidesPerGroupSkip,a);l=d+Math.floor((a-d)/o.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),a===i&&!e.params.loop){l!==c&&(e.snapIndex=l,e.emit("snapIndexChange"));return}if(a===i&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=p(a);return}const f=e.grid&&o.grid&&o.grid.rows>1;let h;if(e.virtual&&o.virtual.enabled&&o.loop)h=p(a);else if(f){const d=e.slides.find(g=>g.column===a);let v=parseInt(d.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(e.slides.indexOf(d),0)),h=Math.floor(v/o.grid.rows)}else if(e.slides[a]){const d=e.slides[a].getAttribute("data-swiper-slide-index");d?h=parseInt(d,10):h=a}else h=a;Object.assign(e,{previousSnapIndex:c,snapIndex:l,previousRealIndex:s,realIndex:h,previousIndex:i,activeIndex:a}),e.initialized&&Lo(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function l9(t,e){const n=this,r=n.params;let o=t.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(c=>{!o&&c.matches&&c.matches(`.${r.slideClass}, swiper-slide`)&&(o=c)});let i=!1,s;if(o){for(let c=0;c<n.slides.length;c+=1)if(n.slides[c]===o){i=!0,s=c;break}}if(o&&i)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var u9={updateSize:e9,updateSlides:t9,updateAutoHeight:n9,updateSlidesOffset:r9,updateSlidesProgress:o9,updateProgress:i9,updateSlidesClasses:s9,updateActiveIndex:c9,updateClickedSlide:l9};function p9(t=this.isHorizontal()?"x":"y"){const e=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:i}=e;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let s=N5(i,t);return s+=e.cssOverflowAdjustment(),r&&(s=-s),s||0}function f9(t,e){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:s}=n;let c=0,a=0;const l=0;n.isHorizontal()?c=r?-t:t:a=t,o.roundLengths&&(c=Math.floor(c),a=Math.floor(a)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:a,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-a:o.virtualTranslate||(n.isHorizontal()?c-=n.cssOverflowAdjustment():a-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${c}px, ${a}px, ${l}px)`);let p;const f=n.maxTranslate()-n.minTranslate();f===0?p=0:p=(t-n.minTranslate())/f,p!==s&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}function d9(){return-this.snapGrid[0]}function m9(){return-this.snapGrid[this.snapGrid.length-1]}function g9(t=0,e=this.params.speed,n=!0,r=!0,o){const i=this,{params:s,wrapperEl:c}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;const a=i.minTranslate(),l=i.maxTranslate();let p;if(r&&t>a?p=a:r&&t<l?p=l:p=t,i.updateProgress(p),s.cssMode){const f=i.isHorizontal();if(e===0)c[f?"scrollLeft":"scrollTop"]=-p;else{if(!i.support.smoothScroll)return ca({swiper:i,targetPosition:-p,side:f?"left":"top"}),!0;c.scrollTo({[f?"left":"top"]:-p,behavior:"smooth"})}return!0}return e===0?(i.setTransition(0),i.setTranslate(p),n&&(i.emit("beforeTransitionStart",e,o),i.emit("transitionEnd"))):(i.setTransition(e),i.setTranslate(p),n&&(i.emit("beforeTransitionStart",e,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(h){!i||i.destroyed||h.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}var h9={getTranslate:p9,setTranslate:f9,minTranslate:d9,maxTranslate:m9,translateTo:g9};function v9(t,e){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${t}ms`,n.wrapperEl.style.transitionDelay=t===0?"0ms":""),n.emit("setTransition",t,e)}function ga({swiper:t,runCallbacks:e,direction:n,step:r}){const{activeIndex:o,previousIndex:i}=t;let s=n;s||(o>i?s="next":o<i?s="prev":s="reset"),t.emit(`transition${r}`),e&&s==="reset"?t.emit(`slideResetTransition${r}`):e&&o!==i&&(t.emit(`slideChangeTransition${r}`),s==="next"?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}function _9(t=!0,e){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),ga({swiper:n,runCallbacks:t,direction:e,step:"Start"}))}function w9(t=!0,e){const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),ga({swiper:n,runCallbacks:t,direction:e,step:"End"}))}var b9={setTransition:v9,transitionStart:_9,transitionEnd:w9};function y9(t=0,e,n=!0,r,o){typeof t=="string"&&(t=parseInt(t,10));const i=this;let s=t;s<0&&(s=0);const{params:c,snapGrid:a,slidesGrid:l,previousIndex:p,activeIndex:f,rtlTranslate:h,wrapperEl:d,enabled:v}=i;if(!v&&!r&&!o||i.destroyed||i.animating&&c.preventInteractionOnTransition)return!1;typeof e=="undefined"&&(e=i.params.speed);const g=Math.min(i.params.slidesPerGroupSkip,s);let _=g+Math.floor((s-g)/i.params.slidesPerGroup);_>=a.length&&(_=a.length-1);const m=-a[_];if(c.normalizeSlideIndex)for(let S=0;S<l.length;S+=1){const y=-Math.floor(m*100),E=Math.floor(l[S]*100),T=Math.floor(l[S+1]*100);typeof l[S+1]!="undefined"?y>=E&&y<T-(T-E)/2?s=S:y>=E&&y<T&&(s=S+1):y>=E&&(s=S)}if(i.initialized&&s!==f&&(!i.allowSlideNext&&(h?m>i.translate&&m>i.minTranslate():m<i.translate&&m<i.minTranslate())||!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(f||0)!==s))return!1;s!==(p||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(m);let w;s>f?w="next":s<f?w="prev":w="reset";const b=i.virtual&&i.params.virtual.enabled;if(!(b&&o)&&(h&&-m===i.translate||!h&&m===i.translate))return i.updateActiveIndex(s),c.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),c.effect!=="slide"&&i.setTranslate(m),w!=="reset"&&(i.transitionStart(n,w),i.transitionEnd(n,w)),!1;if(c.cssMode){const S=i.isHorizontal(),y=h?m:-m;if(e===0)b&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),b&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{d[S?"scrollLeft":"scrollTop"]=y})):d[S?"scrollLeft":"scrollTop"]=y,b&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return ca({swiper:i,targetPosition:y,side:S?"left":"top"}),!0;d.scrollTo({[S?"left":"top"]:y,behavior:"smooth"})}return!0}const Q=da().isSafari;return b&&!o&&Q&&i.isElement&&i.virtual.update(!1,!1,s),i.setTransition(e),i.setTranslate(m),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",e,r),i.transitionStart(n,w),e===0?i.transitionEnd(n,w):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(y){!i||i.destroyed||y.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,w))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function x9(t=0,e,n=!0,r){typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e=="undefined"&&(e=o.params.speed);const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s=s+o.virtual.slidesBefore;else{let c;if(i){const g=s*o.params.grid.rows;c=o.slides.find(_=>_.getAttribute("data-swiper-slide-index")*1===g).column}else c=o.getSlideIndexByData(s);const a=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:l,slidesOffsetBefore:p,slidesOffsetAfter:f}=o.params,h=l||!!p||!!f;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),h&&d%2===0&&(d=d+1));let v=a-c<d;if(h&&(v=v||c<Math.ceil(d/2)),r&&h&&o.params.slidesPerView!=="auto"&&!i&&(v=!1),v){const g=h?c<o.activeIndex?"prev":"next":c-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?c+1:c-a+1,slideRealIndex:g==="next"?o.realIndex:void 0})}if(i){const g=s*o.params.grid.rows;s=o.slides.find(_=>_.getAttribute("data-swiper-slide-index")*1===g).column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,e,n,r)}),o}function C9(t,e=!0,n){const r=this,{enabled:o,params:i,animating:s}=r;if(!o||r.destroyed)return r;typeof t=="undefined"&&(t=r.params.speed);let c=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(c=Math.max(r.slidesPerViewDynamic("current",!0),1));const a=r.activeIndex<i.slidesPerGroupSkip?1:c,l=r.virtual&&i.virtual.enabled;if(i.loop){if(s&&!l&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+a,t,e,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,t,e,n):r.slideTo(r.activeIndex+a,t,e,n)}function Q9(t,e=!0,n){const r=this,{params:o,snapGrid:i,slidesGrid:s,rtlTranslate:c,enabled:a,animating:l}=r;if(!a||r.destroyed)return r;typeof t=="undefined"&&(t=r.params.speed);const p=r.virtual&&o.virtual.enabled;if(o.loop){if(l&&!p&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=c?r.translate:-r.translate;function h(w){return w<0?-Math.floor(Math.abs(w)):Math.floor(w)}const d=h(f),v=i.map(w=>h(w)),g=o.freeMode&&o.freeMode.enabled;let _=i[v.indexOf(d)-1];if(typeof _=="undefined"&&(o.cssMode||g)){let w;i.forEach((b,x)=>{d>=b&&(w=x)}),typeof w!="undefined"&&(_=g?i[w]:i[w>0?w-1:w])}let m=0;if(typeof _!="undefined"&&(m=s.indexOf(_),m<0&&(m=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),o.rewind&&r.isBeginning){const w=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(w,t,e,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(m,t,e,n)}),!0;return r.slideTo(m,t,e,n)}function k9(t,e=!0,n){const r=this;if(!r.destroyed)return typeof t=="undefined"&&(t=r.params.speed),r.slideTo(r.activeIndex,t,e,n)}function S9(t,e=!0,n,r=.5){const o=this;if(o.destroyed)return;typeof t=="undefined"&&(t=o.params.speed);let i=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,i),c=s+Math.floor((i-s)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[c]){const l=o.snapGrid[c],p=o.snapGrid[c+1];a-l>(p-l)*r&&(i+=o.params.slidesPerGroup)}else{const l=o.snapGrid[c-1],p=o.snapGrid[c];a-l<=(p-l)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,t,e,n)}function E9(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:n}=t,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.getSlideIndexWhenGrid(t.clickedIndex),i;const s=t.isElement?"swiper-slide":`.${e.slideClass}`,c=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;i=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(i):o>(c?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),o=t.getSlideIndex(lt(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),aa(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var T9={slideTo:y9,slideToLoop:x9,slideNext:C9,slidePrev:Q9,slideReset:k9,slideToClosest:S9,slideToClickedSlide:E9};function I9(t,e){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{lt(o,`.${r.slideClass}, swiper-slide`).forEach((v,g)=>{v.setAttribute("data-swiper-slide-index",g)})},s=()=>{const d=lt(o,`.${r.slideBlankClass}`);d.forEach(v=>{v.remove()}),d.length>0&&(n.recalcSlides(),n.updateSlides())},c=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||c)&&s();const a=r.slidesPerGroup*(c?r.grid.rows:1),l=n.slides.length%a!==0,p=c&&n.slides.length%r.grid.rows!==0,f=d=>{for(let v=0;v<d;v+=1){const g=n.isElement?Qo("swiper-slide",[r.slideBlankClass]):Qo("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(g)}};if(l){if(r.loopAddBlankSlides){const d=a-n.slides.length%a;f(d),n.recalcSlides(),n.updateSlides()}else fr("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(p){if(r.loopAddBlankSlides){const d=r.grid.rows-n.slides.length%r.grid.rows;f(d),n.recalcSlides(),n.updateSlides()}else fr("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();const h=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:t,direction:h?void 0:"next",initial:e})}function L9({slideRealIndex:t,slideTo:e=!0,direction:n,setTranslate:r,activeSlideIndex:o,initial:i,byController:s,byMousewheel:c}={}){const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:l,allowSlidePrev:p,allowSlideNext:f,slidesEl:h,params:d}=a,{centeredSlides:v,slidesOffsetBefore:g,slidesOffsetAfter:_,initialSlide:m}=d,w=v||!!g||!!_;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&d.virtual.enabled){e&&(!w&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):w&&a.snapIndex<d.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=p,a.allowSlideNext=f,a.emit("loopFix");return}let b=d.slidesPerView;b==="auto"?b=a.slidesPerViewDynamic():(b=Math.ceil(parseFloat(d.slidesPerView,10)),w&&b%2===0&&(b=b+1));const x=d.slidesPerGroupAuto?b:d.slidesPerGroup;let C=w?Math.max(x,Math.ceil(b/2)):x;C%x!==0&&(C+=x-C%x),C+=d.loopAdditionalSlides,a.loopedSlides=C;const Q=a.grid&&d.grid&&d.grid.rows>1;l.length<b+C||a.params.effect==="cards"&&l.length<b+C*2?fr("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Q&&d.grid.fill==="row"&&fr("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],y=[],E=Q?Math.ceil(l.length/d.grid.rows):l.length,T=i&&E-m<b&&!w;let I=T?m:a.activeIndex;typeof o=="undefined"?o=a.getSlideIndex(l.find(N=>N.classList.contains(d.slideActiveClass))):I=o;const L=n==="next"||!n,A=n==="prev"||!n;let $=0,O=0;const W=(Q?l[o].column:o)+(w&&typeof r=="undefined"?-b/2+.5:0);if(W<C){$=Math.max(C-W,x);for(let N=0;N<C-W;N+=1){const Z=N-Math.floor(N/E)*E;if(Q){const X=E-Z-1;for(let B=l.length-1;B>=0;B-=1)l[B].column===X&&S.push(B)}else S.push(E-Z-1)}}else if(W+b>E-C){O=Math.max(W-(E-C*2),x),T&&(O=Math.max(O,b-E+m+1));for(let N=0;N<O;N+=1){const Z=N-Math.floor(N/E)*E;Q?l.forEach((X,B)=>{X.column===Z&&y.push(B)}):y.push(Z)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),a.params.effect==="cards"&&l.length<b+C*2&&(y.includes(o)&&y.splice(y.indexOf(o),1),S.includes(o)&&S.splice(S.indexOf(o),1)),A&&S.forEach(N=>{l[N].swiperLoopMoveDOM=!0,h.prepend(l[N]),l[N].swiperLoopMoveDOM=!1}),L&&y.forEach(N=>{l[N].swiperLoopMoveDOM=!0,h.append(l[N]),l[N].swiperLoopMoveDOM=!1}),a.recalcSlides(),d.slidesPerView==="auto"?a.updateSlides():Q&&(S.length>0&&A||y.length>0&&L)&&a.slides.forEach((N,Z)=>{a.grid.updateSlide(Z,N,a.slides)}),d.watchSlidesProgress&&a.updateSlidesOffset(),e){if(S.length>0&&A){if(typeof t=="undefined"){const N=a.slidesGrid[I],X=a.slidesGrid[I+$]-N;c?a.setTranslate(a.translate-X):(a.slideTo(I+Math.ceil($),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-X,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-X))}else if(r){const N=Q?S.length/d.grid.rows:S.length;a.slideTo(a.activeIndex+N,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(y.length>0&&L)if(typeof t=="undefined"){const N=a.slidesGrid[I],X=a.slidesGrid[I-O]-N;c?a.setTranslate(a.translate-X):(a.slideTo(I-O,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-X,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-X))}else{const N=Q?y.length/d.grid.rows:y.length;a.slideTo(a.activeIndex-N,0,!1,!0)}}if(a.allowSlidePrev=p,a.allowSlideNext=f,a.controller&&a.controller.control&&!s){const N={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:o,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(Z=>{!Z.destroyed&&Z.params.loop&&Z.loopFix(se(D({},N),{slideTo:Z.params.slidesPerView===d.slidesPerView?e:!1}))}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix(se(D({},N),{slideTo:a.controller.control.params.slidesPerView===d.slidesPerView?e:!1}))}a.emit("loopFix")}function P9(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||!n||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const r=[];t.slides.forEach(o=>{const i=typeof o.swiperSlideIndex=="undefined"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[i]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var A9={loopCreate:I9,loopFix:L9,loopDestroy:P9};function $9(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function R9(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var O9={setGrabCursor:$9,unsetGrabCursor:R9};function D9(t,e=this){function n(r){if(!r||r===It()||r===Se())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(t);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(e)}function ha(t,e,n){const r=Se(),{params:o}=t,i=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return i&&(n<=s||n>=r.innerWidth-s)?i==="prevent"?(e.preventDefault(),!0):!1:!0}function z9(t){const e=this,n=It();let r=t;r.originalEvent&&(r=r.originalEvent);const o=e.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){ha(e,r,r.targetTouches[0].pageX);return}const{params:i,touches:s,enabled:c}=e;if(!c||!i.simulateTouch&&r.pointerType==="mouse"||e.animating&&i.preventInteractionOnTransition)return;!e.animating&&i.cssMode&&i.loop&&e.loopFix();let a=r.target;if(i.touchEventsTarget==="wrapper"&&!j5(a,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const l=!!i.noSwipingClass&&i.noSwipingClass!=="",p=r.composedPath?r.composedPath():r.path;l&&r.target&&r.target.shadowRoot&&p&&(a=p[0]);const f=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(h?D9(f,a):a.closest(f))){e.allowClick=!0;return}if(i.swipeHandler&&!a.closest(i.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const d=s.currentX,v=s.currentY;if(!ha(e,r,d))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=d,s.startY=v,o.touchStartTime=lr(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let g=!0;a.matches(o.focusableElements)&&(g=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==a&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!a.matches(o.focusableElements))&&n.activeElement.blur();const _=g&&e.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||_)&&!a.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&e.freeMode&&e.animating&&!i.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function F9(t){const e=It(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:s,enabled:c}=n;if(!c||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(r.touchId!==null||a.pointerId!==r.pointerId))return;let l;if(a.type==="touchmove"){if(l=[...a.changedTouches].find(C=>C.identifier===r.touchId),!l||l.identifier!==r.touchId)return}else l=a;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",a);return}const p=l.pageX,f=l.pageY;if(a.preventedByNestedSwiper){i.startX=p,i.startY=f;return}if(!n.allowTouchMove){a.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:p,startY:f,currentX:p,currentY:f}),r.touchStartTime=lr());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(f<i.startY&&n.translate<=n.maxTranslate()||f>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(s&&(p>i.startX&&-n.translate<=n.maxTranslate()||p<i.startX&&-n.translate>=n.minTranslate()))return;if(!s&&(p<i.startX&&n.translate<=n.maxTranslate()||p>i.startX&&n.translate>=n.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(r.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",a),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=p,i.currentY=f;const h=i.currentX-i.startX,d=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(Bt(h,2)+Bt(d,2))<n.params.threshold)return;if(typeof r.isScrolling=="undefined"){let C;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:h*h+d*d>=25&&(C=Math.atan2(Math.abs(d),Math.abs(h))*180/Math.PI,r.isScrolling=n.isHorizontal()?C>o.touchAngle:90-C>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",a),typeof r.startMoving=="undefined"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||a.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let v=n.isHorizontal()?h:d,g=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(v=Math.abs(v)*(s?1:-1),g=Math.abs(g)*(s?1:-1)),i.diff=v,v*=o.touchRatio,s&&(v=-v,g=-g);const _=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const m=n.params.loop&&!o.cssMode,w=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(m&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(C)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",a)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&_!==n.touchesDirection&&m&&w&&Math.abs(v)>=1){Object.assign(i,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",a),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let b=!0,x=o.resistanceRatio;if(o.touchReleaseOnEdges&&(x=0),v>0?(m&&w&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(b=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+Bt(-n.minTranslate()+r.startTranslate+v,x)))):v<0&&(m&&w&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(b=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-Bt(n.maxTranslate()-r.startTranslate-v,x)))),b&&(a.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(v)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function B9(t){const e=this,n=e.touchEventsData;let r=t;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(C=>C.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:s,touches:c,rtlTranslate:a,slidesGrid:l,enabled:p}=e;if(!p||!s.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=lr(),h=f-n.touchStartTime;if(e.allowClick){const C=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(C&&C[0]||r.target,C),e.emit("tap click",r),h<300&&f-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=lr(),aa(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||c.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let d;if(s.followFinger?d=a?e.translate:-e.translate:d=-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}const v=d>=-e.maxTranslate()&&!e.params.loop;let g=0,_=e.slidesSizesGrid[0];for(let C=0;C<l.length;C+=C<s.slidesPerGroupSkip?1:s.slidesPerGroup){const Q=C<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof l[C+Q]!="undefined"?(v||d>=l[C]&&d<l[C+Q])&&(g=C,_=l[C+Q]-l[C]):(v||d>=l[C])&&(g=C,_=l[l.length-1]-l[l.length-2])}let m=null,w=null;s.rewind&&(e.isBeginning?w=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const b=(d-l[g])/_,x=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(h>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?m:g+x):e.slideTo(g)),e.swipeDirection==="prev"&&(b>1-s.longSwipesRatio?e.slideTo(g+x):w!==null&&b<0&&Math.abs(b)>s.longSwipesRatio?e.slideTo(w):e.slideTo(g))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(g+x):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:g+x),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:g))}}function va(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=t,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const c=s&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!c?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!s?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=r,t.params.watchOverflow&&i!==t.snapGrid&&t.checkOverflow()}function M9(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function N9(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const i=t.maxTranslate()-t.minTranslate();i===0?o=0:o=(t.translate-t.minTranslate())/i,o!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function U9(t){const e=this;dr(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function H9(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _a=(t,e)=>{const n=It(),{params:r,el:o,wrapperEl:i,device:s}=t,c=!!r.nested,a=e==="on"?"addEventListener":"removeEventListener",l=e;!o||typeof o=="string"||(n[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:c}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),n[a]("touchmove",t.onTouchMove,{passive:!1,capture:c}),n[a]("pointermove",t.onTouchMove,{passive:!1,capture:c}),n[a]("touchend",t.onTouchEnd,{passive:!0}),n[a]("pointerup",t.onTouchEnd,{passive:!0}),n[a]("pointercancel",t.onTouchEnd,{passive:!0}),n[a]("touchcancel",t.onTouchEnd,{passive:!0}),n[a]("pointerout",t.onTouchEnd,{passive:!0}),n[a]("pointerleave",t.onTouchEnd,{passive:!0}),n[a]("contextmenu",t.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[a]("click",t.onClick,!0),r.cssMode&&i[a]("scroll",t.onScroll),r.updateOnWindowResize?t[l](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",va,!0):t[l]("observerUpdate",va,!0),o[a]("load",t.onLoad,{capture:!0}))};function j9(){const t=this,{params:e}=t;t.onTouchStart=z9.bind(t),t.onTouchMove=F9.bind(t),t.onTouchEnd=B9.bind(t),t.onDocumentTouchStart=H9.bind(t),e.cssMode&&(t.onScroll=N9.bind(t)),t.onClick=M9.bind(t),t.onLoad=U9.bind(t),_a(t,"on")}function q9(){_a(this,"off")}var W9={attachEvents:j9,detachEvents:q9};const wa=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function G9(){const t=this,{realIndex:e,initialized:n,params:r,el:o}=t,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const s=It(),c=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",a=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?t.el:s.querySelector(r.breakpointsBase),l=t.getBreakpoint(i,c,a);if(!l||t.currentBreakpoint===l)return;const f=(l in i?i[l]:void 0)||t.originalParams,h=wa(t,r),d=wa(t,f),v=t.params.grabCursor,g=f.grabCursor,_=r.enabled;h&&!d?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!h&&d&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),v&&!g?t.unsetGrabCursor():!v&&g&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(Q=>{if(typeof f[Q]=="undefined")return;const S=r[Q]&&r[Q].enabled,y=f[Q]&&f[Q].enabled;S&&!y&&t[Q].disable(),!S&&y&&t[Q].enable()});const m=f.direction&&f.direction!==r.direction,w=r.loop&&(f.slidesPerView!==r.slidesPerView||m),b=r.loop;m&&n&&t.changeDirection(),Be(t.params,f);const x=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),_&&!x?t.disable():!_&&x&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",f),n&&(w?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&C?(t.loopCreate(e),t.updateSlides()):b&&!C&&t.loopDestroy()),t.emit("breakpoint",f)}function Y9(t,e="window",n){if(!t||e==="container"&&!n)return;let r=!1;const o=Se(),i=e==="window"?o.innerHeight:n.clientHeight,s=Object.keys(t).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const a=parseFloat(c.substr(1));return{value:i*a,point:c}}return{value:c,point:c}});s.sort((c,a)=>parseInt(c.value,10)-parseInt(a.value,10));for(let c=0;c<s.length;c+=1){const{point:a,value:l}=s[c];e==="window"?o.matchMedia(`(min-width: ${l}px)`).matches&&(r=a):l<=n.clientWidth&&(r=a)}return r||"max"}var Z9={setBreakpoint:G9,getBreakpoint:Y9};function K9(t,e){const n=[];return t.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(e+o)}):typeof r=="string"&&n.push(e+r)}),n}function X9(){const t=this,{classNames:e,params:n,rtl:r,el:o,device:i}=t,s=K9(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...s),o.classList.add(...e),t.emitContainerClasses()}function J9(){const t=this,{el:e,classNames:n}=t;!e||typeof e=="string"||(e.classList.remove(...n),t.emitContainerClasses())}var V9={addClasses:X9,removeClasses:J9};function e3(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:r}=n;if(r){const o=t.slides.length-1,i=t.slidesGrid[o]+t.slidesSizesGrid[o]+r*2;t.isLocked=t.size>i}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var t3={checkOverflow:e3},ba={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function n3(t,e){return function(r={}){const o=Object.keys(r)[0],i=r[o];if(typeof i!="object"||i===null){Be(e,r);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in i)){Be(e,r);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Be(e,r)}}const Po={eventsEmitter:V5,update:u9,translate:h9,transition:b9,slide:T9,loop:A9,grabCursor:O9,events:W9,breakpoints:Z9,checkOverflow:t3,classes:V9},Ao={};class qe{constructor(...e){let n,r;e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?r=e[0]:[n,r]=e,r||(r={}),r=Be({},r),n&&!r.el&&(r.el=n);const o=It();if(r.el&&typeof r.el=="string"&&o.querySelectorAll(r.el).length>1){const a=[];return o.querySelectorAll(r.el).forEach(l=>{const p=Be({},r,{el:l});a.push(new qe(p))}),a}const i=this;i.__swiper__=!0,i.support=pa(),i.device=fa({userAgent:r.userAgent}),i.browser=da(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&i.modules.push(...r.modules);const s={};i.modules.forEach(a=>{a({params:r,swiper:i,extendParams:n3(r,s),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const c=Be({},ba,s);return i.params=Be({},c,Ao,r),i.originalParams=Be({},i.params),i.passedParams=Be({},r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(a=>{i.on(a,i.params.on[a])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/Bt(2,23))*Bt(2,23)},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:n,params:r}=this,o=lt(n,`.${r.slideClass}, swiper-slide`),i=la(o[0]);return la(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:n,params:r}=e;e.slides=lt(n,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const r=this;e=Math.min(Math.max(e,0),1);const o=r.minTranslate(),s=(r.maxTranslate()-o)*e+o;r.translateTo(s,typeof n=="undefined"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(r=>{const o=e.getSlideClasses(r);n.push({slideEl:r,classNames:o}),e.emit("_slideClass",r,o)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e="current",n=!1){const r=this,{params:o,slides:i,slidesGrid:s,slidesSizesGrid:c,size:a,activeIndex:l}=r;let p=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=i[l]?Math.ceil(i[l].swiperSlideSize):0,h;for(let d=l+1;d<i.length;d+=1)i[d]&&!h&&(f+=Math.ceil(i[d].swiperSlideSize),p+=1,f>a&&(h=!0));for(let d=l-1;d>=0;d-=1)i[d]&&!h&&(f+=i[d].swiperSlideSize,p+=1,f>a&&(h=!0))}else if(e==="current")for(let f=l+1;f<i.length;f+=1)(n?s[f]+c[f]-s[l]<a:s[f]-s[l]<a)&&(p+=1);else for(let f=l-1;f>=0;f-=1)s[l]-s[f]<a&&(p+=1);return p}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:n,params:r}=e;r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(s=>{s.complete&&dr(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const s=e.rtlTranslate?e.translate*-1:e.translate,c=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const s=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(s.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||o()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n=!0){const r=this,o=r.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(i=>{e==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let r=e||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):lt(r,o())[0];return!s&&n.params.createElements&&(s=Qo("div",n.params.wrapperClass),r.append(s),lt(r,`.${n.params.slideClass}`).forEach(c=>{s.append(c)})),Object.assign(n,{el:r,wrapperEl:s,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:s,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||gt(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||gt(r,"direction")==="rtl"),wrongRTL:gt(s,"display")==="-webkit-box"}),!0}init(e){const n=this;if(n.initialized||n.mount(e)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(i=>{i.complete?dr(n,i):i.addEventListener("load",s=>{dr(n,s.target)})}),Lo(n),n.initialized=!0,Lo(n),n.emit("init"),n.emit("afterInit"),n}destroy(e=!0,n=!0){const r=this,{params:o,el:i,wrapperEl:s,slides:c}=r;return typeof r.params=="undefined"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),s&&s.removeAttribute("style"),c&&c.length&&c.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(a=>{r.off(a)}),e!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),B5(r)),r.destroyed=!0),null}static extendDefaults(e){Be(Ao,e)}static get extendedDefaults(){return Ao}static get defaults(){return ba}static installModule(e){qe.prototype.__modules__||(qe.prototype.__modules__=[]);const n=qe.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>qe.installModule(n)),qe):(qe.installModule(e),qe)}}Object.keys(Po).forEach(t=>{Object.keys(Po[t]).forEach(e=>{qe.prototype[e]=Po[t][e]})}),qe.use([X5,J5]),function(){try{if(typeof document!="undefined"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@keyframes loading-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pwc-loading{display:inline-flex;align-items:center;justify-content:center}.pwc-loading__content{display:flex;align-items:center;justify-content:center;animation:loading-animation 1s ease infinite}.pwc-loading__content .polyv-icon{display:flex;--spinner-color: red}.pwc-loading.is-directive{position:absolute;width:100%;height:100%;top:0;left:0}.pwc-loading.is-service{position:fixed;width:100%;height:100%;top:0;left:0}.pwc-toast{pointer-events:none}.pwc-toast .pwc-popup__body{pointer-events:none!important}.pwc-toast__wrap{text-align:center}.pwc-toast__text{box-sizing:border-box;display:inline-block;max-width:100%;padding:10px 16px;font-size:14px;line-height:20px;color:#fff;white-space:pre-line;vertical-align:top;background:#000c;border-radius:8px;box-shadow:0 0 30px #00000026}.pwc-toast__text--icon{min-width:100px;min-height:100px;display:inline-flex;align-items:center;justify-content:center;flex-direction:column}.pwc-toast__icon{display:flex;font-size:24px;margin-bottom:10px}.pwc-popper-arrow{border-color:transparent;border-style:solid}[data-popper-placement^=top]>[data-popper-arrow]{bottom:0;border-top-color:currentColor;transform:translateY(100%)}[data-popper-placement^=bottom]>[data-popper-arrow]{top:0;border-bottom-color:currentColor;transform:translateY(-100%)}[data-popper-placement^=right]>[data-popper-arrow]{left:0;border-right-color:currentColor;transform:translate(-100%)}[data-popper-placement^=left]>[data-popper-arrow]{right:0;border-left-color:currentColor;transform:translate(100%)}.pwc-button{position:relative;display:inline-flex;padding:0 12px;border-radius:20px;height:40px;border:none;outline:none;cursor:pointer;font-size:16px;justify-content:center;align-items:center;min-width:68px;line-height:1.4;box-sizing:border-box;border:1px solid transparent}.pwc-button.is-disabled{opacity:.6;cursor:not-allowed}.pwc-button.is-block{width:100%;display:flex}.pwc-button.is-square{border-radius:4px}.pwc-button--type-primary{background:#3082fe;color:#fff}.pwc-button--type-primary.is-outline{background:#fff;border:1px solid #3082FE;color:#3082fe}.pwc-button--type-info{background:#fff;color:#000c;border:1px solid rgba(0,0,0,.1)}.pwc-button--type-danger{background:#ff6264;color:#fff}.pwc-button--type-danger.is-outline{background:#fff;border:1px solid #ff6264;color:#ff6264}.pwc-button--type-multicolour{background:linear-gradient(106deg,#ff5031,#ff9e63 98%);color:#fff;border:none}.pwc-button--type-multicolour.is-outline{background:none;border:1px solid #FF5031;color:#ff5031}.pwc-button--type-warning{background:#ffc038;color:#fff}.pwc-button--type-warning.is-outline{background:none;border:1px solid #ffa611;color:#ffa611}.pwc-button--size-large{height:48px;border-radius:24px}.pwc-button--size-small{height:32px;border-radius:16px;font-size:14px;min-width:64px}.pwc-button--size-mini{height:28px;border-radius:14px;font-size:14px;min-width:60px}.pwc-form-item{position:relative;display:flex;align-items:flex-start}.pwc-form-item__anchor{position:absolute;top:0;left:0;opacity:0}.pwc-form-item__label__required{color:#ff3636}.pwc-form-item__label{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;padding-right:16px;font-size:14px}.pwc-form-item__content{position:relative;flex-shrink:0}.pwc-form-item__content:not(.pwc-form-item__content--has-width){flex:1}.pwc-form-item--header{flex-direction:column}.pwc-form-item--header .pwc-form-item__label{justify-content:flex-start;width:100%;padding:0;margin-bottom:8px;line-height:1.5;color:#3339;font-size:12px}.pwc-form-item--header .pwc-form-item__content{width:100%}.pwc-form-item__content__error{box-sizing:border-box;width:100%;padding-top:5px;font-size:12px;color:#ff5722}.pwc-form-wrap{display:flex;flex-direction:column;gap:16px}.pwc-input{display:flex}.pwc-input__main{position:relative;box-sizing:border-box;display:flex;flex:1;align-items:center;height:48px;overflow:hidden;border-radius:8px;border:1px solid transparent;padding:0 12px;gap:4px;background:#0000000a;color:#333}.pwc-skin-color-mode--dark .pwc-input__main{background:#ffffff0a;color:#fff}.pwc-skin-color-mode--light .pwc-input__main{background:#0000000a;color:#333}.pwc-input__main .polyv-icon{display:flex;font-size:16px;opacity:.4}.pwc-input__main__input{box-sizing:border-box;display:block;flex:1;height:100%;color:inherit}.pwc-input__main__input__inner{border:none;border-radius:0;outline:none;display:block;width:100%;height:100%;background:none;font-size:14px;box-sizing:border-box;color:inherit}.pwc-input__main__input__inner::-webkit-input-placeholder{color:#9e9e9e}.pwc-input__main__input__inner::placeholder{color:#9e9e9e}.pwc-input__main__input__inner::-webkit-outer-spin-button,.pwc-input__main__input__inner::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0}.pwc-input__main__input__inner[type=number]{appearance:textfield;-moz-appearance:textfield}.pwc-input__main__input__inner[disabled]{opacity:1}.pwc-input__main__input__inner[type=button],.pwc-input__main__input__inner[type=submit],.pwc-input__main__input__inner[type=reset]{appearance:none;-webkit-appearance:none;background:#fff}.pwc-input__main__input__clearabled{display:flex;font-size:20px;cursor:pointer}.pwc-input__main__input__prefix-text,.pwc-input__main__input__suffix-text{font-size:14px;opacity:.4}.pwc-input--textarea .pwc-input__main{height:initial;padding:0;flex-direction:column;align-items:initial}.pwc-input--textarea .pwc-input__main__input__inner{padding:8px 12px 0}.pwc-input--textarea .pwc-input__main__suffix,.pwc-input--textarea .pwc-input__main__prefix{padding:6px 8px;justify-content:flex-end}.pwc-input__main__prefix,.pwc-input__main__suffix{display:flex;align-items:center;gap:4px}.pwc-input__main__prefix:empty,.pwc-input__main__suffix:empty{display:none}.pwc-input.is-disabled .pwc-input__main,.pwc-input.is-disabled .pwc-input__main__input__inner{cursor:not-allowed}.pwc-input--error .pwc-input__main{border:1px solid #FF5252}.pwc-input--size-medium:not(.pwc-input--textarea) .pwc-input__main{height:40px}.pwc-input--size-small:not(.pwc-input--textarea) .pwc-input__main{height:32px}.pwc-message-box .pwc-popup__body{box-shadow:0 0 10px #0000001a;border-radius:12px!important}.pwc-message-box__content{padding-top:32px}.pwc-message-box__message{text-align:center;padding:0 24px;font-size:16px;line-height:22px;margin-bottom:8px}.pwc-message-box__description{text-align:center;padding:0 24px;font-size:14px;line-height:20px;color:#0009;margin-top:12px}.pwc-message-box__input{padding:0 24px;margin-top:16px}.pwc-message-box__btns{padding:24px;display:flex;gap:12px}.pwc-message-box__btn{flex:1}[class*=pwc-body-locked--]{overflow:hidden!important}.pwc-popup{position:fixed;width:100%;height:100%;top:0;left:0;background:#0006}.pwc-popup__body{position:absolute;width:100%;border-radius:8px;max-height:var(--pwc-popup-body-max-height);overflow:hidden;background:#fff;display:flex;flex-direction:column;z-index:inherit;box-shadow:0 0 20px #00000014}.pwc-popup__body.is-hidden-shadow{box-shadow:none}.pwc-popup__header{display:flex;align-items:center;justify-content:center;padding:0 54px;position:relative;z-index:2;flex-shrink:0;height:66px}.pwc-popup__back{box-sizing:border-box;width:30px;height:30px;display:flex;justify-content:center;align-items:center;background:#0003;border:1px solid rgba(255,255,255,.2);border-radius:50%;position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#fff;font-size:20px;cursor:pointer}.pwc-popup__title{color:#333;font-size:20px;text-align:center}.pwc-popup__header-right{position:absolute;top:50%;transform:translateY(-50%);right:12px;display:flex;align-items:center}.pwc-popup__close{font-size:24px;color:#0009;display:flex;cursor:pointer}.pwc-popup__content{position:relative;z-index:2;flex:1;overflow:hidden;display:flex;flex-direction:column}.pwc-popup__inner{flex:1;overflow-y:auto}.pwc-popup__inner::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-popup__inner::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-popup__inner::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-popup__inner::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-popup__inner::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-popup__inner::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-popup__inner__footer{padding:18px 16px 34px;position:sticky;bottom:0}.pwc-popup__inner__footer:empty{display:none}.pwc-popup__body--bg1{background:linear-gradient(180deg,#fee5e1,#fef9f4)}.pwc-popup__body--bg1:before{content:"";position:absolute;top:-26px;right:-87px;width:176px;height:168px;background:#fdf0d5;filter:blur(80px);pointer-events:none;z-index:1}.pwc-popup__body--bg1 .pwc-popup__content{padding:0 12px 30px}.pwc-popup__body--bg1 .pwc-popup__inner{background:#fff;border-radius:12px}.pwc-popup--hide-modal{background:none;pointer-events:none}.pwc-popup--hide-modal .pwc-popup__body{pointer-events:initial}.pwc-popup--fill-body .pwc-popup__body{height:var(--pwc-popup-body-max-height)}.pwc-popup--mobile:not(.pwc-popup--position-center) .pwc-popup__body{border-radius:16px 16px 0 0}.pwc-popup--position-bottom .pwc-popup__body{--pwc-popup-animation-start: translate(0, 100%);--pwc-popup-animation-end: translate(0, 0);bottom:0;left:0}.pwc-popup--position-left .pwc-popup__body{--pwc-popup-animation-start: translate(-100%, 0);--pwc-popup-animation-end: translate(0, 0);left:0;top:0;height:100%!important;max-height:100%!important}.pwc-popup--position-right .pwc-popup__body{--pwc-popup-animation-start: translate(100%, 0);--pwc-popup-animation-end: translate(0, 0);right:0;top:0;height:100%!important;max-height:100%!important}.pwc-popup--position-center .pwc-popup__body{animation:none!important;top:50%;left:50%;transform:translate(-50%,-50%);max-height:var(--pwc-popup-body-max-height)}.pwc-popup--horizontal-screen .pwc-popup__body{border-radius:0}.pwc-popup--page-fullscreen{width:100vh;height:100vw;top:50%;left:50%;transform:translate(-50%,-50%) rotate(90deg)}.pwc-popup--hide-scrollbar .pwc-popup__body,.pwc-popup--hide-scrollbar .pwc-popup__content,.pwc-popup--hide-scrollbar .pwc-popup__inner{overflow:hidden}.pwc-popup--draggable{position:initial;width:initial;height:initial;top:initial;left:initial}.pwc-popup--draggable .pwc-popup__header{cursor:move}.pwc-popup-slide-transition-enter-active{animation:pwc-popup-slide-transition-in .2s ease-in-out}.pwc-popup-slide-transition-leave-active{animation:pwc-popup-slide-transition-in .15s reverse ease-in-out}@keyframes pwc-popup-slide-transition-in{0%{transform:var(--pwc-popup-animation-start)}to{transform:var(--pwc-popup-animation-end)}}.pwc-action-sheet__item{padding:16px 20px;font-size:16px;line-height:22px;color:#000c;text-align:center;cursor:pointer}.pwc-action-sheet__item+.pwc-action-sheet__item{border-top:1px solid #ECEDED}.pwc-action-sheet__item.is-hidden{display:none}.pwc-action-sheet__item.is-disabled{color:#0006;cursor:not-allowed}.pwc-action-sheet__item--cancel{border-top-width:8px!important;padding-bottom:16px}@supports (padding-bottom: env(safe-area-inset-bottom)) or (padding-bottom: constant(safe-area-inset-bottom,16px)){.pwc-action-sheet__item--cancel{padding-bottom:max(constant(safe-area-inset-bottom,16px),16px);padding-bottom:max(env(safe-area-inset-bottom,16px),16px)}}.pwc-bubble-animation{display:inline-block;position:relative}.pwc-bubble-animation__wrap{pointer-events:none;position:relative;z-index:5}.pwc-bubble-animation__canvas{width:100%;height:100%}.pwc-bubble-animation.has-trigger .pwc-bubble-animation__wrap{position:absolute;left:50%;bottom:50%;transform:translate(-50%)}.pwc-bubble-animation__trigger{display:flex;align-items:center;justify-content:center;position:relative;z-index:10}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.pwc-font-din-pro-regular{font-family:D-DIN-PRO-Regular,sans-serif}.pwc-font-din-pro-medium{font-family:D-DIN-PRO-Medium,sans-serif}.pwc-font-din-pro-bold{font-family:D-DIN-PRO-Bold,sans-serif}.pwc-basic-countdown{display:flex;align-items:center}.pwc-data-export-entrance{display:inline-flex}.pwc-data-export-entrance__icon{font-size:20px;cursor:pointer;color:#333}.pwc-data-export-entrance__icon .polyv-icon{display:flex}.pwc-skin-color-mode--dark .pwc-data-export-entrance__icon{color:#adadc0}.pwc-skin-color-mode--light .pwc-data-export-entrance__icon{color:#333}.pwc-data-export-entrance__popper{width:250px;box-sizing:border-box;padding:20px;border-radius:4px;color:#333;background:#fff;box-shadow:0 0 10px #0003;display:flex;flex-direction:column;align-items:center}.pwc-data-export-entrance__popper [data-popper-arrow]{color:#fff;border-width:4px}.pwc-data-export-entrance__popper-title{width:100%;font-size:16px;font-weight:700;margin-bottom:6px}.pwc-data-export-entrance__popper-content{width:100%;font-size:14px;margin-bottom:16px}.pwc-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#333}.pwc-skin-color-mode--dark .pwc-empty{color:#fff}.pwc-skin-color-mode--light .pwc-empty{color:#333}.pwc-empty__icon{font-size:40px;display:flex;opacity:.8}.pwc-empty__text{font-size:14px;opacity:.6}.pwc-popper-content{position:fixed}.pwc-tooltip__reference__icon{display:inline-flex;font-size:16px}.pwc-tooltip__content{padding:8px;font-size:12px;max-width:500px;border-radius:4px;line-height:20px}.pwc-tooltip__content [data-popper-arrow]{border-width:4px}.pwc-tooltip__content--light{background:#fff;box-shadow:0 0 10px #0003;color:#fff}.pwc-tooltip__content--light>span{color:#1d2129}.pwc-tooltip__content--dark{background:#0a0a11cc;color:#0a0a11cc}.pwc-tooltip__content--dark>span{color:#fff}.pwc-tooltip__content--auto{background:#fff;color:#fff;box-shadow:0 0 10px #0003}.pwc-skin-color-mode--dark .pwc-tooltip__content--auto{background:#0a0a11cc;color:#0a0a11cc}.pwc-skin-color-mode--light .pwc-tooltip__content--auto{background:#fff;color:#fff;box-shadow:0 0 10px #0003}.pwc-tooltip__content--auto>span{color:#1d2129}.pwc-skin-color-mode--dark .pwc-tooltip__content--auto>span{color:#fff}.pwc-skin-color-mode--light .pwc-tooltip__content--auto>span{color:#1d2129}.pwc-file-icon{display:inline-block;vertical-align:middle;background-size:contain;background-repeat:no-repeat;background-position:center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAFxSURBVGiB7dg/SgNBFMfx33uziwS0E2wnniBH2O0tvEbEwniB4AlMIbH1CCnszRHSWziHEETM5Nko+Ie4sGwm5s37lJtleV9mZhdCAHB6++LfVnEMoALEY6dIIKJFQcVoNuyFprvpI/Zh90J/olCyq5uieSnL692PBQD53KV/YhEZpBgnkarpBgbIb3qKdJp3KieY4l+xYO0sWDsL1s6CtSu2PUDXji8f5fsVCUS8iNGNwqQf1AX/Rl5EPHMc+IunOqMtLZ45jjMKBgBUmQWLzyw4w8+SBWtnwdpZsHYWrJ0Fa2fB2mUX3Povnvuz/S7nWOtk+tzp87JbYQvWrvUZ7vpspZLdCluwdhasXeu39Hm11+Uca93MXzt9XnYrbMHatT7DXZ+tVLJbYQvWzoK1s2DtGKCw7SHSkcAA5tseIxUiXnDJ7krTKpeFW/MLhRjdiGfDXijZ1USYARJSDrcJR4cHcExfrlAA6G61cnWY9MM7PdFXEw6rN7gAAAAASUVORK5CYII=)}.pwc-file-icon--word{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAaOSURBVHic7ZxPaNtWHMe/sp0oqWWRjrgapBupc1kurntJaSGjhZgVdqlzWiGw7jBaNthWAj0OtmMgZAw21tM6MKynOpdBhwMtFBrSU5qLT3bC1rCp9tZUkZMqlqwdHMuSLMm2np219fucZOvpWe/j9+f3fkrMwINLS5vjejC0BOgJgBn3KvuqI5yI7gwPscuMjl9+SjEPulUv43bi0tKfF6pBZBhgpFsf9n/y9okohobY2gsG3ylVfHM7xeyQ1htwO6EH9Z/fFHlN6PiKZXD/akYnbp+jwEtLm+Ov+5Btg0Q3JDoKVIFxkkpfI4glug7hPoJIIhVYw7dEKrCBL4lUoJWOJVKBzXQkkQp0pm2JfSOwWq12eklbEvtG4EGl4ueyBMtgyatA3wiUy2W/l179NKNfdTvZNwJVVcPOC8nXtQyDL93O9Y1AANh5IeFvsYi9vf2O5kQGSFzP6ONO50LdurnXhZeKgpeK0vF1mqaOA9iyv99XPbAXUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGE+E5nnYsNg2Otf9wlKzrKShWyUkWh5CuFDgAQIkGcmxjGxOiAUW+hdICNpwrEXa3j+sJsAOdjQ4iNDoJjGciKDnFXxWp+31d9ZnwLTJ3mED/Jup4XJRUb2wrSa1LbNxkbHcD190cQH3OvN5srt11nmA0gdZrD5QQHjm0ebNenRzqqz4meJVQFPoQkH0JyMoz0moT0Y+90enLyGK5Njzg21FoujPgYi5t3i56NFiJBfP3hKCaiA23V99mdZygrHT+5647AzLqM1cI+gNq3Hh9jcT42BIGvVT93lkeYDeDWQ+e/ZxQiQczPvGW8FiUVmScyVvP7kA90CJEgUgkOyclwrTwfwsJs1LPRC7NR4/OBWs/N5vaQL1XADTKIn2QxN8VD4EPG1OOHrggslA6wsd1Ik68W9nHrIXBtegSpBAcASCU4FEoHyOb2mq5fmI0ax6KkNvWuglLF4spzZNZlLMxGwbEBCHwIqdOcY8++Nj1iyJOVKr797R/L/ZUVIJvbQza3h7kpHtmc7yd2vV2Fbz3cwaPDngkAc1N8U5n4GGvpKV5Ds1CqIL3WEHY5wSFsG/L13lonvSZZ5NlJP/Y//wFHEMYsrjw3jgU+1LRAXDY19lGh9aq4/ESGfDjcuMPV1Yx5YRMlFctPZN/33g49F1hWqpYeYBdYD1UAGPNoK8zlYqODlnPJ98LGsdN00W2OJJDOFxsxocAHjePw4VzmVM6zPlOMaf9CYqZV12vodosjESjuqsaxEGkI4wYZW7n25iJRapSzB/PmMEj2ubJ2wpEINIcI5knfvgC0G0q4lRMiwbbKdZMjEWjudeZG2RtoF+qGWznSbZkfjkSgucHyQdV0rFvK2XuQG+Z51DycAeuwjUWtC0wvOBKB5pXWGtBWIUqN+bHVtquOeeHI25IW5iSG+XN7Rc8FCpGgJTYr2FZas9D6Vq0VZoH2lXbjaeP1udhwR/fqh54LnE9a97j2BptjtfgY65mJAWq7mfpKK0pqU+xo3pZNRAeQnDzm+97boWcCw2wA8zPHLUKc9q0b24pF6vzMcde5MD7GYu5sYzvoFCiLu5pl+3htegQxj6E8N8Vjfua4d2M86EoyQYg0tmj1bExy8pglJkuvSa47g8Xsv/jhimAkCRZmo0g/lpAvViDuauAGGSQnwxZ5oqS6psgWV55j4qMBCHwIHBvAj1cEZHNlZNZloz6BD2HuLG/cd75Y8bXt64pAc8OcaJUPFHc13LxbtGRazOmtpvKHGRs3ykrVqK++00lOhl3nWKeppV16NoRlpYrMuoyPb//VMpkK1FbPz38VW27nMusyPrvzrGXMV/9SWqWqNrYV3Lxb9P0IwvE/1meWNi8Eg6H7XhfW0lDNc5UoaRAllSiojY0O4HxsGAIfRJgNoKxUkS9VkM3t+dpd1CMBe/hTKFba7nmapl5cuXHqgf1930N4Y1sBtv1e7U2hVCF6KGVH3NWMBGq3oY81CaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCXEUyADEP5H+phFy+N0swOO39D/4/o/NPvg18zbRt37/4t1TTmdchzCjaRd12hOhAzuMxnzidt5V4L0bp7YCmnoGwDJ0fasXN/dqo28BWA5o6pl7N9554FbqP2TPnX3/EQvaAAAAAElFTkSuQmCC)}.pwc-file-icon--excel{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAX1SURBVHic7ZxBSFt3HMe/sTM1Sw5ZQCvN5RWjh6Ul6cHAENTu0Ai9tPEwbEG77TCog4kdjh0KXcsYk2G9WNhppDBlMDsvhb4dphZkkBxmqO5gE/ouKUkDMWU+UxP7soO+50vyXtLk/4+N5v+5GPP7//++9/H3f////xeIASXonxvjmppwD4AbAFeqbb1jabOmmltOLhgA/+8ffbtEa1yDXqB/bqy/qQl/ALDS+mPvEkvbB2huMQIAcgbDtJR+/d3Chdsp0nGbdANN+AXHRF4hhlxu7ISpZfHy4m3i+9MU2D83xuGIT9my5HJuGhL1MpAjGfTIQEGi7hRuGAglMoEAkUQmUKZKiUygmiokMoGFVCiRCdSiAokNIzAn5Srs8HYSG0bgm2y28k65nPtEy8l7pZo0jMCM+Lrartd9K99f1ws2jEBp9w3Sr7aq6mswGL7SizWMQAB4/UrEf/FNZLZ3kJOkt+9oMLgv//0DpxV6j9K1HRl2dzLY3clU3E+SwAEQCt9vqAysBUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIVTKWR1WOxzW0wCArWwaK9G1t2obEzcRSoSL2liaTeixn4WrzbE3ZiaNSCqK1UQEcTGpOa7cR4YXglXfTyVQEbiVTeOG+wosRhMAYHxxRlMMANzp+QztZhsAYDIwi1AiP+7r6sXIhwPKWIXwQgD+db5IpNlowoTnqqrd4QikMoXjYhLzz5aV30ecXs12Xq5bkRcTk0U3Oez0YlT1j9Aew4Op/lF0WO0UrpwcahXphxtPMNjZB4vRBFebA65WR1EWDjsHlNeTgdm8WI/9LEZU8fmNZfBCEHExCbPRBIf1NHydfXDL0zqbpnXpRFATuJVNY/7ZsiJhwjOEa4/uKnF19vFCAKFEJK9/j/2c8poXAri/upA3dlxMYiW6Bl9XL0Iv9Z+Fhw3VVfjBOo/Y/o21m23wct1KTJ19/nW+qO+p923K69BL7ecnsJfpkVSUxuVSgfo2ZjIwp7yWpRVmn1b2xLcP3pNX36MAdYGhRFjJIDkLL3IeJa6VfQAQ2TzIKi/nwbDOQlRv1GQjrZZ0w31FefD71x/rPrt4IahMfwAYcQ7g10u34OvqxSmzTbNPPVATgeoslLckWtsWNVvZNMaXZvIktpttGHVfweylW5jwDNWlyJod5VYLtjChRLjsyhkXkxhfmgEvBIpiXs6jiLQ06+8TD5uaCDxltsGreu4BewJcreUXh7iYxGRgDlcf3cVkYDYvI+Vxfr74dd1IrInAEadXWXVXVVsSvROKFvH9KX9NQ2S72VY3iwx1gersi4lJ3FQ91+QTSqXIIvnnB1O7MMPfFdQFqrPswfrjvJ/A3gmlWvz/HqzuFqOpLhYVqgI7rPa87JNXXV4IIrx/eig1/coJETP55996eA5SFajOLnXWAcD9fw7OtoOdfUU3P+z0Yqp/NK+mV8jFMwdHw5iYrIsjHbVigpfrhmO/xKS155P3hq42ByxGE3xdvXiwv+H2dfUqRYg7PZ9jJfoUK9GnWE1EIGbSMBtN8HLdGOzsU8bT2uqocbV2lIzHtjepFCSoCVQXCwqzT8a/zmNq/1Qy4hxQylUr0TV4OY/yD+ixn8urzhQSTkXxcONJyeuZuvBlyfhkYBY8BYFUpnC5QqmM+oQCAN907035uJjEF3/+pLnvK2R+Yxk3F2eOVz0wJm4qBdJw6kXJtj8G5+BWTS9Ls0mRwQtB8EIQrtYOuNocaDfblHhkMwpeCOqKEzPpoiJtKVYL6pHVQkVgKBEu+mxDj7iYLDt1QolIUcG1HFvZ9KF9DqKGfaxJCBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNIiLbAEyD+ivRjiKD1pu536X/829hzNMoXcpdH+OuT6TNaAd0pLEm4ALBMBJCSJHyqF9QVuDQ0LUgSzgNYyOmk7zFHALAgSTi/NDS9pNfof91rVH2dSDGIAAAAAElFTkSuQmCC)}.pwc-file-icon--ppt{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAP6SURBVHic7Zw/TBNRHMe/V8CUf8mVgYbJthsmGGRCpoYwueCfkUU0cVFj3NDFGolh0BCjLiYEFtjEsBAHRCZ0ssRGHUxoF4IQE26pVKA9h8fZo9y1vfu9HqX9fRLSP++9X9998n7v/XpNUGCDHouq2G9+BChRAL12/aqe9g4gEEyh0f8CvqYZZTSmyQyvWL2px6Iq9lriUBCS+WEnQnsHEDxrvFoDsleU0YmUrPA+y3f3Wu7VhLzj9AINcX36obSMshYI/bqsD6hCVED5KEuitUBFCckIXsVIk2izAusCKRLrWSAgQWK9CwSIElmgwLVEFpjHlUQWeBTHEmtfYC7rdIQjibUv8GDPzSgVwDt9eixUqmPtC/y7C+y7kaiEgIbpUr1qXyAAbPx0k8oAEC2VyvUh8GAPSH0DtG3nq1HbntZjUdWuuZE6t1NDLgv83hB/zuiF7r8MYMaqsT5WYAVhgURYIBEWSIQFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgURot7P8rUD3Res2bUs8bq4DmXTxON39gL/NPkYmLeI4GVsKbQtIJpyPK4Au8Nr90v0214HVBSC+ZN0+MAyEzxePsXN4wcuz4saowaVbQCBY/pwNkl+BqQfOxxXgTQp3RYTo2y+FdDcEgkDfEHBzAlA75c6PgNw70s9GxWNzmxClBoFz/fk074oAgyPA4hv7GLNPxIo1YhjbRLhHSAwEhcTXd0Vqz08ej9EVESvTYGrseJ9S20qZyBVopNb/FEuItB0Yzl/QwLBIQ7sLyKTFeHOa/vgsVt2dV0JoICgkJRPl7WMS9jo7vEnh1QWxhxmEe5zH0LaB75/yr+0OL4/xrozRTALdnJoA8Mt0ErvdSyXjnUCzNLNMJ6im01bSHkbFG4Fqp9izDHZcCuzuzz+3qws9pvK/C4d7gKumWnFz/egBUQ7+VnF6G/VeJi3quCpArkCzqObDMsa88jJpUaYUY3Dk6Artighx5j2vsJg+QeQK7Buyb9vZAubGS194uMf+lM6khbzVBfdzlIxcgYV7m/EdNr5Ufi1mtT8mE+IE/rJUNYeHgVyBz2/QY8xPVrTwlQ3fziLCAomwQCIskAgLJMICidDKmEwaeGtxQ9Mpy3OA+kE8d/s92czmupx5lQFdoN3vHE5IJgBIrP1kzasMOIWJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQiJ3ANU9nUfX4bH3Y/SfzlQrN5PShI6U8XXQosGn3MXSkKjWnU4UvN1q02epNJbai4cyfC9ARg66nKjKx6kYD9BVkc2Fl/P1KsY7/ALWcHOdGqBvUAAAAAElFTkSuQmCC)}.pwc-file-icon--pdf{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAShSURBVHic7Zw/TBtXHMe/zz4ghKMqXQqdXNVhjeMOjUSVEKkqA1PF0KhLgpSpGZospapElSZd2qGwkKGyhNyhagYUFqQyBUWKlA618GrsFHUxqINRfa6NfeeXwbKx8b2Lz7+zsfHvM3H3/vjx0fu9+907+wQcyMxeDQByBQIhAAGnur2O/kn4SHvvnU1ARMXiDzte9StUBZnZq7MQ5aeAeNurDztL9E8/hDY5UT1cBYa+F4sPjqj9+pQlQq6fF3k23ANKz+T6A/L/ZyuwErr9HbItEPJCoq1AE2aA0mkfQZaoDuHBgSSRBVZoWyILPKEtiSywEdcSWWAzriSyQHtaljgwAmXRdNukJYkDI9DKZNtpFgJKK04VBkZgMZVut+ltuf7tbVXhwAgsG3kU4q/abC2+UpUMjEAAKMRfwdj+C6V//nW7Jobk+jcBuwLNk5H1EeZhBuZhxn07aQUA7J8+P1AzsBOwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCKk7Syh6xiauW5bVj6o7ABbqQSkYTj2MzRzDUIft20vc1lYyT3yeOywkglYqdb6VkEUOI6LS8tvrGclEzjeeILi9pZt+cjCTWihsLJ9+SANMx5DIRqpiaWMp0ohGiEL7EoI+4PTuLi0jPFffoXQddftfZNTGJ6bx1u/PcWFW3c6MML28XRH+r8vPgNQCSUxNg7f5BSGPr5WCyt/cBoXbt1Bfm1V2Ud+baUWskLXoYXCGJq5Dt/kFADUBBaiEcexSCOL3PKSY53yYdsPmmp4KrApvOJAcXsLIwufY/TufQCVcC1EI8p10UruwYzHaselF8+RX1vF6N17GFm4CaAi0dyNNdQ7jTQMx3Kv6EoIH288aZCrXVavdyrya6swd0+E9Eoody2NqRd4+orbKvVhq4XC8AcvkcdFpWsC6y8eTldSJ8x4DFYyUTtuZyZ7TVcE+ian4A9O144pi3f9ulbf51nR8efC2uVwQ25mJRNtz0AADRcfp5RI6Dr0nx8ry/OPV1pO0J3wVGC9KKHr8L3bOPOkkUXuO+fUwg1iTL2WCn3cMTl3ausGTwUOz80ry8oHaeSWvybNvtPInPM3rrz8LBUdzQOlkYWV2kPxjy3PcrJqQl3pX32PXT5I1xL7TtKRO5FO4v/gJHWpzwvPir7azvIHLzWsqVYq4VC7O/SVwLGHP9X+NndjnlxFqfTF19uErmP0y/sN69/xxu9nOKITek5g/e1ZdTdmeG6+4favEI2g9OL5WQyviZ4TWN21UVGIRt64ldVNek6gHdLIori91bSr0wuQBEoji/9/fEQeRCEagW97qul8+SCN8mG6ZWn145FGWz9rcA1RoKF8zuEGMx4D4uRuPBuPG/oqjelFWCARFkiEBRJhgURYIBEWSIQFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgURYIBEWSIQFEmGBRFggERZIxFagBkF+Rfp5Q4O2b3de/S79Gx/9jfP/NvNW2Z949uf7dgXqEJbiBiB5JkIeQYpFValS4MTOy31I3xVIbMLmtW8DwD4kNiF9VyZ2Xu6oKr0GxKScUI/Ds5UAAAAASUVORK5CYII=)}.pwc-file-icon--txt{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAARlSURBVHic7ZxPaNtWHMe/9pLUcQ/KIW2zgSMPUkogdRIWAiUQtpXCGHQwRg89DJrTTmO7jR5a0vYQdupgp57CloNLx1jopYPBVlx6CQ0lrkdZE1hkw7IthkltKmQ7lnqwrcqJ5D/62fNL/PucIr/39KQP3ye/92IUQA3mF+LRN4J9Ny1gIgBEa9UVnaGhYbW/P7xsFc3vPr14+n6rzhvwKrix8MO7CAZ/AjDQqs46ydDQMEL9YQCAFQh8U9zJXZubm1Sp5w16FVjB4CIOiby9BCzry56jfb8tLj4m35+rwPmFePSgD9kGmGiFRI8E9kQpJz1AkCV6DuEugiSRBZbwLZEFvsaXRBZYTdMSWeB+mpLIAt1pWGLXCDTNYrNNGpLYNQLz+ZyfZhO9R/tu1qrQNQJ3djRf7Szg0vd3fr/kVd41And3C1D/y/pqGwC+8CrrGoEAoKpZ/L2Vhv7yRbPPxInF+OOoW0FPS67sAGEYOgxDb7pd0TSjADb3ft5VCWwHLJAICyTCAomwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAIeTtLksKQI4O+2j5b38KJ4xIkqfSrqVyugD/Wtzzrnzr5Jo4c6QUAaJoO9blO6tvIFXy1dUIWKEcG8dGHU77aLsUTAFDVfimegJLZv3MsSWGce38cA2XZ3976mdy3Wz/N0vEhrGSyUNLb9vHszKhrvfEx2Za3llKgac1virYDcgKVTNZOkpPpqRGcOvkWgNINJ58o++r882/pHz13763i888+AADIw8cgRwar0iFJYcTGZPs48fBpy/qmQhaoabprGmKn5ao6tYaLpulIPHxqp292ZhRLtx/Y5V7pa0XfVDo+hCusPNqAYZQe6pUUAtXpU8uiRUIYgUaugJXVDfu4kkY5csxOX1KgZ18FYQQCpRSqZUGVFFZEipg+QDCBRq5QJenCx2fs9IkoDxBMIFAappVpTShUmjSrmo5kav83qQgIJxAA1OfVz7ln63916ErqI5xASQpj3DHnA4DYmIxQeQknGsIJdK5E1soT4FCoF+fOxjp1STURSqAcGbTTt5ZS8MuvSXtuOD4m+944aCdCCTzv2BhYebThOTcUCWEExhzLNSW9ba9VvVYooiCMQGe67t5btf/em8LzPrev2oUQAmdnRmtuVTlXKANSWKih3HGBXltVTvauUKbfGRFmWtNxgfXSVyGZUuwUhkK9mJ4a+d+usRZt+4lv8snrJVmtzUslvW3Xq7dvt3Q70dCXSKN9t4K2CVQyWSBTv14ylW74nJqmI6nVr99o362g40P4oMMCibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCLuAk2L/Ir0w8fuptunnu/Sv/71j392wdvMG8ICNq9+9cnbbmWeQ9g08+8B4CQCasA057wKPQXOX764WTTzkwCWLZfXvh12yve8XDTzk1cuX7jvVe8VW0O450BbpSoAAAAASUVORK5CYII=)}.pwc-file-icon--zip{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAARySURBVHic7ZwxUNtWGMf/kjFxREzTw556ENOFK13wXZgYQu8yZSAdkh5bXLZ2aRmajiljc9dzp4w0TM213BUyeCF3NYMnD57qq4ceTkmH1KYQiITt2lIGDkXEkrH8vWfA/n6LLT+996yf3vfek55OClqQmN+KqeZgEsAUgFirfc874x+F98LDwTXLxMriN5fTospVvBISd7ZnVUX9DQquiqrsLPlwMowrw8GjDUX50cKlpcVFZY9aruqZoKo/9Yq8Jizra8Wq/p5MWuTjcxWY+HQrhgsesqdjTYmQ6N4CBwZilEIvDnSJniHcP9AkskAAFIks0KYziSzwBP4lssAm/Elkga60L7FvBDbqls8c7UnsG4EVo9FBLmtKQSXZao++EbhbqnaW0UIi+cPrhFdy3wisVU28fHHYUV5FUb/ySusbgQDw8sUh/srv49V/NZ99ojKVTB7G3FIGxPy1i4O+X4e+/9p3PtM0YwCK7/7eVy1QBiyQCAskwgKJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQiPDbWaOxIMau+Ss2l63CMEx7Oz4dgqYprmkAMDE5iEg00FSOYVgwdBOGbmH7+f8d/Hv/CBcYvx7C7bthX3keLpVRyNfs7fl7w4hEB1zTAGDmhoaZWa1lmYZuIpetYH31ADulTtZD2qNnQ1gbUjEzq+G776OIT4ek1SO8BWY2DRTyrRdw5u+9h7HY0cOOmbTR1ML8sJHSsZE6usMciQagDamIXw9h4uNL9vbCF1fx7R//NnUFIhAucKfUaBkyMzc0W1651MD66gGpPkM37fqOP3PZCkaiAdx/ELEl3rw1hKfEutzoagiPRAOYc/SPT3+V1z/tlBp4lnq79nF80kTTVYG374Tt0TOTNpDZNKTWV3acnMua5+PgJLom0DlyigjddnCb6oimKwK7GbpORq+9Ddvt53UpdXRlXdgZurlsRXroapqKubtXTswVN1L+14LbQbrAiclB+0AM3cTPK6+Elh+fDp0I1dFY0B55j1mX2OKlCtQ0FQtfvm9vy7gqGIsFPUdYQzexvnqAZyldaJ1OpAq8eWvIbh3lUkPKgRi62TRB3i7WUchXkUkfSpk8O5EmcCQaOHFN/HCpLKWejZQuZYLcLtJG4fsPIvZ3mX3QWSNF4Jxj1C2XGmfaQmQjXGC3Qve8ILwPdIZuLltBJBo49YqgfMoNiPOMUIHvzsni06G27sUtP9pFZrOzx2/PGqEhrEm6YD/PCG2Bf+ZrWH6021E+J09W9u2TUXYJbedN278lXeO2i1CBO6WGkFDMZSst0wv5GgrkWsTQs2si3YIFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgURYIBEWSIQFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgUTcBSr0V6T3HPV60e1nz2cxFj77Zws9/zbztiku//LBuFuCZwibau0TWOCWaGHPNM3PvZI9BT5+Ml40A7U4gDXL5bVvfUARwJoZqMUfr46mvXZ6A8MmpnusItEoAAAAAElFTkSuQmCC)}.pwc-data-export-record__item{width:100%}.pwc-data-export-record__item__top{font-size:14px;color:#333;display:flex;justify-content:space-between;margin-bottom:4px}.pwc-data-export-record__item__name{font-size:16px;color:#333;margin-bottom:12px}.pwc-data-export-record__item__name span{vertical-align:middle}.pwc-data-export-record__item__icon{margin-right:10px}.pwc-data-export-record__item__progress{background:#e8e8e8;height:4px;width:100%;border-radius:6px;overflow:hidden;position:relative;margin-bottom:8px}.pwc-data-export-record__item__progress span{position:absolute;left:0;top:0;display:inline-block;height:100%;border-radius:6px;background:#3f76fc}.pwc-data-export-record__item__bottom{display:flex;justify-content:space-between;font-size:14px}.pwc-data-export-record__item__bottom>span:first-child{color:#969ba5}.pwc-data-export-record__item__bottom>span:first-child.is-error{color:#ff3636}.pwc-data-export-record__item__download{cursor:pointer;color:#3f76fc;display:flex;align-items:center;gap:2px}.pwc-data-export-record__item__download span{font-size:18px;display:flex}.pwc-data-export-record__header{justify-content:flex-start!important;padding:0 24px!important}.pwc-data-export-record__title{position:relative;font-weight:700;display:flex;align-items:center;gap:8px;font-size:16px}.pwc-data-export-record__title__icon{display:flex;font-size:16px}.pwc-data-export-record__title__clear{cursor:pointer;color:#3f76fc;font-size:14px;font-weight:400}.pwc-data-export-record__content{padding:0 24px 24px;display:flex;flex-direction:column;gap:24px;max-height:60vh;overflow-y:auto}.pwc-data-export-record__content::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-data-export-record__content::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-data-export-record__content::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-data-export-record__content::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-data-export-record__content::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-data-export-record__content::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-data-export-record__empty{width:100%;height:200px}.pwc-normal-pendant{width:36px;height:36px;border-radius:4px;background-color:#0000000f;position:relative;cursor:pointer}.pwc-normal-pendant__icon{width:100%;height:100%;background-size:100% 100%;background-repeat:no-repeat}.pwc-normal-pendant__text{position:absolute;bottom:2px;left:50%;transform:translate(-50%);height:12px;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:6px;min-width:32px;box-sizing:border-box;padding:0 2px;background:#fff5f7;color:#ff5252;white-space:nowrap}.pwc-normal-pendant__text span{font-size:12px;zoom:.66}.pwc-area-picker__popup{flex:1;overflow:hidden;display:flex;flex-direction:column}.pwc-area-picker__popup__tabs{height:58px;display:flex}.pwc-area-picker__popup__tab-item{flex:1;display:flex;align-items:center;justify-content:center;font-size:16px;color:#333;cursor:pointer;position:relative;white-space:nowrap}.pwc-area-picker__popup__tab-item.is-active{color:#3f76fc}.pwc-area-picker__popup__tab-item.is-active:after{content:"";height:2px;width:35px;background:#3f76fc;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.pwc-area-picker__popup__list{flex:1;overflow:auto}.pwc-area-picker__popup__list__item{height:44px;line-height:44px;padding-left:33px;padding-right:16px;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.pwc-area-picker__popup__list__item:nth-child(odd){background:#fafafa}.pwc-area-picker__popup__list__item.is-selected{color:#3f76fc}.pwc-area-picker__popup__list__item span{display:flex}.pwc-area-picker__body,.pwc-area-picker__body input{cursor:pointer}.pwc-area-picker.is-disabled .pwc-area-picker__body,.pwc-area-picker.is-disabled .pwc-area-picker__body input{cursor:not-allowed}.pwc-area-picker__header{box-sizing:border-box;display:flex;flex-shrink:0;width:100%;height:50px;padding:0 16px;font-size:16px;line-height:50px}.pwc-area-picker__header__cancel{color:#9195a1;cursor:pointer}.pwc-area-picker__header__confirm{color:#3082fe;cursor:pointer}.pwc-area-picker__header__confirm.pwc-area-picker__header__confirm--disabled{color:#9e9e9e}.pwc-area-picker__header__placeholder{flex:1;overflow:hidden;font-size:16px;text-align:center;color:#333}.pwc-area-picker__popup{height:100%;display:flex;flex-direction:column}.pwc-area-picker__popup__content{flex:1;overflow:hidden}.pwc-area-picker__popup__content .plv-area-picker__list__item{cursor:pointer}.pwc-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer;box-sizing:border-box}.pwc-checkbox.is-show-background{width:100%;background:#f7f7f7;padding:10px 16px;border-radius:4px}.pwc-checkbox__inner{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:16px;height:16px;overflow:hidden;background:#fff;border:1px solid #cfd8dc;border-radius:4px}.pwc-checkbox__inner__circle{border-radius:50%}.pwc-checkbox__inner__icon{display:flex;align-items:center;justify-content:center;font-size:14px!important;color:#fff}.pwc-checkbox__content{font-size:14px;line-height:20px;color:#000c;word-break:break-word}.pwc-checkbox.is-disabled{cursor:not-allowed}.pwc-checkbox.is-disabled .pwc-checkbox__inner{background:#0000000a}.pwc-checkbox.is-disabled .pwc-checkbox__content{color:#aaa}.pwc-checkbox.is-checked .pwc-checkbox__inner{background:#3f76fc;border:none}.pwc-checkbox.is-checked.is-disabled .pwc-checkbox__inner{background:#e5e5e5}.pwc-checkbox-group{display:flex;flex-wrap:wrap;gap:8px 16px}.pwc-protocol{position:relative}.pwc-protocol__content{font-size:14px}.pwc-protocol__content a{font-style:normal;color:#3f76fc;text-decoration:none;cursor:pointer}.pwc-protocol__content p{padding:0;margin:0}.pwc-radio{display:flex;align-items:center;gap:8px;cursor:pointer;box-sizing:border-box}.pwc-radio.is-show-background{background:#f7f7f7;padding:10px 16px;border-radius:4px;width:100%}.pwc-radio__round{width:16px;height:16px;border-radius:50%;flex-shrink:0;box-sizing:border-box;border:1px solid rgba(0,0,0,.2);background:#fff}.pwc-radio__content{flex:1;font-size:14px;color:#000c;word-break:break-word;line-height:20px}.pwc-radio.is-disabled{cursor:not-allowed}.pwc-radio.is-disabled .pwc-radio__round{background:#0000000a;border-color:#0000000a}.pwc-radio.is-disabled .pwc-radio__content{color:#aaa}.pwc-radio.is-active .pwc-radio__round{border-color:#3f76fc;border-width:4px;background:#fff}.pwc-radio.is-active .pwc-radio__content{color:#000c}.pwc-radio-group{display:flex;flex-wrap:wrap;gap:8px 16px}.pwc-reward-receive-popup__deadline{height:400px;display:flex;flex-direction:column;justify-content:center;align-items:center}.pwc-reward-receive-popup__deadline__icon{font-size:60px;color:#0009;display:flex}.pwc-reward-receive-popup__deadlin__tips{color:#999;font-size:14px;margin-top:8px;line-height:18px}.pwc-reward-receive-popup__form__over-tips{background:#fff5ec;border-radius:8px;padding:8px 16px;line-height:18px;font-size:12px;color:#0009;margin-bottom:8px}.pwc-reward-receive-popup__form__over-tips span{color:#ff9f45}.pwc-reward-receive-popup__form{padding:16px 16px 0}.pwc-reward-receive-popup__submit{padding:12px 0 18px;position:sticky;bottom:0;background:#fff}.pwc-reward-receive-popup__qrcode{height:362px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center}.pwc-reward-receive-popup__qrcode__inner{width:214px;height:214px;background-size:100% 100%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.1);border-radius:8px;overflow:hidden}.pwc-reward-receive-popup__qrcode__inner img{width:194px;height:194px}.pwc-reward-receive-popup__qrcode__tips{margin-top:12px;font-size:16px;color:#0009;text-align:center;padding:0 24px;line-height:24px}.pwc-category-select-item{padding:2px 12px;border-radius:4px;line-height:18px;font-size:12px;color:#0009;cursor:pointer}.pwc-category-select-item.is-active{background:#fff;color:#3f76fc}.pwc-category-select{display:inline-flex;background:#0000000a;padding:3px;border-radius:6px}.pwc-dropdown__reference{display:inline-flex;cursor:pointer;align-items:center;gap:4px}.pwc-dropdown__reference__icon{display:flex;transition:transform .3s ease-in-out}.pwc-dropdown:not(.is-disabled):hover .pwc-dropdown__reference,.pwc-dropdown.is-popper-show .pwc-dropdown__reference{color:#3f76fc!important}.pwc-dropdown.is-disabled .pwc-dropdown__reference{cursor:not-allowed;opacity:.6}.pwc-dropdown.is-popper-show .pwc-dropdown__reference__icon{transform:rotate(180deg)}.pwc-dropdown__popper{box-shadow:0 0 10px #0000001a;width:160px;padding:8px;box-sizing:border-box;background:#fff;border-radius:8px;color:#000c;font-size:14px;text-align:center}.pwc-dropdown-item{height:44px;line-height:44px;text-align:centere;cursor:pointer;border-radius:6px}.pwc-dropdown-item:not(.is-disabled):hover{background:#0000000f}.pwc-dropdown-item.is-disabled{cursor:not-allowed;opacity:.6}.pwc-image-preview__controller{position:absolute;bottom:100px;left:50%;transform:translate(-50%);z-index:200;height:40px;padding:0 8px;border-radius:2px;background:#2a2b32;display:flex;align-items:center;gap:8px}.pwc-image-preview__controller.is-mobile{bottom:initial;top:21px;background:none;pointer-events:none;padding:0;height:initial;text-shadow:0 0 2px rgba(29,33,41,.4)}.pwc-image-preview__controller__icon{display:flex;width:24px;height:24px;font-size:24px;color:#fff;cursor:pointer}.pwc-image-preview__controller__icon.is-disabled{color:#ffffff4d!important;cursor:not-allowed}.pwc-image-preview__controller__scale,.pwc-image-preview__controller__index{font-size:12px;color:#ffffffde;user-select:none;white-space:nowrap;min-width:30px;text-align:center}.pwc-image-preview__controller__scale:hover{cursor:pointer;color:#5c9dff}.pwc-image-preview__controller__line{height:12px;width:1px;box-sizing:border-box;background:#fff3}.pwc-fade-enter-active{animation:pwc-fade-in .3s}.pwc-fade-leave-active{animation:pwc-fade-in .35s reverse}@keyframes pwc-fade-in{0%{opacity:0}to{opacity:1}}.pwc-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;touch-action:none;font-size:0;position:relative}.pwc-zoom-container>*{user-select:none;-webkit-touch-callout:none}.pwc-zoom-container__scale-toast{background:#000c;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:36px;line-height:36px;padding:0 10px;white-space:nowrap;color:#d9d9d9;border-radius:18px;font-size:16px;z-index:200;text-align:center;box-sizing:border-box;min-width:70px;pointer-events:none;user-select:none}.pwc-image-preview__image-zoom{width:100%;height:100%;position:relative}.pwc-image-preview__image-zoom__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#3082fe}.pwc-image-preview__image-zoom__error{width:260px;height:120px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAABcCAYAAADpn75PAAALu0lEQVR4Xu2de4xcVR3Hf99zZ2dxl2LDS1NtgSCKXcGIlT7YueOW3bmzMxNQE4yiQaIlkYCGVowJIok0QKLSouERkqIYxEckQczMdmbpdpnZLVUpMYJTeTSUQF0tsqXQB7A7c3/mznab7XR277mvmZ3Zc/+9v9/v/M73fGbuOeeecy5IXUqBBiqABpatilYKkAJQQdBQBRSADZVfFa4AVAw0VAEFYEPlV4UrABUDDVVAAdhQ+VXhDQcwu320qzRprgNTjMHLiOlU1SwBKgA6DMZrDBoMtYkt8bXdxQBLsw3dMACLxWL41dcPbGLi64lY2GaqDAJQACYID5y79PQNXV1dEwEUYBuyIQBW4Ns3vpWZ19pmqAwCVwDA9nM/ekZ/IyBsCICZ7Mi9TOYNgSurCpBWACTuS8YjN0o7+GRYdwArfb4J8zn12PWpBX0LAzMUFhfXu09YdwDTucJmYr7JN91UIP8UAO5JGfp6/wLaR6o7gJlsocjEy+1TUxb1VgCE3cm43lXPcusOYDqXP6SmWurZxA7KAh1OGdFFDjw8m9YfwGyePWetAgSmQCoerSsTdS3MUi2tAAwMHj8CKwD9UFHFcK2AAtC1dMrRDwUUgH6oqGK4VkAB6Fo65eiHAgpAP1Q8IQaKgmgLhWjwA9oZr1m33i2PL6MSxUyidURc13kv36vnc0AFoG+CYgKCNyT69AcAmLXCMrMYeLJwPZvYRMRh34pu4kAKQF8aDxMC3J8wottlwg3k8mtNxlYFIZECUIYYGxsIujEZi97nJFRmMH8Dm3SvE59WtFUAem5VFJNG5OLZHruzhbcex5nciLVKZ0H3CRWAHgEUhPWJuH6PmzAD2cJNJvFmN76t4qMA9NiSIoSuRK++202YgW2F5WaJG7pHwk3efvooAD2q2dl+5qKenq7DbsIMDxdPPfL+m4fc+LaKjwLQY0sqAL0JqAD0ph+pR7A3ARWA3vQjNQjxJqAC0Jt+RKSmYbxIqAD0ot4xXzUR7V5EBaB77WZ4qldxbmVUALpV7iQ/tRjBjZQKQDeqzemjlmM5kVQB6EQtZeu7AgpA3yVVAZ0ooAB0olYT2lqHADE4TMzXzcf0FYDzsVV8ywnbOtsj/WefvVu8um+8wMwrfQttFwh4DUQ7CdgJNp+HhjdZCx9Y3G6OHzzrLFN75Y0PMuO0eHzNHrtQft5XG9P9VHOOWCC81NG+aGVPz2cOWmZDQ09/5N3S5LPE9KHAUgD2EtPDbeBHDCO6N7ByPARWAHoQT94VbyGEVcneyEszfbLbRiPlsjnEzG3ysewtARpm1jYmjcueAjCvj0JRANq3pycLgEqsif5Ub2RbrUDpXOE7xPwLT4Ucd0aRNPpBqk/P+BMv+CgKwKA1hrghZUTun6uYTC7/a2a6xkMqZSHw4/6+yJ0Ayh7i1N1VARig5LLH3g4P7z3lyPuv7yDiSxynA4wJ0NWJmJ6387VOpzVL5pUm03IQLyHGEiZaYvmBaIzAY0yVeLtFSDxRj9NSFYB2reb6/tSIt6cHJZkQmaEd5/BkaRcRnSljfwyav4cQihvGZW/M5lPZZmDyN4npSmL6mGzsih1oD4GeEAK/dLvNwa68BQcgIB5k4lOI+Rt24ri9b414uROrUpHIW05ibB0sXF42OUdEmp0fQLu4Q8RmK2NwcHTJJPPtzOa1MvFsyisD4uE24LZYrHvMLjcn9xcYgBj98Jkd1qch2va/efSZYI4Krj3ilW2UdC5/MzH9dC57ED0T1jr7+vpWvF1tNzzMoSPvj9xGRN8j4g7ZcuXscJSI7u5sj9wu+89uF3fBAAiife2h9hW9vav2W6JM7YCjZ/xsJLsRr11jTN/PZPN/YKIv17IH0X+1DlwS1/X/VN/PZp8+vYzSH4P+/or1XRGNQ1fF42sOyNZpNrsFASBA7xG0SDLWbfWxjl+ZwcK1bPKvvIp43F9ixCtTVi73j84SHdzJTBdV2Vuj3ctrDTjST+78JJkTf3bcz5NJqPYvYQ+J8BWpvtX/chvC8lsYAApxTTIWeaSWUOlc4WE/+oMA3Z80or59fGdgaMf5Zqm0i5gWT+cN4Jakod9VXY9j8D0909YLFNK+oIMkwmu8QNjyAALYnDT0DbOJumvXrg7v/UFnI17ZBh7IjfabbKYrH/UBvdAZ1i+q7ntZj90SJv9at3++6uRBe0LcttLt47jFAcRQ0ogYdpOzXvqDbke8shBmcvlbmWmjJrRkf6x7YKafNeA4OjGSC7rPZ5er1SfsCEcMNwOT1gUQ2Bvi0ArZX6a7/qC3Ea9dw1r3mRkDT45+NxmL/PykR2+2cDsR/0gmTrWNpiFuslYZkJ1wmeU/MfE5zmNiYyquW6NvR1dLAgjQERJtq5N9a553ooaT/qBfI14n+c20teb5JkzzZbejeNHevjTRs2pfdfmZbOFFJv6487xwNCzEBU7nCVsSQAFclTD0x5yK6Kg/6NOI12mO0/aZ3MgWZvNbbv39B5AIEA8ljcg6Jzm1HIACdEfCiN7qRISZtjL9Qb9HvE5zPXaK13Ne3nAEASARlUUIFzt5bddSAAJIJ2KRK50eTnnSY2jO+cFgRrxOIEwP5n9GpvWmw/0VEIBEgu5OxaI3y2bWMgCC8CIWhy9NrFr1jmzl57Kr1R8MesQrm3c6l3/Z67RLYACC9qSM6AWydWkJAAF6W7RpK/vXdr8oW3E7u5P7g8GPeO1ysu5PffC7/E8Z27lsAgOQiEJh7VOyS7laAECYpNEVQawCnu4PAhyea1WzVxic+A8MFm4xTb7DiU8t2yABFAI/TMT0O2VybHoAnVRWRpCa/UFGh92qZjex3fhkcvlHmelqN74zfYIEEKDfJo3o12RybG4AgcdShn6VTEVbxSadLQwT8ee91idIAInwVCqu98jk2LQAAvR8iBavNoxPH5GpaKvYuJ8oPlGBIAG0BmvJuP4JGc2bE0DQeBvR5+brXlcZ4d3apHP5Q8R0qlv/ab8gASTQ4ZQRXSSTYzMCWNYEjP6YPiRTwVazSWcL7xCxVOM2ahRMhEOpuH6ajPZNByCADUlDX7Afk8lkCy8wsdTjrVEAWnOyybh+YcsBCMIjybjuZf+sjCbz2iaTy29nJqkO/lwVCRFWmu3hkzYYmRMTBWI+z4sI1skMSSNq7b2xvZrmH9DaBdYRXhbp6TnvPdtatbBBOlf4DTFLTXE0TAbg0ZShf12m/OYAELRfhNtX1Fo+JFPJVrLxayI6SE2czM3OewABTAoh1vb3dY8GKVqzxPbrVVyQ9W2pV3EQ9O1kLPpgkII1W2w/FiMQwQTwE4TEFqv+Zrl0HZn4fmX/iZdrIS5G8KLXfPfVwtqF1Yss/FiORcA9KUNfP7P+6VxhMzHf5EmThbocy5No89gZwF1JQ79lZop+LEgliBUpI/LsiQCOfJbYPGHvtENpFvaCVIdiNYc56N/JmL6sepGt5yX5At2JmL7jBLAHC5eZJrvua6sl+c2BlOMsrR1s/X26dWjR8cvrpiQCfp8y9K9WPYJ/R8xfcZxgxUFtSnKnW1N4YSgV13urU0172JY5xQw9rkGrDELKXF5HTF90L4faluleuybw1IT4Un8s8vjMVNXGdBcN59dqDhdFN7cLsLczvHR59ZugyolYVPobE5/fkAo229EcmWyhGMy5fA2Rv66FCoHbEjF940mP4qmTsdThRDKt4ctck0xBLWhjvRUCqE8dz+ahcadeJZnPeZ5x95BDU7uCxkkTl6Z6I69U10MdUCnZspnsyL1Mpm9n6UkW2zJmIOzG4vDqWnug1RG9Es1cLBbDr+4b39roY8UkUp3PJiMhavvCbKd/qUPKbZquAuHrBzYx8fXqceyOc2vlMYeQqPU4no6oPtNgo22lTzhprgNTjMHL/Nhw4645m9MLhP9BE1ck+rr/YleD6Q/VMHMXM5aAaAmDpz5UwxhjojGAxwAUW/ZDNXYiqfsLS4G6L0hdWPKq2topoAC0U0jdD1QBBWCg8qrgdgr8H9NXu6jnpBQcAAAAAElFTkSuQmCC);background-size:contain;background-repeat:no-repeat;background-position:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pwc-image-preview__image-zoom__img{width:100%;height:100%;object-fit:contain;vertical-align:middle;user-select:none;-webkit-touch-callout:none}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px;.swiper-slide,.swiper-cube-shadow{transform-style:preserve-3d}}.swiper-css-mode{>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none}}>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}&.swiper-horizontal{>.swiper-wrapper{scroll-snap-type:x mandatory}}&.swiper-vertical{>.swiper-wrapper{scroll-snap-type:y mandatory}}&.swiper-free-mode{>.swiper-wrapper{scroll-snap-type:none}>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}&.swiper-centered{>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}&.swiper-centered.swiper-horizontal{>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}&.swiper-centered.swiper-vertical{>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}}}.swiper-3d{.swiper-slide-shadow,.swiper-slide-shadow-left,.swiper-slide-shadow-right,.swiper-slide-shadow-top,.swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-slide-shadow{background:#00000026}.swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress),.swiper-watch-progress .swiper-slide-visible{.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pwc-swiper__prev,.pwc-swiper__next{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;z-index:10;cursor:pointer}.pwc-swiper__prev.swiper-button-disabled,.pwc-swiper__next.swiper-button-disabled{cursor:not-allowed;opacity:.6}.pwc-swiper__prev-icon,.pwc-swiper__next-icon{display:flex;font-size:38px;font-size:#333}.pwc-swiper__prev{left:10px}.pwc-swiper__next{right:10px}.pwc-swiper-pagination{position:absolute;bottom:20px;left:50%;transform:translate(-50%);z-index:10;display:flex;gap:8px}.pwc-swiper-pagination.is-vertical{flex-direction:column;transform:translateY(-50%);inset:50% 20px auto auto}.pwc-swiper-pagination-bullet{width:8px;height:8px;border-radius:50%;background:#ffffff4d;cursor:pointer}.pwc-swiper-pagination-bullet.swiper-pagination-bullet-active{background:#fff}.pwc-image-preview .pwc-popup__body{border-radius:0}.pwc-image-preview__body,.pwc-image-preview__swiper{width:100%;height:100%}.pwc-image-preview__close{position:absolute;z-index:200;width:48px;height:48px;background:#2a2b32;border-radius:50%;top:20px;right:20px;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:24px}.pwc-image-preview__close:hover{color:#5c9dff}.pwc-image-preview__close.is-mobile{width:24px;height:24px;top:16px;right:16px;font-size:12px}.pwc-resize-box{position:relative;user-select:none}.pwc-resize-box__handle{position:absolute;z-index:10}.pwc-resize-box__handle--top{top:-4px;left:0;right:0;cursor:ns-resize}.pwc-resize-box__handle--right{top:0;right:-4px;bottom:0;cursor:ew-resize}.pwc-resize-box__handle--bottom{bottom:-4px;left:0;right:0;cursor:ns-resize}.pwc-resize-box__handle--left{top:0;left:-4px;bottom:0;cursor:ew-resize}.pwc-resize-box__handle--top-left{top:-4px;left:-4px;cursor:nw-resize}.pwc-resize-box__handle--top-right{top:-4px;right:-4px;cursor:ne-resize}.pwc-resize-box__handle--bottom-left{bottom:-4px;left:-4px;cursor:sw-resize}.pwc-resize-box__handle--bottom-right{bottom:-4px;right:-4px;cursor:se-resize}.pwc-switch{display:inline-block;width:36px;height:20px;border-radius:10px;background:#bec2ca;position:relative;cursor:pointer}.pwc-switch__inner{width:16px;height:16px;border-radius:50%;background:#fff;transition:.35s;position:absolute;left:2px;top:50%;transform:translateY(-50%)}.pwc-switch.is-opened{background:#3f76fc}.pwc-switch.is-opened .pwc-switch__inner{left:calc(100% - 18px)}.pwc-switch.is-disabled{opacity:.6;cursor:not-allowed}.pwc-switch.is-size-medium{width:28px;height:16px}.pwc-switch.is-size-medium .pwc-switch__inner{width:12px;height:12px}.pwc-switch.is-size-medium.is-opened .pwc-switch__inner{left:calc(100% - 14px)}.pwc-switch.is-size-mini{width:20px;height:10px}.pwc-switch.is-size-mini .pwc-switch__inner{width:8px;height:8px;left:1px}.pwc-switch.is-size-mini.is-opened .pwc-switch__inner{left:calc(100% - 9px)}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();var r3=Object.defineProperty,o3=(t,e,n)=>e in t?r3(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Lt=(t,e,n)=>o3(t,typeof e!="symbol"?e+"":e,n);re("arrow-circle-down",t=>`
|
|
34
|
+
*/(function(t,e){(function(r,o){t.exports=o()})(z5,function(){return function(){var n={686:function(i,s,c){c.d(s,{default:function(){return X}});var a=c(279),l=c.n(a),u=c(370),f=c.n(u),h=c(817),d=c.n(h);function _(B){try{return document.execCommand(B)}catch(R){return!1}}var m=function(R){var z=d()(R);return _("cut"),z},w=m;function g(B){var R=document.documentElement.getAttribute("dir")==="rtl",z=document.createElement("textarea");z.style.fontSize="12pt",z.style.border="0",z.style.padding="0",z.style.margin="0",z.style.position="absolute",z.style[R?"right":"left"]="-9999px";var U=window.pageYOffset||document.documentElement.scrollTop;return z.style.top="".concat(U,"px"),z.setAttribute("readonly",""),z.value=B,z}var v=function(R){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},U="";if(typeof R=="string"){var N=g(R);z.container.appendChild(N),U=d()(N),_("copy"),N.remove()}else U=d()(R),_("copy");return U},b=v;function y(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(z){return typeof z}:y=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},y(B)}var x=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=R.action,U=z===void 0?"copy":z,N=R.container,Z=R.target,ce=R.text;if(U!=="copy"&&U!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Z!==void 0)if(Z&&y(Z)==="object"&&Z.nodeType===1){if(U==="copy"&&Z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(U==="cut"&&(Z.hasAttribute("readonly")||Z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ce)return b(ce,{container:N});if(Z)return U==="cut"?w(Z):b(Z,{container:N})},C=x;function E(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(z){return typeof z}:E=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},E(B)}function Q(B,R){if(!(B instanceof R))throw new TypeError("Cannot call a class as a function")}function S(B,R){for(var z=0;z<R.length;z++){var U=R[z];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(B,U.key,U)}}function I(B,R,z){return R&&S(B.prototype,R),z&&S(B,z),B}function T(B,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(R&&R.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),R&&L(B,R)}function L(B,R){return L=Object.setPrototypeOf||function(U,N){return U.__proto__=N,U},L(B,R)}function A(B){var R=F();return function(){var U=G(B),N;if(R){var Z=G(this).constructor;N=Reflect.construct(U,arguments,Z)}else N=U.apply(this,arguments);return $(this,N)}}function $(B,R){return R&&(E(R)==="object"||typeof R=="function")?R:D(B)}function D(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(B){return!1}}function G(B){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)},G(B)}function H(B,R){var z="data-clipboard-".concat(B);if(R.hasAttribute(z))return R.getAttribute(z)}var K=function(B){T(z,B);var R=A(z);function z(U,N){var Z;return Q(this,z),Z=R.call(this),Z.resolveOptions(N),Z.listenClick(U),Z}return I(z,[{key:"resolveOptions",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof N.action=="function"?N.action:this.defaultAction,this.target=typeof N.target=="function"?N.target:this.defaultTarget,this.text=typeof N.text=="function"?N.text:this.defaultText,this.container=E(N.container)==="object"?N.container:document.body}},{key:"listenClick",value:function(N){var Z=this;this.listener=f()(N,"click",function(ce){return Z.onClick(ce)})}},{key:"onClick",value:function(N){var Z=N.delegateTarget||N.currentTarget,ce=this.action(Z)||"copy",Qe=C({action:ce,container:this.container,target:this.target(Z),text:this.text(Z)});this.emit(Qe?"success":"error",{action:ce,text:Qe,trigger:Z,clearSelection:function(){Z&&Z.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(N){return H("action",N)}},{key:"defaultTarget",value:function(N){var Z=H("target",N);if(Z)return document.querySelector(Z)}},{key:"defaultText",value:function(N){return H("text",N)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(N){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return b(N,Z)}},{key:"cut",value:function(N){return w(N)}},{key:"isSupported",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Z=typeof N=="string"?[N]:N,ce=!!document.queryCommandSupported;return Z.forEach(function(Qe){ce=ce&&!!document.queryCommandSupported(Qe)}),ce}}]),z}(l()),X=K},828:function(i){var s=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var c=Element.prototype;c.matches=c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector}function a(l,u){for(;l&&l.nodeType!==s;){if(typeof l.matches=="function"&&l.matches(u))return l;l=l.parentNode}}i.exports=a},438:function(i,s,c){var a=c(828);function l(h,d,_,m,w){var g=f.apply(this,arguments);return h.addEventListener(_,g,w),{destroy:function(){h.removeEventListener(_,g,w)}}}function u(h,d,_,m,w){return typeof h.addEventListener=="function"?l.apply(null,arguments):typeof _=="function"?l.bind(null,document).apply(null,arguments):(typeof h=="string"&&(h=document.querySelectorAll(h)),Array.prototype.map.call(h,function(g){return l(g,d,_,m,w)}))}function f(h,d,_,m){return function(w){w.delegateTarget=a(w.target,d),w.delegateTarget&&m.call(h,w)}}i.exports=u},879:function(i,s){s.node=function(c){return c!==void 0&&c instanceof HTMLElement&&c.nodeType===1},s.nodeList=function(c){var a=Object.prototype.toString.call(c);return c!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in c&&(c.length===0||s.node(c[0]))},s.string=function(c){return typeof c=="string"||c instanceof String},s.fn=function(c){var a=Object.prototype.toString.call(c);return a==="[object Function]"}},370:function(i,s,c){var a=c(879),l=c(438);function u(_,m,w){if(!_&&!m&&!w)throw new Error("Missing required arguments");if(!a.string(m))throw new TypeError("Second argument must be a String");if(!a.fn(w))throw new TypeError("Third argument must be a Function");if(a.node(_))return f(_,m,w);if(a.nodeList(_))return h(_,m,w);if(a.string(_))return d(_,m,w);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(_,m,w){return _.addEventListener(m,w),{destroy:function(){_.removeEventListener(m,w)}}}function h(_,m,w){return Array.prototype.forEach.call(_,function(g){g.addEventListener(m,w)}),{destroy:function(){Array.prototype.forEach.call(_,function(g){g.removeEventListener(m,w)})}}}function d(_,m,w){return l(document.body,_,m,w)}i.exports=u},817:function(i){function s(c){var a;if(c.nodeName==="SELECT")c.focus(),a=c.value;else if(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA"){var l=c.hasAttribute("readonly");l||c.setAttribute("readonly",""),c.select(),c.setSelectionRange(0,c.value.length),l||c.removeAttribute("readonly"),a=c.value}else{c.hasAttribute("contenteditable")&&c.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(c),u.removeAllRanges(),u.addRange(f),a=u.toString()}return a}i.exports=s},279:function(i){function s(){}s.prototype={on:function(c,a,l){var u=this.e||(this.e={});return(u[c]||(u[c]=[])).push({fn:a,ctx:l}),this},once:function(c,a,l){var u=this;function f(){u.off(c,f),a.apply(l,arguments)}return f._=a,this.on(c,f,l)},emit:function(c){var a=[].slice.call(arguments,1),l=((this.e||(this.e={}))[c]||[]).slice(),u=0,f=l.length;for(u;u<f;u++)l[u].fn.apply(l[u].ctx,a);return this},off:function(c,a){var l=this.e||(this.e={}),u=l[c],f=[];if(u&&a)for(var h=0,d=u.length;h<d;h++)u[h].fn!==a&&u[h].fn._!==a&&f.push(u[h]);return f.length?l[c]=f:delete l[c],this}},i.exports=s,i.exports.TinyEmitter=s}},r={};function o(i){if(r[i])return r[i].exports;var s=r[i]={exports:{}};return n[i](s,s.exports,o),s.exports}return function(){o.n=function(i){var s=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(s,{a:s}),s}}(),function(){o.d=function(i,s){for(var c in s)o.o(s,c)&&!o.o(i,c)&&Object.defineProperty(i,c,{enumerable:!0,get:s[c]})}}(),function(){o.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)}}(),o(686)}().default})})(ma);var F5=ma.exports;const B5=da(F5),ga=[{divisor:86400,unit:"days"},{divisor:3600,unit:"hours"},{divisor:60,unit:"minutes"},{divisor:1,unit:"seconds"}];class M5{constructor(e,n){if(e|=0,isNaN(e))throw new Error("Total seconds must be a number");this._totalMSecs=1e3*e,this._cb=n}_exec(){if(!this._startTime||this._usingMSecs==null)return;let e=Math.max(0,this._usingMSecs-(Date.now()-this._startTime));if(e>0&&setTimeout(()=>{this._exec()},1e3),this._remainingMSecs=e,e>=0){const n={days:0,hours:0,minutes:0,seconds:0,totalMsecs:e};e=Math.round(e/1e3),ga.forEach((r,o)=>{n[r.unit]=e/r.divisor,o===ga.length-1?n[r.unit]=Math.round(n[r.unit]):(n[r.unit]=Math.floor(n[r.unit]),e%=r.divisor)}),this._cb(n)}}start(){this._usingMSecs==null&&(this._usingMSecs=this._totalMSecs),this._usingMSecs<=0||(this._startTime=Date.now(),this._exec())}_break(){this._timerId&&clearTimeout(this._timerId),this._startTime=void 0}stop(){this._break(),this._usingMSecs=this._totalMSecs}pause(){this._break(),this._usingMSecs=this._remainingMSecs}}const Ro=/^(?:([a-z]+):)?\/{2,3}/i;function N5(t,e){return Ro.test(t)}function ha(t,e){return Ro.test(e)||(e+="://"),N5(t)?t.replace(Ro,e):e+t}function H5(t){return typeof t!="object"&&(t=new Date(t)),t}function hr(t,e){const n={Y:(t=H5(t)).getFullYear(),M:t.getMonth()+1,D:t.getDate(),h:t.getHours(),m:t.getMinutes(),s:t.getSeconds()};return e.replace(/([YMDhms])\1*/g,function(r){let o=n[r[0]].toString();const i=r.length;return i>o.length&&(o=new Array(i-o.length+1).join("0")+o),o})}function U5(t,e={segments:2,digits:2}){if(t=Number(t),isNaN(t)||t<0)throw new Error('"secs" must be a positive integer');let n=2;e.segments==="auto"&&t>=3600?n=3:typeof e.segments=="number"&&[2,3].indexOf(e.segments)!==-1&&(n=e.segments);let r=0|(e.digits||2);r=Math.max(1,r);const o=new Array(r+1).join("0"),i=[60,1];return n===3&&i.unshift(3600),i.map(s=>{const c=Math.floor(t/s),a=c.toString().length;return t%=s,(o+c).slice(-Math.max(a,r))}).join(":")}function j5(t){return/^1[3-9]\d{9}$/.test(t)}function q5(t,e="+86"){return e==="+86"?j5(t):/^\d{5,20}$/.test(t)}function va(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Oo(t={},e={}){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]=="undefined"?t[r]=e[r]:va(e[r])&&va(t[r])&&Object.keys(e[r]).length>0&&Oo(t[r],e[r])})}const _a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Rt(){const t=typeof document!="undefined"?document:{};return Oo(t,_a),t}const W5={document:_a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function ke(){const t=typeof window!="undefined"?window:{};return Oo(t,W5),t}function G5(t=""){return t.trim().split(" ").filter(e=>!!e.trim())}function Z5(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch(r){}try{delete e[n]}catch(r){}})}function wa(t,e=0){return setTimeout(t,e)}function vr(){return Date.now()}function Y5(t){const e=ke();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function K5(t,e="x"){const n=ke();let r,o,i;const s=Y5(t);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(c=>c.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(o==="none"?"":o)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?o=i.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?o=i.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function _r(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function X5(t){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Be(...t){const e=Object(t[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<t.length;r+=1){const o=t[r];if(o!=null&&!X5(o)){const i=Object.keys(Object(o)).filter(s=>n.indexOf(s)<0);for(let s=0,c=i.length;s<c;s+=1){const a=i[s],l=Object.getOwnPropertyDescriptor(o,a);l!==void 0&&l.enumerable&&(_r(e[a])&&_r(o[a])?o[a].__swiper__?e[a]=o[a]:Be(e[a],o[a]):!_r(e[a])&&_r(o[a])?(e[a]={},o[a].__swiper__?e[a]=o[a]:Be(e[a],o[a])):e[a]=o[a])}}}return e}function wr(t,e,n){t.style.setProperty(e,n)}function ba({swiper:t,targetPosition:e,side:n}){const r=ke(),o=-t.translate;let i=null,s;const c=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const a=e>o?"next":"prev",l=(f,h)=>a==="next"&&f>=h||a==="prev"&&f<=h,u=()=>{s=new Date().getTime(),i===null&&(i=s);const f=Math.max(Math.min((s-i)/c,1),0),h=.5-Math.cos(f*Math.PI)/2;let d=o+h*(e-o);if(l(d,e)&&(d=e),t.wrapperEl.scrollTo({[n]:d}),l(d,e)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:d})}),r.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=r.requestAnimationFrame(u)};u()}function pt(t,e=""){const n=ke(),r=[...t.children];return n.HTMLSlotElement&&t instanceof HTMLSlotElement&&r.push(...t.assignedElements()),e?r.filter(o=>o.matches(e)):r}function J5(t,e){const n=[e];for(;n.length>0;){const r=n.shift();if(t===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function V5(t,e){const n=ke();let r=e.contains(t);return!r&&n.HTMLSlotElement&&e instanceof HTMLSlotElement&&(r=[...e.assignedElements()].includes(t),r||(r=J5(t,e))),r}function br(t){try{console.warn(t);return}catch(e){}}function Do(t,e=[]){const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:G5(e)),n}function e9(t,e){const n=[];for(;t.previousElementSibling;){const r=t.previousElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function t9(t,e){const n=[];for(;t.nextElementSibling;){const r=t.nextElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function vt(t,e){return ke().getComputedStyle(t,null).getPropertyValue(e)}function ya(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function n9(t,e){const n=[];let r=t.parentElement;for(;r;)n.push(r),r=r.parentElement;return n}function xa(t,e,n){const r=ke();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}let zo;function r9(){const t=ke(),e=Rt();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ca(){return zo||(zo=r9()),zo}let Fo;function o9({userAgent:t}={}){const e=Ca(),n=ke(),r=n.navigator.platform,o=t||n.navigator.userAgent,i={ios:!1,android:!1},s=n.screen.width,c=n.screen.height,a=o.match(/(Android);?[\s\/]+([\d.]+)?/);let l=o.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const u=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!l&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=r==="Win32";let d=r==="MacIntel";const _=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!l&&d&&e.touch&&_.indexOf(`${s}x${c}`)>=0&&(l=o.match(/(Version)\/([\d.]+)/),l||(l=[0,1,"13_0_0"]),d=!1),a&&!h&&(i.os="android",i.android=!0),(l||f||u)&&(i.os="ios",i.ios=!0),i}function Qa(t={}){return Fo||(Fo=o9(t)),Fo}let Bo;function i9(){const t=ke(),e=Qa();let n=!1;function r(){const c=t.navigator.userAgent.toLowerCase();return c.indexOf("safari")>=0&&c.indexOf("chrome")<0&&c.indexOf("android")<0}if(r()){const c=String(t.navigator.userAgent);if(c.includes("Version/")){const[a,l]=c.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));n=a<16||a===16&&l<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),i=r(),s=i||o&&e.ios;return{isSafari:n||i,needPerspectiveFix:n,need3dFix:s,isWebView:o}}function ka(){return Bo||(Bo=i9()),Bo}function s9({swiper:t,on:e,emit:n}){const r=ke();let o=null,i=null;const s=()=>{!t||t.destroyed||!t.initialized||(n("beforeResize"),n("resize"))},c=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(u=>{i=r.requestAnimationFrame(()=>{const{width:f,height:h}=t;let d=f,_=h;u.forEach(({contentBoxSize:m,contentRect:w,target:g})=>{g&&g!==t.el||(d=w?w.width:(m[0]||m).inlineSize,_=w?w.height:(m[0]||m).blockSize)}),(d!==f||_!==h)&&s()})}),o.observe(t.el))},a=()=>{i&&r.cancelAnimationFrame(i),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},l=()=>{!t||t.destroyed||!t.initialized||n("orientationchange")};e("init",()=>{if(t.params.resizeObserver&&typeof r.ResizeObserver!="undefined"){c();return}r.addEventListener("resize",s),r.addEventListener("orientationchange",l)}),e("destroy",()=>{a(),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",l)})}function a9({swiper:t,extendParams:e,on:n,emit:r}){const o=[],i=ke(),s=(l,u={})=>{const f=i.MutationObserver||i.WebkitMutationObserver,h=new f(d=>{if(t.__preventObserver__)return;if(d.length===1){r("observerUpdate",d[0]);return}const _=function(){r("observerUpdate",d[0])};i.requestAnimationFrame?i.requestAnimationFrame(_):i.setTimeout(_,0)});h.observe(l,{attributes:typeof u.attributes=="undefined"?!0:u.attributes,childList:t.isElement||(typeof u.childList=="undefined"?!0:u).childList,characterData:typeof u.characterData=="undefined"?!0:u.characterData}),o.push(h)},c=()=>{if(t.params.observer){if(t.params.observeParents){const l=n9(t.hostEl);for(let u=0;u<l.length;u+=1)s(l[u])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}},a=()=>{o.forEach(l=>{l.disconnect()}),o.splice(0,o.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",c),n("destroy",a)}var c9={on(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const o=n?"unshift":"push";return t.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][o](e)}),r},once(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function o(...i){r.off(t,o),o.__emitterProxy&&delete o.__emitterProxy,e.apply(r,i)}return o.__emitterProxy=e,r.on(t,o,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const r=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[r](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(r=>{typeof e=="undefined"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,i)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&n.eventsListeners[r].splice(i,1)})}),n},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let n,r,o;return typeof t[0]=="string"||Array.isArray(t[0])?(n=t[0],r=t.slice(1,t.length),o=e):(n=t[0].events,r=t[0].data,o=t[0].context||e),r.unshift(o),(Array.isArray(n)?n:n.split(" ")).forEach(s=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(c=>{c.apply(o,[s,...r])}),e.eventsListeners&&e.eventsListeners[s]&&e.eventsListeners[s].forEach(c=>{c.apply(o,r)})}),e}};function l9(){const t=this;let e,n;const r=t.el;typeof t.params.width!="undefined"&&t.params.width!==null?e=t.params.width:e=r.clientWidth,typeof t.params.height!="undefined"&&t.params.height!==null?n=t.params.height:n=r.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(vt(r,"padding-left")||0,10)-parseInt(vt(r,"padding-right")||0,10),n=n-parseInt(vt(r,"padding-top")||0,10)-parseInt(vt(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function u9(){const t=this;function e(I,T){return parseFloat(I.getPropertyValue(t.getDirectionLabel(T))||0)}const n=t.params,{wrapperEl:r,slidesEl:o,rtlTranslate:i,wrongRTL:s}=t,c=t.virtual&&n.virtual.enabled,a=c?t.virtual.slides.length:t.slides.length,l=pt(o,`.${t.params.slideClass}, swiper-slide`),u=c?t.virtual.slides.length:l.length;let f=[];const h=[],d=[];let _=n.slidesOffsetBefore;typeof _=="function"&&(_=n.slidesOffsetBefore.call(t));let m=n.slidesOffsetAfter;typeof m=="function"&&(m=n.slidesOffsetAfter.call(t));const w=t.snapGrid.length,g=t.slidesGrid.length,v=t.size-_-m;let b=n.spaceBetween,y=-_,x=0,C=0;if(typeof v=="undefined")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*v:typeof b=="string"&&(b=parseFloat(b)),t.virtualSize=-b-_-m,l.forEach(I=>{i?I.style.marginLeft="":I.style.marginRight="",I.style.marginBottom="",I.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(wr(r,"--swiper-centered-offset-before",""),wr(r,"--swiper-centered-offset-after",""));const E=n.grid&&n.grid.rows>1&&t.grid;E?t.grid.initSlides(l):t.grid&&t.grid.unsetSlides();let Q;const S=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(I=>typeof n.breakpoints[I].slidesPerView!="undefined").length>0;for(let I=0;I<u;I+=1){Q=0;const T=l[I];if(!(T&&(E&&t.grid.updateSlide(I,T,l),vt(T,"display")==="none"))){if(c&&n.slidesPerView==="auto")n.virtual.slidesPerViewAutoSlideSize&&(Q=n.virtual.slidesPerViewAutoSlideSize),Q&&T&&(n.roundLengths&&(Q=Math.floor(Q)),T.style[t.getDirectionLabel("width")]=`${Q}px`);else if(n.slidesPerView==="auto"){S&&(T.style[t.getDirectionLabel("width")]="");const L=getComputedStyle(T),A=T.style.transform,$=T.style.webkitTransform;if(A&&(T.style.transform="none"),$&&(T.style.webkitTransform="none"),n.roundLengths)Q=t.isHorizontal()?xa(T,"width"):xa(T,"height");else{const D=e(L,"width"),F=e(L,"padding-left"),G=e(L,"padding-right"),H=e(L,"margin-left"),K=e(L,"margin-right"),X=L.getPropertyValue("box-sizing");if(X&&X==="border-box")Q=D+H+K;else{const{clientWidth:B,offsetWidth:R}=T;Q=D+F+G+H+K+(R-B)}}A&&(T.style.transform=A),$&&(T.style.webkitTransform=$),n.roundLengths&&(Q=Math.floor(Q))}else Q=(v-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(Q=Math.floor(Q)),T&&(T.style[t.getDirectionLabel("width")]=`${Q}px`);T&&(T.swiperSlideSize=Q),d.push(Q),n.centeredSlides?(y=y+Q/2+x/2+b,x===0&&I!==0&&(y=y-v/2-b),I===0&&(y=y-v/2-b),Math.abs(y)<1/1e3&&(y=0),n.roundLengths&&(y=Math.floor(y)),C%n.slidesPerGroup===0&&f.push(y),h.push(y)):(n.roundLengths&&(y=Math.floor(y)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup===0&&f.push(y),h.push(y),y=y+Q+b),t.virtualSize+=Q+b,x=Q,C+=1}}if(t.virtualSize=Math.max(t.virtualSize,v)+m,i&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${t.virtualSize+b}px`),n.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),E&&t.grid.updateWrapperSize(Q,f),!n.centeredSlides){const I=[];for(let T=0;T<f.length;T+=1){let L=f[T];n.roundLengths&&(L=Math.floor(L)),f[T]<=t.virtualSize-v&&I.push(L)}f=I,Math.floor(t.virtualSize-v)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-v)}if(c&&n.loop){const I=d[0]+b;if(n.slidesPerGroup>1){const T=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),L=I*n.slidesPerGroup;for(let A=0;A<T;A+=1)f.push(f[f.length-1]+L)}for(let T=0;T<t.virtual.slidesBefore+t.virtual.slidesAfter;T+=1)n.slidesPerGroup===1&&f.push(f[f.length-1]+I),h.push(h[h.length-1]+I),t.virtualSize+=I}if(f.length===0&&(f=[0]),b!==0){const I=t.isHorizontal()&&i?"marginLeft":t.getDirectionLabel("marginRight");l.filter((T,L)=>!n.cssMode||n.loop?!0:L!==l.length-1).forEach(T=>{T.style[I]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let I=0;d.forEach(L=>{I+=L+(b||0)}),I-=b;const T=I>v?I-v:0;f=f.map(L=>L<=0?-_:L>T?T+m:L)}if(n.centerInsufficientSlides){let I=0;d.forEach(L=>{I+=L+(b||0)}),I-=b;const T=(_||0)+(m||0);if(I+T<v){const L=(v-I-T)/2;f.forEach((A,$)=>{f[$]=A-L}),h.forEach((A,$)=>{h[$]=A+L})}}if(Object.assign(t,{slides:l,snapGrid:f,slidesGrid:h,slidesSizesGrid:d}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){wr(r,"--swiper-centered-offset-before",`${-f[0]}px`),wr(r,"--swiper-centered-offset-after",`${t.size/2-d[d.length-1]/2}px`);const I=-t.snapGrid[0],T=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(L=>L+I),t.slidesGrid=t.slidesGrid.map(L=>L+T)}if(u!==a&&t.emit("slidesLengthChange"),f.length!==w&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==g&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!c&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const I=`${n.containerModifierClass}backface-hidden`,T=t.el.classList.contains(I);u<=n.maxBackfaceHiddenSlides?T||t.el.classList.add(I):T&&t.el.classList.remove(I)}}function p9(t){const e=this,n=[],r=e.virtual&&e.params.virtual.enabled;let o=0,i;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const s=c=>r?e.slides[e.getSlideIndexByData(c)]:e.slides[c];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(c=>{n.push(c)});else for(i=0;i<Math.ceil(e.params.slidesPerView);i+=1){const c=e.activeIndex+i;if(c>e.slides.length&&!r)break;n.push(s(c))}else n.push(s(e.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]!="undefined"){const c=n[i].offsetHeight;o=c>o?c:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function f9(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(t.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-n-t.cssOverflowAdjustment()}const Ea=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function d9(t=this&&this.translate||0){const e=this,n=e.params,{slides:r,rtlTranslate:o,snapGrid:i}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset=="undefined"&&e.updateSlidesOffset();let s=-t;o&&(s=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let c=n.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*e.size:typeof c=="string"&&(c=parseFloat(c));for(let a=0;a<r.length;a+=1){const l=r[a];let u=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=r[0].swiperSlideOffset);const f=(s+(n.centeredSlides?e.minTranslate():0)-u)/(l.swiperSlideSize+c),h=(s-i[0]+(n.centeredSlides?e.minTranslate():0)-u)/(l.swiperSlideSize+c),d=-(s-u),_=d+e.slidesSizesGrid[a],m=d>=0&&d<=e.size-e.slidesSizesGrid[a],w=d>=0&&d<e.size-1||_>1&&_<=e.size||d<=0&&_>=e.size;w&&(e.visibleSlides.push(l),e.visibleSlidesIndexes.push(a)),Ea(l,w,n.slideVisibleClass),Ea(l,m,n.slideFullyVisibleClass),l.progress=o?-f:f,l.originalProgress=o?-h:h}}function m9(t){const e=this;if(typeof t=="undefined"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const n=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:i,isEnd:s,progressLoop:c}=e;const a=i,l=s;if(r===0)o=0,i=!0,s=!0;else{o=(t-e.minTranslate())/r;const u=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;i=u||o<=0,s=f||o>=1,u&&(o=0),f&&(o=1)}if(n.loop){const u=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[u],d=e.slidesGrid[f],_=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=h?c=(m-h)/_:c=(m+_-d)/_,c>1&&(c-=1)}Object.assign(e,{progress:o,progressLoop:c,isBeginning:i,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),i&&!a&&e.emit("reachBeginning toEdge"),s&&!l&&e.emit("reachEnd toEdge"),(a&&!i||l&&!s)&&e.emit("fromEdge"),e.emit("progress",o)}const Mo=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function g9(){const t=this,{slides:e,params:n,slidesEl:r,activeIndex:o}=t,i=t.virtual&&n.virtual.enabled,s=t.grid&&n.grid&&n.grid.rows>1,c=f=>pt(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let a,l,u;if(i)if(n.loop){let f=o-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),a=c(`[data-swiper-slide-index="${f}"]`)}else a=c(`[data-swiper-slide-index="${o}"]`);else s?(a=e.find(f=>f.column===o),u=e.find(f=>f.column===o+1),l=e.find(f=>f.column===o-1)):a=e[o];a&&(s||(u=t9(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=e[0]),l=e9(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!l===0&&(l=e[e.length-1]))),e.forEach(f=>{Mo(f,f===a,n.slideActiveClass),Mo(f,f===u,n.slideNextClass),Mo(f,f===l,n.slidePrevClass)}),t.emitSlidesClasses()}const yr=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,r=e.closest(n());if(r){let o=r.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},No=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Ho=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const r=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const s=o,c=[s-e];c.push(...Array.from({length:e}).map((a,l)=>s+r+l)),t.slides.forEach((a,l)=>{c.includes(a.column)&&No(t,l)});return}const i=o+r-1;if(t.params.rewind||t.params.loop)for(let s=o-e;s<=i+e;s+=1){const c=(s%n+n)%n;(c<o||c>i)&&No(t,c)}else for(let s=Math.max(o-e,0);s<=Math.min(i+e,n-1);s+=1)s!==o&&(s>i||s<o)&&No(t,s)};function h9(t){const{slidesGrid:e,params:n}=t,r=t.rtlTranslate?t.translate:-t.translate;let o;for(let i=0;i<e.length;i+=1)typeof e[i+1]!="undefined"?r>=e[i]&&r<e[i+1]-(e[i+1]-e[i])/2?o=i:r>=e[i]&&r<e[i+1]&&(o=i+1):r>=e[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||typeof o=="undefined")&&(o=0),o}function v9(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:c}=e;let a=t,l;const u=d=>{let _=d-e.virtual.slidesBefore;return _<0&&(_=e.virtual.slides.length+_),_>=e.virtual.slides.length&&(_-=e.virtual.slides.length),_};if(typeof a=="undefined"&&(a=h9(e)),r.indexOf(n)>=0)l=r.indexOf(n);else{const d=Math.min(o.slidesPerGroupSkip,a);l=d+Math.floor((a-d)/o.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),a===i&&!e.params.loop){l!==c&&(e.snapIndex=l,e.emit("snapIndexChange"));return}if(a===i&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(a);return}const f=e.grid&&o.grid&&o.grid.rows>1;let h;if(e.virtual&&o.virtual.enabled&&o.loop)h=u(a);else if(f){const d=e.slides.find(m=>m.column===a);let _=parseInt(d.getAttribute("data-swiper-slide-index"),10);Number.isNaN(_)&&(_=Math.max(e.slides.indexOf(d),0)),h=Math.floor(_/o.grid.rows)}else if(e.slides[a]){const d=e.slides[a].getAttribute("data-swiper-slide-index");d?h=parseInt(d,10):h=a}else h=a;Object.assign(e,{previousSnapIndex:c,snapIndex:l,previousRealIndex:s,realIndex:h,previousIndex:i,activeIndex:a}),e.initialized&&Ho(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function _9(t,e){const n=this,r=n.params;let o=t.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(c=>{!o&&c.matches&&c.matches(`.${r.slideClass}, swiper-slide`)&&(o=c)});let i=!1,s;if(o){for(let c=0;c<n.slides.length;c+=1)if(n.slides[c]===o){i=!0,s=c;break}}if(o&&i)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var w9={updateSize:l9,updateSlides:u9,updateAutoHeight:p9,updateSlidesOffset:f9,updateSlidesProgress:d9,updateProgress:m9,updateSlidesClasses:g9,updateActiveIndex:v9,updateClickedSlide:_9};function b9(t=this.isHorizontal()?"x":"y"){const e=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:i}=e;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let s=K5(i,t);return s+=e.cssOverflowAdjustment(),r&&(s=-s),s||0}function y9(t,e){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:s}=n;let c=0,a=0;const l=0;n.isHorizontal()?c=r?-t:t:a=t,o.roundLengths&&(c=Math.floor(c),a=Math.floor(a)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:a,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-a:o.virtualTranslate||(n.isHorizontal()?c-=n.cssOverflowAdjustment():a-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${c}px, ${a}px, ${l}px)`);let u;const f=n.maxTranslate()-n.minTranslate();f===0?u=0:u=(t-n.minTranslate())/f,u!==s&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}function x9(){return-this.snapGrid[0]}function C9(){return-this.snapGrid[this.snapGrid.length-1]}function Q9(t=0,e=this.params.speed,n=!0,r=!0,o){const i=this,{params:s,wrapperEl:c}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;const a=i.minTranslate(),l=i.maxTranslate();let u;if(r&&t>a?u=a:r&&t<l?u=l:u=t,i.updateProgress(u),s.cssMode){const f=i.isHorizontal();if(e===0)c[f?"scrollLeft":"scrollTop"]=-u;else{if(!i.support.smoothScroll)return ba({swiper:i,targetPosition:-u,side:f?"left":"top"}),!0;c.scrollTo({[f?"left":"top"]:-u,behavior:"smooth"})}return!0}return e===0?(i.setTransition(0),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",e,o),i.emit("transitionEnd"))):(i.setTransition(e),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",e,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(h){!i||i.destroyed||h.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}var k9={getTranslate:b9,setTranslate:y9,minTranslate:x9,maxTranslate:C9,translateTo:Q9};function E9(t,e){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${t}ms`,n.wrapperEl.style.transitionDelay=t===0?"0ms":""),n.emit("setTransition",t,e)}function Sa({swiper:t,runCallbacks:e,direction:n,step:r}){const{activeIndex:o,previousIndex:i}=t;let s=n;s||(o>i?s="next":o<i?s="prev":s="reset"),t.emit(`transition${r}`),e&&s==="reset"?t.emit(`slideResetTransition${r}`):e&&o!==i&&(t.emit(`slideChangeTransition${r}`),s==="next"?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}function S9(t=!0,e){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),Sa({swiper:n,runCallbacks:t,direction:e,step:"Start"}))}function I9(t=!0,e){const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),Sa({swiper:n,runCallbacks:t,direction:e,step:"End"}))}var T9={setTransition:E9,transitionStart:S9,transitionEnd:I9};function L9(t=0,e,n=!0,r,o){typeof t=="string"&&(t=parseInt(t,10));const i=this;let s=t;s<0&&(s=0);const{params:c,snapGrid:a,slidesGrid:l,previousIndex:u,activeIndex:f,rtlTranslate:h,wrapperEl:d,enabled:_}=i;if(!_&&!r&&!o||i.destroyed||i.animating&&c.preventInteractionOnTransition)return!1;typeof e=="undefined"&&(e=i.params.speed);const m=Math.min(i.params.slidesPerGroupSkip,s);let w=m+Math.floor((s-m)/i.params.slidesPerGroup);w>=a.length&&(w=a.length-1);const g=-a[w];if(c.normalizeSlideIndex)for(let E=0;E<l.length;E+=1){const Q=-Math.floor(g*100),S=Math.floor(l[E]*100),I=Math.floor(l[E+1]*100);typeof l[E+1]!="undefined"?Q>=S&&Q<I-(I-S)/2?s=E:Q>=S&&Q<I&&(s=E+1):Q>=S&&(s=E)}if(i.initialized&&s!==f&&(!i.allowSlideNext&&(h?g>i.translate&&g>i.minTranslate():g<i.translate&&g<i.minTranslate())||!i.allowSlidePrev&&g>i.translate&&g>i.maxTranslate()&&(f||0)!==s))return!1;s!==(u||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(g);let v;s>f?v="next":s<f?v="prev":v="reset";const b=i.virtual&&i.params.virtual.enabled;if(!(b&&o)&&(h&&-g===i.translate||!h&&g===i.translate))return i.updateActiveIndex(s),c.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),c.effect!=="slide"&&i.setTranslate(g),v!=="reset"&&(i.transitionStart(n,v),i.transitionEnd(n,v)),!1;if(c.cssMode){const E=i.isHorizontal(),Q=h?g:-g;if(e===0)b&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),b&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{d[E?"scrollLeft":"scrollTop"]=Q})):d[E?"scrollLeft":"scrollTop"]=Q,b&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return ba({swiper:i,targetPosition:Q,side:E?"left":"top"}),!0;d.scrollTo({[E?"left":"top"]:Q,behavior:"smooth"})}return!0}const C=ka().isSafari;return b&&!o&&C&&i.isElement&&i.virtual.update(!1,!1,s),i.setTransition(e),i.setTranslate(g),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",e,r),i.transitionStart(n,v),e===0?i.transitionEnd(n,v):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(Q){!i||i.destroyed||Q.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,v))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function P9(t=0,e,n=!0,r){typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e=="undefined"&&(e=o.params.speed);const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s=s+o.virtual.slidesBefore;else{let c;if(i){const m=s*o.params.grid.rows;c=o.slides.find(w=>w.getAttribute("data-swiper-slide-index")*1===m).column}else c=o.getSlideIndexByData(s);const a=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:l,slidesOffsetBefore:u,slidesOffsetAfter:f}=o.params,h=l||!!u||!!f;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),h&&d%2===0&&(d=d+1));let _=a-c<d;if(h&&(_=_||c<Math.ceil(d/2)),r&&h&&o.params.slidesPerView!=="auto"&&!i&&(_=!1),_){const m=h?c<o.activeIndex?"prev":"next":c-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?c+1:c-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(i){const m=s*o.params.grid.rows;s=o.slides.find(w=>w.getAttribute("data-swiper-slide-index")*1===m).column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,e,n,r)}),o}function A9(t,e=!0,n){const r=this,{enabled:o,params:i,animating:s}=r;if(!o||r.destroyed)return r;typeof t=="undefined"&&(t=r.params.speed);let c=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(c=Math.max(r.slidesPerViewDynamic("current",!0),1));const a=r.activeIndex<i.slidesPerGroupSkip?1:c,l=r.virtual&&i.virtual.enabled;if(i.loop){if(s&&!l&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+a,t,e,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,t,e,n):r.slideTo(r.activeIndex+a,t,e,n)}function $9(t,e=!0,n){const r=this,{params:o,snapGrid:i,slidesGrid:s,rtlTranslate:c,enabled:a,animating:l}=r;if(!a||r.destroyed)return r;typeof t=="undefined"&&(t=r.params.speed);const u=r.virtual&&o.virtual.enabled;if(o.loop){if(l&&!u&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=c?r.translate:-r.translate;function h(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const d=h(f),_=i.map(v=>h(v)),m=o.freeMode&&o.freeMode.enabled;let w=i[_.indexOf(d)-1];if(typeof w=="undefined"&&(o.cssMode||m)){let v;i.forEach((b,y)=>{d>=b&&(v=y)}),typeof v!="undefined"&&(w=m?i[v]:i[v>0?v-1:v])}let g=0;if(typeof w!="undefined"&&(g=s.indexOf(w),g<0&&(g=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(g=g-r.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),o.rewind&&r.isBeginning){const v=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(v,t,e,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(g,t,e,n)}),!0;return r.slideTo(g,t,e,n)}function R9(t,e=!0,n){const r=this;if(!r.destroyed)return typeof t=="undefined"&&(t=r.params.speed),r.slideTo(r.activeIndex,t,e,n)}function O9(t,e=!0,n,r=.5){const o=this;if(o.destroyed)return;typeof t=="undefined"&&(t=o.params.speed);let i=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,i),c=s+Math.floor((i-s)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[c]){const l=o.snapGrid[c],u=o.snapGrid[c+1];a-l>(u-l)*r&&(i+=o.params.slidesPerGroup)}else{const l=o.snapGrid[c-1],u=o.snapGrid[c];a-l<=(u-l)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,t,e,n)}function D9(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:n}=t,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.getSlideIndexWhenGrid(t.clickedIndex),i;const s=t.isElement?"swiper-slide":`.${e.slideClass}`,c=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;i=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(i):o>(c?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),o=t.getSlideIndex(pt(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),wa(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var z9={slideTo:L9,slideToLoop:P9,slideNext:A9,slidePrev:$9,slideReset:R9,slideToClosest:O9,slideToClickedSlide:D9};function F9(t,e){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{pt(o,`.${r.slideClass}, swiper-slide`).forEach((_,m)=>{_.setAttribute("data-swiper-slide-index",m)})},s=()=>{const d=pt(o,`.${r.slideBlankClass}`);d.forEach(_=>{_.remove()}),d.length>0&&(n.recalcSlides(),n.updateSlides())},c=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||c)&&s();const a=r.slidesPerGroup*(c?r.grid.rows:1),l=n.slides.length%a!==0,u=c&&n.slides.length%r.grid.rows!==0,f=d=>{for(let _=0;_<d;_+=1){const m=n.isElement?Do("swiper-slide",[r.slideBlankClass]):Do("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(m)}};if(l){if(r.loopAddBlankSlides){const d=a-n.slides.length%a;f(d),n.recalcSlides(),n.updateSlides()}else br("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(u){if(r.loopAddBlankSlides){const d=r.grid.rows-n.slides.length%r.grid.rows;f(d),n.recalcSlides(),n.updateSlides()}else br("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();const h=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:t,direction:h?void 0:"next",initial:e})}function B9({slideRealIndex:t,slideTo:e=!0,direction:n,setTranslate:r,activeSlideIndex:o,initial:i,byController:s,byMousewheel:c}={}){const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:l,allowSlidePrev:u,allowSlideNext:f,slidesEl:h,params:d}=a,{centeredSlides:_,slidesOffsetBefore:m,slidesOffsetAfter:w,initialSlide:g}=d,v=_||!!m||!!w;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&d.virtual.enabled){e&&(!v&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):v&&a.snapIndex<d.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=u,a.allowSlideNext=f,a.emit("loopFix");return}let b=d.slidesPerView;b==="auto"?b=a.slidesPerViewDynamic():(b=Math.ceil(parseFloat(d.slidesPerView,10)),v&&b%2===0&&(b=b+1));const y=d.slidesPerGroupAuto?b:d.slidesPerGroup;let x=v?Math.max(y,Math.ceil(b/2)):y;x%y!==0&&(x+=y-x%y),x+=d.loopAdditionalSlides,a.loopedSlides=x;const C=a.grid&&d.grid&&d.grid.rows>1;l.length<b+x||a.params.effect==="cards"&&l.length<b+x*2?br("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):C&&d.grid.fill==="row"&&br("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const E=[],Q=[],S=C?Math.ceil(l.length/d.grid.rows):l.length,I=i&&S-g<b&&!v;let T=I?g:a.activeIndex;typeof o=="undefined"?o=a.getSlideIndex(l.find(H=>H.classList.contains(d.slideActiveClass))):T=o;const L=n==="next"||!n,A=n==="prev"||!n;let $=0,D=0;const G=(C?l[o].column:o)+(v&&typeof r=="undefined"?-b/2+.5:0);if(G<x){$=Math.max(x-G,y);for(let H=0;H<x-G;H+=1){const K=H-Math.floor(H/S)*S;if(C){const X=S-K-1;for(let B=l.length-1;B>=0;B-=1)l[B].column===X&&E.push(B)}else E.push(S-K-1)}}else if(G+b>S-x){D=Math.max(G-(S-x*2),y),I&&(D=Math.max(D,b-S+g+1));for(let H=0;H<D;H+=1){const K=H-Math.floor(H/S)*S;C?l.forEach((X,B)=>{X.column===K&&Q.push(B)}):Q.push(K)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),a.params.effect==="cards"&&l.length<b+x*2&&(Q.includes(o)&&Q.splice(Q.indexOf(o),1),E.includes(o)&&E.splice(E.indexOf(o),1)),A&&E.forEach(H=>{l[H].swiperLoopMoveDOM=!0,h.prepend(l[H]),l[H].swiperLoopMoveDOM=!1}),L&&Q.forEach(H=>{l[H].swiperLoopMoveDOM=!0,h.append(l[H]),l[H].swiperLoopMoveDOM=!1}),a.recalcSlides(),d.slidesPerView==="auto"?a.updateSlides():C&&(E.length>0&&A||Q.length>0&&L)&&a.slides.forEach((H,K)=>{a.grid.updateSlide(K,H,a.slides)}),d.watchSlidesProgress&&a.updateSlidesOffset(),e){if(E.length>0&&A){if(typeof t=="undefined"){const H=a.slidesGrid[T],X=a.slidesGrid[T+$]-H;c?a.setTranslate(a.translate-X):(a.slideTo(T+Math.ceil($),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-X,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-X))}else if(r){const H=C?E.length/d.grid.rows:E.length;a.slideTo(a.activeIndex+H,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(Q.length>0&&L)if(typeof t=="undefined"){const H=a.slidesGrid[T],X=a.slidesGrid[T-D]-H;c?a.setTranslate(a.translate-X):(a.slideTo(T-D,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-X,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-X))}else{const H=C?Q.length/d.grid.rows:Q.length;a.slideTo(a.activeIndex-H,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=f,a.controller&&a.controller.control&&!s){const H={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:o,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(K=>{!K.destroyed&&K.params.loop&&K.loopFix(ie(O({},H),{slideTo:K.params.slidesPerView===d.slidesPerView?e:!1}))}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix(ie(O({},H),{slideTo:a.controller.control.params.slidesPerView===d.slidesPerView?e:!1}))}a.emit("loopFix")}function M9(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||!n||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const r=[];t.slides.forEach(o=>{const i=typeof o.swiperSlideIndex=="undefined"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[i]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var N9={loopCreate:F9,loopFix:B9,loopDestroy:M9};function H9(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function U9(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var j9={setGrabCursor:H9,unsetGrabCursor:U9};function q9(t,e=this){function n(r){if(!r||r===Rt()||r===ke())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(t);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(e)}function Ia(t,e,n){const r=ke(),{params:o}=t,i=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return i&&(n<=s||n>=r.innerWidth-s)?i==="prevent"?(e.preventDefault(),!0):!1:!0}function W9(t){const e=this,n=Rt();let r=t;r.originalEvent&&(r=r.originalEvent);const o=e.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Ia(e,r,r.targetTouches[0].pageX);return}const{params:i,touches:s,enabled:c}=e;if(!c||!i.simulateTouch&&r.pointerType==="mouse"||e.animating&&i.preventInteractionOnTransition)return;!e.animating&&i.cssMode&&i.loop&&e.loopFix();let a=r.target;if(i.touchEventsTarget==="wrapper"&&!V5(a,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const l=!!i.noSwipingClass&&i.noSwipingClass!=="",u=r.composedPath?r.composedPath():r.path;l&&r.target&&r.target.shadowRoot&&u&&(a=u[0]);const f=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(h?q9(f,a):a.closest(f))){e.allowClick=!0;return}if(i.swipeHandler&&!a.closest(i.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const d=s.currentX,_=s.currentY;if(!Ia(e,r,d))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=d,s.startY=_,o.touchStartTime=vr(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let m=!0;a.matches(o.focusableElements)&&(m=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==a&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!a.matches(o.focusableElements))&&n.activeElement.blur();const w=m&&e.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||w)&&!a.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&e.freeMode&&e.animating&&!i.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function G9(t){const e=Rt(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:s,enabled:c}=n;if(!c||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(r.touchId!==null||a.pointerId!==r.pointerId))return;let l;if(a.type==="touchmove"){if(l=[...a.changedTouches].find(x=>x.identifier===r.touchId),!l||l.identifier!==r.touchId)return}else l=a;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",a);return}const u=l.pageX,f=l.pageY;if(a.preventedByNestedSwiper){i.startX=u,i.startY=f;return}if(!n.allowTouchMove){a.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:u,startY:f,currentX:u,currentY:f}),r.touchStartTime=vr());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(f<i.startY&&n.translate<=n.maxTranslate()||f>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(s&&(u>i.startX&&-n.translate<=n.maxTranslate()||u<i.startX&&-n.translate>=n.minTranslate()))return;if(!s&&(u<i.startX&&n.translate<=n.maxTranslate()||u>i.startX&&n.translate>=n.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(r.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",a),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=u,i.currentY=f;const h=i.currentX-i.startX,d=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(jt(h,2)+jt(d,2))<n.params.threshold)return;if(typeof r.isScrolling=="undefined"){let x;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:h*h+d*d>=25&&(x=Math.atan2(Math.abs(d),Math.abs(h))*180/Math.PI,r.isScrolling=n.isHorizontal()?x>o.touchAngle:90-x>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",a),typeof r.startMoving=="undefined"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||a.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let _=n.isHorizontal()?h:d,m=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(_=Math.abs(_)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),i.diff=_,_*=o.touchRatio,s&&(_=-_,m=-m);const w=n.touchesDirection;n.swipeDirection=_>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!o.cssMode,v=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(g&&v&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(x)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",a)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&w!==n.touchesDirection&&g&&v&&Math.abs(_)>=1){Object.assign(i,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",a),r.isMoved=!0,r.currentTranslate=_+r.startTranslate;let b=!0,y=o.resistanceRatio;if(o.touchReleaseOnEdges&&(y=0),_>0?(g&&v&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(b=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+jt(-n.minTranslate()+r.startTranslate+_,y)))):_<0&&(g&&v&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(b=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-jt(n.maxTranslate()-r.startTranslate-_,y)))),b&&(a.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(_)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Z9(t){const e=this,n=e.touchEventsData;let r=t;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(x=>x.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:s,touches:c,rtlTranslate:a,slidesGrid:l,enabled:u}=e;if(!u||!s.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=vr(),h=f-n.touchStartTime;if(e.allowClick){const x=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(x&&x[0]||r.target,x),e.emit("tap click",r),h<300&&f-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=vr(),wa(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||c.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let d;if(s.followFinger?d=a?e.translate:-e.translate:d=-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}const _=d>=-e.maxTranslate()&&!e.params.loop;let m=0,w=e.slidesSizesGrid[0];for(let x=0;x<l.length;x+=x<s.slidesPerGroupSkip?1:s.slidesPerGroup){const C=x<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof l[x+C]!="undefined"?(_||d>=l[x]&&d<l[x+C])&&(m=x,w=l[x+C]-l[x]):(_||d>=l[x])&&(m=x,w=l[l.length-1]-l[l.length-2])}let g=null,v=null;s.rewind&&(e.isBeginning?v=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(g=0));const b=(d-l[m])/w,y=m<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(h>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?g:m+y):e.slideTo(m)),e.swipeDirection==="prev"&&(b>1-s.longSwipesRatio?e.slideTo(m+y):v!==null&&b<0&&Math.abs(b)>s.longSwipesRatio?e.slideTo(v):e.slideTo(m))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(m+y):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(g!==null?g:m+y),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:m))}}function Ta(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=t,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const c=s&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!c?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!s?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=r,t.params.watchOverflow&&i!==t.snapGrid&&t.checkOverflow()}function Y9(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function K9(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const i=t.maxTranslate()-t.minTranslate();i===0?o=0:o=(t.translate-t.minTranslate())/i,o!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function X9(t){const e=this;yr(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function J9(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const La=(t,e)=>{const n=Rt(),{params:r,el:o,wrapperEl:i,device:s}=t,c=!!r.nested,a=e==="on"?"addEventListener":"removeEventListener",l=e;!o||typeof o=="string"||(n[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:c}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),n[a]("touchmove",t.onTouchMove,{passive:!1,capture:c}),n[a]("pointermove",t.onTouchMove,{passive:!1,capture:c}),n[a]("touchend",t.onTouchEnd,{passive:!0}),n[a]("pointerup",t.onTouchEnd,{passive:!0}),n[a]("pointercancel",t.onTouchEnd,{passive:!0}),n[a]("touchcancel",t.onTouchEnd,{passive:!0}),n[a]("pointerout",t.onTouchEnd,{passive:!0}),n[a]("pointerleave",t.onTouchEnd,{passive:!0}),n[a]("contextmenu",t.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[a]("click",t.onClick,!0),r.cssMode&&i[a]("scroll",t.onScroll),r.updateOnWindowResize?t[l](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ta,!0):t[l]("observerUpdate",Ta,!0),o[a]("load",t.onLoad,{capture:!0}))};function V9(){const t=this,{params:e}=t;t.onTouchStart=W9.bind(t),t.onTouchMove=G9.bind(t),t.onTouchEnd=Z9.bind(t),t.onDocumentTouchStart=J9.bind(t),e.cssMode&&(t.onScroll=K9.bind(t)),t.onClick=Y9.bind(t),t.onLoad=X9.bind(t),La(t,"on")}function e3(){La(this,"off")}var t3={attachEvents:V9,detachEvents:e3};const Pa=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function n3(){const t=this,{realIndex:e,initialized:n,params:r,el:o}=t,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const s=Rt(),c=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",a=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?t.el:s.querySelector(r.breakpointsBase),l=t.getBreakpoint(i,c,a);if(!l||t.currentBreakpoint===l)return;const f=(l in i?i[l]:void 0)||t.originalParams,h=Pa(t,r),d=Pa(t,f),_=t.params.grabCursor,m=f.grabCursor,w=r.enabled;h&&!d?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!h&&d&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),_&&!m?t.unsetGrabCursor():!_&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(C=>{if(typeof f[C]=="undefined")return;const E=r[C]&&r[C].enabled,Q=f[C]&&f[C].enabled;E&&!Q&&t[C].disable(),!E&&Q&&t[C].enable()});const g=f.direction&&f.direction!==r.direction,v=r.loop&&(f.slidesPerView!==r.slidesPerView||g),b=r.loop;g&&n&&t.changeDirection(),Be(t.params,f);const y=t.params.enabled,x=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),w&&!y?t.disable():!w&&y&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",f),n&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&x?(t.loopCreate(e),t.updateSlides()):b&&!x&&t.loopDestroy()),t.emit("breakpoint",f)}function r3(t,e="window",n){if(!t||e==="container"&&!n)return;let r=!1;const o=ke(),i=e==="window"?o.innerHeight:n.clientHeight,s=Object.keys(t).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const a=parseFloat(c.substr(1));return{value:i*a,point:c}}return{value:c,point:c}});s.sort((c,a)=>parseInt(c.value,10)-parseInt(a.value,10));for(let c=0;c<s.length;c+=1){const{point:a,value:l}=s[c];e==="window"?o.matchMedia(`(min-width: ${l}px)`).matches&&(r=a):l<=n.clientWidth&&(r=a)}return r||"max"}var o3={setBreakpoint:n3,getBreakpoint:r3};function i3(t,e){const n=[];return t.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(e+o)}):typeof r=="string"&&n.push(e+r)}),n}function s3(){const t=this,{classNames:e,params:n,rtl:r,el:o,device:i}=t,s=i3(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...s),o.classList.add(...e),t.emitContainerClasses()}function a3(){const t=this,{el:e,classNames:n}=t;!e||typeof e=="string"||(e.classList.remove(...n),t.emitContainerClasses())}var c3={addClasses:s3,removeClasses:a3};function l3(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:r}=n;if(r){const o=t.slides.length-1,i=t.slidesGrid[o]+t.slidesSizesGrid[o]+r*2;t.isLocked=t.size>i}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var u3={checkOverflow:l3},Aa={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function p3(t,e){return function(r={}){const o=Object.keys(r)[0],i=r[o];if(typeof i!="object"||i===null){Be(e,r);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in i)){Be(e,r);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Be(e,r)}}const Uo={eventsEmitter:c9,update:w9,translate:k9,transition:T9,slide:z9,loop:N9,grabCursor:j9,events:t3,breakpoints:o3,checkOverflow:u3,classes:c3},jo={};class je{constructor(...e){let n,r;e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?r=e[0]:[n,r]=e,r||(r={}),r=Be({},r),n&&!r.el&&(r.el=n);const o=Rt();if(r.el&&typeof r.el=="string"&&o.querySelectorAll(r.el).length>1){const a=[];return o.querySelectorAll(r.el).forEach(l=>{const u=Be({},r,{el:l});a.push(new je(u))}),a}const i=this;i.__swiper__=!0,i.support=Ca(),i.device=Qa({userAgent:r.userAgent}),i.browser=ka(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&i.modules.push(...r.modules);const s={};i.modules.forEach(a=>{a({params:r,swiper:i,extendParams:p3(r,s),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const c=Be({},Aa,s);return i.params=Be({},c,jo,r),i.originalParams=Be({},i.params),i.passedParams=Be({},r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(a=>{i.on(a,i.params.on[a])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/jt(2,23))*jt(2,23)},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:n,params:r}=this,o=pt(n,`.${r.slideClass}, swiper-slide`),i=ya(o[0]);return ya(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:n,params:r}=e;e.slides=pt(n,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const r=this;e=Math.min(Math.max(e,0),1);const o=r.minTranslate(),s=(r.maxTranslate()-o)*e+o;r.translateTo(s,typeof n=="undefined"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(r=>{const o=e.getSlideClasses(r);n.push({slideEl:r,classNames:o}),e.emit("_slideClass",r,o)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e="current",n=!1){const r=this,{params:o,slides:i,slidesGrid:s,slidesSizesGrid:c,size:a,activeIndex:l}=r;let u=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=i[l]?Math.ceil(i[l].swiperSlideSize):0,h;for(let d=l+1;d<i.length;d+=1)i[d]&&!h&&(f+=Math.ceil(i[d].swiperSlideSize),u+=1,f>a&&(h=!0));for(let d=l-1;d>=0;d-=1)i[d]&&!h&&(f+=i[d].swiperSlideSize,u+=1,f>a&&(h=!0))}else if(e==="current")for(let f=l+1;f<i.length;f+=1)(n?s[f]+c[f]-s[l]<a:s[f]-s[l]<a)&&(u+=1);else for(let f=l-1;f>=0;f-=1)s[l]-s[f]<a&&(u+=1);return u}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:n,params:r}=e;r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(s=>{s.complete&&yr(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const s=e.rtlTranslate?e.translate*-1:e.translate,c=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const s=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(s.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||o()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n=!0){const r=this,o=r.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(i=>{e==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let r=e||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):pt(r,o())[0];return!s&&n.params.createElements&&(s=Do("div",n.params.wrapperClass),r.append(s),pt(r,`.${n.params.slideClass}`).forEach(c=>{s.append(c)})),Object.assign(n,{el:r,wrapperEl:s,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:s,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||vt(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||vt(r,"direction")==="rtl"),wrongRTL:vt(s,"display")==="-webkit-box"}),!0}init(e){const n=this;if(n.initialized||n.mount(e)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(i=>{i.complete?yr(n,i):i.addEventListener("load",s=>{yr(n,s.target)})}),Ho(n),n.initialized=!0,Ho(n),n.emit("init"),n.emit("afterInit"),n}destroy(e=!0,n=!0){const r=this,{params:o,el:i,wrapperEl:s,slides:c}=r;return typeof r.params=="undefined"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),s&&s.removeAttribute("style"),c&&c.length&&c.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(a=>{r.off(a)}),e!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),Z5(r)),r.destroyed=!0),null}static extendDefaults(e){Be(jo,e)}static get extendedDefaults(){return jo}static get defaults(){return Aa}static installModule(e){je.prototype.__modules__||(je.prototype.__modules__=[]);const n=je.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>je.installModule(n)),je):(je.installModule(e),je)}}Object.keys(Uo).forEach(t=>{Object.keys(Uo[t]).forEach(e=>{je.prototype[e]=Uo[t][e]})}),je.use([s9,a9]),function(){try{if(typeof document!="undefined"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";[class*=pwc-body-locked--]{overflow:hidden!important}.pwc-popup{position:fixed;width:100%;height:100%;top:0;left:0;background:#0006}.pwc-popup__body{position:absolute;width:100%;border-radius:8px;max-height:var(--pwc-popup-body-max-height);overflow:hidden;background:#fff;display:flex;flex-direction:column;z-index:inherit;box-shadow:0 0 20px #00000014}.pwc-popup__body.is-hidden-shadow{box-shadow:none}.pwc-popup__header{display:flex;align-items:center;justify-content:center;padding:0 54px;position:relative;z-index:2;flex-shrink:0;height:66px}.pwc-popup__back{box-sizing:border-box;width:30px;height:30px;display:flex;justify-content:center;align-items:center;background:#0003;border:1px solid rgba(255,255,255,.2);border-radius:50%;position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#fff;font-size:20px;cursor:pointer}.pwc-popup__title{color:#333;font-size:20px;text-align:center}.pwc-popup__header-right{position:absolute;top:50%;transform:translateY(-50%);right:12px;display:flex;align-items:center}.pwc-popup__close{font-size:24px;color:#0009;display:flex;cursor:pointer}.pwc-popup__content{position:relative;z-index:2;flex:1;overflow:hidden;display:flex;flex-direction:column}.pwc-popup__inner{flex:1;overflow-y:auto}.pwc-popup__inner::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-popup__inner::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-popup__inner::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-popup__inner::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-popup__inner::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-popup__inner::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-popup__inner__footer{padding:18px 16px 34px;position:sticky;bottom:0}.pwc-popup__inner__footer:empty{display:none}.pwc-popup__body--bg1{background:linear-gradient(180deg,#fee5e1,#fef9f4)}.pwc-popup__body--bg1:before{content:"";position:absolute;top:-26px;right:-87px;width:176px;height:168px;background:#fdf0d5;filter:blur(80px);pointer-events:none;z-index:1}.pwc-popup__body--bg1 .pwc-popup__content{padding:0 12px 30px}.pwc-popup__body--bg1 .pwc-popup__inner{background:#fff;border-radius:12px}.pwc-popup--hide-modal{background:none;pointer-events:none}.pwc-popup--hide-modal .pwc-popup__body{pointer-events:initial}.pwc-popup--fill-body .pwc-popup__body{height:var(--pwc-popup-body-max-height)}.pwc-popup--mobile:not(.pwc-popup--position-center) .pwc-popup__body{border-radius:16px 16px 0 0}.pwc-popup--position-bottom .pwc-popup__body{--pwc-popup-animation-start: translate(0, 100%);--pwc-popup-animation-end: translate(0, 0);bottom:0;left:0}.pwc-popup--position-left .pwc-popup__body{--pwc-popup-animation-start: translate(-100%, 0);--pwc-popup-animation-end: translate(0, 0);left:0;top:0;height:100%!important;max-height:100%!important}.pwc-popup--position-right .pwc-popup__body{--pwc-popup-animation-start: translate(100%, 0);--pwc-popup-animation-end: translate(0, 0);right:0;top:0;height:100%!important;max-height:100%!important}.pwc-popup--position-center .pwc-popup__body{animation:none!important;top:50%;left:50%;transform:translate(-50%,-50%);max-height:var(--pwc-popup-body-max-height)}.pwc-popup--horizontal-screen .pwc-popup__body{border-radius:0}.pwc-popup--page-fullscreen{width:100vh;height:100vw;top:50%;left:50%;transform:translate(-50%,-50%) rotate(90deg)}.pwc-popup--hide-scrollbar .pwc-popup__body,.pwc-popup--hide-scrollbar .pwc-popup__content,.pwc-popup--hide-scrollbar .pwc-popup__inner{overflow:hidden}.pwc-popup--draggable{position:initial;width:initial;height:initial;top:initial;left:initial}.pwc-popup--draggable .pwc-popup__header{cursor:move}.pwc-popup-slide-transition-enter-active{animation:pwc-popup-slide-transition-in .2s ease-in-out}.pwc-popup-slide-transition-leave-active{animation:pwc-popup-slide-transition-in .15s reverse ease-in-out}@keyframes pwc-popup-slide-transition-in{0%{transform:var(--pwc-popup-animation-start)}to{transform:var(--pwc-popup-animation-end)}}@keyframes loading-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pwc-loading{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.pwc-loading.is-dot-type{gap:0}.pwc-loading__content{display:flex;align-items:center;justify-content:center;animation:loading-animation 1s ease infinite}.pwc-loading__content .polyv-icon{display:flex;--spinner-color: red}.pwc-loading__text{font-size:14px}.pwc-loading.is-directive{position:absolute;width:100%;height:100%;top:0;left:0}.pwc-loading.is-service{position:fixed;width:100%;height:100%;top:0;left:0}.pwc-loading.is-auto-background{background:#ffffff59}.pwc-skin-color-mode--dark .pwc-loading.is-auto-background{background:#00000059}.pwc-skin-color-mode--light .pwc-loading.is-auto-background{background:#ffffff59}.pwc-toast{pointer-events:none}.pwc-toast .pwc-popup__body{pointer-events:none!important}.pwc-toast__wrap{text-align:center}.pwc-toast__text{box-sizing:border-box;display:inline-block;max-width:100%;padding:10px 16px;font-size:14px;line-height:20px;color:#fff;white-space:pre-line;vertical-align:top;background:#000c;border-radius:8px;box-shadow:0 0 30px #00000026}.pwc-toast__text--icon{min-width:100px;min-height:100px;display:inline-flex;align-items:center;justify-content:center;flex-direction:column}.pwc-toast__icon{display:flex;font-size:24px;margin-bottom:10px}.pwc-action-sheet__item{padding:16px 20px;font-size:16px;line-height:22px;color:#000c;text-align:center;cursor:pointer}.pwc-action-sheet__item+.pwc-action-sheet__item{border-top:1px solid #ECEDED}.pwc-action-sheet__item.is-hidden{display:none}.pwc-action-sheet__item.is-disabled{color:#0006;cursor:not-allowed}.pwc-action-sheet__item--cancel{border-top-width:8px!important;padding-bottom:16px}@supports (padding-bottom: env(safe-area-inset-bottom)) or (padding-bottom: constant(safe-area-inset-bottom,16px)){.pwc-action-sheet__item--cancel{padding-bottom:max(constant(safe-area-inset-bottom,16px),16px);padding-bottom:max(env(safe-area-inset-bottom,16px),16px)}}.pwc-bubble-animation{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;position:relative;vertical-align:middle;pointer-events:none}.pwc-bubble-animation__wrap{pointer-events:none;position:relative;z-index:5}.pwc-bubble-animation__canvas{width:100%;height:100%}.pwc-bubble-animation.has-trigger .pwc-bubble-animation__wrap{position:absolute;left:50%;bottom:50%;transform:translate(-50%)}.pwc-bubble-animation.has-trigger.is-appear-be .pwc-bubble-animation__wrap{transform:translate(-100%)}.pwc-bubble-animation.has-trigger.is-appear-bs .pwc-bubble-animation__wrap{transform:translate(0)}.pwc-bubble-animation__trigger{display:flex;align-items:center;justify-content:center;position:relative;z-index:10;cursor:pointer;pointer-events:initial}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.pwc-font-din-pro-regular{font-family:D-DIN-PRO-Regular,sans-serif}.pwc-font-din-pro-medium{font-family:D-DIN-PRO-Medium,sans-serif}.pwc-font-din-pro-bold{font-family:D-DIN-PRO-Bold,sans-serif}.pwc-basic-countdown{display:flex;align-items:center}.pwc-basic-countdown__item{white-space:nowrap}.pwc-button{position:relative;display:inline-flex;padding:0 12px;border-radius:20px;height:40px;border:none;outline:none;cursor:pointer;font-size:16px;justify-content:center;align-items:center;min-width:68px;line-height:1.4;box-sizing:border-box;border:1px solid transparent}.pwc-button.is-disabled{opacity:.6;cursor:not-allowed}.pwc-button.is-block{width:100%;display:flex}.pwc-button.is-square{border-radius:4px}.pwc-button.is-outline{background:none}.pwc-button--type-primary{background:#3082fe;color:#fff}.pwc-button--type-primary.is-outline{border:1px solid #3082FE;color:#3082fe}.pwc-button--type-info{background:#fff;color:#000c;border:1px solid rgba(0,0,0,.1)}.pwc-button--type-info.is-outline{border:1px solid rgba(0,0,0,.1);color:#000c}.pwc-skin-color-mode--dark .pwc-button--type-info.is-outline{border:1px solid rgba(255,255,255,.4);color:#fffc}.pwc-skin-color-mode--light .pwc-button--type-info.is-outline{border:1px solid rgba(0,0,0,.1);color:#000c}.pwc-button--type-danger{background:#ff6264;color:#fff}.pwc-button--type-danger.is-outline{border:1px solid #ff6264;color:#ff6264}.pwc-button--type-multicolour{background:linear-gradient(106deg,#ff5031,#ff9e63 98%);color:#fff;border:none}.pwc-button--type-multicolour.is-outline{border:1px solid #FF5031;color:#ff5031}.pwc-button--type-warning{background:#ffc038;color:#fff}.pwc-button--type-warning.is-outline{border:1px solid #ffa611;color:#ffa611}.pwc-button--size-large{height:48px;border-radius:24px}.pwc-button--size-small{height:32px;border-radius:16px;font-size:14px;min-width:64px}.pwc-button--size-mini{height:28px;border-radius:14px;font-size:14px;min-width:60px}.pwc-form-item{position:relative;display:flex;align-items:flex-start}.pwc-form-item__anchor{position:absolute;top:0;left:0;opacity:0}.pwc-form-item__label__required{color:#ff3636}.pwc-form-item__label{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;padding-right:16px;font-size:14px}.pwc-form-item__content{position:relative;flex-shrink:0}.pwc-form-item__content:not(.pwc-form-item__content--has-width){flex:1}.pwc-form-item--header{flex-direction:column}.pwc-form-item--header .pwc-form-item__label{justify-content:flex-start;width:100%;padding:0;margin-bottom:8px;line-height:1.5;font-size:12px;color:#3339}.pwc-skin-color-mode--dark .pwc-form-item--header .pwc-form-item__label{color:#fff9}.pwc-skin-color-mode--light .pwc-form-item--header .pwc-form-item__label{color:#3339}.pwc-form-item--header .pwc-form-item__content{width:100%}.pwc-form-item__content__error{box-sizing:border-box;width:100%;padding-top:5px;font-size:12px;color:#ff5722}.pwc-form-wrap{display:flex;flex-direction:column;gap:16px}.pwc-input{display:flex}.pwc-input__main{position:relative;box-sizing:border-box;display:flex;flex:1;align-items:center;height:48px;overflow:hidden;border-radius:8px;border:1px solid transparent;padding:0 12px;gap:4px;background:#0000000a;color:#333}.pwc-skin-color-mode--dark .pwc-input__main{background:#ffffff0a;color:#fff}.pwc-skin-color-mode--light .pwc-input__main{background:#0000000a;color:#333}.pwc-input__main .polyv-icon{display:flex;font-size:16px;opacity:.4}.pwc-input__main__input{box-sizing:border-box;display:block;flex:1;height:100%;color:inherit}.pwc-input__main__input__inner{border:none;border-radius:0;outline:none;display:block;width:100%;height:100%;background:none;font-size:14px;box-sizing:border-box;color:inherit}.pwc-input__main__input__inner::-webkit-input-placeholder{color:#9e9e9e}.pwc-input__main__input__inner::placeholder{color:#9e9e9e}.pwc-input__main__input__inner::-webkit-outer-spin-button,.pwc-input__main__input__inner::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0}.pwc-input__main__input__inner[type=number]{appearance:textfield;-moz-appearance:textfield}.pwc-input__main__input__inner[disabled]{opacity:1}.pwc-input__main__input__inner[type=button],.pwc-input__main__input__inner[type=submit],.pwc-input__main__input__inner[type=reset]{appearance:none;-webkit-appearance:none;background:#fff}.pwc-input__main__input__clearabled{display:flex;font-size:20px;cursor:pointer}.pwc-input__main__input__prefix-text,.pwc-input__main__input__suffix-text{font-size:14px;opacity:.4}.pwc-input--textarea .pwc-input__main{height:initial;padding:0;flex-direction:column;align-items:initial}.pwc-input--textarea .pwc-input__main__input__inner{padding:8px 12px 0}.pwc-input--textarea .pwc-input__main__suffix,.pwc-input--textarea .pwc-input__main__prefix{padding:6px 8px;justify-content:flex-end}.pwc-input__main__prefix,.pwc-input__main__suffix{display:flex;align-items:center;gap:4px}.pwc-input__main__prefix:empty,.pwc-input__main__suffix:empty{display:none}.pwc-input.is-disabled .pwc-input__main,.pwc-input.is-disabled .pwc-input__main__input__inner{cursor:not-allowed}.pwc-input--error .pwc-input__main{border:1px solid #FF5252}.pwc-input--size-medium:not(.pwc-input--textarea) .pwc-input__main{height:40px}.pwc-input--size-small:not(.pwc-input--textarea) .pwc-input__main{height:32px}.pwc-message-box .pwc-popup__body{box-shadow:0 0 10px #0000001a;border-radius:12px!important}.pwc-message-box__content{padding-top:32px}.pwc-message-box__message{text-align:center;padding:0 24px;font-size:16px;line-height:22px;margin-bottom:8px}.pwc-message-box__description{text-align:center;padding:0 24px;font-size:14px;line-height:20px;color:#0009;margin-top:12px}.pwc-message-box__input{padding:0 24px;margin-top:16px}.pwc-message-box__btns{padding:24px;display:flex;gap:12px}.pwc-message-box__btn{flex:1}.pwc-popper-arrow{border-color:transparent;border-style:solid}[data-popper-placement^=top]>[data-popper-arrow]{bottom:0;border-top-color:currentColor;transform:translateY(100%)}[data-popper-placement^=bottom]>[data-popper-arrow]{top:0;border-bottom-color:currentColor;transform:translateY(-100%)}[data-popper-placement^=right]>[data-popper-arrow]{left:0;border-right-color:currentColor;transform:translate(-100%)}[data-popper-placement^=left]>[data-popper-arrow]{right:0;border-left-color:currentColor;transform:translate(100%)}.pwc-data-export-entrance{display:inline-flex}.pwc-data-export-entrance__icon{font-size:20px;cursor:pointer;color:#333}.pwc-data-export-entrance__icon .polyv-icon{display:flex}.pwc-skin-color-mode--dark .pwc-data-export-entrance__icon{color:#adadc0}.pwc-skin-color-mode--light .pwc-data-export-entrance__icon{color:#333}.pwc-data-export-entrance__popper{width:250px;box-sizing:border-box;padding:20px;border-radius:4px;color:#333;background:#fff;box-shadow:0 0 10px #0003;display:flex;flex-direction:column;align-items:center}.pwc-data-export-entrance__popper [data-popper-arrow]{color:#fff;border-width:4px}.pwc-data-export-entrance__popper-title{width:100%;font-size:16px;font-weight:700;margin-bottom:6px}.pwc-data-export-entrance__popper-content{width:100%;font-size:14px;margin-bottom:16px}.pwc-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#333}.pwc-skin-color-mode--dark .pwc-empty{color:#fff}.pwc-skin-color-mode--light .pwc-empty{color:#333}.pwc-empty__icon{font-size:40px;display:flex;opacity:.8}.pwc-empty__text{font-size:14px;opacity:.6}.pwc-tooltip-popper{padding:8px;font-size:12px;max-width:500px;border-radius:4px;line-height:20px;position:fixed}.pwc-tooltip-popper [data-popper-arrow]{border-width:4px}.pwc-tooltip-popper--light{background:#fff;box-shadow:0 0 10px #0003;color:#fff}.pwc-tooltip-popper--light>span{color:#1d2129}.pwc-tooltip-popper--dark{background:#0a0a11cc;color:#0a0a11cc}.pwc-tooltip-popper--dark>span{color:#fff}.pwc-tooltip-popper--auto{background:#fff;color:#fff;box-shadow:0 0 10px #0003}.pwc-skin-color-mode--dark .pwc-tooltip-popper--auto{background:#0a0a11cc;color:#0a0a11cc}.pwc-skin-color-mode--light .pwc-tooltip-popper--auto{background:#fff;color:#fff;box-shadow:0 0 10px #0003}.pwc-tooltip-popper--auto>span{color:#1d2129}.pwc-skin-color-mode--dark .pwc-tooltip-popper--auto>span{color:#fff}.pwc-skin-color-mode--light .pwc-tooltip-popper--auto>span{color:#1d2129}.pwc-popper-content{position:fixed}.pwc-tooltip__reference__icon{display:inline-flex;font-size:16px}.pwc-file-icon{display:inline-block;vertical-align:middle;background-size:contain;background-repeat:no-repeat;background-position:center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAFxSURBVGiB7dg/SgNBFMfx33uziwS0E2wnniBH2O0tvEbEwniB4AlMIbH1CCnszRHSWziHEETM5Nko+Ie4sGwm5s37lJtleV9mZhdCAHB6++LfVnEMoALEY6dIIKJFQcVoNuyFprvpI/Zh90J/olCyq5uieSnL692PBQD53KV/YhEZpBgnkarpBgbIb3qKdJp3KieY4l+xYO0sWDsL1s6CtSu2PUDXji8f5fsVCUS8iNGNwqQf1AX/Rl5EPHMc+IunOqMtLZ45jjMKBgBUmQWLzyw4w8+SBWtnwdpZsHYWrJ0Fa2fB2mUX3Povnvuz/S7nWOtk+tzp87JbYQvWrvUZ7vpspZLdCluwdhasXeu39Hm11+Uca93MXzt9XnYrbMHatT7DXZ+tVLJbYQvWzoK1s2DtGKCw7SHSkcAA5tseIxUiXnDJ7krTKpeFW/MLhRjdiGfDXijZ1USYARJSDrcJR4cHcExfrlAA6G61cnWY9MM7PdFXEw6rN7gAAAAASUVORK5CYII=)}.pwc-file-icon--word{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAaOSURBVHic7ZxPaNtWHMe/sp0oqWWRjrgapBupc1kurntJaSGjhZgVdqlzWiGw7jBaNthWAj0OtmMgZAw21tM6MKynOpdBhwMtFBrSU5qLT3bC1rCp9tZUkZMqlqwdHMuSLMm2np219fucZOvpWe/j9+f3fkrMwINLS5vjejC0BOgJgBn3KvuqI5yI7gwPscuMjl9+SjEPulUv43bi0tKfF6pBZBhgpFsf9n/y9okohobY2gsG3ylVfHM7xeyQ1htwO6EH9Z/fFHlN6PiKZXD/akYnbp+jwEtLm+Ov+5Btg0Q3JDoKVIFxkkpfI4glug7hPoJIIhVYw7dEKrCBL4lUoJWOJVKBzXQkkQp0pm2JfSOwWq12eklbEvtG4EGl4ueyBMtgyatA3wiUy2W/l179NKNfdTvZNwJVVcPOC8nXtQyDL93O9Y1AANh5IeFvsYi9vf2O5kQGSFzP6ONO50LdurnXhZeKgpeK0vF1mqaOA9iyv99XPbAXUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGEUIGE+E5nnYsNg2Otf9wlKzrKShWyUkWh5CuFDgAQIkGcmxjGxOiAUW+hdICNpwrEXa3j+sJsAOdjQ4iNDoJjGciKDnFXxWp+31d9ZnwLTJ3mED/Jup4XJRUb2wrSa1LbNxkbHcD190cQH3OvN5srt11nmA0gdZrD5QQHjm0ebNenRzqqz4meJVQFPoQkH0JyMoz0moT0Y+90enLyGK5Njzg21FoujPgYi5t3i56NFiJBfP3hKCaiA23V99mdZygrHT+5647AzLqM1cI+gNq3Hh9jcT42BIGvVT93lkeYDeDWQ+e/ZxQiQczPvGW8FiUVmScyVvP7kA90CJEgUgkOyclwrTwfwsJs1LPRC7NR4/OBWs/N5vaQL1XADTKIn2QxN8VD4EPG1OOHrggslA6wsd1Ik68W9nHrIXBtegSpBAcASCU4FEoHyOb2mq5fmI0ax6KkNvWuglLF4spzZNZlLMxGwbEBCHwIqdOcY8++Nj1iyJOVKr797R/L/ZUVIJvbQza3h7kpHtmc7yd2vV2Fbz3cwaPDngkAc1N8U5n4GGvpKV5Ds1CqIL3WEHY5wSFsG/L13lonvSZZ5NlJP/Y//wFHEMYsrjw3jgU+1LRAXDY19lGh9aq4/ESGfDjcuMPV1Yx5YRMlFctPZN/33g49F1hWqpYeYBdYD1UAGPNoK8zlYqODlnPJ98LGsdN00W2OJJDOFxsxocAHjePw4VzmVM6zPlOMaf9CYqZV12vodosjESjuqsaxEGkI4wYZW7n25iJRapSzB/PmMEj2ubJ2wpEINIcI5knfvgC0G0q4lRMiwbbKdZMjEWjudeZG2RtoF+qGWznSbZkfjkSgucHyQdV0rFvK2XuQG+Z51DycAeuwjUWtC0wvOBKB5pXWGtBWIUqN+bHVtquOeeHI25IW5iSG+XN7Rc8FCpGgJTYr2FZas9D6Vq0VZoH2lXbjaeP1udhwR/fqh54LnE9a97j2BptjtfgY65mJAWq7mfpKK0pqU+xo3pZNRAeQnDzm+97boWcCw2wA8zPHLUKc9q0b24pF6vzMcde5MD7GYu5sYzvoFCiLu5pl+3htegQxj6E8N8Vjfua4d2M86EoyQYg0tmj1bExy8pglJkuvSa47g8Xsv/jhimAkCRZmo0g/lpAvViDuauAGGSQnwxZ5oqS6psgWV55j4qMBCHwIHBvAj1cEZHNlZNZloz6BD2HuLG/cd75Y8bXt64pAc8OcaJUPFHc13LxbtGRazOmtpvKHGRs3ykrVqK++00lOhl3nWKeppV16NoRlpYrMuoyPb//VMpkK1FbPz38VW27nMusyPrvzrGXMV/9SWqWqNrYV3Lxb9P0IwvE/1meWNi8Eg6H7XhfW0lDNc5UoaRAllSiojY0O4HxsGAIfRJgNoKxUkS9VkM3t+dpd1CMBe/hTKFba7nmapl5cuXHqgf1930N4Y1sBtv1e7U2hVCF6KGVH3NWMBGq3oY81CaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCaECCXEUyADEP5H+phFy+N0swOO39D/4/o/NPvg18zbRt37/4t1TTmdchzCjaRd12hOhAzuMxnzidt5V4L0bp7YCmnoGwDJ0fasXN/dqo28BWA5o6pl7N9554FbqP2TPnX3/EQvaAAAAAElFTkSuQmCC)}.pwc-file-icon--excel{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAX1SURBVHic7ZxBSFt3HMe/sTM1Sw5ZQCvN5RWjh6Ul6cHAENTu0Ai9tPEwbEG77TCog4kdjh0KXcsYk2G9WNhppDBlMDsvhb4dphZkkBxmqO5gE/ouKUkDMWU+UxP7soO+50vyXtLk/4+N5v+5GPP7//++9/H3f////xeIASXonxvjmppwD4AbAFeqbb1jabOmmltOLhgA/+8ffbtEa1yDXqB/bqy/qQl/ALDS+mPvEkvbB2huMQIAcgbDtJR+/d3Chdsp0nGbdANN+AXHRF4hhlxu7ISpZfHy4m3i+9MU2D83xuGIT9my5HJuGhL1MpAjGfTIQEGi7hRuGAglMoEAkUQmUKZKiUygmiokMoGFVCiRCdSiAokNIzAn5Srs8HYSG0bgm2y28k65nPtEy8l7pZo0jMCM+Lrartd9K99f1ws2jEBp9w3Sr7aq6mswGL7SizWMQAB4/UrEf/FNZLZ3kJOkt+9oMLgv//0DpxV6j9K1HRl2dzLY3clU3E+SwAEQCt9vqAysBUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIUwgIVTKWR1WOxzW0wCArWwaK9G1t2obEzcRSoSL2liaTeixn4WrzbE3ZiaNSCqK1UQEcTGpOa7cR4YXglXfTyVQEbiVTeOG+wosRhMAYHxxRlMMANzp+QztZhsAYDIwi1AiP+7r6sXIhwPKWIXwQgD+db5IpNlowoTnqqrd4QikMoXjYhLzz5aV30ecXs12Xq5bkRcTk0U3Oez0YlT1j9Aew4Op/lF0WO0UrpwcahXphxtPMNjZB4vRBFebA65WR1EWDjsHlNeTgdm8WI/9LEZU8fmNZfBCEHExCbPRBIf1NHydfXDL0zqbpnXpRFATuJVNY/7ZsiJhwjOEa4/uKnF19vFCAKFEJK9/j/2c8poXAri/upA3dlxMYiW6Bl9XL0Iv9Z+Fhw3VVfjBOo/Y/o21m23wct1KTJ19/nW+qO+p923K69BL7ecnsJfpkVSUxuVSgfo2ZjIwp7yWpRVmn1b2xLcP3pNX36MAdYGhRFjJIDkLL3IeJa6VfQAQ2TzIKi/nwbDOQlRv1GQjrZZ0w31FefD71x/rPrt4IahMfwAYcQ7g10u34OvqxSmzTbNPPVATgeoslLckWtsWNVvZNMaXZvIktpttGHVfweylW5jwDNWlyJod5VYLtjChRLjsyhkXkxhfmgEvBIpiXs6jiLQ06+8TD5uaCDxltsGreu4BewJcreUXh7iYxGRgDlcf3cVkYDYvI+Vxfr74dd1IrInAEadXWXVXVVsSvROKFvH9KX9NQ2S72VY3iwx1gersi4lJ3FQ91+QTSqXIIvnnB1O7MMPfFdQFqrPswfrjvJ/A3gmlWvz/HqzuFqOpLhYVqgI7rPa87JNXXV4IIrx/eig1/coJETP55996eA5SFajOLnXWAcD9fw7OtoOdfUU3P+z0Yqp/NK+mV8jFMwdHw5iYrIsjHbVigpfrhmO/xKS155P3hq42ByxGE3xdvXiwv+H2dfUqRYg7PZ9jJfoUK9GnWE1EIGbSMBtN8HLdGOzsU8bT2uqocbV2lIzHtjepFCSoCVQXCwqzT8a/zmNq/1Qy4hxQylUr0TV4OY/yD+ixn8urzhQSTkXxcONJyeuZuvBlyfhkYBY8BYFUpnC5QqmM+oQCAN907035uJjEF3/+pLnvK2R+Yxk3F2eOVz0wJm4qBdJw6kXJtj8G5+BWTS9Ls0mRwQtB8EIQrtYOuNocaDfblHhkMwpeCOqKEzPpoiJtKVYL6pHVQkVgKBEu+mxDj7iYLDt1QolIUcG1HFvZ9KF9DqKGfaxJCBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNICBNIiLbAEyD+ivRjiKD1pu536X/829hzNMoXcpdH+OuT6TNaAd0pLEm4ALBMBJCSJHyqF9QVuDQ0LUgSzgNYyOmk7zFHALAgSTi/NDS9pNfof91rVH2dSDGIAAAAAElFTkSuQmCC)}.pwc-file-icon--ppt{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAP6SURBVHic7Zw/TBNRHMe/V8CUf8mVgYbJthsmGGRCpoYwueCfkUU0cVFj3NDFGolh0BCjLiYEFtjEsBAHRCZ0ssRGHUxoF4IQE26pVKA9h8fZo9y1vfu9HqX9fRLSP++9X9998n7v/XpNUGCDHouq2G9+BChRAL12/aqe9g4gEEyh0f8CvqYZZTSmyQyvWL2px6Iq9lriUBCS+WEnQnsHEDxrvFoDsleU0YmUrPA+y3f3Wu7VhLzj9AINcX36obSMshYI/bqsD6hCVED5KEuitUBFCckIXsVIk2izAusCKRLrWSAgQWK9CwSIElmgwLVEFpjHlUQWeBTHEmtfYC7rdIQjibUv8GDPzSgVwDt9eixUqmPtC/y7C+y7kaiEgIbpUr1qXyAAbPx0k8oAEC2VyvUh8GAPSH0DtG3nq1HbntZjUdWuuZE6t1NDLgv83hB/zuiF7r8MYMaqsT5WYAVhgURYIBEWSIQFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgURot7P8rUD3Res2bUs8bq4DmXTxON39gL/NPkYmLeI4GVsKbQtIJpyPK4Au8Nr90v0214HVBSC+ZN0+MAyEzxePsXN4wcuz4saowaVbQCBY/pwNkl+BqQfOxxXgTQp3RYTo2y+FdDcEgkDfEHBzAlA75c6PgNw70s9GxWNzmxClBoFz/fk074oAgyPA4hv7GLNPxIo1YhjbRLhHSAwEhcTXd0Vqz08ej9EVESvTYGrseJ9S20qZyBVopNb/FEuItB0Yzl/QwLBIQ7sLyKTFeHOa/vgsVt2dV0JoICgkJRPl7WMS9jo7vEnh1QWxhxmEe5zH0LaB75/yr+0OL4/xrozRTALdnJoA8Mt0ErvdSyXjnUCzNLNMJ6im01bSHkbFG4Fqp9izDHZcCuzuzz+3qws9pvK/C4d7gKumWnFz/egBUQ7+VnF6G/VeJi3quCpArkCzqObDMsa88jJpUaYUY3Dk6Artighx5j2vsJg+QeQK7Buyb9vZAubGS194uMf+lM6khbzVBfdzlIxcgYV7m/EdNr5Ufi1mtT8mE+IE/rJUNYeHgVyBz2/QY8xPVrTwlQ3fziLCAomwQCIskAgLJMICidDKmEwaeGtxQ9Mpy3OA+kE8d/s92czmupx5lQFdoN3vHE5IJgBIrP1kzasMOIWJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQiJ3ANU9nUfX4bH3Y/SfzlQrN5PShI6U8XXQosGn3MXSkKjWnU4UvN1q02epNJbai4cyfC9ARg66nKjKx6kYD9BVkc2Fl/P1KsY7/ALWcHOdGqBvUAAAAAElFTkSuQmCC)}.pwc-file-icon--pdf{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAShSURBVHic7Zw/TBtXHMe/zz4ghKMqXQqdXNVhjeMOjUSVEKkqA1PF0KhLgpSpGZospapElSZd2qGwkKGyhNyhagYUFqQyBUWKlA618GrsFHUxqINRfa6NfeeXwbKx8b2Lz7+zsfHvM3H3/vjx0fu9+907+wQcyMxeDQByBQIhAAGnur2O/kn4SHvvnU1ARMXiDzte9StUBZnZq7MQ5aeAeNurDztL9E8/hDY5UT1cBYa+F4sPjqj9+pQlQq6fF3k23ANKz+T6A/L/ZyuwErr9HbItEPJCoq1AE2aA0mkfQZaoDuHBgSSRBVZoWyILPKEtiSywEdcSWWAzriSyQHtaljgwAmXRdNukJYkDI9DKZNtpFgJKK04VBkZgMZVut+ltuf7tbVXhwAgsG3kU4q/abC2+UpUMjEAAKMRfwdj+C6V//nW7Jobk+jcBuwLNk5H1EeZhBuZhxn07aQUA7J8+P1AzsBOwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCKk7Syh6xiauW5bVj6o7ABbqQSkYTj2MzRzDUIft20vc1lYyT3yeOywkglYqdb6VkEUOI6LS8tvrGclEzjeeILi9pZt+cjCTWihsLJ9+SANMx5DIRqpiaWMp0ohGiEL7EoI+4PTuLi0jPFffoXQddftfZNTGJ6bx1u/PcWFW3c6MML28XRH+r8vPgNQCSUxNg7f5BSGPr5WCyt/cBoXbt1Bfm1V2Ud+baUWskLXoYXCGJq5Dt/kFADUBBaiEcexSCOL3PKSY53yYdsPmmp4KrApvOJAcXsLIwufY/TufQCVcC1EI8p10UruwYzHaselF8+RX1vF6N17GFm4CaAi0dyNNdQ7jTQMx3Kv6EoIH288aZCrXVavdyrya6swd0+E9Eoody2NqRd4+orbKvVhq4XC8AcvkcdFpWsC6y8eTldSJ8x4DFYyUTtuZyZ7TVcE+ian4A9O144pi3f9ulbf51nR8efC2uVwQ25mJRNtz0AADRcfp5RI6Dr0nx8ry/OPV1pO0J3wVGC9KKHr8L3bOPOkkUXuO+fUwg1iTL2WCn3cMTl3ausGTwUOz80ry8oHaeSWvybNvtPInPM3rrz8LBUdzQOlkYWV2kPxjy3PcrJqQl3pX32PXT5I1xL7TtKRO5FO4v/gJHWpzwvPir7azvIHLzWsqVYq4VC7O/SVwLGHP9X+NndjnlxFqfTF19uErmP0y/sN69/xxu9nOKITek5g/e1ZdTdmeG6+4favEI2g9OL5WQyviZ4TWN21UVGIRt64ldVNek6gHdLIori91bSr0wuQBEoji/9/fEQeRCEagW97qul8+SCN8mG6ZWn145FGWz9rcA1RoKF8zuEGMx4D4uRuPBuPG/oqjelFWCARFkiEBRJhgURYIBEWSIQFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgURYIBEWSIQFEmGBRFggERZIxFagBkF+Rfp5Q4O2b3de/S79Gx/9jfP/NvNW2Z949uf7dgXqEJbiBiB5JkIeQYpFValS4MTOy31I3xVIbMLmtW8DwD4kNiF9VyZ2Xu6oKr0GxKScUI/Ds5UAAAAASUVORK5CYII=)}.pwc-file-icon--txt{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAARlSURBVHic7ZxPaNtWHMe/9pLUcQ/KIW2zgSMPUkogdRIWAiUQtpXCGHQwRg89DJrTTmO7jR5a0vYQdupgp57CloNLx1jopYPBVlx6CQ0lrkdZE1hkw7IthkltKmQ7lnqwrcqJ5D/62fNL/PucIr/39KQP3ye/92IUQA3mF+LRN4J9Ny1gIgBEa9UVnaGhYbW/P7xsFc3vPr14+n6rzhvwKrix8MO7CAZ/AjDQqs46ydDQMEL9YQCAFQh8U9zJXZubm1Sp5w16FVjB4CIOiby9BCzry56jfb8tLj4m35+rwPmFePSgD9kGmGiFRI8E9kQpJz1AkCV6DuEugiSRBZbwLZEFvsaXRBZYTdMSWeB+mpLIAt1pWGLXCDTNYrNNGpLYNQLz+ZyfZhO9R/tu1qrQNQJ3djRf7Szg0vd3fr/kVd41And3C1D/y/pqGwC+8CrrGoEAoKpZ/L2Vhv7yRbPPxInF+OOoW0FPS67sAGEYOgxDb7pd0TSjADb3ft5VCWwHLJAICyTCAomwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAIeTtLksKQI4O+2j5b38KJ4xIkqfSrqVyugD/Wtzzrnzr5Jo4c6QUAaJoO9blO6tvIFXy1dUIWKEcG8dGHU77aLsUTAFDVfimegJLZv3MsSWGce38cA2XZ3976mdy3Wz/N0vEhrGSyUNLb9vHszKhrvfEx2Za3llKgac1virYDcgKVTNZOkpPpqRGcOvkWgNINJ58o++r882/pHz13763i888+AADIw8cgRwar0iFJYcTGZPs48fBpy/qmQhaoabprGmKn5ao6tYaLpulIPHxqp292ZhRLtx/Y5V7pa0XfVDo+hCusPNqAYZQe6pUUAtXpU8uiRUIYgUaugJXVDfu4kkY5csxOX1KgZ18FYQQCpRSqZUGVFFZEipg+QDCBRq5QJenCx2fs9IkoDxBMIFAappVpTShUmjSrmo5kav83qQgIJxAA1OfVz7ln63916ErqI5xASQpj3DHnA4DYmIxQeQknGsIJdK5E1soT4FCoF+fOxjp1STURSqAcGbTTt5ZS8MuvSXtuOD4m+944aCdCCTzv2BhYebThOTcUCWEExhzLNSW9ba9VvVYooiCMQGe67t5btf/em8LzPrev2oUQAmdnRmtuVTlXKANSWKih3HGBXltVTvauUKbfGRFmWtNxgfXSVyGZUuwUhkK9mJ4a+d+usRZt+4lv8snrJVmtzUslvW3Xq7dvt3Q70dCXSKN9t4K2CVQyWSBTv14ylW74nJqmI6nVr99o362g40P4oMMCibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQCAskwgKJsEAiLJAICyTCAomwQCLuAk2L/Ir0w8fuptunnu/Sv/71j392wdvMG8ICNq9+9cnbbmWeQ9g08+8B4CQCasA057wKPQXOX764WTTzkwCWLZfXvh12yve8XDTzk1cuX7jvVe8VW0O450BbpSoAAAAASUVORK5CYII=)}.pwc-file-icon--zip{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAARySURBVHic7ZwxUNtWGMf/kjFxREzTw556ENOFK13wXZgYQu8yZSAdkh5bXLZ2aRmajiljc9dzp4w0TM213BUyeCF3NYMnD57qq4ceTkmH1KYQiITt2lIGDkXEkrH8vWfA/n6LLT+996yf3vfek55OClqQmN+KqeZgEsAUgFirfc874x+F98LDwTXLxMriN5fTospVvBISd7ZnVUX9DQquiqrsLPlwMowrw8GjDUX50cKlpcVFZY9aruqZoKo/9Yq8Jizra8Wq/p5MWuTjcxWY+HQrhgsesqdjTYmQ6N4CBwZilEIvDnSJniHcP9AkskAAFIks0KYziSzwBP4lssAm/Elkga60L7FvBDbqls8c7UnsG4EVo9FBLmtKQSXZao++EbhbqnaW0UIi+cPrhFdy3wisVU28fHHYUV5FUb/ySusbgQDw8sUh/srv49V/NZ99ojKVTB7G3FIGxPy1i4O+X4e+/9p3PtM0YwCK7/7eVy1QBiyQCAskwgKJsEAiLJAICyTCAomwQCIskAgLJMICibBAIiyQiPDbWaOxIMau+Ss2l63CMEx7Oz4dgqYprmkAMDE5iEg00FSOYVgwdBOGbmH7+f8d/Hv/CBcYvx7C7bthX3keLpVRyNfs7fl7w4hEB1zTAGDmhoaZWa1lmYZuIpetYH31ADulTtZD2qNnQ1gbUjEzq+G776OIT4ek1SO8BWY2DRTyrRdw5u+9h7HY0cOOmbTR1ML8sJHSsZE6usMciQagDamIXw9h4uNL9vbCF1fx7R//NnUFIhAucKfUaBkyMzc0W1651MD66gGpPkM37fqOP3PZCkaiAdx/ELEl3rw1hKfEutzoagiPRAOYc/SPT3+V1z/tlBp4lnq79nF80kTTVYG374Tt0TOTNpDZNKTWV3acnMua5+PgJLom0DlyigjddnCb6oimKwK7GbpORq+9Ddvt53UpdXRlXdgZurlsRXroapqKubtXTswVN1L+14LbQbrAiclB+0AM3cTPK6+Elh+fDp0I1dFY0B55j1mX2OKlCtQ0FQtfvm9vy7gqGIsFPUdYQzexvnqAZyldaJ1OpAq8eWvIbh3lUkPKgRi62TRB3i7WUchXkUkfSpk8O5EmcCQaOHFN/HCpLKWejZQuZYLcLtJG4fsPIvZ3mX3QWSNF4Jxj1C2XGmfaQmQjXGC3Qve8ILwPdIZuLltBJBo49YqgfMoNiPOMUIHvzsni06G27sUtP9pFZrOzx2/PGqEhrEm6YD/PCG2Bf+ZrWH6021E+J09W9u2TUXYJbedN278lXeO2i1CBO6WGkFDMZSst0wv5GgrkWsTQs2si3YIFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgURYIBEWSIQFEmGBRFggERZIhAUSYYFEWCARFkiEBRJhgUTcBSr0V6T3HPV60e1nz2cxFj77Zws9/zbztiku//LBuFuCZwibau0TWOCWaGHPNM3PvZI9BT5+Ml40A7U4gDXL5bVvfUARwJoZqMUfr46mvXZ6A8MmpnusItEoAAAAAElFTkSuQmCC)}.pwc-data-export-record__item{width:100%}.pwc-data-export-record__item__top{font-size:14px;color:#333;display:flex;justify-content:space-between;margin-bottom:4px}.pwc-data-export-record__item__name{font-size:16px;color:#333;margin-bottom:12px}.pwc-data-export-record__item__name span{vertical-align:middle}.pwc-data-export-record__item__icon{margin-right:10px}.pwc-data-export-record__item__progress{background:#e8e8e8;height:4px;width:100%;border-radius:6px;overflow:hidden;position:relative;margin-bottom:8px}.pwc-data-export-record__item__progress span{position:absolute;left:0;top:0;display:inline-block;height:100%;border-radius:6px;background:#3f76fc}.pwc-data-export-record__item__bottom{display:flex;justify-content:space-between;font-size:14px}.pwc-data-export-record__item__bottom>span:first-child{color:#969ba5}.pwc-data-export-record__item__bottom>span:first-child.is-error{color:#ff3636}.pwc-data-export-record__item__download{cursor:pointer;color:#3f76fc;display:flex;align-items:center;gap:2px}.pwc-data-export-record__item__download span{font-size:18px;display:flex}.pwc-data-export-record__header{justify-content:flex-start!important;padding:0 24px!important}.pwc-data-export-record__title{position:relative;font-weight:700;display:flex;align-items:center;gap:8px;font-size:16px}.pwc-data-export-record__title__icon{display:flex;font-size:16px}.pwc-data-export-record__title__clear{cursor:pointer;color:#3f76fc;font-size:14px;font-weight:400}.pwc-data-export-record__content{padding:0 24px 24px;display:flex;flex-direction:column;gap:24px;max-height:60vh;overflow-y:auto}.pwc-data-export-record__content::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-data-export-record__content::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-data-export-record__content::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-data-export-record__content::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-data-export-record__content::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-data-export-record__content::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-data-export-record__empty{width:100%;height:200px}.pwc-normal-pendant{width:36px;height:36px;border-radius:4px;background-color:#0000000f;position:relative;cursor:pointer}.pwc-normal-pendant__icon{width:100%;height:100%;background-size:100% 100%;background-repeat:no-repeat}.pwc-normal-pendant__text{position:absolute;bottom:2px;left:50%;transform:translate(-50%);height:12px;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:6px;min-width:32px;box-sizing:border-box;padding:0 2px;background:#fff5f7;color:#ff5252;white-space:nowrap}.pwc-normal-pendant__text span{font-size:12px;zoom:.66}.pwc-area-picker__popup{flex:1;overflow:hidden;display:flex;flex-direction:column}.pwc-area-picker__popup__tabs{height:58px;display:flex}.pwc-area-picker__popup__tab-item{flex:1;display:flex;align-items:center;justify-content:center;font-size:16px;color:#333;cursor:pointer;position:relative;white-space:nowrap}.pwc-area-picker__popup__tab-item.is-active{color:#3f76fc}.pwc-area-picker__popup__tab-item.is-active:after{content:"";height:2px;width:35px;background:#3f76fc;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.pwc-area-picker__popup__list{flex:1;overflow:auto}.pwc-skin-color-mode--dark .pwc-area-picker__popup__list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--dark .pwc-area-picker__popup__list::-webkit-scrollbar-thumb{background-color:#ffffff29;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--dark .pwc-area-picker__popup__list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--dark .pwc-area-picker__popup__list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--dark .pwc-area-picker__popup__list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--dark .pwc-area-picker__popup__list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-skin-color-mode--light .pwc-area-picker__popup__list::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}.pwc-skin-color-mode--light .pwc-area-picker__popup__list::-webkit-scrollbar-thumb{background-color:#00000029;border-color:transparent;transition:background-color .2s ease}.pwc-skin-color-mode--light .pwc-area-picker__popup__list::-webkit-scrollbar-thumb:hover{background-color:#9e9e9ecc}.pwc-skin-color-mode--light .pwc-area-picker__popup__list::-webkit-scrollbar-thumb:active{background-color:#9e9e9ee6}.pwc-skin-color-mode--light .pwc-area-picker__popup__list::-webkit-scrollbar-track{background-color:transparent;border-left:1px solid transparent}.pwc-skin-color-mode--light .pwc-area-picker__popup__list::-webkit-scrollbar-track-piece{background-color:transparent!important;background:transparent!important}.pwc-area-picker__popup__list__item{height:44px;line-height:44px;padding-left:33px;padding-right:16px;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;color:#333}.pwc-area-picker__popup__list__item:nth-child(odd){background:#fafafa}.pwc-area-picker__popup__list__item.is-selected{color:#3f76fc}.pwc-area-picker__popup__list__item span{display:flex}.pwc-area-picker__body,.pwc-area-picker__body input{cursor:pointer}.pwc-area-picker.is-disabled .pwc-area-picker__body,.pwc-area-picker.is-disabled .pwc-area-picker__body input{cursor:not-allowed}.pwc-area-picker__header{box-sizing:border-box;display:flex;flex-shrink:0;width:100%;height:50px;padding:0 16px;font-size:16px;line-height:50px}.pwc-area-picker__header__cancel{color:#9195a1;cursor:pointer}.pwc-area-picker__header__confirm{color:#3082fe;cursor:pointer}.pwc-area-picker__header__confirm.pwc-area-picker__header__confirm--disabled{color:#9e9e9e}.pwc-area-picker__header__placeholder{flex:1;overflow:hidden;font-size:16px;text-align:center;color:#333}.pwc-area-picker__popup{height:100%;display:flex;flex-direction:column}.pwc-area-picker__popup__content{flex:1;overflow:hidden}.pwc-area-picker__popup__content .plv-area-picker__list__item{cursor:pointer}.pwc-checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer;box-sizing:border-box}.pwc-checkbox__inner{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:16px;height:16px;overflow:hidden;border-radius:2px;background:#fff;border:1px solid rgba(0,0,0,.2)}.pwc-skin-color-mode--dark .pwc-checkbox__inner{background:none;border:1px solid rgba(229,229,229,.4)}.pwc-skin-color-mode--light .pwc-checkbox__inner{background:#fff;border:1px solid rgba(0,0,0,.2)}.pwc-checkbox__inner__circle{border-radius:50%}.pwc-checkbox__inner__icon{display:flex;align-items:center;justify-content:center;font-size:14px!important;color:#fff}.pwc-checkbox__content{font-size:14px;line-height:20px;word-break:break-word;color:#000c}.pwc-skin-color-mode--dark .pwc-checkbox__content{color:#fffc}.pwc-skin-color-mode--light .pwc-checkbox__content{color:#000c}.pwc-checkbox.is-disabled{cursor:not-allowed}.pwc-checkbox.is-disabled .pwc-checkbox__inner,.pwc-checkbox.is-disabled .pwc-checkbox__content{opacity:.6}.pwc-checkbox.is-checked .pwc-checkbox__inner{background:#3f76fc;border:none}.pwc-checkbox.is-show-background{display:flex;width:100%;padding:10px 16px;border-radius:4px;background:#00000008}.pwc-skin-color-mode--dark .pwc-checkbox.is-show-background{background:#ffffff08}.pwc-skin-color-mode--light .pwc-checkbox.is-show-background{background:#00000008}.pwc-checkbox-group{display:flex;flex-wrap:wrap;gap:8px 16px}.pwc-protocol{position:relative}.pwc-protocol__content{font-size:14px}.pwc-protocol__content a{font-style:normal;color:#3f76fc;text-decoration:none;cursor:pointer}.pwc-protocol__content p{padding:0;margin:0}.pwc-radio{display:flex;align-items:center;gap:8px;cursor:pointer;box-sizing:border-box}.pwc-radio__round{width:16px;height:16px;border-radius:50%;flex-shrink:0;box-sizing:border-box;background:#fff;border:1px solid rgba(0,0,0,.2)}.pwc-skin-color-mode--dark .pwc-radio__round{background:none;border:1px solid rgba(229,229,229,.4)}.pwc-skin-color-mode--light .pwc-radio__round{background:#fff;border:1px solid rgba(0,0,0,.2)}.pwc-radio__content{flex:1;font-size:14px;word-break:break-word;line-height:20px;color:#000c}.pwc-skin-color-mode--dark .pwc-radio__content{color:#fffc}.pwc-skin-color-mode--light .pwc-radio__content{color:#000c}.pwc-radio.is-disabled{cursor:not-allowed}.pwc-radio.is-disabled .pwc-radio__round,.pwc-radio.is-disabled .pwc-radio__content{opacity:.6}.pwc-radio.is-active .pwc-radio__round{border-color:#3f76fc;border-width:4px;background:#fff}.pwc-radio.is-show-background{padding:10px 16px;border-radius:4px;width:100%;background:#00000008}.pwc-skin-color-mode--dark .pwc-radio.is-show-background{background:#ffffff08}.pwc-skin-color-mode--light .pwc-radio.is-show-background{background:#00000008}.pwc-radio-group{display:flex;flex-wrap:wrap;gap:8px 16px}.pwc-switch{display:inline-block;width:36px;height:20px;border-radius:10px;position:relative;cursor:pointer;background:#bec2ca}.pwc-skin-color-mode--dark .pwc-switch{background:#4e5969}.pwc-skin-color-mode--light .pwc-switch{background:#bec2ca}.pwc-switch__inner{width:16px;height:16px;border-radius:50%;background:#fff;transition:.35s;position:absolute;left:2px;top:50%;transform:translateY(-50%)}.pwc-switch.is-opened{background:#3f76fc}.pwc-switch.is-opened .pwc-switch__inner{left:calc(100% - 18px)}.pwc-switch.is-disabled{opacity:.6;cursor:not-allowed}.pwc-switch.is-size-medium{width:28px;height:16px}.pwc-switch.is-size-medium .pwc-switch__inner{width:12px;height:12px}.pwc-switch.is-size-medium.is-opened .pwc-switch__inner{left:calc(100% - 14px)}.pwc-switch.is-size-mini{width:20px;height:10px}.pwc-switch.is-size-mini .pwc-switch__inner{width:8px;height:8px;left:1px}.pwc-switch.is-size-mini.is-opened .pwc-switch__inner{left:calc(100% - 9px)}.pwc-reward-receive-popup__deadline{height:400px;display:flex;flex-direction:column;justify-content:center;align-items:center}.pwc-reward-receive-popup__deadline__icon{font-size:60px;color:#0009;display:flex}.pwc-reward-receive-popup__deadlin__tips{color:#999;font-size:14px;margin-top:8px;line-height:18px}.pwc-reward-receive-popup__form__over-tips{background:#fff5ec;border-radius:8px;padding:8px 16px;line-height:18px;font-size:12px;color:#0009;margin-bottom:8px}.pwc-reward-receive-popup__form__over-tips span{color:#ff9f45}.pwc-reward-receive-popup__form{padding:16px 16px 0}.pwc-reward-receive-popup__submit{padding:12px 0 18px;position:sticky;bottom:0;background:#fff}.pwc-reward-receive-popup__qrcode{height:362px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center}.pwc-reward-receive-popup__qrcode__inner{width:214px;height:214px;background-size:100% 100%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.1);border-radius:8px;overflow:hidden}.pwc-reward-receive-popup__qrcode__inner img{width:194px;height:194px}.pwc-reward-receive-popup__qrcode__tips{margin-top:12px;font-size:16px;color:#0009;text-align:center;padding:0 24px;line-height:24px}.pwc-category-select-item{padding:2px 12px;border-radius:4px;line-height:18px;font-size:12px;cursor:pointer;color:#0009}.pwc-skin-color-mode--dark .pwc-category-select-item{color:#e5e6eb99}.pwc-skin-color-mode--light .pwc-category-select-item{color:#0009}.pwc-category-select-item.is-active{background:#fff;color:#3f76fc}.pwc-skin-color-mode--dark .pwc-category-select-item.is-active{background:#ffffff0f;color:#e5e6ebe6}.pwc-skin-color-mode--light .pwc-category-select-item.is-active{background:#fff;color:#3f76fc}.pwc-category-select{display:inline-flex;padding:3px;border-radius:6px;background:#0000000f}.pwc-skin-color-mode--dark .pwc-category-select{background:#ffffff0f}.pwc-skin-color-mode--light .pwc-category-select{background:#0000000f}.pwc-dropdown__reference{display:inline-flex;cursor:pointer;align-items:center;gap:4px}.pwc-dropdown__reference__icon{display:flex;transition:transform .3s ease-in-out}.pwc-dropdown.is-disabled .pwc-dropdown__reference{cursor:not-allowed;opacity:.6}.pwc-dropdown.is-popper-show .pwc-dropdown__reference__icon{transform:rotate(180deg)}.pwc-dropdown__popper{box-shadow:0 0 10px #0000001a;width:160px;padding:8px;box-sizing:border-box;background:#fff;border-radius:8px;color:#000c;font-size:14px;text-align:center}.pwc-dropdown-item{height:44px;line-height:44px;text-align:centere;cursor:pointer;border-radius:6px}.pwc-dropdown-item:not(.is-disabled):hover{background:#0000000f}.pwc-dropdown-item.is-disabled{cursor:not-allowed;opacity:.6}.pwc-image-preview__controller{position:absolute;bottom:100px;left:50%;transform:translate(-50%);z-index:200;height:40px;padding:0 8px;border-radius:2px;background:#2a2b32;display:flex;align-items:center;gap:8px}.pwc-image-preview__controller.is-mobile{bottom:initial;top:21px;background:none;pointer-events:none;padding:0;height:initial;text-shadow:0 0 2px rgba(29,33,41,.4)}.pwc-image-preview__controller__icon{display:flex;width:24px;height:24px;font-size:24px;color:#fff;cursor:pointer}.pwc-image-preview__controller__icon.is-disabled{color:#ffffff4d!important;cursor:not-allowed}.pwc-image-preview__controller__scale,.pwc-image-preview__controller__index{font-size:12px;color:#ffffffde;user-select:none;white-space:nowrap;min-width:30px;text-align:center}.pwc-image-preview__controller__scale:hover{cursor:pointer;color:#5c9dff}.pwc-image-preview__controller__line{height:12px;width:1px;box-sizing:border-box;background:#fff3}.pwc-fade-enter-active{animation:pwc-fade-in .3s}.pwc-fade-leave-active{animation:pwc-fade-in .35s reverse}@keyframes pwc-fade-in{0%{opacity:0}to{opacity:1}}.pwc-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;touch-action:none;font-size:0;position:relative}.pwc-zoom-container>*{user-select:none;-webkit-touch-callout:none}.pwc-zoom-container__scale-toast{background:#000c;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:36px;line-height:36px;padding:0 10px;white-space:nowrap;color:#d9d9d9;border-radius:18px;font-size:16px;z-index:200;text-align:center;box-sizing:border-box;min-width:70px;pointer-events:none;user-select:none}.pwc-image-preview__image-zoom{width:100%;height:100%;position:relative}.pwc-image-preview__image-zoom__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#3082fe}.pwc-image-preview__image-zoom__error{width:260px;height:120px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAABcCAYAAADpn75PAAALu0lEQVR4Xu2de4xcVR3Hf99zZ2dxl2LDS1NtgSCKXcGIlT7YueOW3bmzMxNQE4yiQaIlkYCGVowJIok0QKLSouERkqIYxEckQczMdmbpdpnZLVUpMYJTeTSUQF0tsqXQB7A7c3/mznab7XR277mvmZ3Zc/+9v9/v/M73fGbuOeeecy5IXUqBBiqABpatilYKkAJQQdBQBRSADZVfFa4AVAw0VAEFYEPlV4UrABUDDVVAAdhQ+VXhDQcwu320qzRprgNTjMHLiOlU1SwBKgA6DMZrDBoMtYkt8bXdxQBLsw3dMACLxWL41dcPbGLi64lY2GaqDAJQACYID5y79PQNXV1dEwEUYBuyIQBW4Ns3vpWZ19pmqAwCVwDA9nM/ekZ/IyBsCICZ7Mi9TOYNgSurCpBWACTuS8YjN0o7+GRYdwArfb4J8zn12PWpBX0LAzMUFhfXu09YdwDTucJmYr7JN91UIP8UAO5JGfp6/wLaR6o7gJlsocjEy+1TUxb1VgCE3cm43lXPcusOYDqXP6SmWurZxA7KAh1OGdFFDjw8m9YfwGyePWetAgSmQCoerSsTdS3MUi2tAAwMHj8CKwD9UFHFcK2AAtC1dMrRDwUUgH6oqGK4VkAB6Fo65eiHAgpAP1Q8IQaKgmgLhWjwA9oZr1m33i2PL6MSxUyidURc13kv36vnc0AFoG+CYgKCNyT69AcAmLXCMrMYeLJwPZvYRMRh34pu4kAKQF8aDxMC3J8wottlwg3k8mtNxlYFIZECUIYYGxsIujEZi97nJFRmMH8Dm3SvE59WtFUAem5VFJNG5OLZHruzhbcex5nciLVKZ0H3CRWAHgEUhPWJuH6PmzAD2cJNJvFmN76t4qMA9NiSIoSuRK++202YgW2F5WaJG7pHwk3efvooAD2q2dl+5qKenq7DbsIMDxdPPfL+m4fc+LaKjwLQY0sqAL0JqAD0ph+pR7A3ARWA3vQjNQjxJqAC0Jt+RKSmYbxIqAD0ot4xXzUR7V5EBaB77WZ4qldxbmVUALpV7iQ/tRjBjZQKQDeqzemjlmM5kVQB6EQtZeu7AgpA3yVVAZ0ooAB0olYT2lqHADE4TMzXzcf0FYDzsVV8ywnbOtsj/WefvVu8um+8wMwrfQttFwh4DUQ7CdgJNp+HhjdZCx9Y3G6OHzzrLFN75Y0PMuO0eHzNHrtQft5XG9P9VHOOWCC81NG+aGVPz2cOWmZDQ09/5N3S5LPE9KHAUgD2EtPDbeBHDCO6N7ByPARWAHoQT94VbyGEVcneyEszfbLbRiPlsjnEzG3ysewtARpm1jYmjcueAjCvj0JRANq3pycLgEqsif5Ub2RbrUDpXOE7xPwLT4Ucd0aRNPpBqk/P+BMv+CgKwKA1hrghZUTun6uYTC7/a2a6xkMqZSHw4/6+yJ0Ayh7i1N1VARig5LLH3g4P7z3lyPuv7yDiSxynA4wJ0NWJmJ6387VOpzVL5pUm03IQLyHGEiZaYvmBaIzAY0yVeLtFSDxRj9NSFYB2reb6/tSIt6cHJZkQmaEd5/BkaRcRnSljfwyav4cQihvGZW/M5lPZZmDyN4npSmL6mGzsih1oD4GeEAK/dLvNwa68BQcgIB5k4lOI+Rt24ri9b414uROrUpHIW05ibB0sXF42OUdEmp0fQLu4Q8RmK2NwcHTJJPPtzOa1MvFsyisD4uE24LZYrHvMLjcn9xcYgBj98Jkd1qch2va/efSZYI4Krj3ilW2UdC5/MzH9dC57ED0T1jr7+vpWvF1tNzzMoSPvj9xGRN8j4g7ZcuXscJSI7u5sj9wu+89uF3fBAAiife2h9hW9vav2W6JM7YCjZ/xsJLsRr11jTN/PZPN/YKIv17IH0X+1DlwS1/X/VN/PZp8+vYzSH4P+/or1XRGNQ1fF42sOyNZpNrsFASBA7xG0SDLWbfWxjl+ZwcK1bPKvvIp43F9ixCtTVi73j84SHdzJTBdV2Vuj3ctrDTjST+78JJkTf3bcz5NJqPYvYQ+J8BWpvtX/chvC8lsYAApxTTIWeaSWUOlc4WE/+oMA3Z80or59fGdgaMf5Zqm0i5gWT+cN4Jakod9VXY9j8D0909YLFNK+oIMkwmu8QNjyAALYnDT0DbOJumvXrg7v/UFnI17ZBh7IjfabbKYrH/UBvdAZ1i+q7ntZj90SJv9at3++6uRBe0LcttLt47jFAcRQ0ogYdpOzXvqDbke8shBmcvlbmWmjJrRkf6x7YKafNeA4OjGSC7rPZ5er1SfsCEcMNwOT1gUQ2Bvi0ArZX6a7/qC3Ea9dw1r3mRkDT45+NxmL/PykR2+2cDsR/0gmTrWNpiFuslYZkJ1wmeU/MfE5zmNiYyquW6NvR1dLAgjQERJtq5N9a553ooaT/qBfI14n+c20teb5JkzzZbejeNHevjTRs2pfdfmZbOFFJv6487xwNCzEBU7nCVsSQAFclTD0x5yK6Kg/6NOI12mO0/aZ3MgWZvNbbv39B5AIEA8ljcg6Jzm1HIACdEfCiN7qRISZtjL9Qb9HvE5zPXaK13Ne3nAEASARlUUIFzt5bddSAAJIJ2KRK50eTnnSY2jO+cFgRrxOIEwP5n9GpvWmw/0VEIBEgu5OxaI3y2bWMgCC8CIWhy9NrFr1jmzl57Kr1R8MesQrm3c6l3/Z67RLYACC9qSM6AWydWkJAAF6W7RpK/vXdr8oW3E7u5P7g8GPeO1ysu5PffC7/E8Z27lsAgOQiEJh7VOyS7laAECYpNEVQawCnu4PAhyea1WzVxic+A8MFm4xTb7DiU8t2yABFAI/TMT0O2VybHoAnVRWRpCa/UFGh92qZjex3fhkcvlHmelqN74zfYIEEKDfJo3o12RybG4AgcdShn6VTEVbxSadLQwT8ee91idIAInwVCqu98jk2LQAAvR8iBavNoxPH5GpaKvYuJ8oPlGBIAG0BmvJuP4JGc2bE0DQeBvR5+brXlcZ4d3apHP5Q8R0qlv/ab8gASTQ4ZQRXSSTYzMCWNYEjP6YPiRTwVazSWcL7xCxVOM2ahRMhEOpuH6ajPZNByCADUlDX7Afk8lkCy8wsdTjrVEAWnOyybh+YcsBCMIjybjuZf+sjCbz2iaTy29nJqkO/lwVCRFWmu3hkzYYmRMTBWI+z4sI1skMSSNq7b2xvZrmH9DaBdYRXhbp6TnvPdtatbBBOlf4DTFLTXE0TAbg0ZShf12m/OYAELRfhNtX1Fo+JFPJVrLxayI6SE2czM3OewABTAoh1vb3dY8GKVqzxPbrVVyQ9W2pV3EQ9O1kLPpgkII1W2w/FiMQwQTwE4TEFqv+Zrl0HZn4fmX/iZdrIS5G8KLXfPfVwtqF1Yss/FiORcA9KUNfP7P+6VxhMzHf5EmThbocy5No89gZwF1JQ79lZop+LEgliBUpI/LsiQCOfJbYPGHvtENpFvaCVIdiNYc56N/JmL6sepGt5yX5At2JmL7jBLAHC5eZJrvua6sl+c2BlOMsrR1s/X26dWjR8cvrpiQCfp8y9K9WPYJ/R8xfcZxgxUFtSnKnW1N4YSgV13urU0172JY5xQw9rkGrDELKXF5HTF90L4faluleuybw1IT4Un8s8vjMVNXGdBcN59dqDhdFN7cLsLczvHR59ZugyolYVPobE5/fkAo229EcmWyhGMy5fA2Rv66FCoHbEjF940mP4qmTsdThRDKt4ctck0xBLWhjvRUCqE8dz+ahcadeJZnPeZ5x95BDU7uCxkkTl6Z6I69U10MdUCnZspnsyL1Mpm9n6UkW2zJmIOzG4vDqWnug1RG9Es1cLBbDr+4b39roY8UkUp3PJiMhavvCbKd/qUPKbZquAuHrBzYx8fXqceyOc2vlMYeQqPU4no6oPtNgo22lTzhprgNTjMHL/Nhw4645m9MLhP9BE1ck+rr/YleD6Q/VMHMXM5aAaAmDpz5UwxhjojGAxwAUW/ZDNXYiqfsLS4G6L0hdWPKq2topoAC0U0jdD1QBBWCg8qrgdgr8H9NXu6jnpBQcAAAAAElFTkSuQmCC);background-size:contain;background-repeat:no-repeat;background-position:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pwc-image-preview__image-zoom__img{width:100%;height:100%;object-fit:contain;vertical-align:middle;user-select:none;-webkit-touch-callout:none}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px;.swiper-slide,.swiper-cube-shadow{transform-style:preserve-3d}}.swiper-css-mode{>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none}}>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}&.swiper-horizontal{>.swiper-wrapper{scroll-snap-type:x mandatory}}&.swiper-vertical{>.swiper-wrapper{scroll-snap-type:y mandatory}}&.swiper-free-mode{>.swiper-wrapper{scroll-snap-type:none}>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}&.swiper-centered{>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}&.swiper-centered.swiper-horizontal{>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}&.swiper-centered.swiper-vertical{>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}}}.swiper-3d{.swiper-slide-shadow,.swiper-slide-shadow-left,.swiper-slide-shadow-right,.swiper-slide-shadow-top,.swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-slide-shadow{background:#00000026}.swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress),.swiper-watch-progress .swiper-slide-visible{.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pwc-swiper__prev,.pwc-swiper__next{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;z-index:10;cursor:pointer}.pwc-swiper__prev.swiper-button-disabled,.pwc-swiper__next.swiper-button-disabled{cursor:not-allowed;opacity:.6}.pwc-swiper__prev-icon,.pwc-swiper__next-icon{display:flex;font-size:38px;font-size:#333}.pwc-swiper__prev{left:10px}.pwc-swiper__next{right:10px}.pwc-swiper-pagination{position:absolute;bottom:20px;left:50%;transform:translate(-50%);z-index:10;display:flex;gap:8px}.pwc-swiper-pagination.is-vertical{flex-direction:column;transform:translateY(-50%);inset:50% 20px auto auto}.pwc-swiper-pagination-bullet{width:8px;height:8px;border-radius:50%;background:#ffffff4d;cursor:pointer}.pwc-swiper-pagination-bullet.swiper-pagination-bullet-active{background:#fff}.pwc-image-preview .pwc-popup__body{border-radius:0}.pwc-image-preview__body,.pwc-image-preview__swiper{width:100%;height:100%}.pwc-image-preview__close{position:absolute;z-index:200;width:48px;height:48px;background:#2a2b32;border-radius:50%;top:20px;right:20px;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:24px}.pwc-image-preview__close:hover{color:#5c9dff}.pwc-image-preview__close.is-mobile{width:24px;height:24px;top:16px;right:16px;font-size:12px}.pwc-resize-box{position:relative;user-select:none}.pwc-resize-box__handle{position:absolute;z-index:10}.pwc-resize-box__handle--top{top:-4px;left:0;right:0;cursor:ns-resize}.pwc-resize-box__handle--right{top:0;right:-4px;bottom:0;cursor:ew-resize}.pwc-resize-box__handle--bottom{bottom:-4px;left:0;right:0;cursor:ns-resize}.pwc-resize-box__handle--left{top:0;left:-4px;bottom:0;cursor:ew-resize}.pwc-resize-box__handle--top-left{top:-4px;left:-4px;cursor:nw-resize}.pwc-resize-box__handle--top-right{top:-4px;right:-4px;cursor:ne-resize}.pwc-resize-box__handle--bottom-left{bottom:-4px;left:-4px;cursor:sw-resize}.pwc-resize-box__handle--bottom-right{bottom:-4px;right:-4px;cursor:se-resize}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();var f3=Object.defineProperty,d3=(t,e,n)=>e in t?f3(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ot=(t,e,n)=>d3(t,typeof e!="symbol"?e+"":e,n);re("arrow-circle-down",t=>`
|
|
35
35
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
36
36
|
<g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
37
37
|
<g transform="translate(-124.000000, -90.000000)">
|
|
@@ -50,7 +50,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
50
50
|
</g>
|
|
51
51
|
</g>
|
|
52
52
|
</svg>
|
|
53
|
-
`);const
|
|
53
|
+
`);const m3=re("arrow-circle-left",t=>`
|
|
54
54
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
55
55
|
<g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
56
56
|
<g transform="translate(-124.000000, -90.000000)">
|
|
@@ -65,7 +65,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
65
65
|
</g>
|
|
66
66
|
</g>
|
|
67
67
|
</svg>
|
|
68
|
-
`),
|
|
68
|
+
`),g3=re("arrow-circle-right",t=>`
|
|
69
69
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
70
70
|
<g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
71
71
|
<g transform="translate(-156.000000, -90.000000)">
|
|
@@ -114,7 +114,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
114
114
|
d="M253.44 373.504a31.744 31.744 0 0 1 23.04-10.24c8.789333 0 17.066667 3.669333 23.210667 10.24L501.248 587.946667l198.656-211.541334c12.8-13.568 33.536-13.568 46.336 0 12.8 13.653333 12.8 35.754667 0 49.322667L525.994667 660.309333a31.232 31.232 0 0 1-40.277334 5.034667 32.170667 32.170667 0 0 1-12.117333-8.106667L253.44 422.741333a36.437333 36.437333 0 0 1 0-49.237333z"
|
|
115
115
|
/>
|
|
116
116
|
</svg>
|
|
117
|
-
`);const
|
|
117
|
+
`);const $a=re("arrow-left",t=>`
|
|
118
118
|
<svg
|
|
119
119
|
width="${t.size}"
|
|
120
120
|
height="${t.size}"
|
|
@@ -125,7 +125,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
125
125
|
d="M650.496 253.44a31.744 31.744 0 0 1 10.24 23.04c0 8.78933301-3.669333 17.066667-10.24 23.210667L436.053333 501.24799999l211.541334 198.65600001c13.568 12.8 13.568 33.536 0 46.336-13.653333 12.8-35.754667 12.79999999-49.322667 0L363.690667 525.994667a31.232 31.232 0 0 1-5.034667-40.277334 32.170667 32.170667 0 0 1 8.106667-12.117333L601.258667 253.44a36.437333 36.437333 0 0 1 49.237333 0z"
|
|
126
126
|
/>
|
|
127
127
|
</svg>
|
|
128
|
-
`)
|
|
128
|
+
`),qo=re("arrow-right",t=>`
|
|
129
129
|
<svg
|
|
130
130
|
width="${t.size}"
|
|
131
131
|
height="${t.size}"
|
|
@@ -147,7 +147,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
147
147
|
d="M770.56 650.496a31.744 31.744 0 0 1-23.04 10.24c-8.78933301 0-17.066667-3.669333-23.210667-10.24L522.75200001 436.053333l-198.65600001 211.541334c-12.8 13.568-33.536 13.568-46.336 0-12.8-13.653333-12.79999999-35.754667 0-49.322667L498.005333 363.690667a31.232 31.232 0 0 1 40.277334-5.034667 32.170667 32.170667 0 0 1 12.117333 8.106667L770.56 601.258667a36.437333 36.437333 0 0 1 0 49.237333z"
|
|
148
148
|
/>
|
|
149
149
|
</svg>
|
|
150
|
-
`);const
|
|
150
|
+
`);const Ra=re("check",t=>`
|
|
151
151
|
<svg
|
|
152
152
|
width="${t.size}"
|
|
153
153
|
height="${t.size}"
|
|
@@ -169,7 +169,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
169
169
|
d="M512 0c281.6 0 512 230.4 512 512s-230.4 512-512 512-512-230.4-512-512 230.4-512 512-512z m268.8 320a50.176 50.176 0 0 0-70.4512 0L435.2 595.2512 313.5488 480.0512a50.176 50.176 0 0 0-70.3488 0 50.176 50.176 0 0 0 0 70.3488l153.6 153.6 6.4512 6.4512C409.6 716.8 422.4 716.8 435.2 716.8s25.6-6.4512 38.4-12.8l313.6512-313.6512c12.8-19.1488 12.8-51.2-6.4512-70.3488z"
|
|
170
170
|
/>
|
|
171
171
|
</svg>
|
|
172
|
-
`);const
|
|
172
|
+
`);const $n=re("close",t=>`
|
|
173
173
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 24 24">
|
|
174
174
|
<g>
|
|
175
175
|
<g />
|
|
@@ -198,7 +198,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
198
198
|
d="M557.254 512l147.373-147.373c12.497-12.497 12.497-32.758 0-45.255-12.496-12.497-32.758-12.497-45.254 0L512 466.746 364.627 319.373c-12.497-12.497-32.758-12.497-45.255 0s-12.497 32.758 0 45.255L466.746 512 319.373 659.373c-12.497 12.496-12.497 32.758 0 45.254C325.621 710.876 333.811 714 342 714s16.379-3.124 22.627-9.373L512 557.254l147.373 147.373C665.621 710.876 673.811 714 682 714s16.379-3.124 22.627-9.373c12.497-12.496 12.497-32.758 0-45.254L557.254 512z"
|
|
199
199
|
/>
|
|
200
200
|
</svg>
|
|
201
|
-
`);const
|
|
201
|
+
`);const h3=re("close-round-fill",t=>`
|
|
202
202
|
<svg
|
|
203
203
|
width="${t.size}"
|
|
204
204
|
height="${t.size}"
|
|
@@ -227,7 +227,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
227
227
|
d="M5,5L5,3Q5,2.90175,5.00963055,2.80397Q5.0192611,2.7061900000000003,5.0384294,2.60982Q5.0575978,2.5134499999999997,5.0861193,2.41943Q5.114641,2.3254099999999998,5.152241,2.23463Q5.189841,2.14386,5.236157,2.05721Q5.282474,1.970554,5.337061,1.888859Q5.391648,1.807164,5.453979,1.731213Q5.516311,1.655262,5.585786,1.5857860000000001Q5.6552620000000005,1.516311,5.731213,1.453979Q5.807164,1.391648,5.888859,1.337061Q5.970554,1.2824740000000001,6.0572099999999995,1.236157Q6.14386,1.189841,6.23463,1.152241Q6.32541,1.114641,6.41943,1.0861193Q6.51345,1.0575978,6.60982,1.0384294Q6.70619,1.0192611,6.80397,1.00963055Q6.90175,1,7,1L13,1Q13.09825,1,13.19603,1.00963055Q13.29381,1.0192611,13.39018,1.0384294Q13.48655,1.0575978,13.58057,1.0861193Q13.67459,1.114641,13.76537,1.152241Q13.85614,1.189841,13.94279,1.236157Q14.02945,1.2824740000000001,14.11114,1.337061Q14.19284,1.391648,14.26879,1.453979Q14.34474,1.516311,14.41421,1.5857860000000001Q14.48369,1.655262,14.54602,1.731213Q14.60835,1.807164,14.66294,1.888859Q14.71752,1.970554,14.76384,2.05721Q14.81016,2.14386,14.84776,2.23463Q14.88536,2.3254099999999998,14.91388,2.41943Q14.9424,2.5134499999999997,14.96157,2.60982Q14.98074,2.7061900000000003,14.99037,2.80397Q15,2.90175,15,3L15,9Q15,9.09825,14.99037,9.19603Q14.98074,9.29381,14.96157,9.39018Q14.9424,9.48655,14.91388,9.58057Q14.88536,9.67459,14.84776,9.76537Q14.81016,9.85614,14.76384,9.94279Q14.71752,10.02945,14.66294,10.11114Q14.60835,10.19284,14.54602,10.26879Q14.48369,10.34474,14.41421,10.41421Q14.34474,10.48369,14.26879,10.54602Q14.19284,10.60835,14.11114,10.66294Q14.02945,10.71752,13.94279,10.76384Q13.85614,10.81016,13.76537,10.84776Q13.67459,10.88536,13.58057,10.91388Q13.48655,10.9424,13.39018,10.96157Q13.29381,10.98074,13.19603,10.99037Q13.09825,11,13,11L11,11L11,10L13,10Q13.41421,10,13.70711,9.70711Q14,9.41421,14,9L14,3Q14,2.5857900000000003,13.70711,2.29289Q13.41421,2,13,2L7,2Q6.58579,2,6.29289,2.29289Q6,2.5857900000000003,6,3L6,5L5,5Z"
|
|
228
228
|
/>
|
|
229
229
|
</svg>
|
|
230
|
-
`);const
|
|
230
|
+
`);const v3=re("down-file",t=>`
|
|
231
231
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
232
232
|
<g fill="${t.colorDesc[0]}" transform="translate(4.000000, 4.500000)">
|
|
233
233
|
<path
|
|
@@ -235,7 +235,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
235
235
|
/>
|
|
236
236
|
</g>
|
|
237
237
|
</svg>
|
|
238
|
-
`),
|
|
238
|
+
`),_3=re("down-load",t=>`
|
|
239
239
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
240
240
|
<g fill="${t.colorDesc[0]}" transform="translate(4.000000, 4.000000)">
|
|
241
241
|
<path
|
|
@@ -254,7 +254,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
254
254
|
/>
|
|
255
255
|
</g>
|
|
256
256
|
</svg>
|
|
257
|
-
`);const
|
|
257
|
+
`);const w3=re("error-round",t=>`
|
|
258
258
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 24 24">
|
|
259
259
|
<g>
|
|
260
260
|
<g>
|
|
@@ -275,7 +275,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
275
275
|
</g>
|
|
276
276
|
</g>
|
|
277
277
|
</svg>
|
|
278
|
-
`),
|
|
278
|
+
`),b3=re("export",t=>`
|
|
279
279
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 24 24">
|
|
280
280
|
<defs>
|
|
281
281
|
<clipPath id="master_svg0_2_5574">
|
|
@@ -309,7 +309,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
309
309
|
</g>
|
|
310
310
|
</g>
|
|
311
311
|
</svg>
|
|
312
|
-
`),
|
|
312
|
+
`),Oa=re("info-round-fill",t=>`
|
|
313
313
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 24 24">
|
|
314
314
|
<g>
|
|
315
315
|
<g>
|
|
@@ -322,7 +322,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
322
322
|
</g>
|
|
323
323
|
</g>
|
|
324
324
|
</svg>
|
|
325
|
-
`),
|
|
325
|
+
`),y3=re("list",t=>`
|
|
326
326
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 80 80">
|
|
327
327
|
<g>
|
|
328
328
|
<g>
|
|
@@ -353,14 +353,18 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
353
353
|
</g>
|
|
354
354
|
</g>
|
|
355
355
|
</svg>
|
|
356
|
-
`),
|
|
356
|
+
`),x3=re("loading",t=>`
|
|
357
357
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 90 90">
|
|
358
358
|
<path
|
|
359
359
|
fill="${t.colorDesc[0]}"
|
|
360
360
|
d="M42.000000296875,30L42.000000296875,24Q42.000000296875,23.852619400000002,42.014446296875,23.7059484Q42.028892296875,23.5592775,42.057644296875,23.4147286Q42.086397296875,23.2701802,42.129179296875,23.1291459Q42.171961296875,22.9881115,42.228359296875,22.8519496Q42.284759296874995,22.7157879,42.354236296875,22.5858097Q42.423710296875,22.4558318,42.505590296875,22.333289100000002Q42.587471296875,22.2107468,42.680969296875,22.0968201Q42.774467296875,21.98289347,42.878679296875,21.87867963Q42.982895296875,21.77446592,43.096821296875,21.68096864Q43.210746296875,21.58747137,43.333286296875,21.50559109Q43.455829296874995,21.42371088,43.585808296875,21.35423619Q43.715786296874995,21.28476149,43.851947296875,21.22836138Q43.988111296875005,21.17196131,44.129146296875,21.12917899Q44.270179296875,21.086396672,44.414728296875,21.057644151Q44.559276296875,21.028891638,44.705948296875,21.014445819Q44.852619296875005,21,45.000000296875,21L45.000000296875,21Q45.147381296875,21,45.294052296875,21.014445819Q45.440723296875,21.028891638,45.585270296874995,21.057644151Q45.729820296875005,21.086396672,45.870851296875,21.12917899Q46.011886296875005,21.17196131,46.148046296874995,21.22836138Q46.284210296875,21.28476149,46.414186296875,21.35423622Q46.544164296874996,21.42371094,46.666706296875,21.50559115Q46.789251296875,21.58747143,46.903179296874995,21.68096864Q47.017105296875,21.77446592,47.121319296875,21.87867963Q47.225532296875,21.98289347,47.319030296875,22.0968201Q47.412529296875,22.2107468,47.494407296874996,22.333289100000002Q47.576288296875,22.4558318,47.645763296875,22.5858099Q47.715236296875,22.7157879,47.771637296875,22.8519496Q47.828037296874996,22.9881115,47.870819296875,23.1291459Q47.913601296875,23.2701802,47.942354296874996,23.4147289Q47.971107296875005,23.5592775,47.985553296875,23.7059484Q48.000000296875,23.852619400000002,48.000000296875,24L48.000000296875,30Q48.000000296875,30.1473808,47.985553296875,30.294052100000002Q47.971107296875005,30.440721500000002,47.942352296875,30.5852699Q47.913601296875,30.729818299999998,47.870819296875,30.8708534Q47.828037296874996,31.011887,47.771635296875004,31.148048Q47.715236296875,31.28421,47.645761296875,31.414188Q47.576286296875,31.544167,47.494405296875,31.666709Q47.412527296875,31.789253000000002,47.319030296875,31.903179Q47.225532296875,32.017106999999996,47.121319296875,32.12132Q47.017105296875,32.225533999999996,46.903179296874995,32.319031Q46.789253296875,32.412528,46.666708296875,32.494408Q46.544166296875005,32.576288,46.414188296875,32.645763Q46.284210296875,32.715238,46.148048296875004,32.771637Q46.011886296875005,32.828037,45.870853296875,32.870821Q45.729820296875005,32.913603,45.585270296874995,32.942355Q45.440723296875,32.971108,45.294050296875,32.985554Q45.147381296875,33,45.000000296875,33L45.000000296875,33Q44.852619296875005,33,44.705948296875,32.985554Q44.559276296875,32.971107,44.414728296875,32.942354Q44.270179296875,32.913603,44.129146296875,32.87082Q43.988111296875005,32.828037,43.851947296875,32.771637Q43.715786296874995,32.715238,43.585808296875,32.645762Q43.455829296874995,32.576288,43.333288296875,32.494408Q43.210746296875,32.412528,43.096821296875,32.319031Q42.982895296875,32.225533999999996,42.878679296875,32.12132Q42.774467296875,32.017106999999996,42.680969296875,31.90318Q42.587471296875,31.789253000000002,42.505590296875,31.666710000000002Q42.423710296875,31.544168,42.354236296875,31.414188Q42.284759296874995,31.28421,42.228359296875,31.148048Q42.171961296875,31.011887,42.129179296875,30.8708534Q42.086397296875,30.729818299999998,42.057644296875,30.5852699Q42.028892296875,30.440721500000002,42.014446296875,30.2940512Q42.000000296875,30.1473808,42.000000296875,30ZM42.000000296875,66L42.000000296875,60Q42.000000296875,59.852623,42.014446296875,59.705952Q42.028892296875,59.55928,42.057644296875,59.414726Q42.086397296875,59.27018,42.129179296875,59.129143Q42.171961296875,58.988106,42.228359296875,58.851944Q42.284759296874995,58.715782,42.354236296875,58.585808Q42.423710296875,58.45583,42.505590296875,58.333286Q42.587471296875,58.210747,42.680969296875,58.096817Q42.774467296875,57.982895,42.878679296875,57.878677Q42.982895296875,57.774467,43.096821296875,57.680969Q43.210746296875,57.587471,43.333286296875,57.505589Q43.455829296874995,57.42371,43.585808296875,57.354233Q43.715786296874995,57.28476,43.851947296875,57.228359Q43.988111296875005,57.171959,44.129146296875,57.129177Q44.270179296875,57.086395,44.414728296875,57.05764Q44.559276296875,57.028893,44.705948296875,57.014446Q44.852619296875005,57,45.000000296875,57L45.000000296875,57Q45.147381296875,57,45.294052296875,57.014446Q45.440723296875,57.028893,45.585270296874995,57.057644Q45.729820296875005,57.086395,45.870851296875,57.129181Q46.011886296875005,57.171959,46.148046296874995,57.228359Q46.284210296875,57.28476,46.414186296875,57.354233Q46.544164296874996,57.42371,46.666706296875,57.505589Q46.789251296875,57.587471,46.903179296874995,57.680969Q47.017105296875,57.774467,47.121319296875,57.878677Q47.225532296875,57.982895,47.319030296875,58.096817Q47.412529296875,58.210747,47.494407296874996,58.333286Q47.576288296875,58.45583,47.645763296875,58.585808Q47.715236296875,58.715782,47.771637296875,58.851944Q47.828037296874996,58.988106,47.870819296875,59.129143Q47.913601296875,59.27018,47.942354296874996,59.414726Q47.971107296875005,59.55928,47.985553296875,59.705952Q48.000000296875,59.852623,48.000000296875,60L48.000000296875,66Q48.000000296875,66.147385,47.985553296875,66.294052Q47.971107296875005,66.44072,47.942352296875,66.58526599999999Q47.913601296875,66.729816,47.870819296875,66.87084999999999Q47.828037296874996,67.011887,47.771635296875004,67.148045Q47.715236296875,67.28421,47.645761296875,67.414185Q47.576286296875,67.544163,47.494405296875,67.666702Q47.412527296875,67.789249,47.319030296875,67.903179Q47.225532296875,68.017105,47.121319296875,68.12131500000001Q47.017105296875,68.225533,46.903179296874995,68.319031Q46.789253296875,68.412525,46.666708296875,68.494404Q46.544166296875005,68.57628600000001,46.414188296875,68.64576Q46.284210296875,68.715237,46.148048296875004,68.77163300000001Q46.011886296875005,68.828033,45.870853296875,68.870815Q45.729820296875005,68.913601,45.585270296874995,68.942352Q45.440723296875,68.971107,45.294050296875,68.98555400000001Q45.147381296875,69,45.000000296875,69L45.000000296875,69Q44.852619296875005,69,44.705948296875,68.98555400000001Q44.559276296875,68.971107,44.414728296875,68.942352Q44.270179296875,68.913601,44.129146296875,68.870819Q43.988111296875005,68.828033,43.851947296875,68.77163300000001Q43.715786296874995,68.71524,43.585808296875,68.645767Q43.455829296874995,68.57629,43.333288296875,68.49440799999999Q43.210746296875,68.412529,43.096821296875,68.319031Q42.982895296875,68.225533,42.878679296875,68.121319Q42.774467296875,68.017105,42.680969296875,67.903175Q42.587471296875,67.789249,42.505590296875,67.666702Q42.423710296875,67.544163,42.354236296875,67.414185Q42.284759296874995,67.28421,42.228359296875,67.148045Q42.171961296875,67.011887,42.129179296875,66.87084999999999Q42.086397296875,66.729816,42.057644296875,66.58526599999999Q42.028892296875,66.44072,42.014446296875,66.294052Q42.000000296875,66.147385,42.000000296875,66ZM30.655556696875,39.84967L25.459404196875,36.84967Q25.331768996875,36.775980000000004,25.211971196874998,36.690134Q25.092173296875,36.604288,24.981366796875,36.507112Q24.870560286875,36.409938,24.769812106875,36.302369999999996Q24.669063806875,36.194801999999996,24.579344156875,36.077877Q24.489624616875,35.960953,24.411797646875,35.835797Q24.333970756875,35.710641,24.268786016875,35.578459Q24.203601296875,35.446278,24.151686486875,35.308344Q24.099771696875,35.170409,24.061626796875,35.02805Q24.023481906875,34.885693,23.999474279875,34.740280999999996Q23.975466653875,34.594869,23.965827494875,34.447803Q23.956188343875,34.300738,23.961010496875,34.153437Q23.965832650875,34.006134,23.985069661875,33.860014Q24.004306688875,33.713895,24.037773306875,33.570364Q24.071239936875,33.426834,24.118613836875,33.287275Q24.165987786875,33.147717,24.226812746875,33.013474Q24.287637766875,32.87923,24.361328006875,32.751595L24.361328006875,32.751595Q24.435018296875,32.62396,24.520864126875,32.504162Q24.606710016875,32.384364,24.703884716875,32.273557Q24.801059486875,32.16275,24.908627296875,32.062002Q25.016195096875,31.961254,25.133119796875,31.871533Q25.250044796875,31.781815,25.375200596875,31.703986999999998Q25.500356596875,31.626161,25.632538096875,31.560976Q25.764719696875,31.495791,25.902654096875,31.443877Q26.040588396875002,31.391962,26.182946896875,31.353817Q26.325305496875,31.315672,26.470717396875,31.291665000000002Q26.616129396875,31.267656000000002,26.763194296875,31.258018Q26.910259496875,31.248379,27.057560896875,31.253201Q27.204862596875,31.258022,27.350982196875,31.277259Q27.497101996875,31.296497000000002,27.640632596875,31.329964Q27.784163496875,31.36343,27.923722296875,31.410804Q28.063281496875,31.458179,28.197524996875,31.519004000000002Q28.331768996875,31.579828,28.459403996875,31.653519L33.655556696874996,34.653518Q33.783191696875,34.727209,33.902989396875,34.813054Q34.022787296875,34.8989,34.133592296875,34.996074Q34.244400296875,35.093249,34.345148296874996,35.200817Q34.445896296875,35.308384000000004,34.535615296875,35.425308Q34.625335296875,35.542234,34.703163296875,35.66739Q34.780989296875,35.792545000000004,34.846174296875,35.924726Q34.911359296875,36.05691,34.963274296875,36.194843Q35.015188296874996,36.332778,35.053333296874996,36.475136Q35.091478296874996,36.617496,35.115486296875,36.762907Q35.139493296875,36.908319,35.149131296875,37.055382Q35.158771296875,37.202448000000004,35.153949296875,37.349751Q35.149126296875,37.497051,35.129889296875,37.643170999999995Q35.110653296875,37.789291,35.077185296875,37.932823Q35.043720296875,38.076355,34.996345296875,38.215912Q34.948972296875,38.355473,34.888147296875,38.489716Q34.827323296875,38.623959,34.753632296875,38.751594999999995L34.753632296875,38.751594999999995Q34.679943296875,38.87923,34.594097296875,38.999027Q34.508251296875,39.118824000000004,34.411075296875,39.22963Q34.313901296875,39.340437,34.206333296875,39.441185000000004Q34.098764296875004,39.541934999999995,33.981839296875,39.631653Q33.864914896875,39.721374999999995,33.739758496875,39.7992Q33.614602996875,39.877027999999996,33.482420896875,39.942211Q33.350240696875,40.007397,33.212305996875,40.059311Q33.074371296875,40.111225000000005,32.932012596875,40.149370000000005Q32.789653796875,40.187515000000005,32.644242296875,40.211525Q32.498830796875,40.235531,32.351764696875,40.245171Q32.204700496875,40.25481,32.057398796875,40.249989Q31.910097096875,40.245166999999995,31.763977096875,40.225927Q31.617857896875,40.206692000000004,31.474327596875,40.173225Q31.330797196875,40.139757,31.191237496875,40.092382Q31.051678696875,40.045010000000005,30.917435596875002,39.984184Q30.783192196875,39.923361,30.655556696875,39.84967ZM61.540565296875,58.346375L56.344413296875,55.346375Q56.216781296875,55.27269,56.096981296875,55.186844Q55.977184296875,55.100994,55.866375296875,55.003815Q55.755571296875004,54.906647,55.654821296875,54.799076Q55.554073296875,54.691509,55.464351296875,54.574581Q55.374633296875004,54.457657,55.296806296875005,54.3325Q55.218980296875,54.207344,55.153795296875,54.075161Q55.088611296875,53.942978,55.036695296874996,53.805046Q54.984783296875,53.667114,54.946636296875,53.524754Q54.908493296875,53.382397,54.884483296875004,53.236984Q54.860477296875004,53.091572,54.850836296875,52.944506000000004Q54.841198296875,52.797441,54.846018296875,52.650141000000005Q54.850841296875004,52.502838,54.870077296874996,52.356718Q54.889316296874995,52.210602,54.922781296875,52.06707Q54.956249296875,51.92354,55.003620296875,51.783979Q55.050995296875,51.644423,55.111822296875005,51.51018Q55.172649296875,51.375935,55.246338296874995,51.248299L55.246338296874995,51.248299Q55.320030296875004,51.120663,55.405876296875,51.000866Q55.491722296875,50.881067,55.588894296875,50.770258Q55.686071296875,50.659452,55.793638296875,50.558704Q55.901207296875,50.457954,56.018127296875,50.368235Q56.135055296875,50.278519,56.260212296875,50.200691Q56.385368296875,50.122864,56.517547296875,50.057677999999996Q56.649730296875,49.992496,56.787666296875,49.94058Q56.925598296875,49.888667999999996,57.067955296875,49.850521Q57.210315296875,49.812377999999995,57.355728296875,49.788368Q57.501136296875,49.764359999999996,57.648201296875,49.754719Q57.795265296875,49.745083,57.942569296875,49.749903Q58.089870296875,49.754726000000005,58.235988296875,49.773962Q58.382110296875,49.793200999999996,58.525642296875,49.82667Q58.669174296875,49.860136,58.808731296875,49.907509000000005Q58.948291296875,49.954884,59.082534296875,50.015709Q59.216781296875,50.076533999999995,59.344413296875,50.150223L64.540565296875,53.150223Q64.668205296875,53.223915,64.78800229687499,53.309757Q64.907798296875,53.395607,65.01860029687501,53.492779Q65.129409296875,53.589958,65.23015629687501,53.697521Q65.330902296875,53.805092,65.420620296875,53.922012Q65.510341296875,54.038937,65.58816929687501,54.164093Q65.665996296875,54.289249,65.731178296875,54.421432Q65.796364296875,54.553612,65.848282296875,54.691547Q65.90019629687501,54.829483,65.938339296875,54.97184Q65.97648629687501,55.114201,66.000492296875,55.259613Q66.02449829687501,55.405022,66.03413429687501,55.552086Q66.04377729687499,55.699154,66.038955296875,55.846455Q66.03413429687501,55.993759,66.01489229687499,56.139874Q65.995659296875,56.285995,65.962188296875,56.429527Q65.928726296875,56.573059,65.88134729687499,56.712616Q65.833980296875,56.852177,65.77315529687499,56.98642Q65.712333296875,57.120667,65.638641296875,57.248299L65.638641296875,57.248299Q65.56495329687499,57.375935,65.479107296875,57.495731Q65.39326129687501,57.615528,65.296081296875,57.726334Q65.198909296875,57.837139,65.09133929687499,57.937889Q64.983772296875,58.038635,64.866844296875,58.128353Q64.749923296875,58.218079,64.624767296875,58.295902Q64.499611296875,58.37373,64.367428296875,58.438911Q64.235248296875,58.504097,64.097313296875,58.556015Q63.959381296875,58.607925,63.817020296875,58.646072Q63.674667296875,58.684219,63.529251296875,58.708229Q63.383842296875,58.732239,63.236770296875,58.741871Q63.089706296875,58.751511,62.942405296875,58.746689Q62.795105296875,58.741867,62.648983296875,58.72263Q62.502865296875,58.703396,62.359333296875,58.66993Q62.215805296875,58.636459,62.076244296875,58.589085Q61.936687296875,58.541714,61.802444296875,58.480888Q61.668205296875,58.420067,61.540565296875,58.346375ZM56.398643296875,34.745117L61.594795296875,31.745117Q61.722431296875,31.671427,61.856674296875,31.610601000000003Q61.990917296875,31.549777,62.130474296875,31.502402Q62.270034296875,31.455029,62.413562296875,31.421562Q62.557090296875,31.388096,62.703212296875,31.368858Q62.849334296875,31.349622,62.996635296875,31.3448Q63.143936296875,31.339976999999998,63.291000296875,31.349615999999997Q63.438072296875,31.359254999999997,63.583484296875,31.383264Q63.728897296875,31.40727,63.871250296875,31.445415Q64.013611296875,31.483561,64.151550296875,31.535474999999998Q64.28948229687501,31.58739,64.421661296875,31.652575Q64.553840296875,31.71776,64.678997296875,31.795586999999998Q64.804153296875,31.873413,64.921077296875,31.963133Q65.038006296875,32.052853,65.14557629687499,32.153601Q65.25314329687501,32.254349,65.35031129687499,32.365154000000004Q65.447490296875,32.475962,65.533336296875,32.59576Q65.619186296875,32.715559,65.692871296875,32.843193L65.692871296875,32.843193Q65.766563296875,32.970829,65.82738529687501,33.105072Q65.888210296875,33.239316,65.935581296875,33.378873999999996Q65.982956296875,33.518434,66.016426296875,33.661964Q66.049888296875,33.805493999999996,66.069126296875,33.951612Q66.088363296875,34.097733,66.09318529687499,34.245035Q66.098007296875,34.392337,66.08836729687499,34.539401Q66.07873129687499,34.686467,66.054725296875,34.831879Q66.030716296875,34.977291,65.99256929687499,35.119649Q65.95442229687501,35.262009,65.902507296875,35.399941999999996Q65.85059329687499,35.537876,65.785408296875,35.670057Q65.720226296875,35.80224,65.642399296875,35.927395000000004Q65.564575296875,36.052551,65.474853296875,36.169476Q65.385132296875,36.286402,65.284385296875,36.393969Q65.183635296875,36.501537,65.072830296875,36.598711Q64.962024296875,36.695887,64.84222829687499,36.781733Q64.722431296875,36.867579,64.59479529687499,36.941269L59.398643296875,39.941269Q59.271011296875,40.014959000000005,59.136764296875,40.075784999999996Q59.002521296875,40.136607999999995,58.862961296875,40.183983Q58.723404296875,40.231358,58.579872296875,40.264824000000004Q58.436340296875,40.29829,58.290218296875,40.317526Q58.144096296875,40.336765,57.996795296875,40.341587000000004Q57.849495296875,40.346409,57.702430296875,40.336769000000004Q57.555366296875,40.327129,57.409958296875,40.303123Q57.264541296875,40.279116,57.122184296875,40.240971Q56.979828296875,40.202826,56.841892296875,40.150911Q56.703956296875,40.098995,56.571773296875,40.03381Q56.439594296875,39.968626,56.314438296875,39.890799Q56.189285296875,39.812973,56.072357296875,39.723251000000005Q55.955436296875,39.633533,55.847870296875,39.532784Q55.740301296875,39.432035,55.643123296875004,39.321228000000005Q55.545952296875,39.210423,55.460106296875,39.090626Q55.374260296875,38.970828999999995,55.300567296875,38.843193L55.300567296875,38.843193Q55.226879296875,38.715557000000004,55.166053296875,38.581314Q55.105228296875,38.447071,55.057850296875,38.30751Q55.010479296875005,38.167952,54.977010296875,38.024422Q54.943544296875004,37.88089,54.924305296875005,37.73477Q54.905071296875,37.588651999999996,54.900247296875,37.441349Q54.895427296875,37.294048000000004,54.905063296875,37.146982Q54.914705296875,36.999918,54.938713296875,36.854506Q54.962721296875,36.709095,55.000864296875,36.566735Q55.039009296875,36.424377,55.090923296875005,36.286443Q55.142837296875,36.148508,55.208021296875,36.016325Q55.273208296875,35.884144,55.351036296875,35.758988Q55.428863296875,35.633832999999996,55.518579296875004,35.516907Q55.608301296875,35.399982,55.709049296875,35.292416Q55.809799296875,35.184847,55.920604296875,35.087672Q56.031414296875,34.990498,56.151210296875,34.904652999999996Q56.271011296875,34.818808000000004,56.398643296875,34.745117ZM25.404990196875,53.058594L30.601142896875,50.058594Q30.728777896875002,49.984905,30.863021896875,49.924078Q30.997264896875002,49.863253,31.136823696875,49.815876Q31.276383396874998,49.768502999999995,31.419913796875,49.735037Q31.563444096875,49.701569,31.709563296875,49.682331000000005Q31.855683296875,49.663097,32.002984996875,49.658276Q32.150286696875,49.653453999999996,32.297350896875,49.66309Q32.444416996875,49.672731,32.589829396875004,49.696739Q32.735240896875,49.720749,32.877599696875,49.758892Q33.019958496875,49.797039,33.157892196875,49.848951Q33.295826896875,49.900867000000005,33.428007096875,49.966049Q33.560189296875,50.031234999999995,33.685345696875004,50.109062Q33.810501096875,50.18689,33.927426296875,50.276607999999996Q34.044351296875,50.366329,34.151919296875,50.467075Q34.259487296875,50.567825,34.356661296875004,50.678629Q34.453836296875,50.789438000000004,34.539682296875,50.909237000000005Q34.625528296875004,51.029033999999996,34.699218296875,51.15667L34.699218296875,51.15667Q34.772909296875,51.284306,34.833734296875,51.418549Q34.894559296875,51.552792,34.941931296875,51.692347999999996Q34.989306296875,51.831908999999996,35.022772296875004,51.975439Q35.056240296875,52.118969,35.075475296875,52.265087Q35.094713296875,52.411209,35.099537296875,52.55851Q35.104358296875,52.705811,35.094719296875,52.852875Q35.085080296875,52.999943,35.061073296875,53.145355Q35.037065296875,53.290768,34.998919296875,53.433125Q34.960775296875,53.575485,34.908860296875,53.713417Q34.856945296875,53.851349,34.791759296875,53.983532Q34.726575296875,54.115715,34.648748296875,54.240868Q34.570921296875,54.366028,34.481201296875,54.482948Q34.391482296875,54.599876,34.290734296875,54.707443Q34.189985296875,54.81501,34.079179296875,54.912186Q33.968372296875,55.009365,33.848574596875,55.095211Q33.728776896875004,55.181061,33.601141896875,55.254745L28.404989696875,58.254745Q28.277354696875,58.328438,28.143111196875,58.389259Q28.008867296875,58.450085,27.869307996875,58.497456Q27.729749196874998,58.54483,27.586218796875,58.5783Q27.442688196875,58.611763,27.296568196875,58.631001Q27.150448796875,58.650238,27.003147096875,58.65506Q26.855845496875,58.659882,26.708780296875,58.650242Q26.561715596875,58.64061,26.416303596875,58.6166Q26.270891696875,58.59259,26.128532896875,58.554443Q25.986174296875,58.516296,25.848239996875,58.464382Q25.710305696875,58.412468,25.578123896875,58.347282Q25.445942396875,58.282101,25.320786596875,58.204273Q25.195630796875,58.12645,25.078705896875,58.036728Q24.961781096875,57.94701,24.854213356875,57.84626Q24.746645686875,57.745514,24.649470926875,57.634705Q24.552296276875,57.523899,24.466450456875,57.404102Q24.380604596875,57.284306,24.306914326875,57.15667L24.306914326875,57.15667Q24.233224066875,57.029037,24.172399076875,56.894791Q24.111574086875,56.760548,24.064200136875,56.620987Q24.016826216875,56.48143,23.983359597875,56.337898Q23.949892960875,56.194366,23.930655931875,56.048244Q23.911418906375,55.902126,23.906596742775,55.754826Q23.901774579175,55.607521,23.911413719875,55.460457Q23.921052861875,55.313393,23.945060476875,55.167984Q23.969068094875,55.022572,24.007212966875,54.880211Q24.045357856875,54.737854,24.097272636875,54.599918Q24.149187446875,54.461983,24.214372156875,54.329803Q24.279556926875,54.197624,24.357383786875,54.072468Q24.435210706875,53.947311,24.524930236875,53.830383Q24.614649886875,53.713463,24.715398076875,53.605896Q24.816146316875,53.498329,24.926952796875,53.40115Q25.037759396875,53.303978,25.157557296875,53.218132Q25.277354996875,53.132286,25.404990196875,53.058594Z"
|
|
361
361
|
/>
|
|
362
362
|
</svg>
|
|
363
|
-
`),
|
|
363
|
+
`),C3=re("minus",t=>`
|
|
364
|
+
<svg width="${t.size}" height="${t.size}" viewBox="0 0 1024 1024">
|
|
365
|
+
<path fill="${t.colorDesc[0]}" d="M192 448h640v128H192V448z" />
|
|
366
|
+
</svg>
|
|
367
|
+
`),Da=re("question-round",t=>`
|
|
364
368
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 12 12">
|
|
365
369
|
<defs>
|
|
366
370
|
<clipPath id="master_svg0_1_3470/1_3390">
|
|
@@ -407,7 +411,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
407
411
|
</g>
|
|
408
412
|
</g>
|
|
409
413
|
</svg>
|
|
410
|
-
`);const
|
|
414
|
+
`);const Q3=re("success-round",t=>`
|
|
411
415
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 24 24">
|
|
412
416
|
<g>
|
|
413
417
|
<g>
|
|
@@ -428,7 +432,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
428
432
|
</g>
|
|
429
433
|
</g>
|
|
430
434
|
</svg>
|
|
431
|
-
`),
|
|
435
|
+
`),k3=re("triangle-down",t=>`
|
|
432
436
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 12 12">
|
|
433
437
|
<g>
|
|
434
438
|
<path
|
|
@@ -447,7 +451,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
447
451
|
/>
|
|
448
452
|
</g>
|
|
449
453
|
</svg>
|
|
450
|
-
`);const
|
|
454
|
+
`);const E3=re("warning-round-fill",t=>`
|
|
451
455
|
<svg
|
|
452
456
|
width="${t.size}"
|
|
453
457
|
height="${t.size}"
|
|
@@ -458,7 +462,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
458
462
|
d="M538.2656 0c-282.7776 0-512 229.2224-512 512 0 282.7264 229.2736 512 512 512 282.7776 0 512-229.2736 512-512 0-282.7776-229.2224-512-512-512z m0 800a64 64 0 1 1 0.0512-128 64 64 0 0 1 0 128z m64-281.6c0 31.7952-28.672 57.6-64 57.6s-64-25.8048-64-57.6v-268.8c0-31.8464 28.672-57.6 64-57.6s64 25.7536 64 57.6v268.8z"
|
|
459
463
|
/>
|
|
460
464
|
</svg>
|
|
461
|
-
`),
|
|
465
|
+
`),S3=re("zoom-in",t=>`
|
|
462
466
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
463
467
|
<g transform="translate(3.000000, 3.000000)">
|
|
464
468
|
<path
|
|
@@ -467,7 +471,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
467
471
|
/>
|
|
468
472
|
</g>
|
|
469
473
|
</svg>
|
|
470
|
-
`),
|
|
474
|
+
`),I3=re("zoom-out",t=>`
|
|
471
475
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 24 24">
|
|
472
476
|
<g fill="${t.colorDesc[0]}" transform="translate(3.000000, 4.000000)">
|
|
473
477
|
<path
|
|
@@ -475,7 +479,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
475
479
|
/>
|
|
476
480
|
</g>
|
|
477
481
|
</svg>
|
|
478
|
-
`),ka=(t,e)=>{var g,_,m,w;const n=t.wrapRef||u.ref(),r=(g=t.isPlayingAnimation)!=null?g:u.ref(!1),o=u.ref(t.url),i=(_=t.autoPlay)!=null?_:!0,s=u.ref((m=t.loop)!=null?m:!1),c=u.ref((w=t.loopTimeInterval)!=null?w:0);let a;function l(b){var Q,S;if(b.url&&(o.value=b.url),!o.value)throw new Error("playSvgaAnimation 播放失败,未设置动画文件地址");const x=(Q=b.loop)!=null?Q:s.value;s.value=x;const C=(S=b.loopTimeInterval)!=null?S:c.value;c.value=C}function p(b){t.onBeforePlay&&t.onBeforePlay(),b.onBeforePlay&&b.onBeforePlay()}function f(b){t.onFinished&&t.onFinished(),b.onFinished&&b.onFinished()}function h(b,x){t.onError&&t.onError(x),b.onError&&b.onError(x)}function d(){return P(this,null,function*(){try{a&&(clearTimeout(a),a=void 0),yield e.clearAnimation(),r.value=!1}catch(b){r.value=!1,console.warn("clearAnimation 清除动画失败")}})}function v(){return P(this,arguments,function*(b={}){var Q,S;if(b.url&&(o.value=b.url),!o.value)throw new Error("playSvgaAnimation 播放失败,未设置动画文件地址");const x=(Q=b.loop)!=null?Q:s.value;s.value=x;const C=(S=b.loopTimeInterval)!=null?S:c.value;c.value=C;try{yield d(),p(b),r.value=!0,yield e.playSingleAnimation(),s.value&&(a=window.setTimeout(function(){v()},c.value)),r.value=!1,f(b)}catch(y){console.warn("playAnimation 播放失败"),r.value=!1,h(b,y)}})}return u.onMounted(()=>P(this,null,function*(){o.value&&(e.beforeAutoPlay&&(yield e.beforeAutoPlay()),i&&v())})),u.onBeforeUnmount(()=>{d()}),{wrapRef:n,isPlayingAnimation:r,currentUrl:o,autoPlay:i,loop:s,loopTimeInterval:c,beforePlayAnimation:l,beforePlayCallback:p,onFinishedCallback:f,onErrorCallback:h,playAnimation:v,clearAnimation:d}},w3=(t={})=>{const{wrapRef:e,currentUrl:n,clearAnimation:r,playAnimation:o}=ka(t,{clearAnimation:c,playSingleAnimation:a});let i,s;function c(){return P(this,null,function*(){s&&(clearTimeout(s),s=void 0),i&&(i.remove(),i=void 0)})}function a(){return P(this,null,function*(){return new Promise((l,p)=>{P(this,null,function*(){i||(i=document.createElement("div"));const f=u.unref(e);if(!f){p(new Error("playSingleAnimation fail, wrapRef is undefined"));return}const h=n.value;i.style.width="61.2%",i.style.height="80%",i.style.backgroundSize="contain",i.style.backgroundPosition="center center",i.style.backgroundRepeat="no-repeat",i.style.backgroundImage=`url(${h})`,i.style.position="absolute",i.style.left="50%",i.style.top="50%",i.style.transform="translate(-50%, -50%)",f.appendChild(i),s=window.setTimeout(()=>P(this,null,function*(){yield c(),l()}),2e3)})})})}return u.onBeforeUnmount(()=>{c()}),{wrapRef:e,clearAnimation:r,playAnimation:o}},b3=Object.prototype.toString;function y3(t){return b3.call(t)==="[object Object]"}const x3=Object.prototype.hasOwnProperty;function Ro(t,e){return x3.call(t,e)}function Oo(t,...e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(let n=0;n<e.length;n++){const r=e[n];if(r!=null)for(const o in r)o!=="__proto__"&&Ro(r,o)&&(t[o]=r[o])}return t}function C3(t){if(t!=null){if(Array.isArray(t))return!t.length;for(const e in t)if(Ro(t,e))return!1}return!0}function Sa(t,e,n,r){n==null&&(n=""),(n!==""||!r.ignoreEmpty)&&(typeof r.encode=="function"&&(e=r.encode(e),n=["boolean","string","number"].indexOf(typeof n)!==-1?r.encode(String(n)):""),t.push(e+"="+n))}function Q3(t,e,n,r){n.forEach(o=>{Sa(t,e,o,r)})}function Ea(t,e){const n=Oo({encode:encodeURIComponent},e),r=[];let o,i;for(o in t)Ro(t,o)&&(i=t[o],Array.isArray(i)?Q3(r,o,i,n):Sa(r,o,i,n));return r.join("&")}function k3(t){const e={leftContext:""};let n=t.indexOf("#");return n!==-1&&(e.hash=t.slice(n+1),t=t.slice(0,n)),n=t.indexOf("?"),n!==-1&&(e.search=t.slice(n+1),t=t.slice(0,n)),e.leftContext=t,e}function S3(t){let e=t.leftContext;return t.search!=null&&(e+="?"+t.search),t.hash!=null&&(e+="#"+t.hash),e}function Tn(t,e,n){if(t=String(t),e==null||!(e=typeof e=="string"?e.replace(/^[?&]/,""):Ea(e,n)))return t;const r=k3(t);let o=r.search||"";return o&&o.slice(-1)!=="&"&&(o+="&"),o+=e,r.search=o,S3(r)}function E3(t){const e=document.createElement("script");return t&&Object.keys(t).forEach(function(n){const r=n;e[r]=t[r]}),e}function Ta(t,e){return new Promise(function(n,r){let o,i;function s(){o&&(o.onload=o.onerror=null,o.parentNode&&o.parentNode.removeChild(o),o=null),i&&window.clearTimeout(i)}const c=Oo({preventCaching:!1,props:{async:!0}},e);function a(p){n(Ta(p,{data:c.data,preventCaching:c.preventCaching,props:c.props,timeout:c.timeout}))}c.data&&(t=Tn(t,c.data)),c.preventCaching&&(t=Tn(t,{_:Date.now()})),o=E3(c.props),o.onload=function(){s(),n()},o.onerror=function(){s(),c.backupURL?a(c.backupURL):r(new Error('Fail to load "'+t+'"'))},o.src=t,document.head.appendChild(o);const l=Number(c.timeout);l>0&&(i=window.setTimeout(function(){s(),c.backupURL?a(c.backupURL):r(new Error('Request "'+t+'" timeout'))},l))})}const T3="https://s4.videocc.net/library/svgaplayerweb/2.x/svga-2.3.1.min.js";let Do;function I3(){return window.SVGA?Promise.resolve(window.SVGA):(Do||(Do=new Promise((t,e)=>{P(this,null,function*(){yield Ta(T3),window.SVGA?t(window.SVGA):e(new Error("loadSvgaPlayer fail, window.SVGA is undefined"))})})),Do)}const L3=(t={})=>{var v;const{wrapRef:e,currentUrl:n,playAnimation:r,clearAnimation:o}=ka(t,{beforeAutoPlay:d,clearAnimation:f,playSingleAnimation:h}),i=(v=t.contentMode)!=null?v:"AspectFit";let s;function c(){return P(this,null,function*(){return s||(s=new Promise((g,_)=>{P(this,null,function*(){if(!e.value){_(new Error("createSvgaPlayer fail, wrapRef is undefined"));return}const m=yield I3(),w=new m.Parser,b=new m.Player(e.value);b.setContentMode(i),g({svgaPlayer:b,svgaParser:w})})})),s})}const a={};function l(g){return a[g]||(a[g]=new Promise((_,m)=>{P(this,null,function*(){try{const{svgaParser:w}=yield c();g=g.replace(/^(data:;base64)/,"data:svga/2.0;base64"),w==null||w.load(g,b=>{_(b)})}catch(w){m(w)}})})),a[g]}function p(g){return P(this,null,function*(){const{svgaPlayer:_}=yield c(),m=yield l(g);return _.setVideoItem(m),m})}function f(){return P(this,null,function*(){const{svgaPlayer:g}=yield c();g.clear(),g.clearDynamicObjects()})}function h(){return new Promise((g,_)=>{P(this,null,function*(){try{const{svgaPlayer:m}=yield c();yield p(n.value),m.loops=1,m.startAnimation(),m.onFinished(()=>{g()})}catch(m){_(m)}})})}function d(){return P(this,null,function*(){n.value&&(yield p(n.value))})}return{wrapRef:e,loadSvgaFile:l,clearAnimation:o,playAnimation:r}},P3=(t={})=>{var m;const e=(m=t.wrapRef)!=null?m:u.ref(),n=u.ref(!1),r=u.ref(!1),o=u.ref([]),i={wrapRef:e,isPlayingAnimation:n,onFinished:()=>{_()}},s=L3(i),c=w3(i);function a(w){return Wi(w)==="svga"}function l(){return P(this,arguments,function*(w={}){const b=w.url;b&&(a(b)?yield s.playAnimation({url:b}):yield c.playAnimation({url:b}))})}function p(){return P(this,null,function*(){yield Promise.all([s.clearAnimation(),c.clearAnimation()])})}const f=u.ref();function h(){r.value=!0}function d(){r.value=!1,_()}function v(){o.value=[]}function g(w){var Q;const{url:b,inHeader:x=!1,filterRepeat:C=!1}=w;b&&(C&&(o.value.some(y=>y.url===b)||((Q=f.value)==null?void 0:Q.url)===b)||(x?o.value.unshift({url:b}):o.value.push({url:b}),_()))}function _(){if(o.value.length===0||n.value||r.value)return;const w=o.value.shift();!w||!w.url||(f.value=w,l({url:w.url}))}return{wrapRef:e,animationQueue:o,currentAnimationItem:f,pushAnimationQueue:g,pauseAnimationQueue:h,startAnimationQueue:d,clearAnimationQueue:v,playAnimation:l,clearAnimation:p}},In=()=>{function t(){return document}function e(){return document.documentElement}function n(){return document.body}return{getDocument:t,getAppRootElement:e,getAppBodyElement:n}},ue=typeof window=="undefined";function A3(){return u.version.startsWith("3.")}const Me={modelValueKey:"value",modelValueEmitKey:"input",updateModelValueEmitDefine:()=>({}),createVueInstance:(t,e)=>{const{parent:n,props:r={},on:o={},vnode:i}=e;let s;try{typeof ct=="function"&&(s=ct),typeof ct.default=="function"&&(s=ct.default),typeof u=="function"&&(s=u),typeof u=="object"&&(s=u.default)}catch(l){console.error("createVue2Instance fail: VueConstructor is not defined",l)}if(!s){console.error("createVue2Instance fail: VueConstructor is not defined");return}const c=new s({parent:n,render:l=>i||l(t,{props:r,on:o})});c.$mount();const a=c.$children[0];return a.$on("hook:destroyed",()=>{c.$destroy()}),a},destroyVueInstance:t=>{try{const e=Me.getVueInstanceElem(t);e&&e.remove(),t.$destroy()}catch(e){console.error("Vue2 destroyVueInstance fail",e)}},getVueInstanceElem:t=>t.$el,defineDirective:t=>({bind:t.bindHook,update:t.updateHook,unbind:t.unbindHook})},H=()=>()=>!0;function rt(){return Me.updateModelValueEmitDefine()}const k={get string(){return Yn().def("")},get looseString(){return Yn()},get number(){return Jr().def(0)},get looseNumber(){return Jr()},get bool(){return Xr().def(!0)},get looseBool(){return{type:Boolean,default(){}}},get looseElement(){return eo([]).def(void 0)},array:()=>is().def([]),object:Vr,func:os,oneOf:ss,oneOfType:eo,enum:Yn,style:()=>Vr().def({}),icon:()=>({type:void 0,default:void 0,required:!1}),modelValueKey:Me.modelValueKey},ut=t=>{const e={};for(const n in t)e[n]=u.computed(()=>t[n]);return e};function zo(t){return u.isRef(t)?t.value:t}function he(t){if(ue)return;const e=zo(t);if(e instanceof Document||e instanceof Element)return e;if(typeof e=="string"&&e)try{return document.querySelector(e)||void 0}catch(n){console.error("getRefElem error:",n)}if(e&&e.$el){const n=e.$el;return A3()&&n instanceof Text&&n.nextElementSibling?n.nextElementSibling:n}}const Ia={skinColorMode:"light",specialColor:"#3F76FC"};function La(t){return`pwc-skin-color-mode--${t}`}const Pa=t=>{const{configProviderData:e}=Ln(t),n=u.computed(()=>{let i={};return e!=null&&e.getSkinColorConfig&&(i=e.getSkinColorConfig()),D(D({},Ia),i)}),r=u.computed(()=>u.unref(n.value.skinColorMode));function o(i=1){const s=u.unref(n).specialColor;if(i<1){const c=Yi(s);if(c){const[a,l,p]=c;return`rgba(${a}, ${l}, ${p}, ${i})`}}return s}return{skinColorConfig:n,currentSkinColorMode:r,genSkinColorClass:La,getSpecialColor:o}},$3=()=>({ignoreSkinColor:k.bool.def(!0)}),R3=(t={})=>{const{props:e}=t;return{skinColorIgnoreClass:u.computed(()=>{const r=La(Ia.skinColorMode);return e?e.ignoreSkinColor?r:void 0:r})}},O3="pwcConfigProvider",Ln=t=>({configProviderData:u.inject(O3,t)}),Ne=()=>{const t=u.getCurrentInstance();function e(){return t==null?void 0:t.proxy}function n(){const s=e();s&&Me.destroyVueInstance(s)}function r(){const s=e();if(s)return Me.getVueInstanceElem(s)}function o(){var s;return(s=e())==null?void 0:s.$children}function i(s,c={}){const a=e();return Me.createVueInstance(s,D({instanceVm:t,parent:a},c))}return{getInstance:e,destroyCurrentInstance:n,getCurrentElem:r,getCurrentChildrens:o,createVueInstance:i,getVueInstanceElem:Me.getVueInstanceElem,destroyVueInstance:Me.destroyVueInstance}},D3=u.defineComponent({__name:"loading-circle",setup(t){return{__sfc:!0,linearGradientId:"linearGradient"+hn(8)}}});function ee(t,e,n,r,o,i,s,c){var a=typeof t=="function"?t.options:t;return e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),{exports:t,options:a}}var z3=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 50 50"}},[n("defs",[n("linearGradient",{attrs:{id:r.linearGradientId,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[n("stop",{attrs:{offset:"0%","stop-color":"currentColor","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":"currentColor","stop-opacity":"0"}})],1)],1),n("circle",{attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:`url(#${r.linearGradientId})`,"stroke-width":"6","stroke-linecap":"round","stroke-dasharray":"90 150","stroke-dashoffset":"0"}})])},F3=[],B3=ee(D3,z3,F3);const M3=B3.exports,N3=["circle","dot"],U3=()=>({size:k.oneOfType([Number,String]).def(32),color:k.string,background:k.looseString,type:k.oneOf(N3).def("circle")}),H3=u.defineComponent({__name:"loading",props:U3(),setup(t,{expose:e}){const n=t,r=u.ref(),{topmostElem:o}=en(u.ref(!1),r),i=u.ref({width:0,height:0});n.size==="auto"&&za(r,()=>{var a,l;i.value={width:((a=r.value)==null?void 0:a.clientWidth)||0,height:((l=r.value)==null?void 0:l.clientHeight)||0}});const s=u.computed(()=>{const a={};return n.background&&(a.background=n.background),a}),c=u.computed(()=>{const a={};if(n.size==="auto"){let p=Math.min(i.value.width,i.value.height)*.5;p>48&&(p=48),a.fontSize=`${p}px`,a.width=`${p}px`,a.height=`${p}px`}else a.fontSize=`${n.size}px`,a.width=`${n.size}px`,a.height=`${n.size}px`;return n.color&&(a.color=n.color),a});return e({topmostElem:o}),{__sfc:!0,props:n,loadingRef:r,topmostElem:o,loadingSize:i,wrapperStyle:s,iconStyle:c,PwcIconLoading:d3,LoadingCircle:M3}}});var j3=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"loadingRef",staticClass:"pwc-loading",style:r.wrapperStyle},[n("div",{staticClass:"pwc-loading__content"},[e.type==="dot"?n(r.PwcIconLoading,{style:r.iconStyle}):e._e(),e.type==="circle"?n(r.LoadingCircle,{style:r.iconStyle}):e._e()],1)])},q3=[],W3=ee(H3,j3,q3);const mr=W3.exports,Jt=Symbol("loading-instance");function Aa(t){const e=t.value;return typeof e=="boolean"?{loading:e}:e}const G3=(t,e,n)=>{if(t[Jt])return;const r=Aa(e),{size:o="auto",color:i="#3082FE",background:s="rgba(255,255,255, 0.35)"}=r,c=Me.createVueInstance(mr,{instanceVm:n.ctx,parent:n.context,props:{size:o,type:r.type,color:i,background:s}}),a=Me.getVueInstanceElem(c);a&&(a.classList.add("is-directive"),t.appendChild(a),t[Jt]={loadingVm:c,loadingElem:a})},Y3=t=>{t[Jt]&&(t[Jt].loadingElem.remove(),Me.destroyVueInstance(t[Jt].loadingVm),delete t[Jt])},Fo=(t,e,n,r)=>{Aa(e).loading?G3(t,e,n):Y3(t)};Me.defineDirective({bindHook:Fo,updateHook:Fo,unbindHook:Fo});var We=(t=>(t.Info="info",t.Success="success",t.Warning="warning",t.Error="error",t.Loading="loading",t))(We||{});function Pn(t,e){let n;function r(){ue||(o(),n=window.setTimeout(()=>{t()},e))}function o(){ue||n&&(clearTimeout(n),n=void 0)}function i(){return!!n}return u.onBeforeUnmount(()=>{o()}),{startTimeout:r,closeTimeout:o,hasTimeout:i}}const Z3=()=>({[k.modelValueKey]:k.bool.def(!1),message:k.string.def("提示"),type:k.enum().def(We.Info),duration:k.number.def(3e3),showIcon:k.bool.def(!1)}),K3=()=>se(D({},rt()),{"after-enter":H(),"after-leave":H()}),X3=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Ge(e),i=u.ref(!1),{startTimeout:s,closeTimeout:c}=Pn(()=>{l()},e.duration);function a(){i.value=!0,s(),r.value||o(!0)}function l(){i.value=!1,c(),r.value&&o(!1)}function p(){n("after-leave")}function f(){n("after-enter")}return u.watch(r,()=>{r.value?a():l()}),u.onMounted(()=>{r.value&&a()}),{toastVisible:i,openToast:a,closeToast:l,onAfterLeave:p,onAfterEnter:f}},J3=u.defineComponent({__name:"toast-element",props:Z3(),emits:K3(),setup(t,{expose:e,emit:n}){const r=t,o=u.computed(()=>{if(r.showIcon)switch(r.type){case We.Info:return"info";case We.Success:return"success";case We.Warning:return"warning";case We.Error:return"error";case We.Loading:return"loading";default:return}}),{toastVisible:i,onAfterLeave:s,onAfterEnter:c,openToast:a}=X3({props:r,emit:n});return e({openToast:a}),{__sfc:!0,props:r,emit:n,iconType:o,toastVisible:i,onAfterLeave:s,onAfterEnter:c,openToast:a,PwcIconErrorRound:u3,PwcIconInfoRoundFill:Ca,PwcIconSuccessRound:m3,PwcIconWarningRoundFill:h3,PwcLoading:mr,PwcPopup:ot}}});var V3=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-toast",attrs:{position:"center","show-header":!1,"hidden-shadow":"",background:"none","show-modal":!1,width:"90%"},on:{"after-enter":r.onAfterEnter,"after-leave":r.onAfterLeave},model:{value:r.toastVisible,callback:function(o){r.toastVisible=o},expression:"toastVisible"}},[n("div",{class:["pwc-toast__wrap",`pwc-toast__wrap--${e.type}`]},[n("div",{staticClass:"pwc-toast__text",class:{"pwc-toast__text--icon":r.iconType}},[r.iconType==="success"?n(r.PwcIconSuccessRound,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="info"?n(r.PwcIconInfoRoundFill,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="warning"?n(r.PwcIconWarningRoundFill,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="error"?n(r.PwcIconErrorRound,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="loading"?n(r.PwcLoading,{staticClass:"pwc-toast__icon",attrs:{size:24}}):e._e(),n("span",[e._t("default",function(){return[e._v(e._s(e.message))]})],2)],1)])])},e8=[],t8=ee(J3,V3,e8);const n8=t8.exports,xe=(t={})=>{const{createVueInstance:e,destroyVueInstance:n}=Ne();function r(i,s={},c){const a=D(D({message:i,type:c},t),s),l=e(n8,{props:a,on:{"after-leave":()=>{n(l)}}});l&&l.openToast()}return{toast:{info:(i,s)=>{r(i,s,We.Info)},success:(i,s)=>{r(i,s,We.Success)},warning:(i,s)=>{r(i,s,We.Warning)},error:(i,s)=>{r(i,s,We.Error)},loading:(i,s)=>{r(i,s,We.Loading)}}}},r8={zh_CN:{common:{confirm:"确认",cancel:"取消",close:"关闭",submit:"提交",submitSuccess:"提交成功",known:"我知道了",copySuccess:"复制成功",copyLinkSuccess:"链接复制成功,可去浏览器粘贴下载",tips:"提示",success:"成功",empty:"暂无内容"}},zh_TW:{common:{confirm:"確認",cancel:"取消",close:"關閉",submit:"提交",submitSuccess:"提交成功",known:"我知道了",copySuccess:"複製成功",copyLinkSuccess:"連結複製成功,可去瀏覽器貼上下載",tips:"提示",success:"成功",empty:"暫無內容"}},en:{common:{confirm:"Confirm",cancel:"Cancel",close:"Close",submit:"Submit",submitSuccess:"Success",known:"I know",copySuccess:"Copy success",copyLinkSuccess:"Link copy success, you can paste it in the browser to download",tips:"Tips",success:"Success",empty:"Empty"}},ja:{common:{confirm:"確認",cancel:"キャンセル",close:"閉じる",submit:"送信",submitSuccess:"送信成功",known:"わかりました",copySuccess:"コピー成功",copyLinkSuccess:"リンクをコピーしました。ブラウザに貼り付けてダウンロードしてください",tips:"ヒント",success:"成功",empty:"空"}},ko:{common:{confirm:"확인",cancel:"취소",close:"닫기",submit:"제출",submitSuccess:"제출 성공",known:"알겠습니다",copySuccess:"복사 성공",copyLinkSuccess:"링크 복사 성공, 브라우저에 붙여넣기하여 다운로드",tips:"팁",success:"성공",empty:"비어있음"}},ru:{common:{confirm:"Подтвердить",cancel:"Отмена",close:"Закрыть",submit:"Отправить",submitSuccess:"Успешно отправлено",known:"Понятно",copySuccess:"Скопировано успешно",copyLinkSuccess:"Ссылка скопирована успешно, можно перейти в браузер и вставить для загрузки",tips:"Подсказка",success:"Успешно",empty:"Пусто"}}};function $a(t,e=""){return Object.keys(t).reduce((n,r)=>{const o=t[r],i=e?`${e}.${r}`:r;return typeof o=="object"&&o!==null&&!Array.isArray(o)?Object.assign(n,$a(o,i)):n[i]=o,n},{})}function Ra(t={zh_CN:{},zh_TW:{},en:{},ja:{},ko:{},ru:{}}){const e={};for(const r in t){if(r==="key")continue;const o=r;e[o]=$a(D(D({},r8[o]),t[o]))}return{useI18n:()=>{const{configProviderData:r}=Ln(),o=u.computed(()=>typeof(r==null?void 0:r.globalLang)=="function"?r.globalLang():(r==null?void 0:r.globalLang)||"zh_CN"),i=u.computed(()=>["zh_CN","zh_TW"].includes(o.value));function s(a,l,p){return p.replace(new RegExp("\\{"+a+"}","g"),l)}function c(a,l={}){const p=e[o.value];let f=p==null?void 0:p[a];if(f&&l){const h=Object.keys(l);for(const d of h){const v=l[d].toString();f=s(d,v,f)}}return f}return{$t:c,currentLang:o,isZhCN:i}}}}const o8={rewardReceive:{receiveTitleForm:"Fill in the winning information",receiveTitleView:"View information",receiveTitleQrcode:"Scan the code to receive the award",receiveTitleLink:"Open link",receiveDesc:"Please fill in your personal information, which will be used to send the prize and contact you.",overTimeDesc:"Deadline for filling in information: ",choiceAddress:"Select Region",addressDetail:"Address detail",addressPlaceholder:"Please select region",qrcodeTips:"Long press to recognize QR code",deadLine:"You have exceeded the validity period for filling in contact information",checkProtocol:"Please tick the privacy statement",error1:"Please fill in the information",error2:"Please enter the correct phone number",submitText:"Agree to submit"},areaPicker:{province:"Province",city:"City",area:"Area",placeholder:"Please select region"},dataExport:{defaultTitle:"Data Export Center",recordValidPeriod:"Export records are valid for 7 days",clearRecord:"Clear Records",fileGenerateTime:"File generation time: ",generating:"Generating",completed:"Completed",generationFailed:"Generation failed",expired:"Expired",downloadToLocal:"Download to local",regenerate:"Regenerate",entranceTitle:"Data Export Center",generationSuccess:"Generated successfully",downloadWithCountdown:"Download to local ({count}s)",viewExportRecords:"You can view your export records here",gotIt:"Got it",empty:"Empty"}},i8={rewardReceive:{receiveTitleForm:"当選情報の記入",receiveTitleView:"当選情報の確認",receiveTitleQrcode:"QRコードをスキャンして賞品を受け取る",receiveTitleLink:"リンクを開く",receiveDesc:"賞品の送付及びお問い合わせのため、個人情報を入力してください。",overTimeDesc:"情報記入期限:",choiceAddress:"地域を選択",addressDetail:"詳細な住所",addressPlaceholder:"地域を選択してください",qrcodeTips:"長押ししてQRコードを認識",deadLine:"連絡先情報の記入有効期限を過ぎました",checkProtocol:"プライバシー声明にチェックを入れてください",error1:"情報を入力してください",error2:"正しい電話番号を入力してください",submitText:"同意する"},areaPicker:{province:"都道府県",city:"市区町村",area:"市区町村",placeholder:"地域を選択してください"},dataExport:{defaultTitle:"データエクスポートセンター",recordValidPeriod:"エクスポート記録の有効期限は7日間です",clearRecord:"記録をクリア",fileGenerateTime:"ファイル生成時間:",generating:"生成中",completed:"完了",generationFailed:"生成異常",expired:"期限切れ",downloadToLocal:"ローカルにダウンロード",regenerate:"再生成",entranceTitle:"データエクスポートセンター",generationSuccess:"生成成功",downloadWithCountdown:"ローカルにダウンロード({count}秒)",viewExportRecords:"ここでエクスポート記録を確認できます",gotIt:"了解しました",empty:"空"}},s8={rewardReceive:{receiveTitleForm:"당첨 정보 작성",receiveTitleView:"당첨 정보 보기",receiveTitleQrcode:"QR 코드 스캔하여 상품 수령",receiveTitleLink:"링크 열기",receiveDesc:"상품 발송 및 문의를 위해 개인 정보를 입력해 주세요.",overTimeDesc:"정보 작성 기한: ",choiceAddress:"지역 선택",addressDetail:"상세 주소",addressPlaceholder:"지역을 선택해 주세요",qrcodeTips:"QR 코드를 길게 눌러 인식",deadLine:"연락 정보 작성 유효 기간이 초과되었습니다",checkProtocol:"개인정보 처리방침에 동의해 주세요",error1:"정보를 입력해 주세요",error2:"정확한 전화번호를 입력해 주세요",submitText:"동의하기"},areaPicker:{province:"시/도",city:"시/군/구",area:"시/군/구",placeholder:"지역을 선택해 주세요"},dataExport:{defaultTitle:"데이터 내보내기 센터",recordValidPeriod:"내보내기 기록은 7일간 유효합니다",clearRecord:"기록 지우기",fileGenerateTime:"파일 생성 시간: ",generating:"생성 중",completed:"완료",generationFailed:"생성 실패",expired:"만료됨",downloadToLocal:"로컬에 다운로드",regenerate:"다시 생성",entranceTitle:"데이터 내보내기 센터",generationSuccess:"생성 성공",downloadWithCountdown:"로컬에 다운로드 ({count}초)",viewExportRecords:"여기서 내보내기 기록을 확인할 수 있습니다",gotIt:"알겠습니다",empty:"비어 있음"}},a8={rewardReceive:{receiveTitleForm:"Заполните информацию",receiveTitleView:"Просмотр информации",receiveTitleQrcode:"Отсканируйте QR-код",receiveTitleLink:"Открыть ссылку",receiveDesc:"Для успешной доставки приза нам нужна ваша личная информация, пожалуйста, заполните её правильно.",overTimeDesc:"Срок заполнения: ",choiceAddress:"Выберите регион",addressDetail:"Подробный адрес",addressPlaceholder:"Выберите регион",qrcodeTips:"Нажмите и удерживайте для сканирования QR-кода",deadLine:"Вы превысили срок заполнения контактной информации",checkProtocol:"Пожалуйста, примите политику конфиденциальности",error1:"Пожалуйста, заполните информацию",error2:"Пожалуйста, введите правильный номер телефона",submitText:"Согласиться"},areaPicker:{province:"Область",city:"Город",area:"Район",placeholder:"Выберите регион"},dataExport:{defaultTitle:"Центр экспорта данных",recordValidPeriod:"Записи экспорта действительны в течение 7 дней",clearRecord:"Очистить записи",fileGenerateTime:"Время создания файла: ",generating:"Создание",completed:"Завершено",generationFailed:"Ошибка создания",expired:"Истек срок",downloadToLocal:"Скачать локально",regenerate:"Пересоздать",entranceTitle:"Центр экспорта данных",generationSuccess:"Успешно создано",downloadWithCountdown:"Скачать локально ({count}с)",viewExportRecords:"Здесь вы можете просмотреть записи экспорта",gotIt:"Понятно",empty:"Пусто"}},c8={rewardReceive:{receiveTitleForm:"填写信息",receiveTitleView:"查看信息",receiveTitleQrcode:"扫码领奖",receiveTitleLink:"打开链接",receiveDesc:"请填写您的个人信息,用于发送奖品及联系您。",overTimeDesc:"截止填写时间:",choiceAddress:"选择地区",addressDetail:"详细地址",addressPlaceholder:"请选择地区",qrcodeTips:"长按识别二维码",deadLine:"您已超过填写联系信息的有效期",checkProtocol:"请勾选隐私声明",error1:"请完善信息",error2:"请输入正确的手机号码",submitText:"同意提交"},areaPicker:{province:"省份",city:"城市",area:"地区",placeholder:"请选择地区"},dataExport:{defaultTitle:"数据导出中心",recordValidPeriod:"导出记录有效期为7天",clearRecord:"清除记录",fileGenerateTime:"文件生成时间:",generating:"正在生成",completed:"已完成",generationFailed:"生成异常",expired:"已过期",downloadToLocal:"下载到本地",regenerate:"重新生成",entranceTitle:"数据导出中心",generationSuccess:"生成成功",downloadWithCountdown:"下载到本地({count}s)",viewExportRecords:"可以在这里查看你的导出记录",gotIt:"我知道了",empty:"暂无导出记录"}},l8={rewardReceive:{receiveTitleForm:"填寫信息",receiveTitleView:"查看信息",receiveTitleQrcode:"掃碼領獎",receiveTitleLink:"打開鏈接",receiveDesc:"為了順利送達獎品,我們需要您提供個人信息,請務必填寫正確。",overTimeDesc:"截止填寫時間:",choiceAddress:"選擇地區",addressDetail:"詳細地址",addressPlaceholder:"請選擇地區",qrcodeTips:"長按識別二維碼",deadLine:"您已超過填寫聯繫信息的有效期",checkProtocol:"請勾選隱私聲明",error1:"請完善信息",error2:"請輸入正確的手機號碼",submitText:"同意提交"},areaPicker:{province:"省份",city:"城市",area:"地区",placeholder:"請選擇地區"},dataExport:{defaultTitle:"數據導出中心",recordValidPeriod:"導出記錄有效期為7天",clearRecord:"清除記錄",fileGenerateTime:"文件生成時間:",generating:"正在生成",completed:"已完成",generationFailed:"生成異常",expired:"已過期",downloadToLocal:"下載到本地",regenerate:"重新生成",entranceTitle:"數據導出中心",generationSuccess:"生成成功",downloadWithCountdown:"下載到本地({count}秒)",viewExportRecords:"可以在這裡查看你的導出記錄",gotIt:"我知道了",empty:"暫無導出記錄"}},{useI18n:Pe}=Ra({zh_CN:c8,zh_TW:l8,en:o8,ja:i8,ko:s8,ru:a8}),Bo=(t,e={})=>{var d;const{loadingDisabledRequest:n=!0,toastSuccess:r=!1,toastError:o=!1,successMessage:i,syncLoadings:s=[]}=e,{$t:c}=Pe(),{toast:a}=xe(),l=(d=e.loading)!=null?d:u.ref(!1);function p(v){l.value=v,s.forEach(g=>{g.value=v})}const f=u.ref(!1);function h(...v){return P(this,null,function*(){if(!(n&&l.value)){e.beforeRequest&&(yield e.beforeRequest(...v)),p(!0);try{const g=yield t(...v);return e.onSuccess&&(yield e.onSuccess(g,...v)),p(!1),r&&a.success(i||c("common.success")),g}catch(g){p(!1);const _=g;if(_.message==="cancel"||_.message==="close")throw g;e.onFail&&e.onFail(_,...v);let m="";throw typeof _.message=="string"?m=_.message:Array.isArray(_.message)&&(m=_.message[0]||""),m&&o&&a.error(m),g}finally{e.onFinally&&e.onFinally(...v),p(!1),f.value=!0}}})}return{loading:l,requestFinished:f,request:h}},Mo=()=>{function t(r,o){const i=/(x-oss-process=)([^&]*)/,s=r.match(i);if(s){const a=`${s[2]},${o}`;return r.replace(i,`$1${a}`)}else return Tn(r,{"x-oss-process":o})}function e(r,o,i){if(!r)return r;if(!o&&!i)return console.warn("需要指定图片的宽度或者高度才能进行调整"),r;try{return Qs(r,{width:o,height:i})}catch(s){return console.warn(s),r}}function n(r,o=1680){return r?r.replace(/(<img.*?\ssrc=)(["']?)(.+?)\2(.*?>)/gi,(i,s,c,a,l)=>s+'"'+e(a,o)+'" data-src="'+a+'"'+l):""}return{appendToOssProcess:t,resizeOSSImg:e,resizeHtmlContentImg:n}},u8=(t,e)=>{const{onPopperEvent:n,placement:r,popperOffset:o,forceZIndex:i}=t,s={name:"computeStyles",options:{gpuAcceleration:!1,adaptive:!1}},c={name:"eventListeners",fn:({state:f})=>{var d;const h=!!((d=f.modifiersData.hide)!=null&&d.isReferenceHidden);typeof n=="function"&&n({isReferenceHidden:h}),f.styles.popper&&i&&(f.styles.popper.zIndex=String(i))}},a={name:"offset",options:{offset:({placement:f})=>{var m,w,b,x;let h=0,d=0;const v=u.unref(o);if(v){const C=(m=v[0])!=null?m:0,Q=(w=v[1])!=null?w:0;h+=C,d+=Q}const g=e(),_=(x=(b=g==null?void 0:g.state)==null?void 0:b.elements)==null?void 0:x.arrow;if(_ instanceof HTMLElement){const C=_.offsetWidth,Q=_.offsetHeight;(f.includes("top")||f.includes("bottom"))&&(d+=Q/2),(f.includes("left")||f.includes("right"))&&(d+=C/2)}return[h,d]}}},l={name:"arrow",options:{padding:6}};return{popperCoreOptions:u.computed(()=>({placement:u.unref(r),strategy:"absolute",modifiers:[s,c,a,l]}))}},p8=t=>{const{getElement:e,popperVisible:n}=t,{popperCoreOptions:r}=u8(t,i);let o;function i(){return o}function s(){return P(this,null,function*(){yield u.nextTick();const l=i();l&&l.update()})}function c(){a();const{referenceElem:l,popperElem:p}=e();l&&p&&(o=R2(l,p,u.unref(r)))}function a(){const l=i();l&&(l.destroy(),o=void 0)}return u.watch(()=>u.unref(n),()=>P(this,null,function*(){yield u.nextTick(),u.unref(n)?c():a()})),u.watch(()=>u.unref(r),()=>{const l=i();l&&l.setOptions(u.unref(r))}),u.onUnmounted(()=>{a()}),{getPopperCtx:i,updatePopper:s,createPopperCore:c,destroyPopperCore:a}};function f8(t){const e=[],n=i=>{if(typeof i=="string"){const c=document.querySelectorAll(i);c&&c.forEach(a=>e.push(a));return}const s=he(i);s instanceof HTMLElement&&e.push(s)},r=typeof t=="function"?t():t;return(Array.isArray(r)?r:[r]).forEach(n),e}function Oa(t,e){let n=!1;return f8(e).forEach(o=>{const i=he(o);i instanceof HTMLElement&&i.contains(t)&&(n=!0)}),n}const gr=(t,e,n=!0)=>{const{isMac:r}=ae(),o=a=>{const l=a.target;l&&(Oa(l,t)||e({listenOutSideEvent:s,removeOutSideEvent:c}))};let i=!1;function s(){if(i)return;i=!0;const a=r?"click":"mouseup";document.addEventListener(a,o,{capture:!0})}function c(){const a=r?"click":"mouseup";document.removeEventListener(a,o,{capture:!0}),i=!1}return u.onMounted(()=>{n&&s()}),u.onBeforeUnmount(()=>{c()}),{listenOutSideEvent:s,removeOutSideEvent:c,listenClickOutSide:s,removeListenClickOutSide:c}},d8=(t,e,n=!0)=>{const r=c=>{const a=c.target;a&&(Oa(a,t)||e({listenOutSideEvent:i,removeOutSideEvent:s}))};let o=!1;function i(){o||(o=!0,document.addEventListener("mousemove",r,{capture:!0}))}function s(){document.removeEventListener("mousemove",r,{capture:!0}),o=!1}return u.onMounted(()=>{n&&i()}),u.onBeforeUnmount(()=>{s()}),{listenOutSideEvent:i,removeOutSideEvent:s}},No=["top","bottom","left","right","top-start","top-end","bottom-start","bottom-end","left-start","left-end","right-start","right-end"],Da=["click","hover","focus","long-press","custom"],m8=t=>{const{trigger:e,popperDisabled:n,getElement:r,mouseEnterDelay:o,mouseLeaveDelay:i,showPopper:s,hidePopper:c,togglePopper:a,delayShowPopper:l,delayHidePopper:p,forceOutSideClickHide:f,outSideClickDelayHide:h}=t;gr(()=>{const{referenceElem:y,popperElem:E}=r(),T=[];return y&&T.push(y),E&&T.push(E),T},()=>{(u.unref(f)||u.unref(e).includes("click"))&&(u.unref(h)?p():c())});const d=()=>{if(u.unref(n))return;v();const{referenceElem:y}=r();y&&y.addEventListener("click",a)},v=()=>{const{referenceElem:y}=r();y&&y.removeEventListener("click",a)};u.onBeforeUnmount(v);const g=()=>{u.unref(n)||l(u.unref(o))},_=()=>{p(u.unref(i))},m=()=>{const{referenceElem:y,popperElem:E}=r();w(),y&&E&&(y.addEventListener("mouseenter",g),y.addEventListener("mouseleave",_),E.addEventListener("mouseenter",g),E.addEventListener("mouseleave",_))},w=()=>{const{referenceElem:y,popperElem:E}=r();y&&(y.removeEventListener("mouseenter",g),y.removeEventListener("mouseleave",_)),E&&(E.removeEventListener("mouseenter",g),E.removeEventListener("mouseleave",_))};u.onBeforeUnmount(w);const b=()=>{u.unref(n)||s()},x=()=>{c()},C=()=>{Q();const{inputElem:y}=r();y&&(y.addEventListener("focus",b),y.addEventListener("blur",x))},Q=()=>{const{inputElem:y}=r();y&&(y.removeEventListener("focus",b),y.removeEventListener("blur",x))};u.onBeforeUnmount(Q);const S=()=>{const y=u.unref(e);y.includes("click")&&d(),y.includes("hover")&&m(),y.includes("focus")&&C()};u.onMounted(()=>{S()}),u.watch(()=>{const{referenceElem:y}=r();return y},S)},g8=(t={})=>{const e=u.isRef(t.popperVisible)?t.popperVisible:u.ref(!!t.popperVisible);function n(h=!1){h&&t.beforeShowPopper&&!t.beforeShowPopper()||(p(),f(),e.value=h)}function r(){n(!0)}function o(){n(!1)}function i(){n(!u.unref(e))}let s,c;function a(h=100){if(p(),f(),!h){r();return}s=window.setTimeout(()=>r(),h)}function l(h=100){if(p(),f(),!h){o();return}c=window.setTimeout(()=>o(),h)}function p(){clearTimeout(s),s=void 0}function f(){clearTimeout(c),c=void 0}return u.onBeforeUnmount(()=>{p(),f()}),{popperVisible:e,showPopper:r,hidePopper:o,togglePopper:i,delayShowPopper:a,delayHidePopper:l}},h8=t=>{const{getElement:e,arrow:n}=t;function r(){if(ue)return;const o=u.unref(n),i=typeof o=="boolean"?{}:o,{popperElem:s}=e(),c=document.createElement("div");c.className="pwc-popper-arrow",c.setAttribute("data-popper-arrow",""),c.style.color=i.color||"",c.style.borderWidth=`${i.size}px`,s&&s.appendChild(c)}u.onMounted(()=>{u.unref(n)&&r()})};function Vt(t,e){const{getAppBodyElement:n}=In(),r=u.computed(()=>{if(ue)return;let i=he(e);return i||(i=n()),i});function o(){const i=he(t),s=u.unref(r);!i||!s||s.appendChild(i)}u.watch(()=>[u.unref(t),u.unref(r)],()=>{ue||o()},{immediate:!0}),u.onBeforeUnmount(()=>{const i=he(t);i&&i.remove()})}const hr=(t={})=>{var L,A,$,O,F,W,N,Z,X,B,R,z,U,M,Y,ie;const e=(L=t.referenceRef)!=null?L:u.ref(),n=(A=t.popperRef)!=null?A:u.ref(),r=($=t.inputRef)!=null?$:u.ref(),o=(O=t.popperDisabled)!=null?O:u.ref(!1),i=(F=t.trigger)!=null?F:u.ref("click"),s=(W=t.mouseEnterDelay)!=null?W:u.ref(100),c=(N=t.mouseLeaveDelay)!=null?N:u.ref(100),a=(Z=t.placement)!=null?Z:u.ref("bottom"),l=(X=t.popperOffset)!=null?X:u.ref([0,0]),p=(B=t.arrow)!=null?B:u.ref(!1),f=(R=t.forceOutSideClickHide)!=null?R:u.ref(!1),h=(z=t.outSideClickDelayHide)!=null?z:u.ref(!1),d=(U=t.followReferenceWidth)!=null?U:u.ref(!1),v=(M=t.forceZIndex)!=null?M:null,g=(Y=t.appendToBody)!=null?Y:!0,_=(ie=t.mountEl)!=null?ie:"";!g&&!_&&console.warn("[use-popper] need mountEl");const{popperVisible:m,showPopper:w,hidePopper:b,togglePopper:x,delayShowPopper:C,delayHidePopper:Q}=g8(t);function S(){return{referenceElem:he(e),popperElem:he(n),inputElem:he(r)}}function y(ge){const{isReferenceHidden:$e}=ge;$e&&u.unref(m)&&b()}u.watchEffect(()=>{const{referenceElem:ge,popperElem:$e}=S();if(u.unref(d)&&u.unref(m)&&ge&&$e){const zt=ge.clientWidth;$e instanceof HTMLElement&&($e.style.width=`${zt}px`)}});const E={referenceRef:e,popperRef:n,inputRef:r,popperDisabled:o,trigger:i,mouseEnterDelay:s,mouseLeaveDelay:c,placement:a,popperOffset:l,arrow:p,forceOutSideClickHide:f,outSideClickDelayHide:h,followReferenceWidth:d,popperVisible:m,appendToBody:g,mountEl:_,forceZIndex:v,showPopper:w,hidePopper:b,togglePopper:x,delayShowPopper:C,delayHidePopper:Q,getElement:S,onPopperEvent:y},T=u.computed(()=>{if(!ue)return g?document.body:document.querySelector(_)});Vt(n,T),h8(E),m8(E),en(m,n);const{updatePopper:I}=p8(E);return se(D({},E),{updatePopper:I})};function Uo(t,e){if(!ue)return t();if(e)return e}function ne(t,e,n,r){const o=`__evnt-listener-${e}-${hn(5)}`;function i(l){n(l)}function s(){if(!ue)return t===window?window:he(t)}function c(){const l=s();l&&!l[o]&&(l.addEventListener(e,i,r),l[o]=!0)}function a(){const l=s();l&&(l.removeEventListener(e,i,r),delete l[o])}return u.watch(()=>s(),()=>P(this,null,function*(){yield u.nextTick(),c()}),{immediate:!0}),u.onBeforeUnmount(a),{listenEvent:c,removeEvent:a}}const v8=t=>{const e=u.ref(Uo(()=>document.visibilityState==="visible",!1));return Uo(()=>{ne(document,"visibilitychange",()=>{e.value=document.visibilityState==="visible",t&&t(e.value)})}),{documentVisible:e}},za=(t,e,n)=>{const{autoLifeCycle:r=!0}={};let o;function i(){o||(o=new p0(()=>{e()}))}return u.watch(()=>he(t),s=>{i(),s?o==null||o.observe(s):o==null||o.disconnect()},{immediate:!0}),r&&u.onBeforeUnmount(()=>{o==null||o.disconnect(),o=void 0}),{observer:o}};function Fa(t){const e=u.ref(0),n=u.ref(0),r=u.computed(()=>({width:e.value,height:n.value}));function o(){const i=he(t);e.value=(i==null?void 0:i.clientWidth)||0,n.value=(i==null?void 0:i.clientHeight)||0}return za(t,()=>{o()}),u.onMounted(o),{width:e,height:n,size:r}}const _8={isMac:!1,isMobile:!1,isWeixin:!1,isWorkWeixin:!1,isIframe:!1,isDesktopIPad:!1,isIE:!1,isLowerIE:!1},ae=()=>{if(ue)return _8;const t=K2(),e=t.os.isMacOS,n=t.isPortable,r=t.client.isWx,o=t.client.isWxWork,i=window.self!==window.top,s=(()=>{const p=window.navigator.userAgent;return/mac os x/i.test(p)&&"ontouchend"in document})(),c=(()=>{if(ue)return-1;const p=window.navigator.userAgent,f=p.indexOf("MSIE "),h=p.indexOf("Trident/");if(f>-1)return parseInt(p.substring(f+5,p.indexOf(".",f)),10);if(h>-1){const d=p.indexOf("rv:");return parseInt(p.substring(d+3,p.indexOf(".",d)),10)}return-1})(),a=t.browser.isIE,l=a&&c!==-1&&c<=10;return{isMac:e,isMobile:n,isWeixin:r,isWorkWeixin:o,isIframe:i,isDesktopIPad:s,isIE:a,isLowerIE:l}};function w8(){const{isIE:t}=ae();function e(r,o){return window.getComputedStyle(r).getPropertyValue(o)}function n(r){const o=he(r);if(!o)return!1;if(t)return o.scrollWidth>o.clientWidth;const i=document.createRange();i.setStart(o,0),i.setEnd(o,o.childNodes.length);const s=i.getBoundingClientRect().width,c=i.getBoundingClientRect().height,a=(parseInt(e(o,"padding-left"),10)||0)+(parseInt(e(o,"padding-right"),10)||0),l=(parseInt(e(o,"padding-top"),10)||0)+(parseInt(e(o,"padding-bottom"),10)||0),p=s+a,f=c+l,h=o.getBoundingClientRect().width,d=o.getBoundingClientRect().height;return p>h||f>d}return{isTextEllipsis:n}}function b8(t,e,n={}){const{doubleClickTime:r=200,singleClickCallback:o}=n;let i=Date.now(),s;const{startTimeout:c,closeTimeout:a}=Pn(()=>{o&&s&&o(s),s=void 0},r+100);ne(t,"click",l=>{if(Date.now()-i<r){a(),e(l);return}i=Date.now(),s=l,c()})}const Ba=[{enabledField:"fullscreenEnabled",elementField:"fullscreenElement",requestApiField:"requestFullscreen",exitApiField:"exitFullscreen",fullscreenChangeEvent:"fullscreenchange"},{enabledField:"webkitFullscreenEnabled",elementField:"webkitFullscreenElement",requestApiField:"webkitRequestFullscreen",exitApiField:"webkitExitFullscreen",fullscreenChangeEvent:"webkitfullscreenchange"},{enabledField:"webkitCancelFullScreen",elementField:"webkitCurrentFullScreenElement",requestApiField:"webkitRequestFullScreen",exitApiField:"webkitCancelFullScreen",fullscreenChangeEvent:"webkitfullscreenchange"},{enabledField:"mozFullScreenEnabled",elementField:"mozFullScreenElement",requestApiField:"mozRequestFullScreen",exitApiField:"mozCancelFullScreen",fullscreenChangeEvent:"mozfullscreenchange"},{enabledField:"msFullscreenEnabled",elementField:"msFullscreenElement",requestApiField:"msRequestFullscreen",exitApiField:"msExitFullscreen",fullscreenChangeEvent:"MSFullscreenChange"}],y8=(t,e)=>{const n=u.ref();function r(){if(ue)return;let v;for(let g=0;g<Ba.length;g++){const _=Ba[g];if(_.enabledField in document){v=_;break}}n.value=v}const o=u.ref(!1),{onFullscreenChange:i,forceDisabled:s=!1}={};function c(v){o.value=v,i&&i(v)}const a=u.computed(()=>s?!1:!!n.value),l=()=>{let v;return v=he(t),!v&&!ue&&(v=document.documentElement),v};function p(){const v=l();!n.value||!v||!v[n.value.requestApiField]||v[n.value.requestApiField]()}function f(){n.value&&document[n.value.exitApiField]()}function h(){n.value&&(document[n.value.elementField]?f():p())}function d(){n.value&&(document[n.value.elementField]?c(!0):c(!1))}return u.onMounted(()=>{r(),n.value&&document.addEventListener(n.value.fullscreenChangeEvent,d)}),u.onBeforeUnmount(()=>{n.value&&document.removeEventListener(n.value.fullscreenChangeEvent,d)}),{isFullscreen:o,supportFullscreen:a,requestFullscreen:p,exitFullscreen:f,toggleFullscreen:h}},x8=t=>{const e=u.ref(!1),{isMobile:n}=ae();return n||(ne(t,"mouseenter",r=>{e.value=!0,r.target.classList.add("is-hover")}),ne(t,"mousemove",r=>{e.value=!0,r.target.classList.add("is-hover")},{capture:!0}),ne(t,"mouseleave",r=>{e.value=!1,r.target.classList.remove("is-hover")})),{isHover:e}},Ma=()=>{const{configProviderData:t}=Ln();return{pageFullscreen:u.computed(()=>{var n;return typeof(t==null?void 0:t.pageFullscreen)=="function"?t.pageFullscreen():(n=t==null?void 0:t.pageFullscreen)!=null?n:!1})}},Ho=(t={})=>{const{autoListen:e=!0,autoListenCb:n=()=>{}}=t,{pageFullscreen:r}=Ma(),{isMobile:o}=ae(),i=u.ref("Vertical"),s=u.computed(()=>o?i.value==="Vertical":!1),c=u.computed(()=>o?r.value?!0:i.value==="Horizontal":!1);function a(){window.innerWidth<window.innerHeight&&(i.value="Vertical")}function l(){(window.orientation===180||window.orientation===0)&&(i.value="Vertical"),(window.orientation===90||window.orientation===-90)&&(i.value="Horizontal"),a()}function p(){setTimeout(()=>{const d=window.matchMedia("(orientation: portrait)");d!=null&&d.matches?i.value="Vertical":i.value="Horizontal",a(),n(i.value)},200)}function f(){o&&window.addEventListener("onorientationchange"in window?"orientationchange":"resize",p,!1)}function h(){window.removeEventListener("onorientationchange"in window?"orientationchange":"resize",p,!1)}return u.onMounted(()=>{e&&(f(),p())}),u.onBeforeUnmount(()=>{h()}),{screenOrientationMode:i,isVerticalScreenOrientation:s,isHorizontalScreenOrientation:c,listenOrientationEvent:f,updateScreenOrientationModeManually:l}};function jo(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var C8=typeof global=="object"&&global&&global.Object===Object&&global,Q8=typeof self=="object"&&self&&self.Object===Object&&self,Na=C8||Q8||Function("return this")(),qo=function(){return Na.Date.now()},k8=/\s/;function S8(t){for(var e=t.length;e--&&k8.test(t.charAt(e)););return e}var E8=/^\s+/;function T8(t){return t&&t.slice(0,S8(t)+1).replace(E8,"")}var vr=Na.Symbol,Ua=Object.prototype,I8=Ua.hasOwnProperty,L8=Ua.toString,An=vr?vr.toStringTag:void 0;function P8(t){var e=I8.call(t,An),n=t[An];try{t[An]=void 0;var r=!0}catch(i){}var o=L8.call(t);return r&&(e?t[An]=n:delete t[An]),o}var A8=Object.prototype,$8=A8.toString;function R8(t){return $8.call(t)}var O8="[object Null]",D8="[object Undefined]",Ha=vr?vr.toStringTag:void 0;function z8(t){return t==null?t===void 0?D8:O8:Ha&&Ha in Object(t)?P8(t):R8(t)}function F8(t){return t!=null&&typeof t=="object"}var B8="[object Symbol]";function M8(t){return typeof t=="symbol"||F8(t)&&z8(t)==B8}var ja=NaN,N8=/^[-+]0x[0-9a-f]+$/i,U8=/^0b[01]+$/i,H8=/^0o[0-7]+$/i,j8=parseInt;function qa(t){if(typeof t=="number")return t;if(M8(t))return ja;if(jo(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=jo(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=T8(t);var n=U8.test(t);return n||H8.test(t)?j8(t.slice(2),n?2:8):N8.test(t)?ja:+t}var q8="Expected a function",W8=Math.max,G8=Math.min;function Wo(t,e,n){var r,o,i,s,c,a,l=0,p=!1,f=!1,h=!0;if(typeof t!="function")throw new TypeError(q8);e=qa(e)||0,jo(n)&&(p=!!n.leading,f="maxWait"in n,i=f?W8(qa(n.maxWait)||0,e):i,h="trailing"in n?!!n.trailing:h);function d(Q){var S=r,y=o;return r=o=void 0,l=Q,s=t.apply(y,S),s}function v(Q){return l=Q,c=setTimeout(m,e),p?d(Q):s}function g(Q){var S=Q-a,y=Q-l,E=e-S;return f?G8(E,i-y):E}function _(Q){var S=Q-a,y=Q-l;return a===void 0||S>=e||S<0||f&&y>=i}function m(){var Q=qo();if(_(Q))return w(Q);c=setTimeout(m,g(Q))}function w(Q){return c=void 0,h&&r?d(Q):(r=o=void 0,s)}function b(){c!==void 0&&clearTimeout(c),l=0,r=a=o=c=void 0}function x(){return c===void 0?s:w(qo())}function C(){var Q=qo(),S=_(Q);if(r=arguments,o=this,a=Q,S){if(c===void 0)return v(a);if(f)return clearTimeout(c),c=setTimeout(m,e),d(a)}return c===void 0&&(c=setTimeout(m,e)),s}return C.cancel=b,C.flush=x,C}const Wa=(t={})=>{var c,a;const e=(c=t.scrollRef)!=null?c:u.ref(),n=(a=t.direction)!=null?a:"vertical",r=Wo(l=>{var w;const p=l.target;if(!p)return;const{scrollTop:f,scrollHeight:h,clientHeight:d,scrollLeft:v,scrollWidth:g,clientWidth:_}=p;let m=!1;n==="vertical"&&f+d>=h-d*.2&&(m=!0),n==="horizontal"&&v+_>=g-_*.2&&(m=!0),m&&((w=t.nextCallback)==null||w.call(t))},300);ne(e,"scroll",r);function o(){if(e.value)return e.value}const i=u.ref(!1);function s(){return P(this,null,function*(){yield u.nextTick();const l=o();return!l||!l.clientHeight||i.value?void 0:l.scrollHeight>l.clientHeight})}return u.onBeforeUnmount(()=>{r.cancel(),i.value=!0}),{scrollRef:e,onScroll:r,getScrollElement:o,hasVerticalScrollbar:s}};function Ga(t,e={}){const{immediate:n=!0}=e,r=e.keyword||u.ref(""),o=e.pageNumber||u.ref(1),i=e.pageSize||u.ref(10),s=e.contents||u.ref([]),c=e.totalItems||u.ref(0),a=e.totalPages||u.ref(0),l=u.ref(!1),p=u.ref(!1),f=u.ref(!1),h=u.computed(()=>s.value.length===0&&f.value),{scrollRef:d,hasVerticalScrollbar:v}=Wa({scrollRef:e.scrollRef,nextCallback:_,direction:e.direction});function g(){return P(this,arguments,function*(Q={}){var T,I;const{setTotalPages:S=!0}=Q,y=(T=Q.pageNumber)!=null?T:o.value,E=(I=Q.pageSize)!=null?I:i.value;p.value=!0;try{const L=yield t({pageNumber:y,pageSize:E,keyword:r.value});return L.pageNumber===1?s.value=[...L.contents]:s.value.push(...L.contents),S&&(a.value=L.totalPages||0),c.value=L.totalItems||0,l.value=L.contents.length<E,p.value=!1,m(),f.value=!0,L}catch(L){p.value=!1}f.value=!0})}function _(){l.value||p.value||a.value>0&&o.value>=a.value||(o.value+=1,g())}function m(){return P(this,null,function*(){(yield v())===!1&&!l.value&&_()})}const w=Wo(()=>{x()},300),b=u.computed(()=>{const Q={keyword:r.value};return e.getFilterParams&&Object.assign(Q,e.getFilterParams()),Q});u.watch(b,w),u.onBeforeUnmount(()=>{w.cancel()});function x(){return P(this,null,function*(){o.value=1,d.value&&(d.value.scrollTop=0),yield g()})}function C(){return P(this,null,function*(){yield g({pageNumber:1,pageSize:Math.max(s.value.length,i.value),setTotalPages:!1})})}return n&&u.onMounted(()=>{g()}),{scrollRef:d,pageNumber:o,pageSize:i,contents:s,keyword:r,isEmpty:h,refresh:x,refreshList:C}}var ht=(t=>(t.Primary="primary",t.Info="info",t.Danger="danger",t.Multicolour="multicolour",t.Warning="warning",t))(ht||{}),$n=(t=>(t.Large="large",t.Default="default",t.Small="small",t.Mini="mini",t))($n||{});const Ya=()=>({type:k.enum().def(ht.Primary),disabled:k.bool.def(!1),size:k.enum().def($n.Default),outline:k.bool.def(!1),block:k.bool.def(!1),square:k.bool.def(!1)}),Y8=()=>({click:H()}),Z8=t=>{const{props:e,emit:n}=t;function r(o){e.disabled||n("click",o)}return{onClick:r}},K8={name:"PwcButton"},X8=u.defineComponent(se(D({},K8),{props:Ya(),emits:Y8(),setup(t,{emit:e}){const n=t,{onClick:r}=Z8({props:n,emit:e});return{__sfc:!0,props:n,emit:e,onClick:r}}}));var J8=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("button",{staticClass:"pwc-button",class:{["pwc-button--type-"+e.type]:!0,["pwc-button--size-"+e.size]:e.size&&!0,"is-outline":e.outline,"is-disabled":e.disabled,"is-block":e.block,"is-square":e.square},on:{click:r.onClick}},[e._t("default")],2)},V8=[],eu=ee(X8,J8,V8);const Rn=eu.exports;Xt.warning=()=>{};function Go(t){return typeof t=="string"?t:typeof t=="number"?`${t}px`:t}var _r=(t=>(t.Default="default",t.Medium="medium",t.Small="small",t))(_r||{});const Za=["inline","header"],tu=()=>({formData:k.object().def({}),formRules:k.object().def({}),labelWidth:k.looseNumber,labelHeight:k.looseNumber,contentWidth:k.looseNumber,submitAction:k.func(),labelModel:k.oneOf(Za).def("header"),debug:k.bool.def(!1),size:k.enum()}),nu=()=>({"submit-form":H()}),Ka=Symbol("FORM_WRAP_PROPS_PROVIDE_KEY"),Xa=()=>u.inject(Ka,void 0),Ja=Symbol("FORM_WRAP_PROVIDE_KEY"),ru=()=>u.inject(Ja,void 0),ou=t=>{const{props:e,emit:n}=t,{formData:r,submitAction:o,debug:i,size:s}=ut(e),{getCurrentChildrens:c}=Ne(),a=u.ref(!1);function l(){return P(this,arguments,function*(f={}){const h=c();if(!(!h||h.length===0))for(let d=0;d<h.length;d++){const v=h[d];if(su(v))try{yield v.validateFormItem(f)}catch(g){return Promise.reject(g)}}})}function p(f){return P(this,null,function*(){try{yield l(f),n("submit-form",u.unref(r));const h=u.unref(o);if(typeof h=="function"){a.value=!0;try{yield h(u.unref(r))}catch(d){a.value=!1}finally{a.value=!1}}}catch(h){console.error("submitForm-error",h.message)}})}return u.provide(Ka,e),u.provide(Ja,{size:s,debug:i,isSubmiting:a,validateCurrentForm:l,submitForm:p}),{isSubmiting:a,validateCurrentForm:l,submitForm:p}},iu=()=>({formField:k.looseString,label:k.looseString,labelWidth:k.looseNumber,labelHeight:k.looseNumber,contentWidth:k.looseNumber,showErrorMessage:k.bool.def(!0),errorMessage:k.looseString,labelModel:k.oneOf(Za),required:k.bool.def(!1)}),su=t=>{var n;const e=t;return(n=e==null?void 0:e.isFormItem)!=null?n:!1},Va=Symbol("FORM_ITEM_PROVIDE_KEY"),au=()=>u.inject(Va,void 0),cu=t=>{const{props:e}=t,n=u.computed(()=>e.required),r=Xa(),{isMobile:o}=ae(),i=u.computed(()=>e.label),s=u.computed(()=>{var _,m;return(m=(_=e.labelModel)!=null?_:r==null?void 0:r.labelModel)!=null?m:"inline"}),c=u.computed(()=>{var x,C,Q,S;if(u.unref(s)==="header")return{};const _=170,m=o?52:40,w=(C=(x=e.labelWidth)!=null?x:r==null?void 0:r.labelWidth)!=null?C:_,b=(S=(Q=e.labelHeight)!=null?Q:r==null?void 0:r.labelHeight)!=null?S:m;return{width:Go(w),height:Go(b)}}),a=u.computed(()=>{var m;const _=(m=e.contentWidth)!=null?m:r==null?void 0:r.contentWidth;return Go(_)}),l=u.computed(()=>({width:a.value})),p=u.ref(),f=u.computed(()=>typeof u.unref(p)!="undefined");u.watchEffect(()=>{e.errorMessage?h(e.errorMessage):p.value=void 0}),u.watch(()=>r==null?void 0:r.formRules,()=>{p.value=void 0});function h(_){_&&!e.showErrorMessage||(p.value=_)}function d(){p.value=void 0}function v(_={}){var E;const m=(E=_.showErrorMessage)!=null?E:!0,w=e.formField,b=r==null?void 0:r.formData,x=r==null?void 0:r.formRules;if(!w||!b||!x||!x[w])return Promise.resolve();const C={[w]:x[w]},Q={[w]:b[w]},S=new Xt(C);let y;return S.validate(Q,T=>{T&&T.length&&(y=T[0].message)}),m&&e.showErrorMessage&&h(y),new Promise((T,I)=>{typeof y=="undefined"?T():I(new Error(y))})}const g={isFormItem:!0,formItemIsError:f,setErrorMessage:h,removeErrorMessage:d,validateFormItem:v};return u.provide(Va,g),{required:n,labelText:i,labelModel:s,labelStyle:c,contentWidthStyle:a,contentStyle:l,itemErrorMessage:p,formItemIsError:f,removeErrorMessage:d,validateFormItem:v,formItemInstance:g}},lu=u.defineComponent({__name:"form-item",props:iu(),setup(t,{expose:e}){const n=t,{isMobile:r}=ae(),{required:o,labelText:i,labelModel:s,labelStyle:c,itemErrorMessage:a,contentWidthStyle:l,contentStyle:p,formItemIsError:f,formItemInstance:h}=cu({props:n});return e(h),{__sfc:!0,props:n,isMobile:r,required:o,labelText:i,labelModel:s,labelStyle:c,itemErrorMessage:a,contentWidthStyle:l,contentStyle:p,formItemIsError:f,formItemInstance:h}}});var uu=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-form-item",class:{"pwc-form-item--header":r.labelModel==="header","pwc-form-item--mobile":r.isMobile}},[r.formItemIsError?n("div",{staticClass:"pwc-form-item__anchor",attrs:{"data-form-item-error":""}}):e._e(),r.labelText?n("div",{staticClass:"pwc-form-item__label",style:r.labelStyle},[r.required?n("span",{staticClass:"pwc-form-item__label__required"},[e._v(" * ")]):e._e(),e._v(" "+e._s(r.labelText)+" ")]):e._e(),n("div",{staticClass:"pwc-form-item__content",class:{"pwc-form-item__content--has-width":!!r.contentWidthStyle},style:r.contentStyle},[e._t("default"),r.itemErrorMessage?n("div",{staticClass:"pwc-form-item__content__error"},[e._v(" "+e._s(r.itemErrorMessage)+" ")]):e._e()],2)])},pu=[],fu=ee(lu,uu,pu);const e1=fu.exports,du=u.defineComponent({__name:"form-wrap",props:tu(),emits:nu(),setup(t,{expose:e,emit:n}){const r=t,{validateCurrentForm:o}=ou({props:r,emit:n});return e({validateCurrentForm:o}),{__sfc:!0,props:r,emit:n,validateCurrentForm:o}}});var mu=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"pwc-form-wrap"},[e._t("default")],2)},gu=[],hu=ee(du,mu,gu);const t1=hu.exports,n1=()=>({size:k.enum(),validateForm:k.bool.def(!0)}),vu=t=>{const{props:e,classPrefix:n}=t;return{commonClassNames:u.computed(()=>{const o=[],i=e.size;return i&&i!==_r.Default&&o.push(`${n}--size-${i}`),o})}},r1=t=>{const{props:e}=t,n=au();function r(){return P(this,null,function*(){yield n==null?void 0:n.validateFormItem()})}function o(){return P(this,null,function*(){if(e.validateForm)try{yield r()}catch(c){console.error("blur-validate",c.message)}})}function i(){e.validateForm&&(n==null||n.removeErrorMessage())}const s=u.computed(()=>!e.validateForm||!n?!1:u.unref(n.formItemIsError));return{validateCurrentFormItem:r,blurToValidateItem:o,focusToRemoveError:i,formItemIsError:s}},_u=()=>se(D({},n1()),{[k.modelValueKey]:k.oneOfType([String,Number]).def(""),readonly:k.bool.def(!1),disabled:k.bool.def(!1),type:k.string.def("text"),placeholder:k.string.def(""),maxlength:k.number.def(1/0),showWordLimit:k.bool.def(!1),prefixText:k.string.def(""),suffixText:k.string.def(""),clearabled:k.bool.def(!1),useTextarea:k.bool.def(!1),rows:k.number.def(4)}),wu=()=>se(D({},rt()),{blur:H(),focus:H(),enter:H()}),bu=t=>{const{emit:e,props:n,classPrefix:r}=t,{blurToValidateItem:o,focusToRemoveError:i,formItemIsError:s}=r1({props:n}),{modelValue:c,updateModelValue:a}=Ge(n),{commonClassNames:l}=vu({props:n,classPrefix:r}),p=u.ref(),f=u.ref(!1),h=u.ref(!1),d=u.computed(()=>{const I=[...u.unref(l)];return u.unref(s)&&I.push(`${r}--error`),n.useTextarea&&I.push(`${r}--textarea`),I}),v=u.computed(()=>{var L;if(!n.showWordLimit)return"";const I=`${(L=u.unref(c))!=null?L:""}`.length;return n.maxlength===1/0?`${I}`:`${I}/${n.maxlength}`});function g(){a(""),y()}function _(I){I.preventDefault(),I.stopPropagation(),g()}function m(I){I.preventDefault(),g()}function w(I){let A=I.target.value;n.type==="number"&&(A=A.slice(0,n.maxlength),p.value&&p.value.setAttribute("value",A)),a(A)}function b(){f.value=!1,o(),e("blur",u.unref(c))}function x(){f.value=!0,i(),e("focus",u.unref(c))}function C(){e("enter",u.unref(c))}const{getInstance:Q}=Ne();function S(){const I=Q();I==null||I.$forceUpdate()}function y(){var I;(I=p.value)==null||I.focus()}function E(){var I;(I=p.value)==null||I.blur()}return{modelValue:c,inputRef:p,inputClassNames:d,isFocus:f,isHoveringClear:h,onInputChanged:w,onInputBlur:b,onInputFocus:x,onInputEnter:C,clearValue:g,handleClearClick:_,handleClearTouch:m,formInstance:{forceUpdate:S,focusInput:y,blurInput:E},wordLimitText:v}},yu={name:"PwcInput"},xu=u.defineComponent(se(D({},yu),{props:_u(),emits:wu(),setup(t,{expose:e,emit:n}){const r=t,{modelValue:o,inputRef:i,inputClassNames:s,onInputChanged:c,onInputBlur:a,onInputFocus:l,formInstance:p,wordLimitText:f,clearValue:h,handleClearClick:d,handleClearTouch:v,isFocus:g,isHoveringClear:_}=bu({props:r,emit:n,classPrefix:"pwc-input"});return e(p),{__sfc:!0,emit:n,props:r,modelValue:o,inputRef:i,inputClassNames:s,onInputChanged:c,onInputBlur:a,onInputFocus:l,formInstance:p,wordLimitText:f,clearValue:h,handleClearClick:d,handleClearTouch:v,isFocus:g,isHoveringClear:_,PwcIconCloseRoundFill:a3}}}));var Cu=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-input",class:[r.inputClassNames,{"is-disabled":e.disabled,"is-readonly":e.readonly,"is-focus":r.isFocus}]},[n("div",{staticClass:"pwc-input__main"},[n("div",{staticClass:"pwc-input__main__prefix"},[e._t("prefix",function(){return[e.prefixText?n("span",{staticClass:"pwc-input__main__input__prefix-text"},[e._v(" "+e._s(e.prefixText)+" ")]):e._e()]})],2),n("div",{staticClass:"pwc-input__main__input"},[e.useTextarea?n("textarea",{ref:"inputRef",staticClass:"pwc-input__main__input__inner",attrs:{type:e.type,placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,readonly:e.readonly,rows:e.rows},domProps:{value:r.modelValue},on:{input:r.onInputChanged,blur:r.onInputBlur,focus:r.onInputFocus}}):n("input",{ref:"inputRef",staticClass:"pwc-input__main__input__inner",attrs:{type:e.type,placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,readonly:e.readonly},domProps:{value:r.modelValue},on:{input:r.onInputChanged,blur:r.onInputBlur,focus:r.onInputFocus}})]),n("div",{staticClass:"pwc-input__main__suffix"},[e.clearabled&&r.modelValue&&(r.isFocus||r.isHoveringClear)?[n(r.PwcIconCloseRoundFill,{staticClass:"pwc-input__main__input__clearabled",on:{click:r.handleClearClick,mousedown:function(o){o.preventDefault()},mouseenter:function(o){r.isHoveringClear=!0},mouseleave:function(o){r.isHoveringClear=!1}},nativeOn:{touchstart:function(o){return r.handleClearTouch.apply(null,arguments)}}})]:e._e(),e._t("suffix",function(){return[e.suffixText?n("span",{staticClass:"pwc-input__main__input__suffix-text"},[e._v(" "+e._s(e.suffixText)+" ")]):r.wordLimitText?n("span",{staticClass:"pwc-input__main__input__suffix-text"},[e._v(" "+e._s(r.wordLimitText)+" ")]):e._e()]})],2)])])},Qu=[],ku=ee(xu,Cu,Qu);const On=ku.exports,Su=()=>({message:k.string,description:k.string,showCancelButton:k.bool,showConfirmButton:k.bool,cancelButtonType:k.enum().def(ht.Info),cancelButtonText:k.string,confirmButtonText:k.string,confirmButtonType:k.enum().def(ht.Primary),showInput:k.bool.def(!1),defaultValue:k.string.def(""),placeholder:k.string.def(""),type:k.string.def("text"),requireMessage:k.string}),Eu=()=>({confirm:H(),cancel:H()}),Tu=t=>{const{emit:e,props:n}=t,r=u.ref(!1),o=u.ref(),i=u.ref({input:n.defaultValue}),s=u.computed(()=>{const f={};return n.requireMessage&&(f.input=[{type:"string",required:!0,message:n.requireMessage}]),f});function c(){r.value=!0}function a(){r.value=!1}function l(){return P(this,null,function*(){n.showInput?(o.value&&(yield o.value.validateCurrentForm()),e("confirm",i.value.input)):e("confirm"),a()})}function p(){a(),e("cancel")}return u.onMounted(()=>{c()}),{visible:r,formData:i,formRules:s,formRef:o,onClickConfirm:l,onClickCancel:p}},Iu=u.defineComponent({__name:"message-box-element",props:Su(),emits:Eu(),setup(t,{emit:e}){const n=t,{visible:r,formData:o,formRef:i,formRules:s,onClickConfirm:c,onClickCancel:a}=Tu({props:n,emit:e});return{__sfc:!0,props:n,emit:e,visible:r,formData:o,formRef:i,formRules:s,onClickConfirm:c,onClickCancel:a,PwcButton:Rn,PwcFormItem:e1,PwcFormWrap:t1,PwcInput:On,PwcPopup:ot}}});var Lu=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-message-box",attrs:{position:"center",width:"300px","show-header":!1,background:"#fff","show-modal":!1},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"pwc-message-box__content"},[e.message?n("div",{staticClass:"pwc-message-box__message",domProps:{innerHTML:e._s(e.message)}}):e._e(),e.description?n("div",{staticClass:"pwc-message-box__description",domProps:{innerHTML:e._s(e.description)}}):e._e(),e.showInput?n("div",{staticClass:"pwc-message-box__input"},[n(r.PwcFormWrap,{ref:"formRef",attrs:{"form-data":r.formData,"form-rules":r.formRules}},[n(r.PwcFormItem,{attrs:{"form-field":"input"}},[n(r.PwcInput,{attrs:{clearabled:"",placeholder:e.placeholder,type:e.type},model:{value:r.formData.input,callback:function(o){e.$set(r.formData,"input",o)},expression:"formData.input"}})],1)],1)],1):e._e(),n("div",{staticClass:"pwc-message-box__btns"},[e.showCancelButton?n(r.PwcButton,{staticClass:"pwc-message-box__btn",attrs:{type:e.cancelButtonType,outline:""},on:{click:r.onClickCancel}},[e._v(" "+e._s(e.cancelButtonText)+" ")]):e._e(),e.showConfirmButton?n(r.PwcButton,{staticClass:"pwc-message-box__btn",attrs:{type:e.confirmButtonType},on:{click:r.onClickConfirm}},[e._v(" "+e._s(e.confirmButtonText)+" ")]):e._e()],1)])])},Pu=[],Au=ee(Iu,Lu,Pu);const Yo=Au.exports;var Pt=(t=>(t.Normal="normal",t.Delete="delete",t.Clear="clear",t.Submit="submit",t))(Pt||{});const wr=()=>{const{createVueInstance:t,destroyVueInstance:e}=Ne(),{$t:n}=Pe();let r;function o(){r&&e(r)}const i=s=>({$confirm:()=>new Promise((c,a)=>{let l="确定",p=ht.Primary,f="取消";switch(s.confirmType){case Pt.Delete:l="删除",p=ht.Danger;break;case Pt.Clear:l="清空",p=ht.Danger;break;case Pt.Submit:l="提交";break}r=t(Yo,{props:D({showCancelButton:!0,showConfirmButton:!0,confirmButtonText:l,cancelButtonText:f,confirmButtonType:p},s),on:{confirm:()=>{c(),o()},cancel:()=>{a(new Error("cancel")),o()}}})}),$alert:()=>new Promise(c=>{r=t(Yo,{props:D({showCancelButton:!1,showConfirmButton:!0,confirmButtonText:n("common.known")},s),on:{confirm:()=>{o()},cancel:()=>{o()}}}),c()}),$prompt:()=>new Promise((c,a)=>{const l=s.confirmButtonText||"确认",p=s.cancelButtonText||"取消";r=t(Yo,{props:D({showCancelButton:!0,showConfirmButton:!0,showInput:!0,confirmButtonText:l,cancelButtonText:p},s),on:{confirm:f=>{c(f),o()},cancel:()=>{a(new Error("cancel")),o()}}})})});return u.onBeforeUnmount(()=>{o()}),{messageBox:i}},$u=()=>{const{messageBox:t}=wr();function e(){return P(this,null,function*(){if(window.wx)return Promise.resolve(window.wx)})}function n(r,o={}){return new Promise((i,s)=>{P(this,null,function*(){const c=yield e();if(!c){s(new Error("checkJsApi fail, wx is undefined"));return}c.checkJsApi({jsApiList:[r],success:a=>{if(a!=null&&a.checkResult[r])i();else{o.notSupportMessage&&t({message:o.notSupportMessage}).$confirm();const l=`check js api fail, ${r} not support, ${a==null?void 0:a.errMsg}`;console.error(l),s(new Error(l))}}})})})}return{getWeixinSdk:e,checkJsApi:n}},Ru=()=>{const{getWeixinSdk:t}=$u();function e(){return new Promise(n=>{P(this,null,function*(){try{const r=yield t();if(!r||!r.miniProgram){n(!1);return}r.miniProgram.getEnv(o=>{n((o==null?void 0:o.miniprogram)===!0)})}catch(r){n(!1)}})})}return{isMiniProgram:e}};function o1(t,e={}){const{autoListen:n=!0,autoRemove:r=!0}=e;n&&u.onMounted(t.listenEvent),r&&u.onBeforeUnmount(t.removeEvent)}const Zo=()=>{const{toast:t}=xe(),{$t:e}=Pe(),{getAppBodyElement:n}=In();function r(i){return new Promise((s,c)=>{const a=document.createElement("button");a.style.width="0",a.style.height="0";const l=new L5(a,{text:()=>i,action:()=>"copy"});l.on("success",function(p){l.destroy(),n().removeChild(a),s(p)}),l.on("error",function(p){l.destroy(),n().removeChild(a),c(p)}),n().appendChild(a),a.click()})}function o(){t.success(e("common.copySuccess"))}return{copyText:r,toastCopySuccess:o}};function i1(t={}){let e,n,r=t.onCountDownChange,o=t.onCountDownFinish;function i(C){e=zo(C),g()}function s(C){n=zo(C),g()}function c(C={}){typeof C.second=="number"&&i(C.second),typeof C.endTimestamp=="number"&&s(C.endTimestamp),C.onCountDownChange&&(r=C.onCountDownChange),C.onCountDownFinish&&(o=C.onCountDownFinish)}const a={days:0,hours:0,minutes:0,seconds:0,totalMsecs:0},l=u.ref(D({},a)),p=u.computed(()=>{const C=l.value.totalMsecs/1e3;return parseInt(C.toString())}),f=()=>{if(typeof e=="number")return e;if(typeof n=="number"){const C=(n-Date.now())/1e3;return C<0?0:C}return 0};let h;function d(){g(),l.value=D({},a)}function v(){ue||(l.value=D({},a),g(),h=new P5(f(),b),_())}function g(){w(),h=void 0}function _(C){C&&c(C),h?h.start():v()}function m(){h&&h.pause()}function w(){h&&h.stop()}function b(C){l.value=C,r&&r(u.unref(l)),C.totalMsecs===0&&o&&o()}const{autoStart:x=!1}=t;return x&&u.onMounted(()=>{f()&&v()}),u.onUnmounted(()=>{g()}),c(t),{surplusTime:l,surplusSecond:p,resetSurplus:d,startCountDown:_,pauseCountDown:m,stopCountDown:w,destroyCountDown:g}}const br=()=>{const{isIframe:t,isWeixin:e,isMobile:n}=ae(),{isMiniProgram:r}=Ru(),{getAppBodyElement:o}=In(),{copyText:i}=Zo(),{$t:s}=Pe(),{toast:c}=xe();function a(l,p){return P(this,null,function*(){const f=oa(l,"https"),h=document.createElement("a");if(h.setAttribute("target","_blank"),!p){const v=document.createElement("a");v.href=f;const g=v.pathname.split("/");p=g[g.length-1]}if(t){const v={name:"file",path:f,fileName:p};window.parent.postMessage(v,"*");return}if(yield r()){i(l),c.success(s("common.copyLinkSuccess"));return}if(e||n){h.href=f,o().appendChild(h),h.click(),o().removeChild(h);return}h.href=f,h.download=p,h.click(),h.remove()})}return{downloadFileUrl:a}},s1=()=>{const{isMobile:t}=ae();function e(n){t?window.location.href=n:window.open(n,"_blank")}return{openLink:e}};function Ou(t={}){const{lockedRef:e,lockTarget:n}=t,{getAppBodyElement:r}=In(),o=u.ref(!1),i=hn(6),s=u.computed(()=>`pwc-body-locked--${i}`);function c(){return n?he(n):r()}function a(){if(ue)return;o.value=!0;const p=c();p&&(p.classList.contains(s.value)||p.classList.add(s.value))}function l(){if(ue)return;o.value=!1;const p=c();p&&p.classList.contains(s.value)&&p.classList.remove(s.value)}return u.watch(()=>e?e.value:o.value,p=>{p?a():l()},{immediate:!0}),u.onBeforeUnmount(()=>{l()}),{lockedRef:o,lockScroll:a,unlockScroll:l}}function yr(t,e){let n;function r(){ue||(o(),n=window.setInterval(()=>{t()},e))}function o(){ue||n&&(clearInterval(n),n=void 0)}function i(){return!!n}return u.onBeforeUnmount(()=>{o()}),{startInterval:r,closeInterval:o,hasInterval:i}}function vt(...t){let e={},n=!1;t.length&&(typeof t[0]=="boolean"?(n=t[0],e=t[1]||[]):e=t[0]);const{autoClose:r=!1,autoCloseTime:o=5*1e3}=e,i=u.ref(n);function s(d=!0){i.value!==d&&(i.value=d)}function c(){s(!0)}function a(){s(!1)}function l(){u.unref(i)?a():c()}let p;function f(){h(),p=window.setTimeout(()=>{a()},o)}function h(){p&&(clearTimeout(p),p=void 0)}return u.watch(()=>u.unref(i),()=>{if(r){if(!i.value){h();return}f()}},{immediate:!0}),u.watch(i,()=>{const d=i.value;d?e.showCallback&&e.showCallback():(e.hideCallback&&e.hideCallback(),e.hideDelayCallback&&setTimeout(()=>{e.hideDelayCallback&&e.hideDelayCallback()},300)),e.changeCallback&&e.changeCallback(d)}),u.onBeforeUnmount(()=>{h()}),{visible:i,setVisible:s,open:c,close:a,show:c,hide:a,toggle:l}}function Ce(t,e,n={}){function r(){if(t)for(const i in e)e[i]&&t.on(i,e[i])}function o(){if(t)for(const i in e)e[i]&&t.off(i,e[i])}return o1({listenEvent:r,removeEvent:o},n),{listenEvent:r,removeEvent:o}}const xr="@@polyvAdminUIzIndex";function Du(){function e(){return ue?3e3:(window[xr]||(window[xr]=3e3),window[xr])}function n(o){ue||(window[xr]=o)}function r(){const o=e()+1;return n(o),o}return{getTopmostZIndex:e,setTopmostZIndex:n,increaseTopmostZIndex:r}}const Ge=t=>{const{getInstance:e}=Ne(),n=u.computed(()=>t[k.modelValueKey]);function r(o){var i;(i=e())==null||i.$emit(Me.modelValueEmitKey,o)}return{modelValue:n,updateModelValue:r}};function zu(t,e){const n=u.ref((()=>{try{const r=localStorage.getItem(t);if(r)return JSON.parse(r)}catch(r){}return e})());return u.watch(n,r=>{try{localStorage.setItem(t,JSON.stringify(r))}catch(o){}}),n}const Ko="__pwc-event-emitter-key";function Fu(){if(window[Ko])return window[Ko];const t=new h0;return window[Ko]=t,t}const we=()=>{const{configProviderData:t}=Ln();function e(){return t!=null&&t.getEmitter?t.getEmitter():Fu()}return{getEmitter:e}};function le(t,e,n={}){const{getEmitter:r}=we();function o(){r().on(t,e)}function i(){r().off(t,e)}return o1({listenEvent:o,removeEvent:i},n),{listenEvent:o,removeEvent:i}}const en=(t,e,n={})=>{const{increaseTopmostZIndex:r}=Du();function o(){return P(this,null,function*(){yield u.nextTick();const i=he(e);if(i instanceof HTMLElement){const s=r();i.style.zIndex=String(s)}})}return u.watch(()=>u.unref(t),()=>{u.unref(t)&&o()},{immediate:!0}),n.topmostEvent&&le(n.topmostEvent,o),{topmostElem:o}},a1=["bottom","left","right","center"],Bu=()=>({[k.modelValueKey]:k.bool.def(!1),title:k.string.def(""),titleStyle:k.style(),backgroundMode:k.oneOf(["bg1"]),background:k.string,closeable:k.bool.def(!0),backable:k.looseBool,showHeader:k.bool.def(!0),headerStyle:k.style(),headerClass:k.string,openEvent:k.looseString,position:k.oneOf(a1),horizontalScreenPosition:k.oneOf(a1).def("right"),horizontalScreenClassName:k.string,width:k.looseString,height:k.looseString,bodyMaxHeight:k.oneOfType([String,Number]).def(.85),bodyHeightPercent:k.looseNumber,dynamicHeight:k.bool.def(!1),fillBody:k.bool.def(!1),bodyStyle:k.style(),appendTo:k.looseElement,showModal:k.looseBool,closeOnMask:k.bool.def(!0),popupConfig:k.object(),showScrollbar:k.bool.def(!0),customClose:k.func(),draggable:k.bool.def(!1),positionComputedElem:k.string.def(""),bodyLocked:k.bool.def(!1),hiddenShadow:k.bool.def(!1),popupTransition:k.oneOfType([String,Boolean]).def(!0)}),Mu=()=>se(D({},rt()),{"after-leave":H(),"after-enter":H(),"click-back":H()}),Nu=()=>({popupConfig:k.object()}),Uu=Symbol("popup-config-provide"),Dn=()=>u.inject(Uu,{}),Hu=t=>{const{props:e,wrapRef:n}=t,r=Dn(),{configProviderData:o}=Ln(),{isFullscreen:i}=y8();function s(){var l,p;if(e.appendTo)return e.appendTo;if((l=e.popupConfig)!=null&&l.appendTo)return e.popupConfig.appendTo;if(r)return(p=u.unref(r.popupConfig))==null?void 0:p.appendTo}const c=u.computed(()=>{let l=s();if(i.value&&u.unref(o==null?void 0:o.fullscreenElement)){let p=u.unref(o==null?void 0:o.fullscreenElement);typeof p=="string"?p=document.querySelector(p)||void 0:p=p,p&&(l=p)}return l});Vt(n,c);const a=u.computed(()=>{const l={};return ue||c.value&&c.value!==document.body&&(l.position="absolute"),l});return{popupAppendTo:c,appendStyle:a}},ju=t=>{const{props:e,emit:n}=t;let r;const o=u.ref(!1),i=u.computed(()=>o.value?!0:e.backable);function s(){t.callbackCloseBody(),n("click-back"),r&&r()}function c(a={}){r=a.backAction,o.value=!!r}return u.onBeforeUnmount(()=>{r=void 0}),{onClickBack:s,showBack:i,setupBackAction:c}},qu=t=>{const{props:e,bodyRef:n,headerRef:r,bodyVisible:o,popupPosition:i}=t,{isMobile:s}=ae(),{getAppRootElement:c}=In(),a=u.ref(0),l=u.ref(0),p=u.ref(!1),f=u.ref(!1),h=u.ref(),d=u.ref();function v(){window.addEventListener("resize",_),document.addEventListener("scroll",_),e.draggable&&(document.addEventListener("mousedown",m),document.addEventListener("mousemove",w),document.addEventListener("mouseup",b))}function g(){window.removeEventListener("resize",_),document.removeEventListener("scroll",_),document.removeEventListener("mousedown",m),document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",b)}function _(){u.unref(f)||x()}function m(y){r.value&&r.value.contains(y.target)&&(p.value=!0,h.value=y.pageX,d.value=y.pageY)}function w(y){if(!p.value||typeof h.value=="undefined"||typeof d.value=="undefined")return;f.value=!0;const E=y.pageY-d.value,T=y.pageX-h.value;a.value+=E,l.value+=T,h.value=y.pageX,d.value=y.pageY,C()}function b(){p.value=!1,h.value=void 0,d.value=void 0}function x(){const y=n.value;if(!y)return;let E=c();const T=c().scrollTop,I=c().scrollLeft;if(e.positionComputedElem){const U=c().querySelector(e.positionComputedElem);U&&(E=U)}const L=E===c(),A=E.getBoundingClientRect(),$=A.y||A.top,O=A.x||A.left,F=E.clientWidth,W=E.clientHeight,N=L?0:$,Z=L?0:O,X=y.clientWidth,B=y.clientHeight,R=(F-X)/2,z=(W-B)/2;l.value=Z+R+I,a.value=N+z+T,C()}function C(){const y=c();if(!y)return;const E=n.value;if(!E)return;const T=y.offsetWidth,I=y.offsetHeight;if(T===0||I===0)return;const L=0,A=I-E.offsetHeight;a.value<L&&(a.value=L),a.value>A&&(a.value=A);const $=0,O=T-E.offsetWidth;l.value<$&&(l.value=$),l.value>O&&(l.value=O)}const Q=u.computed(()=>e.draggable&&i.value==="center"&&!s&&!ue),S=u.computed(()=>{const y={};return Q.value&&(y.top=`${a.value}px`,y.left=`${l.value}px`,y.transform="initial"),y});return u.watch(o,()=>P(this,null,function*(){Q.value&&(o.value?(v(),yield u.nextTick(),u.unref(f)||x()):g())})),u.onBeforeUnmount(()=>{g()}),{canDraggable:Q,draggableStyle:S,resetPosition:x}},Wu=t=>{const{props:e,popupPosition:n,scrollRef:r,wrapVisible:o}=t,i=u.computed(()=>e.dynamicHeight&&e.bodyHeightPercent&&n.value==="bottom"),s=u.computed(()=>{var d;return(d=e.bodyHeightPercent)!=null?d:0});let c=0,a=null;const l=u.ref(0),p=u.computed(()=>typeof e.bodyMaxHeight!="number"?0:Math.min(s.value+l.value,e.bodyMaxHeight)),f=u.computed(()=>typeof e.bodyMaxHeight!="number"?!1:l.value+s.value>=e.bodyMaxHeight);ne(r,"scroll",d=>{a||!i.value||(a=requestAnimationFrame(()=>{const v=d.target,g=v.scrollTop,_=v.scrollHeight,m=v.clientHeight;!f.value&&g>c&&(l.value+=(g-c)/(_-m),c=g),a=null}))});function h(){l.value=0,c=0,a&&(cancelAnimationFrame(a),a=null)}return u.watch(o,()=>P(this,null,function*(){!o.value&&i.value&&h()})),{canDynamicHeight:i,dynamicBodyHeightPercent:p,reset:h}},Gu=t=>{const{props:e}=t,n=Dn(),{canDynamicHeight:r,dynamicBodyHeightPercent:o}=Wu(t),i=u.computed(()=>{var a,l;const c=e.height||((a=e.popupConfig)==null?void 0:a.height)||((l=u.unref(n==null?void 0:n.popupConfig))==null?void 0:l.height);if(c)return c;if(r.value)return`${o.value*100}%`;if(e.bodyHeightPercent)return`${e.bodyHeightPercent*100}%`});return{bodyHeightStyle:u.computed(()=>{const c={"--pwc-popup-body-max-height":typeof e.bodyMaxHeight=="number"?`${e.bodyMaxHeight*100}%`:e.bodyMaxHeight};return i.value&&(c.height=i.value),c})}},Yu=t=>{const{props:e}=t,n=Dn(),{isHorizontalScreenOrientation:r}=Ho(),{isMobile:o}=ae();function i(){var l,p;let a=e.position||((l=e.popupConfig)==null?void 0:l.position)||((p=u.unref(n.popupConfig))==null?void 0:p.position);return a||(o?a="bottom":a="center",a)}const s=u.computed(()=>{let a=i();return a==="bottom"&&r.value&&(a=e.horizontalScreenPosition),a}),c=u.computed(()=>`pwc-popup--position-${s.value}`);return{popupPosition:s,positionClass:c}},Zu=t=>{const{props:e}=t,{modelValue:n}=Ge(e),r=u.ref(),o=u.ref(0);function i(){return P(this,null,function*(){yield u.nextTick(),r.value&&(r.value.scrollTop=0,o.value=0)})}return ne(r,"scroll",()=>{r.value&&(o.value=r.value.scrollTop)}),u.watch(()=>n.value,()=>{n.value&&i()}),{scrollRef:r,currentScrollTop:o,resetScroll:i}},Ku=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Ge(e),i=u.ref(!1),s=u.ref(!1);function c(){i.value=!0,s.value=!0}function a(){if(e.customClose){e.customClose({closeBody:l});return}l()}function l(){s.value=!1,o(!1)}function p(){i.value=!1,n("after-leave")}function f(){n("after-enter")}u.watch(()=>r.value,()=>{r.value&&!i.value&&c(),!r.value&&s.value&&l()}),u.onMounted(()=>{r.value&&c()});function h(){!e.closeOnMask||!e.closeable||a()}return{wrapVisible:i,bodyVisible:s,onAfterLeave:p,onAfterEnter:f,openPopup:c,closePopup:a,closeBody:l,onClickMask:h}},Xu=t=>{const{props:e,popupPosition:n}=t,r=Dn(),o=u.computed(()=>{let c="100%";switch(n.value){case"bottom":c="100%";break;case"left":c="375px";break;case"right":c="375px";break;case"center":c="375px";break}return c}),i=u.computed(()=>{var a,l;let c=e.width||((a=e.popupConfig)==null?void 0:a.width)||((l=u.unref(r.popupConfig))==null?void 0:l.width);return c||(c=o.value,c)});return{bodyWidthStyle:u.computed(()=>{const c={};return i.value&&(c.width=i.value),c})}},Ju=u.defineComponent({__name:"popup",props:D(D({},Bu()),$3()),emits:Mu(),setup(t,{expose:e,emit:n}){const r=t,o=u.ref(),i=u.ref(),s=u.ref(),c=Dn(),{isMobile:a}=ae(),{isHorizontalScreenOrientation:l}=Ho(),{pageFullscreen:p}=Ma(),{skinColorIgnoreClass:f}=R3({props:r}),{wrapVisible:h,bodyVisible:d,closePopup:v,onAfterLeave:g,onAfterEnter:_,onClickMask:m,closeBody:w}=Ku({props:r,emit:n}),{scrollRef:b,currentScrollTop:x,resetScroll:C}=Zu({props:r});en(d,o,{topmostEvent:r.openEvent});const{appendStyle:Q}=Hu({props:r,wrapRef:o}),{positionClass:S,popupPosition:y}=Yu({props:r}),{canDraggable:E,draggableStyle:T}=qu({props:r,bodyRef:i,headerRef:s,bodyVisible:d,popupPosition:y});Ou({lockedRef:u.computed(()=>r.bodyLocked&&h.value)});const{bodyHeightStyle:I}=Gu({props:r,scrollRef:b,popupPosition:y,wrapVisible:h}),{bodyWidthStyle:L}=Xu({props:r,popupPosition:y}),{showBack:A,onClickBack:$,setupBackAction:O}=ju({props:r,emit:n,callbackCloseBody:w}),F=u.computed(()=>{var z,U,M,Y,ie;let R=(ie=(Y=(U=r.showModal)!=null?U:(z=r.popupConfig)==null?void 0:z.showModal)!=null?Y:(M=u.unref(c.popupConfig))==null?void 0:M.showModal)!=null?ie:!0;return E.value&&(R=!1),R}),W=u.computed(()=>{const R=[];return r.fillBody&&R.push("pwc-popup--fill-body"),a&&R.push("pwc-popup--mobile"),F.value||R.push("pwc-popup--hide-modal"),r.showScrollbar||R.push("pwc-popup--hide-scrollbar"),l.value&&(R.push("pwc-popup--horizontal-screen"),r.horizontalScreenClassName&&R.push(r.horizontalScreenClassName)),E.value&&R.push("pwc-popup--draggable"),p.value&&R.push("pwc-popup--page-fullscreen"),R}),N=u.computed(()=>{const R=[];return r.backgroundMode&&R.push(`pwc-popup__body--${r.backgroundMode}`),R}),Z=u.computed(()=>{const R=D(D(D(D({},r.bodyStyle),T.value),L.value),I.value);return r.background&&(R.background=r.background),R}),X=u.computed(()=>{const R={};if(r.background){const z=Yi(r.background);if(z){const[U,M,Y]=z;R.backgroundImage=`linear-gradient(180deg, rgba(${U}, ${M}, ${Y}, 0.1) 0%, rgba(${U}, ${M}, ${Y}, 0.9) 15%, ${r.background} 100%)`}}return R}),B=u.computed(()=>{const R=y.value==="center"?"pwc-fade":"pwc-popup-slide-transition";return typeof r.popupTransition=="boolean"?r.popupTransition?R:void 0:r.popupTransition||R});return e({resetScroll:C,setupBackAction:O}),{__sfc:!0,props:r,emit:n,wrapRef:o,bodyRef:i,headerRef:s,popupInjectData:c,isMobile:a,isHorizontalScreenOrientation:l,pageFullscreen:p,skinColorIgnoreClass:f,wrapVisible:h,bodyVisible:d,closePopup:v,onAfterLeave:g,onAfterEnter:_,onClickMask:m,closeBody:w,scrollRef:b,currentScrollTop:x,resetScroll:C,appendStyle:Q,positionClass:S,popupPosition:y,canDraggable:E,draggableStyle:T,bodyHeightStyle:I,bodyWidthStyle:L,showBack:A,onClickBack:$,setupBackAction:O,popupShowModal:F,wrapClass:W,bodyClass:N,bodyStyle:Z,footerStyle:X,popupTransition:B,PwcIconArrowLeft:ya,PwcIconClose:En}}});var Vu=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.wrapVisible,expression:"wrapVisible"}],ref:"wrapRef",staticClass:"pwc-popup",class:[...r.wrapClass,r.positionClass,r.skinColorIgnoreClass,{"is-scrolling":r.currentScrollTop>0}],style:D({},r.appendStyle),on:{click:r.onClickMask}},[n("transition",{attrs:{name:r.popupTransition},on:{"after-leave":r.onAfterLeave,"after-enter":r.onAfterEnter}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.bodyVisible,expression:"bodyVisible"}],ref:"bodyRef",staticClass:"pwc-popup__body",class:[...r.bodyClass,{"is-hidden-shadow":e.hiddenShadow}],style:r.bodyStyle,on:{click:function(o){o.stopPropagation()}}},[e.showHeader?[e._t("header",function(){return[n("div",{ref:"headerRef",staticClass:"pwc-popup__header",class:e.headerClass,style:e.headerStyle},[r.showBack?n(r.PwcIconArrowLeft,{staticClass:"pwc-popup__back",on:{click:r.onClickBack}}):e._e(),n("div",{staticClass:"pwc-popup__title",style:e.titleStyle},[e._t("title",function(){return[e._v(e._s(e.title))]})],2),n("div",{staticClass:"pwc-popup__header-right"},[e._t("header-right",function(){return[e.closeable?n(r.PwcIconClose,{staticClass:"pwc-popup__close",on:{click:r.closePopup}}):e._e()]})],2)],1)]})]:e._e(),n("div",{staticClass:"pwc-popup__content"},[e._t("content-suffix"),n("div",{ref:"scrollRef",staticClass:"pwc-popup__inner"},[e._t("default"),n("div",{staticClass:"pwc-popup__inner__footer",style:r.footerStyle},[e._t("footer")],2)],2)],2)],2)])],1)},e4=[],t4=ee(Ju,Vu,e4);const ot=t4.exports,n4=()=>({actions:k.array()}),r4=()=>({select:H(),cancel:H()}),o4=u.defineComponent({__name:"action-sheet",props:n4(),emits:r4(),setup(t,{expose:e,emit:n}){const{visible:r,show:o,close:i}=vt(),{$t:s}=Pe(),{toast:c}=xe();function a(f){if(f.disabled){f.disabledTip&&c.error(f.disabledTip);return}n("select",f),i()}function l(){n("cancel"),i()}function p(){o()}return e({openActionSheet:p}),{__sfc:!0,emit:n,visible:r,show:o,close:i,$t:s,toast:c,handleItemClick:a,handleCancel:l,openActionSheet:p,PwcPopup:ot}}});var i4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-action-sheet",attrs:{"show-header":!1},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[e._l(e.actions,function(o,i){return n("div",{key:i,staticClass:"pwc-action-sheet__item",class:{"is-hidden":o.hidden,"is-disabled":o.disabled},on:{click:function(s){return r.handleItemClick(o)}}},[n("div",{staticClass:"pwc-action-sheet__item__text"},[e._v(e._s(o.name))])])}),n("div",{staticClass:"pwc-action-sheet__item pwc-action-sheet__item--cancel",on:{click:r.handleCancel}},[e._v(" "+e._s(r.$t("common.cancel"))+" ")])],2)},s4=[],a4=ee(o4,i4,s4);const c4=a4.exports,c1=()=>{const{createVueInstance:t,destroyVueInstance:e}=Ne();let n;function r(){n&&(e(n),n=void 0)}function o(i){return new Promise(s=>{n=t(c4,{props:{actions:i.actions},on:{select:c=>{s(c),r()},cancel:()=>{s(void 0),r()}}}),n.openActionSheet()})}return u.onBeforeUnmount(r),{actionSheet:o}},l4=["bottom-start","bottom-end","bottom"],u4=()=>({bubbles:k.array().def([]),width:k.number.def(80),height:k.number.def(180),maxCount:k.number.def(30),appearPlacement:k.oneOf(l4).def("bottom"),trigger:k.bool.def(!1),triggerSize:k.number.def(40)}),p4=t=>{let e;function n(){r(),e=(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(s){return setTimeout(s,1e3/60)})(t)}function r(){e&&((window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout)(e),e=void 0)}function o(){return!!e}return u.onBeforeUnmount(r),{startAnimationFrame:n,stopAnimationFrame:r,hasAnimationFrame:o}},f4=()=>{const t=u.ref(),{size:e}=Fa(t);function n(){const r=u.unref(t);if(!r)return;const o=r.getContext("2d");if(!o)return;const i=window.devicePixelRatio;r.width=e.value.width*i,r.height=e.value.height*i,o.scale(i,i)}return u.onMounted(()=>{n()}),{canvasRef:t,canvasSize:e,refreshCanvas:n}};class d4{constructor(e){Lt(this,"id",hn(8)),Lt(this,"bubble"),Lt(this,"progress"),Lt(this,"scale"),Lt(this,"opacity"),Lt(this,"point"),Lt(this,"image"),this.options=e;const{bubble:n}=e;this.bubble=n,this.progress=0,this.scale=n.initialScale||0,this.opacity=1,this.point=void 0,this.image=new Image,this.image.src=n.image}move(e){const n={1:.014,2:.016,3:.018,4:.02,5:.022},r=this.progress+n[this.bubble.speed];this.progress=r>1?1:r,this.__setOpacity(),this.__setScale(),this.__setPoint(),this.draw(e),this.progress>=1&&this.options.finishCallback&&this.options.finishCallback(this)}draw(e){this.point&&(e.save(),e.translate(this.point.x,this.point.y),e.scale(this.scale,this.scale),e.globalAlpha=this.opacity,e.drawImage(this.image,-(this.bubble.width/2),-(this.bubble.width/2),this.bubble.width,this.bubble.height),e.restore())}__setOpacity(){const e=this.progress-this.bubble.startHideSection,n=1-this.bubble.startHideSection;let r=1-e/n;r<0&&(r=0),r<this.opacity&&(this.opacity=r)}__setScale(){let e=this.progress/this.bubble.scaleSection;e>1&&(e=1),e>this.scale&&(this.scale=e)}__setPoint(){const e=this.options.bezierPoints,n=e.p0,r=e.p1,o=e.p2,i=e.p3,s=this.progress,c=3*(r.x-n.x),a=3*(o.x-r.x)-c,l=i.x-n.x-c-a,p=3*(r.y-n.y),f=3*(o.y-r.y)-p,h=i.y-n.y-p-f;let d=l*(s*s*s)+a*(s*s)+c*s+n.x,v=h*(s*s*s)+f*(s*s)+p*s+n.y;const g=this.bubble.width*this.scale,_=this.bubble.height*this.scale;d<g/2?d=g/2:this.options.canvasWidth-d<g/2&&(d=this.options.canvasWidth-g/2),this.options.canvasHeight-v<_/2&&(v=this.options.canvasHeight-_/2),this.point={x:d,y:v}}}const m4=t=>{const{props:e}=t,{canvasRef:n,refreshCanvas:r,canvasSize:o}=f4(),{startAnimationFrame:i,stopAnimationFrame:s,hasAnimationFrame:c}=p4(g),{documentVisible:a}=v8(()=>g());let l=[];function p(m){l=l.filter(w=>w.id!==m.id),_()}function f(m){if(l.length>=e.maxCount||!a.value)return;if(!m){const x=e.bubbles.length,C=Math.ceil(Math.random()*x)-1;m=e.bubbles[C]}typeof m=="string"&&(m={image:m});const w=se(D({},m),{width:m.width||32,height:m.height||32,speed:m.speed||3,initialScale:m.initialScale||0,scaleSection:m.scaleSection||.4,startHideSection:m.startHideSection||.8}),b=h(w);l.push(b),c()||g()}function h(m){const{scaleSection:w=.4}=m,b=o.value.width/2,x={x:b,y:o.value.height},C={x:b+d(),y:o.value.height*(1-w)+d()},Q={x:b+d(),y:o.value.height*(1-w)+d()},S={x:b+d(),y:m.height/2};switch(e.appearPlacement){case"bottom-start":x.x=0,C.x=b*1.5+Math.abs(d()),Q.x=b+Math.abs(d()),S.x=b+Math.abs(d());break;case"bottom-end":x.x=o.value.width+Math.abs(d()),C.x=b*.5-Math.abs(d()),Q.x=b-Math.abs(d()),S.x=b-Math.abs(d());break}return new d4({canvasWidth:o.value.width,canvasHeight:o.value.height,bubble:m,bezierPoints:{p0:x,p1:C,p2:Q,p3:S},finishCallback:y=>{p(y)}})}function d(){const m=o.value.width/3;return Math.random()>.5?-(Math.random()*m):+(Math.random()*m)}let v;function g(){try{if(!a.value)return;const m=u.unref(n);if(!m)return;const w=m.getContext("2d");if(!w)return;(!v||Date.now()-v>=16)&&(r(),l.forEach(b=>{b.move(w)}),v=Date.now()),l.length===0?s():i()}catch(m){console.warn(m)}}function _(){if(l.length===0){r(),s();return}i||g()}return{canvasRef:n,pushAnimation:f}};function g4(t,e={}){const{holdTime:n=100}=e,{isMobile:r}=ae(),o=u.ref(!1),i=u.ref(!1),{startInterval:s,closeInterval:c}=yr(()=>{i.value=!0,e.onHold&&e.onHold()},n);function a(p){p instanceof MouseEvent&&p.button===2||(o.value=!0,e.onHoldStart&&e.onHoldStart(),s())}function l(){if(c(),!o.value)return;o.value=!1;const p=i.value;i.value=!1,!p&&e.onClick&&e.onClick(),p&&e.onHoldEnd&&e.onHoldEnd()}return r?(ne(t,"touchstart",a),ne(t,"touchend",l),ne(t,"touchcancel",l),ne(window,"touchend",l),ne(window,"touchcancel",l)):(ne(t,"mousedown",a),ne(t,"mouseup",l),ne(window,"mouseup",l)),{isPressDown:o,isPressHold:i}}function h4(){const{isMobile:t}=ae(),e=Uo(()=>"vibrate"in navigator&&t,!1);function n(r){e&&navigator.vibrate(r!=null?r:40)}return{vibrate:n,supportVibrate:e}}u4();const v4=()=>({second:k.looseNumber,timestamp:k.looseNumber,hideZeroHour:k.bool.def(!1),useClock:k.bool.def(!0),itemClass:k.string,colonClass:k.string,finishSecond:k.number.def(0)}),_4=()=>({finish:H()}),w4=t=>{const{props:e,emit:n}=t,r=u.ref(0),o=u.computed(()=>{const p=r.value,f=Math.floor(p/3600),h=Math.floor(p%3600/60),d=Math.floor(p%3600%60);return{hours:f,hoursText:f.toString().padStart(2,"0"),minutes:h,minutesText:h.toString().padStart(2,"0"),seconds:d,secondsText:d.toString().padStart(2,"0")}}),i=u.computed(()=>typeof e.second=="number"&&e.second>0?e.second:typeof e.timestamp=="number"&&Date.now()<e.timestamp?(e.timestamp-Date.now())/1e3:0);let s,c;function a(){s&&(clearInterval(s),s=void 0)}function l(){if(ue||!e.useClock)return;a();const p=1e3;s=window.setInterval(()=>{let f=p/1e3;c&&(f=(Date.now()-c)/1e3),c=Date.now(),r.value-=f,r.value<=e.finishSecond&&(r.value=0,a(),n("finish"))},p)}return u.watch(i,()=>{r.value=i.value,r.value<=0?a():l()},{immediate:!0}),{surplusSecond:r,timeText:o}};v4(),_4();const l1="open-data-export-record",u1="open-data-export-record-callback",p1="close-data-export-record-callback",f1=()=>{const{getEmitter:t}=we();function e(n){t().emit(l1,n)}return{openDataExportRecord:e}},b4=()=>({controller:k.object().isRequired}),y4=t=>{const{props:e}=t,{openDataExportRecord:n}=f1();function r(){n(e.controller.refId)}const{referenceRef:o,popperRef:i,popperVisible:s,showPopper:c,hidePopper:a}=hr({trigger:"custom",arrow:!0,popperOffset:[0,5]}),l=u.ref(),p=u.ref(),f=u.ref(Date.now()),{surplusSecond:h,startCountDown:d}=i1({second:5,onCountDownFinish:()=>{a()}}),{startTimeout:v,closeTimeout:g}=Pn(()=>P(this,null,function*(){if(!e.controller.getSuccessRecordsAfterTime){console.warn("getSuccessRecordsAfterTime is not implemented");return}const x=yield e.controller.getSuccessRecordsAfterTime(f.value);x&&x.length>0&&(p.value=x[0],f.value=Date.now(),c(),d({second:5})),l.value&&l.value.status==="pending"&&_()}),10*1e3);function _(){return P(this,null,function*(){if(!e.controller.getLatestRecord){console.warn("getLatestRecord is not implemented");return}f.value=Date.now(),l.value=yield e.controller.getLatestRecord(),l.value&&v()})}const m=u.ref(!1);le(p1,x=>{e.controller.refId===x&&(_(),!m.value&&(m.value=!0,c()))}),le(u1,x=>{e.controller.refId===x&&g()}),u.onMounted(()=>{_()});const{downloadFileUrl:w}=br();function b(){p.value&&w(p.value.downloadUrl,p.value.fileName)}return{referenceRef:o,popperRef:i,popperVisible:s,onClickEntrance:r,tipsShow:m,hidePopper:a,showPopper:c,successRecord:p,surplusCloseSecond:h,downloadSuccessFile:b}};b4();const x4=()=>({icon:k.icon(),text:k.string}),C4=u.defineComponent({__name:"empty",props:x4(),setup(t){const{$t:e}=Pe();return{__sfc:!0,$t:e,PwcIconList:f3}}});var Q4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-empty"},[e.icon?e._e():n(r.PwcIconList,{staticClass:"pwc-empty__icon"}),n(e.icon,{tag:"component",staticClass:"pwc-empty__icon"}),n("span",{staticClass:"pwc-empty__text"},[e._v(" "+e._s(e.text||r.$t("common.empty"))+" ")])],1)},k4=[],S4=ee(C4,Q4,k4);const tn=S4.exports,Xo=Symbol("popperInjectKey"),E4=()=>({trigger:k.oneOf(Da).def("click"),placement:k.oneOf(No).def("bottom"),arrow:k.bool.def(!1),offset:k.oneOfType([Array]),disabled:k.bool.def(!1),beforeShowPopper:k.func()}),T4=u.defineComponent({__name:"popper",props:E4(),setup(t,{expose:e}){const n=t,{disabled:r,trigger:o,placement:i}=ut(n),s=u.ref(),c=u.ref(),a=u.ref(),l=u.ref(!1);return hr({popperVisible:l,referenceRef:c,popperRef:a,arrow:n.arrow,popperOffset:n.offset,popperDisabled:r,trigger:o,placement:i,beforeShowPopper:n.beforeShowPopper}),u.provide(Xo,{referenceRef:c,popperRef:a,popperVisible:l}),u.watch(()=>[s.value,c.value],()=>{var h;const p=he(s),f=he(c);p instanceof HTMLElement&&f instanceof HTMLElement&&((h=p.parentNode)==null||h.replaceChild(f,p)),c.value=f}),u.onBeforeUnmount(()=>{const p=he(c);p&&p.remove()}),e({referenceRef:c,popperRef:a,popperVisible:l}),{__sfc:!0,props:n,disabled:r,trigger:o,placement:i,popperWrapRef:s,referenceRef:c,popperRef:a,popperVisible:l}}});var I4=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{ref:"popperWrapRef"},[e._t("default")],2)},L4=[],P4=ee(T4,I4,L4);const A4=P4.exports,$4=u.defineComponent({name:"PwcOnlySlot",setup(t,{slots:e}){return()=>{var n;return(n=e.default)==null?void 0:n.call(e)}}}),R4=u.defineComponent({__name:"popper-reference",setup(t){const{referenceRef:e}=u.inject(Xo);return{__sfc:!0,referenceRef:e,PwcOnlySlot:$4}}});var O4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcOnlySlot,{ref:"referenceRef"},[e._t("default")],2)},D4=[],z4=ee(R4,O4,D4);const F4=z4.exports,B4=u.defineComponent({__name:"popper-content",setup(t){const{popperRef:e,popperVisible:n}=u.inject(Xo);return{__sfc:!0,popperRef:e,popperVisible:n}}});var M4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"pwc-popper-content"},[e._t("default")],2)])},N4=[],U4=ee(B4,M4,N4);const H4=U4.exports,j4=["dark","light","auto"],q4=()=>({content:k.string,placement:k.oneOf(No).def("bottom"),effect:k.oneOf(j4).def("auto"),disabled:k.bool.def(!1),tooltipClass:k.string,onlyTextEllipsis:k.bool.def(!1)}),W4=u.defineComponent({__name:"tooltip",props:q4(),setup(t){const e=t,{isTextEllipsis:n}=w8(),r=u.ref();return{__sfc:!0,props:e,isTextEllipsis:n,popperRef:r,beforeShowPopper:()=>{if(r.value&&e.onlyTextEllipsis){const i=r.value.referenceRef;return n(i)}return!0},PwcIconQuestionRound:Qa,PwcPopper:A4,PwcPopperContent:H4,PwcPopperReference:F4}}});var G4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopper,{ref:"popperRef",attrs:{arrow:"",trigger:"hover",offset:[0,4],disabled:e.disabled,placement:e.placement,"before-show-popper":r.beforeShowPopper}},[n(r.PwcPopperReference,[e._t("default",function(){return[n(r.PwcIconQuestionRound,{staticClass:"pwc-tooltip__reference__icon"})]})],2),n(r.PwcPopperContent,{staticClass:"pwc-tooltip__content",class:[e.tooltipClass,{"pwc-tooltip__content--dark":e.effect==="dark","pwc-tooltip__content--light":e.effect==="light","pwc-tooltip__content--auto":e.effect==="auto"}]},[n("span",[e._t("content",function(){return[e._v(e._s(e.content))]})],2)])],1)},Y4=[],Z4=ee(W4,G4,Y4);const K4=Z4.exports,X4=()=>({title:k.string,controller:k.object().isRequired}),J4=t=>{const{props:e}=t,{getEmitter:n}=we(),{contents:r,scrollRef:o,refresh:i,refreshList:s}=Ga(g=>P(this,null,function*(){return e.controller.getRecord?yield e.controller.getRecord({pageNumber:g.pageNumber,pageSize:g.pageSize}):(console.warn("getRecord is not implemented"),{pageNumber:g.pageNumber,pageSize:g.pageSize,totalItems:0,totalPages:0,contents:[]})}),{immediate:!1}),{visible:c,open:a,close:l}=vt({showCallback(){i(),n().emit(u1,e.controller.refId)},hideCallback(){h(),n().emit(p1,e.controller.refId)}}),p=u.computed(()=>r.value.some(g=>g.status==="pending")),{startInterval:f,closeInterval:h}=yr(()=>{s()},3e3);u.watch(p,()=>{p.value?f():h()},{immediate:!0}),le(l1,g=>{e.controller.refId&&e.controller.refId!==g||a()});const{messageBox:d}=wr();function v(){return P(this,null,function*(){e.controller.clearRecord&&(yield d({message:"确定清除所有导出记录吗?",confirmType:Pt.Clear}).$confirm(),yield e.controller.clearRecord(),i())})}return{visible:c,recordList:r,scrollRef:o,openRecord:a,closeRecord:l,onClickClearRecord:v}},V4=["word","excel","pdf","ppt","txt","zip"],e6=()=>({size:k.number.def(28),type:k.oneOf(V4),name:k.looseString}),t6=u.defineComponent({__name:"file-icon",props:e6(),setup(t){const e=t,n=u.computed(()=>e.type?e.type:e.name?Gi(e.name):"");return{__sfc:!0,props:e,fileType:n}}});var n6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-file-icon",class:[r.fileType?`pwc-file-icon--${r.fileType}`:""],style:{width:`${r.props.size}px`,height:`${r.props.size}px`}})},r6=[],o6=ee(t6,n6,r6);const i6=o6.exports,s6=u.defineComponent({__name:"record-item",props:{record:k.object().isRequired,controller:k.object().isRequired},emits:{refresh:H()},setup(t,{emit:e}){const n=t,r=u.computed(()=>{const c=El(n.record.fileSize,ft.KB);return c.value.toFixed(2)+c.unit}),{downloadFileUrl:o}=br(),{$t:i}=Pe();function s(){return P(this,null,function*(){n.controller.redo&&(yield n.controller.redo(n.record),e("refresh"))})}return{__sfc:!0,props:n,emit:e,sizeText:r,downloadFileUrl:o,$t:i,onClickRedo:s,PwcIconDownLoad:l3,formatDate:cr,PwcFileIcon:i6}}});var a6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-data-export-record__item"},[n("div",{staticClass:"pwc-data-export-record__item__top"},[n("span",[e._v(e._s(r.$t("dataExport.fileGenerateTime"))+e._s(r.formatDate(e.record.createTime,"YYYY-MM-DD hh:mm")))]),e.record.fileSize?n("span",[e._v(e._s(r.sizeText))]):e._e()]),n("div",{staticClass:"pwc-data-export-record__item__name"},[n(r.PwcFileIcon,{staticClass:"pwc-data-export-record__item__icon",attrs:{name:e.record.downloadUrl||e.record.fileName}}),n("span",[e._v(e._s(e.record.fileName))])],1),n("div",{staticClass:"pwc-data-export-record__item__progress"},[n("span",{style:{width:`${e.record.progress}%`}})]),n("div",{staticClass:"pwc-data-export-record__item__bottom"},[e.record.status==="pending"?n("span",[e._v(e._s(r.$t("dataExport.generating"))+" "+e._s(e.record.progress)+"%")]):e._e(),e.record.status==="success"?n("span",[e._v(e._s(r.$t("dataExport.completed"))+" 100%")]):e._e(),e.record.status==="failed"?n("span",{staticClass:"is-error"},[e._v(e._s(r.$t("dataExport.generationFailed")))]):e._e(),e.record.status==="expired"?n("span",{staticClass:"is-error"},[e._v(e._s(r.$t("dataExport.expired")))]):e._e(),e.record.downloadUrl&&e.record.status==="success"?n("div",{staticClass:"pwc-data-export-record__item__download",on:{click:function(o){return r.downloadFileUrl(e.record.downloadUrl)}}},[n(r.PwcIconDownLoad),e._v(" "+e._s(r.$t("dataExport.downloadToLocal"))+" ")],1):e._e(),e.record.status==="failed"&&e.controller.redo?n("div",{staticClass:"pwc-data-export-record__item__download",on:{click:r.onClickRedo}},[e._v(" "+e._s(r.$t("dataExport.regenerate"))+" ")]):e._e()])])},c6=[],l6=ee(s6,a6,c6);const u6=l6.exports,p6=u.defineComponent({__name:"data-export-record",props:X4(),setup(t,{expose:e}){const n=t,{visible:r,recordList:o,scrollRef:i,openRecord:s,closeRecord:c,onClickClearRecord:a}=J4({props:n}),{isMobile:l}=ae(),{$t:p}=Pe();return e({openRecord:s,closeRecord:c}),{__sfc:!0,props:n,visible:r,recordList:o,scrollRef:i,openRecord:s,closeRecord:c,onClickClearRecord:a,isMobile:l,$t:p,PwcIconQuestionRound:Qa,PwcEmpty:tn,PwcTooltip:K4,PwcPopup:ot,RecordItem:u6}}});var f6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-data-export-record",attrs:{width:r.isMobile?"":"560px","header-class":"pwc-data-export-record__header"},scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticClass:"pwc-data-export-record__title"},[e._v(" "+e._s(e.title||r.$t("dataExport.defaultTitle"))+" "),n(r.PwcTooltip,{attrs:{content:r.$t("dataExport.recordValidPeriod")}},[n(r.PwcIconQuestionRound,{staticClass:"pwc-data-export-record__title__icon"})],1),e.controller.clearRecord?n("span",{staticClass:"pwc-data-export-record__title__clear",on:{click:r.onClickClearRecord}},[e._v(" "+e._s(r.$t("dataExport.clearRecord"))+" ")]):e._e()],1)]},proxy:!0}]),model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{ref:"scrollRef",staticClass:"pwc-data-export-record__content"},[r.recordList.length===0?n(r.PwcEmpty,{staticClass:"pwc-data-export-record__empty",attrs:{text:r.$t("dataExport.empty")}}):e._e(),e._l(r.recordList,function(o){return n(r.RecordItem,{key:o.id,attrs:{record:o,controller:e.controller}})})],2)])},d6=[],m6=ee(p6,f6,d6);const g6=m6.exports,h6=()=>({iconUrl:k.string,text:k.string,countdownSecond:k.number,countdownTimestamp:k.number}),v6=()=>({"click-pendant":H(),"countdown-finish":H()});h6(),v6();const _6=u.defineComponent({__name:"picker-popup",props:{pickerValue:k.array().def([]),pickerData:k.array().def([]),areaData:k.array().def([])},emits:{"update-value":H()},setup(t,{emit:e}){const n=t,{$t:r}=Pe(),o=u.ref(0),i=u.computed(()=>{const p=[{name:r("areaPicker.province"),isSelected:!1},{name:r("areaPicker.city"),isSelected:!1},{name:r("areaPicker.area"),isSelected:!1}];return n.pickerData.forEach((f,h)=>{h<p.length&&(p[h].name=f.name,p[h].isSelected=!0)}),p}),s=u.computed(()=>{let p=n.areaData;if(o.value>0){const f=n.pickerData[o.value-1];f&&f.childrens&&Array.isArray(f.childrens)&&(p=[...f.childrens])}return p});u.watch(()=>n.pickerData,()=>{n.pickerData.length===0&&(o.value=0)});function c(p){(p===0||p<=n.pickerData.length)&&(o.value=p)}function a(p){return P(this,null,function*(){let f=[...n.pickerValue];f[o.value]=p.code,f=f.slice(0,o.value+1),e("update-value",f),yield u.nextTick(),o.value<i.value.length-1&&o.value++})}function l(p){return n.pickerValue.includes(p)}return{__sfc:!0,props:n,emit:e,$t:r,dimension:o,tabList:i,listData:s,onClickTab:c,onClickData:a,isSelected:l,PwcIconCheck:xa}}});var w6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-area-picker__popup"},[n("div",{staticClass:"pwc-area-picker__popup__tabs"},e._l(r.tabList,function(o,i){return n("div",{key:o.name,staticClass:"pwc-area-picker__popup__tab-item",class:{"is-active":r.dimension===i},on:{click:function(s){return r.onClickTab(i)}}},[n("span",[e._v(e._s(o.name))])])}),0),n("div",{staticClass:"pwc-area-picker__popup__list"},e._l(r.listData,function(o){return n("div",{key:o.code,staticClass:"pwc-area-picker__popup__list__item",class:{"is-selected":r.isSelected(o.code)},on:{click:function(i){return r.onClickData(o)}}},[n("span",[e._v(e._s(o.name))]),r.isSelected(o.code)?n(r.PwcIconCheck):e._e()],1)}),0)])},b6=[],y6=ee(_6,w6,b6);const x6=y6.exports;class Cr extends Error{constructor(e,n,r){super(r),this.isCancel=!1,this.isTimeout=!1,this.xhr=e,this.options=n,this.name="AJAXError"}}const C6="Request timeout";function Q6(t,e,n){const r=new Cr(t,e,C6);return r.isTimeout=!0,r}function k6(t){let e=document.createElement("div");e.innerHTML='<a href="'+t+'"></a>';let n=e.firstChild;const r=n.host!==location.host;return e=null,n=null,r}function S6(){return/MSIE\s+(\d+)/.test(navigator.userAgent)&&parseInt(RegExp.$1)<10}const E6=/(?:^|;\s*)(?:application|text)\/([a-z]+)/i;function T6(t){return t&&E6.test(t)?RegExp.$1.toLowerCase():""}function I6(t){return!(t===void 0||t>=200&&t<300||t===1223||t===304)}function L6(t,e,n,r){return function(){let o,i;switch(e.responseType||T6(t.getResponseHeader("Content-Type"))){case"json":try{o=JSON.parse(t.responseText)}catch(a){i="Invalid JSON structure"}break;case"xml":o=t.responseXML,o&&o.documentElement||(i="Invalid XML format");break;case"blob":o=t.response;break;default:o=t.responseText}const s=t.status;let c;I6(s)?c=new Cr(t,e,"Error (HTTP status code: "+s+")"):i&&(c=new Cr(t,e,i)),c?(c.code=s,c.data=o,r(Object.freeze(c))):n(Object.freeze({xhr:t,options:e,data:o}))}}const d1=Object.create(null);let Jo=0;function P6(t,e,n,r){t.onload=L6(t,e,n,r),t.ontimeout=function(){r(Object.freeze(Q6(t,e)))},t.onerror=function(){r(Object.freeze(new Cr(t,e,"Network error")))},e.onDownloadProgress&&t.addEventListener("progress",e.onDownloadProgress),e.onUploadProgress&&t.upload&&t.upload.addEventListener("progress",e.onUploadProgress),Jo===Number.MAX_SAFE_INTEGER&&(Jo=0);const o=++Jo;return d1[o]={xhr:t,options:e,resolve:n,reject:r},o}function m1(t){delete d1[t]}function A6(t,e,n,r,o){return t&&S6()&&window.XDomainRequest&&(e==="get"||e==="post")&&!n&&!o&&C3(r)?new window.XDomainRequest:new window.XMLHttpRequest}function $6(t,e,n){return t=Tn(t,e,{ignoreEmpty:!1}),n&&(t=Tn(t,{_:Date.now()})),t}function R6(t,e,n,r){if(n==null||t==="get")return;let o,i;return r==="json"?(o=typeof n=="string"?n:JSON.stringify(n),i="application/json; charset=utf-8"):(o=y3(n)?Ea(n,{ignoreEmpty:!1}):n,typeof o=="string"&&(i="application/x-www-form-urlencoded; charset=utf-8")),e["Content-Type"]=e["Content-Type"]||i,o}function O6(t,e,n,r){e.timeout&&(t.timeout=e.timeout),n&&e.withCredentials!=null&&(t.withCredentials=!!e.withCredentials),n||r["X-Request-With"]!=null||(r["X-Request-With"]="XMLHttpRequest"),Object.keys(r).forEach(function(o){r[o]!=null&&t.setRequestHeader(o,String(r[o]))})}function D6(t,e){let n=0;return new Promise(function(r,o){const i=Oo({},e);i.method=i.method||"get",i.requestType=i.requestType||"",i.responseType=i.responseType||"json",i.timeout=i.timeout||0,i.method=i.method.toLowerCase(),i.requestType=i.requestType.toLowerCase(),i.headers=i.headers||{},Object.freeze(i),t=$6(t,i.params,i.preventCaching);const s=k6(t),c=A6(s,i.method,i.requestType,i.headers,i.withCredentials);n=P6(c,i,function(l){m1(n),r(l)},function(l){m1(n),o(l)}),i.responseType!=="blob"&&i.responseType!=="arraybuffer"||(c.responseType=i.responseType),c.open(i.method,t,!0,i.username,i.password);const a=R6(i.method,i.headers,i.data,i.requestType);O6(c,i,s,i.headers),typeof i.beforeSend=="function"&&i.beforeSend.call(window,c),c.send(a||""),typeof i.receiveCancelId=="function"&&i.receiveCancelId(n)})}function Vo(t,e){let n=[];const[r,...o]=t;if(typeof r=="undefined")return n;const i=e.find(s=>s.code===r);return i&&(n=[i]),i&&Array.isArray(i.childrens)&&(n=[...n,...Vo(o,i.childrens)]),n}function z6(t,e){const n=Vo(t,e),r=n[n.length-1]||{};return!!(n.length&&(!r.childrens||!r.childrens.length))}const F6="https://s4.videocc.net/library/china-area/china-area-20200630.json";let ei;const ti=t=>{const e=u.ref([]),n=u.computed(()=>z6(t.value,e.value)),r=u.computed(()=>Vo(t.value,e.value)),o=u.computed(()=>r.value.map(c=>c.name)),i=u.computed(()=>o.value.join("/"));function s(){return P(this,null,function*(){return ei||(ei=new Promise((c,a)=>{P(this,null,function*(){try{const l=yield D6(F6);c(l.data)}catch(l){a(l)}})})),ei})}return u.onMounted(()=>P(this,null,function*(){const c=yield s();e.value=c})),{areaData:e,pickerValue:t,pickerData:r,pickerTexts:o,pickerText:i,isFinish:n}},B6=()=>se(D({},n1()),{[k.modelValueKey]:k.array(),placeholder:k.string,disabled:k.bool.def(!1)}),M6=()=>D({},rt()),N6=t=>{const{props:e}=t,{formItemIsError:n,blurToValidateItem:r,focusToRemoveError:o}=r1({props:e}),{$t:i}=Pe(),{modelValue:s,updateModelValue:c}=Ge(e),a=u.ref([]),{isFinish:l,pickerText:p,pickerData:f,areaData:h}=ti(a),{pickerText:d}=ti(s);function v(S){a.value=S}const g=u.computed(()=>e.placeholder||i("areaPicker.placeholder")),_=u.ref(!1),m=u.ref(1);function w(){e.disabled||(_.value=!0,C())}function b(){_.value=!1,x()}function x(){l.value?c(u.unref(a)):a.value=s.value,r()}function C(){a.value=s.value,o()}function Q(){u.unref(l)&&(c(u.unref(a)),b())}return u.watch(s,()=>{const S=s.value.join(""),y=a.value.join("");S!==y&&(a.value=s.value)},{immediate:!0}),{pickerValue:a,pickerData:f,pickerText:p,areaData:h,isFinish:l,inputPlaceholder:g,refreshKey:m,inputText:d,onUpdatePickerValue:v,formItemIsError:n,blurToValidateItem:r,focusToRemoveError:o,pickerVisible:_,openPicker:w,closePicker:b,onHiddenPicker:x,onShowPicker:C,onClickConfirm:Q}},U6=u.defineComponent({__name:"area-picker",props:B6(),emits:M6(),setup(t,{emit:e}){const n=t,{$t:r}=Pe(),{areaData:o,pickerValue:i,pickerData:s,pickerVisible:c,openPicker:a,closePicker:l,onUpdatePickerValue:p,isFinish:f,inputText:h,inputPlaceholder:d,formItemIsError:v,onClickConfirm:g,onHiddenPicker:_}=N6({props:n});return{__sfc:!0,props:n,emit:e,$t:r,areaData:o,pickerValue:i,pickerData:s,pickerVisible:c,openPicker:a,closePicker:l,onUpdatePickerValue:p,isFinish:f,inputText:h,inputPlaceholder:d,formItemIsError:v,onClickConfirm:g,onHiddenPicker:_,PickerPopup:x6,PwcInput:On,PwcIconArrowRight:$o,PwcPopup:ot}}});var H6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-area-picker",class:{"pwc-area-picker--error":r.formItemIsError,"is-disabled":e.disabled}},[n("div",{staticClass:"pwc-area-picker__body",on:{click:r.openPicker}},[n(r.PwcInput,{attrs:{placeholder:r.inputPlaceholder,readonly:"",size:e.size,disabled:e.disabled},scopedSlots:e._u([{key:"suffix",fn:function(){return[n(r.PwcIconArrowRight,{staticClass:"pwc-area-picker__body__icon"})]},proxy:!0}]),model:{value:r.inputText,callback:function(o){r.inputText=o},expression:"inputText"}})],1),n(r.PwcPopup,{attrs:{closeable:!1,"fill-body":"","show-header":!1},on:{close:r.onHiddenPicker},model:{value:r.pickerVisible,callback:function(o){r.pickerVisible=o},expression:"pickerVisible"}},[n("div",{staticClass:"pwc-area-picker__popup"},[n("div",{staticClass:"pwc-area-picker__header"},[n("div",{staticClass:"pwc-area-picker__header__cancel",on:{click:r.closePicker}},[e._v(" "+e._s(r.$t("common.cancel"))+" ")]),n("div",{staticClass:"pwc-area-picker__header__placeholder"},[e._v(e._s(r.inputPlaceholder))]),n("div",{staticClass:"pwc-area-picker__header__confirm",class:{"pwc-area-picker__header__confirm--disabled":!r.isFinish},on:{click:r.onClickConfirm}},[e._v(" "+e._s(r.$t("common.confirm"))+" ")])]),n(r.PickerPopup,{attrs:{"picker-value":r.pickerValue,"picker-data":r.pickerData,"area-data":r.areaData},on:{"update-value":r.onUpdatePickerValue}})],1)])],1)},j6=[],q6=ee(U6,H6,j6);const W6=q6.exports,G6=()=>D({receiveData:k.object(),privacyContent:k.string,submitAction:k.func(),openEvent:k.looseString,backable:k.looseBool},Nu()),Y6=()=>({"click-back":H()}),Z6=t=>{const{props:e}=t,{toast:n}=xe(),{openLink:r}=s1(),o=u.ref(),i=u.ref(!1),s=u.ref(!0),c=u.ref(""),a=u.ref({}),l=u.ref({}),{$t:p}=Pe(),f=u.computed(()=>a.value.areaPickerValue),{pickerData:h}=ti(f);function d(w){if(o.value=w,w.receiveType==="form"&&(v(w.formList),w.overTime?(s.value=new Date(w.overTime)<new Date,c.value=cr(w.overTime,"YYYY-MM-DD hh:mm")):(s.value=!1,c.value="")),w.receiveType==="link"&&w.linkUrl){r(w.linkUrl);return}i.value=!0}u.watch(()=>e.receiveData,()=>{e.receiveData&&d(e.receiveData)},{immediate:!0});function v(w=[]){const b={},x={};w.forEach((C,Q)=>{const S=Q.toString();C.formType==="address"&&(b.areaPickerValue=[],b.areaPickerText=[]),b[S]=C.value||"";const y=[];C.isRequired&&(y.push({type:"string",message:p("rewardReceive.error1"),required:!0}),C.formType==="address"&&(x.areaPickerValue=[{type:"array",message:p("rewardReceive.error1"),required:!0}])),C.formType==="phone"&&y.push({validator:(E,T)=>!T||D5(T)?[]:[p("rewardReceive.error2")]}),x[S]=y}),e.privacyContent&&(b.checkProtocol=!1,x.checkProtocol=[{validator:(C,Q)=>Q?[]:[p("rewardReceive.checkProtocol")]}]),a.value=b,l.value=x}const g=u.computed(()=>{var w;switch((w=o.value)==null?void 0:w.receiveType){case"form":return o.value.isReceived?p("rewardReceive.receiveTitleView"):p("rewardReceive.receiveTitleForm");case"qrCode":return p("rewardReceive.receiveTitleQrcode");case"link":return p("rewardReceive.receiveTitleLink")}});function _(){return P(this,null,function*(){var b;if(!((b=o.value)!=null&&b.formList))return;const w={};o.value.formList.forEach((x,C)=>{let Q=a.value[C];x.formType==="address"&&(Q=`${h.value.map(S=>S.name).join("")}${Q}`),w[C]=Q}),e.submitAction&&(yield e.submitAction(w)),n.success(p("common.submitSuccess"),{showIcon:!0}),i.value=!1})}return{currentReceiveData:o,visible:i,isDeadLine:s,deadLineDate:c,dialogTitle:g,formData:a,formRules:l,instance:{setupReceiveData:d},submitReceiveForm:_,$t:p}},g1=Symbol("checkbox-group-inject-key"),K6=()=>({[k.modelValueKey]:k.array()}),X6=()=>D({},rt()),J6=()=>({checked:k.bool.def(!1),circle:k.bool.def(!1),checkboxValue:k.oneOfType([String,Number,Boolean]),label:k.string,showBackground:k.bool.def(!1),disabled:k.bool.def(!1),showPrefix:k.bool.def(!0)}),V6=()=>({change:H()}),e7=t=>{const{props:e,emit:n}=t,r=u.inject(g1,{inGroup:!1}),o=u.computed(()=>r.inGroup&&r.modelValue?u.unref(r.modelValue).includes(e.checkboxValue):e.checked);function i(){var s;if(!e.disabled){if(r.inGroup){if(typeof e.checkboxValue!="undefined"){let c=[...u.unref(r.modelValue)||[]];o.value?c=c.filter(a=>a!==e.checkboxValue):c.push(e.checkboxValue),(s=r.emitInput)==null||s.call(r,c)}return}n("change",!u.unref(o))}}return{isChecked:o,onClickCheckbox:i}},t7=u.defineComponent({__name:"checkbox",props:J6(),emits:V6(),setup(t,{emit:e}){const n=t,{isChecked:r,onClickCheckbox:o}=e7({props:n,emit:e});return{__sfc:!0,props:n,emit:e,isChecked:r,onClickCheckbox:o,PwcIconCheck:xa}}});var n7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-checkbox",class:{"is-checked is-active":r.isChecked,"is-show-background":r.props.showBackground,"is-disabled":e.disabled},on:{click:r.onClickCheckbox}},[e.showPrefix?n("div",{staticClass:"pwc-checkbox__inner",class:{"pwc-checkbox__inner__circle":r.props.circle}},[r.isChecked?n(r.PwcIconCheck,{staticClass:"pwc-checkbox__inner__icon"}):e._e()],1):e._e(),n("div",{staticClass:"pwc-checkbox__content"},[e._t("default",function(){return[e._v(e._s(e.label))]})],2)])},r7=[],o7=ee(t7,n7,r7);const i7=o7.exports;K6(),X6();const s7=()=>se(D({},Ya()),{text:k.string.def(""),debounceSubmit:k.bool.def(!1)}),a7=t=>{const e=t.props,n=Xa(),r=ru(),o=u.ref(!1);function i(){return P(this,null,function*(){let p=!1;if(r){if(u.unref(r.isSubmiting)){p=!0,o.value=p;return}try{r.validateCurrentForm&&(yield r.validateCurrentForm({showErrorMessage:!1}))}catch(f){u.unref(r.debug)&&console.error("form-submit-button-error",f),p=!0}o.value=p}})}const s=u.computed(()=>e.disabled||o.value);u.watch(()=>[n&&n.formData,r&&u.unref(r.isSubmiting)],()=>i(),{immediate:!0,deep:!0});const c=()=>{r&&r.validateCurrentForm&&r.validateCurrentForm({showErrorMessage:!0}).catch(p=>{console.error("validateCurrentForm Err",p),u.nextTick(()=>{const f=document.querySelector("[data-form-item-error]")||void 0;f&&f.scrollIntoView({behavior:"smooth",block:"center"})})}),!s.value&&r&&r.submitForm()},a=Wo(c,500);function l(){e.debounceSubmit?a():c()}return{buttonIsDisabled:s,checkDisabled:i,onButtonClick:l}},c7=u.defineComponent({__name:"form-submit-button",props:s7(),setup(t){const e=t,{buttonIsDisabled:n,onButtonClick:r}=a7({props:e}),{$t:o}=Pe();return{__sfc:!0,props:e,buttonIsDisabled:n,onButtonClick:r,$t:o,PwcButton:Rn}}});var l7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcButton,e._b({attrs:{disabled:r.buttonIsDisabled},nativeOn:{click:function(o){return r.onButtonClick.apply(null,arguments)}}},"pwc-button",r.props,!1),[e._v(e._s(e.text||r.$t("common.submit")))])},u7=[],p7=ee(c7,l7,u7);const f7=p7.exports,d7=()=>({[k.modelValueKey]:k.bool.def(!1),content:k.string}),m7=()=>D({},rt()),g7=t=>{const{props:e}=t,{openLink:n}=s1(),{modelValue:r,updateModelValue:o}=Ge(e);function i(a){o(a)}const s=u.ref(),c=u.computed(()=>e.content);return u.onMounted(()=>{const a=s.value;a&&a.querySelectorAll("a").forEach(l=>{l.addEventListener("click",p=>{if(!l.href.includes("https://")){console.warn("需要使用 http 协议的链接");return}p.preventDefault(),p.stopPropagation();const h=p.target;n(h.href)})})}),{modelValue:r,onCheckboxChange:i,protocolContentRef:s,contentHtml:c}},h7=u.defineComponent({__name:"protocol",props:d7(),emits:m7(),setup(t){const e=t,n=u.useAttrs(),{modelValue:r,onCheckboxChange:o,protocolContentRef:i,contentHtml:s}=g7({props:e});return{__sfc:!0,props:e,attrs:n,modelValue:r,onCheckboxChange:o,protocolContentRef:i,contentHtml:s,PwcCheckbox:i7}}});var v7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcCheckbox,e._b({staticClass:"pwc-protocol",attrs:{checked:r.modelValue},on:{change:r.onCheckboxChange}},"pwc-checkbox",r.attrs,!1),[n("div",{ref:"protocolContentRef",staticClass:"pwc-protocol__content",domProps:{innerHTML:e._s(r.contentHtml)}})])},_7=[],w7=ee(h7,v7,_7);const b7=w7.exports,h1=Symbol("radio-group-inject-key"),y7=()=>({[k.modelValueKey]:k.oneOfType([String,Number,Boolean])}),x7=()=>D({},rt());({radioValue:k.oneOfType([String,Number,Boolean]),label:k.string,disabled:k.bool.def(!1),showBackground:k.bool.def(!1),showPrefix:k.bool.def(!0)}),y7(),x7(),G6(),Y6();const C7=()=>({[k.modelValueKey]:k.oneOfType([String,Number])}),Q7=()=>D({},rt()),k7=()=>({categoryValue:k.oneOfType([String,Number])}),v1=Symbol("CATEGORY_SELECT_INJECT_KEY"),S7=u.defineComponent({__name:"category-select-item",props:k7(),setup(t){const e=t,{modelValue:n,updateModelValue:r}=u.inject(v1),o=u.computed(()=>e.categoryValue===n.value);return{__sfc:!0,props:e,modelValue:n,updateModelValue:r,isActive:o}}});var E7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-category-select-item",class:{"is-active":r.isActive},on:{click:function(o){return r.updateModelValue(e.categoryValue)}}},[e._t("default")],2)},T7=[],I7=ee(S7,E7,T7);const L7=I7.exports,P7=u.defineComponent({__name:"category-select",props:C7(),emits:Q7(),setup(t){const e=t,{modelValue:n,updateModelValue:r}=Ge(e);return u.provide(v1,{modelValue:n,updateModelValue:r}),{__sfc:!0,props:e,modelValue:n,updateModelValue:r}}});var A7=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"pwc-category-select"},[e._t("default")],2)},$7=[],R7=ee(P7,A7,$7);const O7=R7.exports,D7=()=>({trigger:k.oneOf(Da).def("click"),placement:k.oneOf(No).def("bottom-end"),showArrow:k.bool.def(!0),referenceClass:k.string,disabled:k.bool.def(!1)}),z7=()=>({command:H()}),F7=()=>({command:k.looseString,disabled:k.bool.def(!1)}),B7=()=>({click:H()}),_1=Symbol("dropdown"),M7=u.defineComponent({__name:"dropdown",props:D7(),emits:z7(),setup(t,{emit:e}){const n=t,{disabled:r}=ut(n),{referenceRef:o,popperRef:i,popperVisible:s,hidePopper:c}=hr({placement:n.placement,popperOffset:[0,8],trigger:n.trigger,popperDisabled:r});function a(l){n.disabled||(l&&e("command",l),c())}return u.provide(_1,{onClickItem:a}),{__sfc:!0,props:n,emit:e,disabled:r,referenceRef:o,popperRef:i,popperVisible:s,hidePopper:c,onClickItem:a,PwcIconTriangleDown:g3}}});var N7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-dropdown",class:{"is-popper-show":r.popperVisible,"is-disabled":r.disabled}},[n("div",{ref:"referenceRef",staticClass:"pwc-dropdown__reference",class:e.referenceClass},[e._t("default"),e.showArrow?n(r.PwcIconTriangleDown,{staticClass:"pwc-dropdown__reference__icon"}):e._e()],2),n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"pwc-dropdown__popper"},[e._t("dropdown")],2)])},U7=[],H7=ee(M7,N7,U7);const ni=H7.exports,j7={};var q7=function(){var e=this,n=e._self._c;return n("div",{staticClass:"pwc-dropdown-menu"},[e._t("default")],2)},W7=[],G7=ee(j7,q7,W7);const ri=G7.exports,Y7=u.defineComponent({__name:"dropdown-item",props:F7(),emits:B7(),setup(t,{emit:e}){const n=t,r=u.inject(_1);function o(){n.disabled||(e("click"),r==null||r.onClickItem(n.command))}return{__sfc:!0,props:n,emit:e,dropdownInject:r,onClickItem:o}}});var Z7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-dropdown-item",class:{"is-disabled":e.disabled},on:{click:r.onClickItem}},[e._t("default")],2)},K7=[],X7=ee(Y7,Z7,K7);const oi=X7.exports;function w1(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function b1(t={},e={}){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]=="undefined"?t[r]=e[r]:w1(e[r])&&w1(t[r])&&Object.keys(e[r]).length>0&&b1(t[r],e[r])})}const J7={document:{body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function y1(){const t=typeof window!="undefined"?window:{};return b1(t,J7),t}function V7(t=""){return t.trim().split(" ").filter(e=>!!e.trim())}function ep(t,e=""){const n=y1(),r=[...t.children];return n.HTMLSlotElement&&t instanceof HTMLSlotElement&&r.push(...t.assignedElements()),e?r.filter(o=>o.matches(e)):r}function tp(t,e=[]){const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:V7(e)),n}function x1(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function np(t,e){const n=[];let r=t.parentElement;for(;r;)r.matches(e)&&n.push(r),r=r.parentElement;return n}function rp(t,e,n){const r=y1();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function be(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function ii(t,e=""){typeof trustedTypes!="undefined"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(e):t.innerHTML=e}function C1(t,e,n,r){return t.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let i=ep(t.el,`.${r[o]}`)[0];i||(i=tp("div",r[o]),i.className=r[o],t.el.append(i)),n[o]=i,e[o]=i}}),n}const op='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function ip({swiper:t,extendParams:e,on:n,emit:r}){e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};function o(d){let v;return d&&typeof d=="string"&&t.isElement&&(v=t.el.querySelector(d)||t.hostEl.querySelector(d),v)?v:(d&&(typeof d=="string"&&(v=[...document.querySelectorAll(d)]),t.params.uniqueNavElements&&typeof d=="string"&&v&&v.length>1&&t.el.querySelectorAll(d).length===1?v=t.el.querySelector(d):v&&v.length===1&&(v=v[0])),d&&!v?d:v)}function i(d,v){const g=t.params.navigation;d=be(d),d.forEach(_=>{_&&(_.classList[v?"add":"remove"](...g.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=v),t.params.watchOverflow&&t.enabled&&_.classList[t.isLocked?"add":"remove"](g.lockClass))})}function s(){const{nextEl:d,prevEl:v}=t.navigation;if(t.params.loop){i(v,!1),i(d,!1);return}i(v,t.isBeginning&&!t.params.rewind),i(d,t.isEnd&&!t.params.rewind)}function c(d){d.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function a(d){d.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function l(){const d=t.params.navigation;if(t.params.navigation=C1(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let v=o(d.nextEl),g=o(d.prevEl);Object.assign(t.navigation,{nextEl:v,prevEl:g}),v=be(v),g=be(g);const _=(m,w)=>{if(m){if(d.addIcons&&m.matches(".swiper-button-next,.swiper-button-prev")&&!m.querySelector("svg")){const b=document.createElement("div");ii(b,op),m.appendChild(b.querySelector("svg")),b.remove()}m.addEventListener("click",w==="next"?a:c)}!t.enabled&&m&&m.classList.add(...d.lockClass.split(" "))};v.forEach(m=>_(m,"next")),g.forEach(m=>_(m,"prev"))}function p(){let{nextEl:d,prevEl:v}=t.navigation;d=be(d),v=be(v);const g=(_,m)=>{_.removeEventListener("click",m==="next"?a:c),_.classList.remove(...t.params.navigation.disabledClass.split(" "))};d.forEach(_=>g(_,"next")),v.forEach(_=>g(_,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?h():(l(),s())}),n("toEdge fromEdge lock unlock",()=>{s()}),n("destroy",()=>{p()}),n("enable disable",()=>{let{nextEl:d,prevEl:v}=t.navigation;if(d=be(d),v=be(v),t.enabled){s();return}[...d,...v].filter(g=>!!g).forEach(g=>g.classList.add(t.params.navigation.lockClass))}),n("click",(d,v)=>{let{nextEl:g,prevEl:_}=t.navigation;g=be(g),_=be(_);const m=v.target;let w=_.includes(m)||g.includes(m);if(t.isElement&&!w){const b=v.path||v.composedPath&&v.composedPath();b&&(w=b.find(x=>g.includes(x)||_.includes(x)))}if(t.params.navigation.hideOnClick&&!w){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===m||t.pagination.el.contains(m)))return;let b;g.length?b=g[0].classList.contains(t.params.navigation.hiddenClass):_.length&&(b=_[0].classList.contains(t.params.navigation.hiddenClass)),r(b===!0?"navigationShow":"navigationHide"),[...g,..._].filter(x=>!!x).forEach(x=>x.classList.toggle(t.params.navigation.hiddenClass))}});const f=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),l(),s()},h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:f,disable:h,update:s,init:l,destroy:p})}function zn(t=""){return`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function sp({swiper:t,extendParams:e,on:n,emit:r}){const o="swiper-pagination";e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:m=>m,formatFractionTotal:m=>m,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let i,s=0;function c(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function a(m,w){const{bulletActiveClass:b}=t.params.pagination;m&&(m=m[`${w==="prev"?"previous":"next"}ElementSibling`],m&&(m.classList.add(`${b}-${w}`),m=m[`${w==="prev"?"previous":"next"}ElementSibling`],m&&m.classList.add(`${b}-${w}-${w}`)))}function l(m,w,b){if(m=m%b,w=w%b,w===m+1)return"next";if(w===m-1)return"previous"}function p(m){const w=m.target.closest(zn(t.params.pagination.bulletClass));if(!w)return;m.preventDefault();const b=x1(w)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===b)return;const x=l(t.realIndex,b,t.slides.length);x==="next"?t.slideNext():x==="previous"?t.slidePrev():t.slideToLoop(b)}else t.slideTo(b)}function f(){const m=t.rtl,w=t.params.pagination;if(c())return;let b=t.pagination.el;b=be(b);let x,C;const Q=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,S=t.params.loop?Math.ceil(Q/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(C=t.previousRealIndex||0,x=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex!="undefined"?(x=t.snapIndex,C=t.previousSnapIndex):(C=t.previousIndex||0,x=t.activeIndex||0),w.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const y=t.pagination.bullets;let E,T,I;if(w.dynamicBullets&&(i=rp(y[0],t.isHorizontal()?"width":"height"),b.forEach(L=>{L.style[t.isHorizontal()?"width":"height"]=`${i*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&C!==void 0&&(s+=x-(C||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),E=Math.max(x-s,0),T=E+(Math.min(y.length,w.dynamicMainBullets)-1),I=(T+E)/2),y.forEach(L=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map($=>`${w.bulletActiveClass}${$}`)].map($=>typeof $=="string"&&$.includes(" ")?$.split(" "):$).flat();L.classList.remove(...A)}),b.length>1)y.forEach(L=>{const A=x1(L);A===x?L.classList.add(...w.bulletActiveClass.split(" ")):t.isElement&&L.setAttribute("part","bullet"),w.dynamicBullets&&(A>=E&&A<=T&&L.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),A===E&&a(L,"prev"),A===T&&a(L,"next"))});else{const L=y[x];if(L&&L.classList.add(...w.bulletActiveClass.split(" ")),t.isElement&&y.forEach((A,$)=>{A.setAttribute("part",$===x?"bullet-active":"bullet")}),w.dynamicBullets){const A=y[E],$=y[T];for(let O=E;O<=T;O+=1)y[O]&&y[O].classList.add(...`${w.bulletActiveClass}-main`.split(" "));a(A,"prev"),a($,"next")}}if(w.dynamicBullets){const L=Math.min(y.length,w.dynamicMainBullets+4),A=(i*L-i)/2-I*i,$=m?"right":"left";y.forEach(O=>{O.style[t.isHorizontal()?$:"top"]=`${A}px`})}}b.forEach((y,E)=>{if(w.type==="fraction"&&(y.querySelectorAll(zn(w.currentClass)).forEach(T=>{T.textContent=w.formatFractionCurrent(x+1)}),y.querySelectorAll(zn(w.totalClass)).forEach(T=>{T.textContent=w.formatFractionTotal(S)})),w.type==="progressbar"){let T;w.progressbarOpposite?T=t.isHorizontal()?"vertical":"horizontal":T=t.isHorizontal()?"horizontal":"vertical";const I=(x+1)/S;let L=1,A=1;T==="horizontal"?L=I:A=I,y.querySelectorAll(zn(w.progressbarFillClass)).forEach($=>{$.style.transform=`translate3d(0,0,0) scaleX(${L}) scaleY(${A})`,$.style.transitionDuration=`${t.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(ii(y,w.renderCustom(t,x+1,S)),E===0&&r("paginationRender",y)):(E===0&&r("paginationRender",y),r("paginationUpdate",y)),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](w.lockClass)})}function h(){const m=t.params.pagination;if(c())return;const w=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let b=t.pagination.el;b=be(b);let x="";if(m.type==="bullets"){let C=t.params.loop?Math.ceil(w/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&C>w&&(C=w);for(let Q=0;Q<C;Q+=1)m.renderBullet?x+=m.renderBullet.call(t,Q,m.bulletClass):x+=`<${m.bulletElement} ${t.isElement?'part="bullet"':""} class="${m.bulletClass}"></${m.bulletElement}>`}m.type==="fraction"&&(m.renderFraction?x=m.renderFraction.call(t,m.currentClass,m.totalClass):x=`<span class="${m.currentClass}"></span> / <span class="${m.totalClass}"></span>`),m.type==="progressbar"&&(m.renderProgressbar?x=m.renderProgressbar.call(t,m.progressbarFillClass):x=`<span class="${m.progressbarFillClass}"></span>`),t.pagination.bullets=[],b.forEach(C=>{m.type!=="custom"&&ii(C,x||""),m.type==="bullets"&&t.pagination.bullets.push(...C.querySelectorAll(zn(m.bulletClass)))}),m.type!=="custom"&&r("paginationRender",b[0])}function d(){t.params.pagination=C1(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const m=t.params.pagination;if(!m.el)return;let w;typeof m.el=="string"&&t.isElement&&(w=t.el.querySelector(m.el)),!w&&typeof m.el=="string"&&(w=[...document.querySelectorAll(m.el)]),w||(w=m.el),!(!w||w.length===0)&&(t.params.uniqueNavElements&&typeof m.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...t.el.querySelectorAll(m.el)],w.length>1&&(w=w.find(b=>np(b,".swiper")[0]===t.el))),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(t.pagination,{el:w}),w=be(w),w.forEach(b=>{m.type==="bullets"&&m.clickable&&b.classList.add(...(m.clickableClass||"").split(" ")),b.classList.add(m.modifierClass+m.type),b.classList.add(t.isHorizontal()?m.horizontalClass:m.verticalClass),m.type==="bullets"&&m.dynamicBullets&&(b.classList.add(`${m.modifierClass}${m.type}-dynamic`),s=0,m.dynamicMainBullets<1&&(m.dynamicMainBullets=1)),m.type==="progressbar"&&m.progressbarOpposite&&b.classList.add(m.progressbarOppositeClass),m.clickable&&b.addEventListener("click",p),t.enabled||b.classList.add(m.lockClass)}))}function v(){const m=t.params.pagination;if(c())return;let w=t.pagination.el;w&&(w=be(w),w.forEach(b=>{b.classList.remove(m.hiddenClass),b.classList.remove(m.modifierClass+m.type),b.classList.remove(t.isHorizontal()?m.horizontalClass:m.verticalClass),m.clickable&&(b.classList.remove(...(m.clickableClass||"").split(" ")),b.removeEventListener("click",p))})),t.pagination.bullets&&t.pagination.bullets.forEach(b=>b.classList.remove(...m.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const m=t.params.pagination;let{el:w}=t.pagination;w=be(w),w.forEach(b=>{b.classList.remove(m.horizontalClass,m.verticalClass),b.classList.add(t.isHorizontal()?m.horizontalClass:m.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?_():(d(),h(),f())}),n("activeIndexChange",()=>{typeof t.snapIndex=="undefined"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{h(),f()}),n("destroy",()=>{v()}),n("enable disable",()=>{let{el:m}=t.pagination;m&&(m=be(m),m.forEach(w=>w.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(m,w)=>{const b=w.target,x=be(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&x&&x.length>0&&!b.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&b===t.navigation.nextEl||t.navigation.prevEl&&b===t.navigation.prevEl))return;const C=x[0].classList.contains(t.params.pagination.hiddenClass);r(C===!0?"paginationShow":"paginationHide"),x.forEach(Q=>Q.classList.toggle(t.params.pagination.hiddenClass))}});const g=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:m}=t.pagination;m&&(m=be(m),m.forEach(w=>w.classList.remove(t.params.pagination.paginationDisabledClass))),d(),h(),f()},_=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:m}=t.pagination;m&&(m=be(m),m.forEach(w=>w.classList.add(t.params.pagination.paginationDisabledClass))),v()};Object.assign(t.pagination,{enable:g,disable:_,render:h,update:f,init:d,destroy:v})}const ap=()=>({showNavigationArrow:k.bool.def(!0),navigation:k.oneOfType([Object,Boolean]).def(!1)}),cp=t=>{const{props:e,swiperOptions:n,pushModule:r,addInitOptionsCallback:o}=t,i=u.computed(()=>{if(e.navigation===!1)return!1;let s={nextEl:".pwc-swiper__next",prevEl:".pwc-swiper__prev"};return e.navigation===!0?s:D(D({},s),e.navigation)});return o(()=>{i.value&&(r(ip),n.value.navigation=i.value)}),{navigationOptions:i}},lp=()=>({pagination:k.oneOfType([Object,Boolean]).def(!1)}),up=t=>{const{props:e,swiperOptions:n,pushModule:r,addInitOptionsCallback:o}=t,i=u.computed(()=>{if(e.pagination===!1)return!1;let s={el:".pwc-swiper-pagination",bulletClass:"pwc-swiper-pagination-bullet",clickable:!0};return e.pagination===!0?s:D(D({},s),e.pagination)});return o(()=>{i.value&&(r(sp),n.value.pagination=i.value)}),{paginationOptions:i}},pp=t=>{const{props:e}=t,n=u.ref({}),r=u.ref([]),o=[];function i(a){o.push(a)}function s(){return n.value=D({initialSlide:e.initialSlide,direction:e.direction,init:!1},e.swiperOptions),r.value=[...e.swiperOptions.modules||[]],o.forEach(a=>a()),se(D({},n.value),{modules:r.value})}function c(a){r.value.includes(a)||r.value.push(a)}return{props:e,swiperOptions:n,modules:r,initOptions:s,pushModule:c,addInitOptionsCallback:i}},Q1=Symbol("SwiperInjectKey"),fp=t=>{const{props:e,emit:n}=t,r=u.ref();let o=null;const i=u.ref(!1),s=u.ref(e.initialSlide),c=u.ref(0),a=pp({props:e}),{navigationOptions:l}=cp(a),{paginationOptions:p}=up(a);function f(){if(!r.value)return;const v=a.initOptions();o=new qe(r.value,v),o.on("slideChange",g=>{s.value=g.activeIndex,n("slide-change",g)}),o.on("slideChangeTransitionStart",g=>{n("slide-change-transition-start",g)}),o.on("slideChangeTransitionEnd",g=>{n("slide-change-transition-end",g)}),o.on("init",g=>{i.value=!0,c.value=g.slides.length,n("init",g)}),o.on("update",g=>{c.value=g.slides.length}),o.init()}function h(){o&&(o.destroy(),o=null)}function d(){o&&o.update()}return u.provide(Q1,{swiperInited:i,activeIndex:s,total:c,updateSwiper:d}),u.onBeforeUnmount(()=>{h()}),u.onMounted(()=>{f()}),{wrapperRef:r,navigationOptions:l,paginationOptions:p}},si=()=>u.inject(Q1),dp=u.defineComponent({__name:"preview-controller",props:{currentScale:k.number.def(1),show:k.bool.def(!0)},emits:{"zoom-in":H(),"zoom-out":H(),"zoom-reset":H(),download:H()},setup(t,{emit:e}){const{isMobile:n}=ae(),{activeIndex:r,total:o,swiperInited:i}=si();return{__sfc:!0,emit:e,isMobile:n,activeIndex:r,total:o,swiperInited:i,PwcIconArrowLeft:ya,PwcIconArrowRight:$o,PwcIconZoomIn:v3,PwcIconZoomOut:_3,PwcIconDownFile:c3}}});var mp=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.swiperInited&&e.show,expression:"swiperInited && show"}],staticClass:"pwc-image-preview__controller",class:{"is-mobile":r.isMobile}},[n(r.PwcIconArrowLeft,{directives:[{name:"show",rawName:"v-show",value:r.total>1&&!r.isMobile,expression:"total > 1 && !isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__prev"}),r.total>1?n("span",{staticClass:"pwc-image-preview__controller__index"},[e._v(e._s(r.activeIndex+1)+" / "+e._s(r.total))]):e._e(),n(r.PwcIconArrowRight,{directives:[{name:"show",rawName:"v-show",value:r.total>1&&!r.isMobile,expression:"total > 1 && !isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__next"}),r.total>1&&!r.isMobile?n("div",{staticClass:"pwc-image-preview__controller__line"}):e._e(),n(r.PwcIconZoomIn,{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__zoom-in",on:{click:function(o){return r.emit("zoom-in")}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__scale",on:{click:function(o){return r.emit("zoom-reset")}}},[e._v(e._s((e.currentScale*100).toFixed(0))+"%")]),n(r.PwcIconZoomOut,{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__zoom-out",on:{click:function(o){return r.emit("zoom-out")}}}),r.total>1&&!r.isMobile?n("div",{staticClass:"pwc-image-preview__controller__line"}):e._e(),n(r.PwcIconDownFile,{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__download",on:{click:function(o){return r.emit("download")}}})],1)])},gp=[],hp=ee(dp,mp,gp);const vp=hp.exports,_p=()=>({originWidth:k.number.def(0),originHeight:k.number.def(0),maxZoom:k.number.def(4),minZoom:k.looseNumber}),wp=()=>({"scale-change":H(),"single-click":H()}),bp=t=>{const{containerRef:e,props:n}=t,{isMobile:r}=ae(),{size:o}=Fa(e),i=u.computed(()=>r?0:100),s=u.computed(()=>r?a():c());function c(){const l=o.value.width-i.value,p=o.value.height-i.value;if(n.originWidth<=l&&n.originHeight<=p)return{width:n.originWidth,height:n.originHeight};const f=n.originWidth/n.originHeight,h=l,d=h/f;return d<=p?{width:h,height:d}:{width:p*f,height:p}}function a(){const l=o.value.width-i.value,p=n.originHeight/n.originWidth,f=l,h=f*p;return{width:f,height:h}}return{wrapSize:o,defaultSize:s,edgeBetween:i}},yp=t=>{const{defaultSize:e,wrapSize:n,props:r,edgeBetween:o,emit:i}=t,{isMobile:s}=ae(),c=u.ref(1),a=u.ref(0),l=u.ref(0),p=u.computed(()=>r.maxZoom),f=u.computed(()=>{var T;const E=s?1:.25;return(T=r.minZoom)!=null?T:E}),h=u.computed(()=>{const E=e.value.width*c.value,T=e.value.height*c.value;return E>n.value.width||T>n.value.height});function d(){const E=e.value.height,T=n.value.height;let I=0;s&&T<E&&(I=(E-T)/2),a.value=0,l.value=I}function v(E,T=0){return Number(E.toFixed(T||0))}function g(){let E=.1;return c.value>=1.5&&(E=.25),c.value>=3&&(E=.5),c.value>=5&&(E=1),E}function _(){let E=1;return c.value<=5&&(E=.5),c.value<=3&&(E=.25),c.value<=1.5&&(E=.1),E}function m(){const E=g(),T=c.value+E;return b(T),c.value}function w(){const E=_(),T=c.value-E;return b(T),c.value}function b(E=1){return E<f.value&&(E=f.value),E>p.value&&(E=p.value),c.value=v(E,2),i("scale-change",c.value),S(),c.value}function x(){return c.value=1,i("scale-change",c.value),d(),c.value}function C(E=0,T=0){const I=y({x:a.value+E,y:l.value+T});a.value=I.x,l.value=I.y}function Q(E,T){const I=y({x:E,y:T});a.value=I.x,l.value=I.y}function S(){const E=y();a.value=E.x,l.value=E.y}function y(E){E=E||{x:a.value,y:l.value};let{x:T,y:I}=E;const L=e.value.width*c.value,A=e.value.height*c.value;let $=L-n.value.width,O=A-n.value.height;if($>0){$+=o.value;const F=$/2;T>0&&T>F&&(T=F),T<0&&T<F*-1&&(T=F*-1)}else T=0;if(O>0){O+=o.value;const F=O/2;I>0&&I>F&&(I=F),I<0&&I<F*-1&&(I=F*-1)}else I=0;return{x:T,y:I}}return u.onMounted(()=>{d()}),{scale:c,centerDiffX:a,centerDiffY:l,isOverflowWrap:h,initCenter:d,zoomLarge:m,zoomSmall:w,zoomScale:b,zoomReset:x,moveCenter:C,setCenter:Q,correctionCenter:S,computedCenter:y}};function xp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k1=!1,At,ai,ci,Qr,kr,S1,Sr,li,ui,pi,E1,fi,di,T1,I1;function Ae(){if(!k1){k1=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),n=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(fi=/\b(iPhone|iP[ao]d)/.exec(t),di=/\b(iP[ao]d)/.exec(t),pi=/Android/i.exec(t),T1=/FBAN\/\w+;/i.exec(t),I1=/Mobile/i.exec(t),E1=!!/Win64/.exec(t),e){At=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,At&&document&&document.documentMode&&(At=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(t);S1=r?parseFloat(r[1])+4:At,ai=e[2]?parseFloat(e[2]):NaN,ci=e[3]?parseFloat(e[3]):NaN,Qr=e[4]?parseFloat(e[4]):NaN,Qr?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),kr=e&&e[1]?parseFloat(e[1]):NaN):kr=NaN}else At=ai=ci=kr=Qr=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);Sr=o?parseFloat(o[1].replace("_",".")):!0}else Sr=!1;li=!!n[2],ui=!!n[3]}else Sr=li=ui=!1}}var mi={ie:function(){return Ae()||At},ieCompatibilityMode:function(){return Ae()||S1>At},ie64:function(){return mi.ie()&&E1},firefox:function(){return Ae()||ai},opera:function(){return Ae()||ci},webkit:function(){return Ae()||Qr},safari:function(){return mi.webkit()},chrome:function(){return Ae()||kr},windows:function(){return Ae()||li},osx:function(){return Ae()||Sr},linux:function(){return Ae()||ui},iphone:function(){return Ae()||fi},mobile:function(){return Ae()||fi||di||pi||I1},nativeApp:function(){return Ae()||T1},android:function(){return Ae()||pi},ipad:function(){return Ae()||di}},Cp=mi,Qp=!!(typeof window!="undefined"&&window.document&&window.document.createElement),kp={canUseDOM:Qp},Sp=kp,L1=Sp,P1;L1.canUseDOM&&(P1=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
482
|
+
`),Rn=()=>{function t(){return document}function e(){return document.documentElement}function n(){return document.body}return{getDocument:t,getAppRootElement:e,getAppBodyElement:n}},le=typeof window=="undefined";function T3(){return p.version.startsWith("3.")}const be={modelValueKey:"value",modelValueEmitKey:"input",updateModelValueEmitDefine:()=>({}),createVueInstance:(t,e)=>{const{parent:n,props:r={},on:o={},vnode:i}=e;let s;try{typeof lt=="function"&&(s=lt),typeof lt.default=="function"&&(s=lt.default),typeof p=="function"&&(s=p),typeof p=="object"&&(s=p.default)}catch(l){console.error("createVue2Instance fail: VueConstructor is not defined",l)}if(!s){console.error("createVue2Instance fail: VueConstructor is not defined");return}const c=new s({parent:n,render:l=>i||l(t,{props:r,on:o})});c.$mount();const a=c.$children[0];return a.$on("hook:destroyed",()=>{c.$destroy()}),a},destroyVueInstance:t=>{try{const e=be.getVueInstanceElem(t);e&&e.remove(),t.$destroy()}catch(e){console.error("Vue2 destroyVueInstance fail",e)}},getVueInstanceElem:t=>t.$el,defineDirective:t=>({bind:t.bindHook,update:t.updateHook,unbind:t.unbindHook}),getVNodeElem:t=>{if(t.elm instanceof Element)return t.elm}},M=()=>()=>!0;function it(){return be.updateModelValueEmitDefine()}const k={get string(){return nr().def("")},get looseString(){return nr()},get number(){return lo().def(0)},get looseNumber(){return lo()},get bool(){return co().def(!0)},get looseBool(){return{type:Boolean,default(){}}},get any(){return ds()},get looseElement(){return po([]).def(void 0)},array:()=>gs().def([]),object:uo,func:ms,oneOf:hs,oneOfType:po,enum:nr,style:()=>uo().def({}),icon:()=>({type:void 0,default:void 0,required:!1}),modelValueKey:be.modelValueKey},ft=t=>{const e={};for(const n in t)e[n]=p.computed(()=>t[n]);return e};function et(t){return p.isRef(t)?t.value:t}function de(t){if(le)return;const e=et(t);if(e instanceof Document||e instanceof Element)return e;if(typeof e=="string"&&e)try{return document.querySelector(e)||void 0}catch(n){console.error("getRefElem error:",n)}if(e&&e.$el){const n=e.$el;return T3()&&n instanceof Text&&n.nextElementSibling?n.nextElementSibling:n}}const za={skinColorMode:"light",specialColor:"#3F76FC"};function Fa(t){return`pwc-skin-color-mode--${t}`}const Ba=t=>{const{configProviderData:e}=On(t),n=p.computed(()=>{let i={};return e!=null&&e.getSkinColorConfig&&(i=e.getSkinColorConfig()),O(O({},za),i)}),r=p.computed(()=>p.unref(n.value.skinColorMode));function o(i=1){const s=p.unref(n).specialColor;if(i<1){const c=rs(s);if(c){const[a,l,u]=c;return`rgba(${a}, ${l}, ${u}, ${i})`}}return s}return{skinColorConfig:n,currentSkinColorMode:r,genSkinColorClass:Fa,getSpecialColor:o}},L3=()=>({ignoreSkinColor:k.bool.def(!0)}),P3=(t={})=>{const{props:e}=t;return{skinColorIgnoreClass:p.computed(()=>{const r=Fa(za.skinColorMode);return e?e.ignoreSkinColor?r:void 0:r})}},A3="pwcConfigProvider",On=t=>({configProviderData:p.inject(A3,t)}),Ma=()=>{const{configProviderData:t}=On();return{pageFullscreen:p.computed(()=>{var n;return typeof(t==null?void 0:t.pageFullscreen)=="function"?t.pageFullscreen():(n=t==null?void 0:t.pageFullscreen)!=null?n:!1})}};function xr(t,e={}){const{autoListen:n=!0,autoRemove:r=!0}=e;n&&p.onMounted(t.listenEvent),r&&p.onBeforeUnmount(t.removeEvent)}function Na(){const{configProviderData:t}=On(),e="pwc-default-app-unique-id",n=(t==null?void 0:t.appUniqueId)||e;return{defaultAppUniqueId:e,appUniqueId:n}}const $3="__pwc-event-emitter-key";function Ha(t){let e=$3;if(t&&(e+=`-${t}`),window[e])return window[e];const n=new Vl;return window[e]=n,n}const Ee=()=>{const{defaultAppUniqueId:t,appUniqueId:e}=Na(),{configProviderData:n}=On();function r(){return n!=null&&n.getEmitter?n.getEmitter():e!==t?Ha(e):Ha()}return{getEmitter:r}};function he(t,e,n={}){const{getEmitter:r}=Ee();function o(){r().on(t,e)}function i(){r().off(t,e)}return xr({listenEvent:o,removeEvent:i},n),{listenEvent:o,removeEvent:i}}const Cr="@@polyvAdminUIzIndex";function R3(){function e(){return le?3e3:(window[Cr]||(window[Cr]=3e3),window[Cr])}function n(o){le||(window[Cr]=o)}function r(){const o=e()+1;return n(o),o}return{getTopmostZIndex:e,setTopmostZIndex:n,increaseTopmostZIndex:r}}const rn=(t,e={})=>{const{visible:n,topmostEvent:r}=e,o=p.ref(),{increaseTopmostZIndex:i}=R3();function s(){return P(this,null,function*(){yield p.nextTick();const c=de(t);if(c instanceof HTMLElement){const a=i();o.value=a,c.style.zIndex=String(a)}})}return n&&p.watch(()=>p.unref(n),()=>{p.unref(n)&&s()},{immediate:!0}),r&&he(r,s),{currentZIndex:o,topmostElem:s}};function O3(t={}){const{lockedRef:e,lockTarget:n}=t,{getAppBodyElement:r}=Rn(),o=p.ref(!1),i=ut(6),s=p.computed(()=>`pwc-body-locked--${i}`);function c(){return n?de(n):r()}function a(){if(le)return;o.value=!0;const u=c();u&&(u.classList.contains(s.value)||u.classList.add(s.value))}function l(){if(le)return;o.value=!1;const u=c();u&&u.classList.contains(s.value)&&u.classList.remove(s.value)}return p.watch(()=>e?e.value:o.value,u=>{u?a():l()},{immediate:!0}),p.onBeforeUnmount(()=>{l()}),{lockedRef:o,lockScroll:a,unlockScroll:l}}const D3={isMac:!1,isMobile:!1,isWeixin:!1,isWorkWeixin:!1,isIframe:!1,isDesktopIPad:!1,isIE:!1,isLowerIE:!1},se=()=>{if(le)return D3;const t=w0(),e=t.os.isMacOS,n=t.isPortable,r=t.client.isWx,o=t.client.isWxWork,i=window.self!==window.top,s=(()=>{const u=window.navigator.userAgent;return/mac os x/i.test(u)&&"ontouchend"in document})(),c=(()=>{if(le)return-1;const u=window.navigator.userAgent,f=u.indexOf("MSIE "),h=u.indexOf("Trident/");if(f>-1)return parseInt(u.substring(f+5,u.indexOf(".",f)),10);if(h>-1){const d=u.indexOf("rv:");return parseInt(u.substring(d+3,u.indexOf(".",d)),10)}return-1})(),a=t.browser.isIE,l=a&&c!==-1&&c<=10;return{isMac:e,isMobile:n,isWeixin:r,isWorkWeixin:o,isIframe:i,isDesktopIPad:s,isIE:a,isLowerIE:l}};function Wo(t,e={}){const{isMobile:n}=se(),r=p.ref("Vertical"),o=p.computed(()=>n?r.value==="Vertical":!1),i=p.computed(()=>n?r.value==="Horizontal":!1);function s(){if(le)return;const u=window.matchMedia("(orientation: portrait)");if(u!=null&&u.matches?r.value="Vertical":r.value="Horizontal",window.screen.orientation.type){switch(window.screen.orientation.type){case"portrait-primary":case"portrait-secondary":r.value="Vertical";break;case"landscape-primary":case"landscape-secondary":r.value="Horizontal";break}return}window.innerWidth<window.innerHeight?r.value="Vertical":r.value="Horizontal"}function c(){setTimeout(()=>{s(),t&&t(r.value)},200)}function a(){n&&window.addEventListener("onorientationchange"in window?"orientationchange":"resize",c,!1)}function l(){n&&window.removeEventListener("onorientationchange"in window?"orientationchange":"resize",c,!1)}return xr({listenEvent:a,removeEvent:l},e),p.onMounted(()=>{s()}),{screenOrientationMode:r,isVerticalScreenOrientation:o,isHorizontalScreenOrientation:i,listenEvent:a,removeEvent:l}}const Ua=["bottom","left","right","center"],z3=()=>O({[k.modelValueKey]:k.bool.def(!1),title:k.string.def(""),titleStyle:k.style(),backgroundMode:k.oneOf(["bg1"]),background:k.string,closeable:k.bool.def(!0),backable:k.looseBool,showHeader:k.bool.def(!0),headerStyle:k.style(),headerClass:k.string,openEvent:k.looseString,position:k.oneOf(Ua),horizontalScreenPosition:k.oneOf(Ua).def("right"),horizontalScreenClassName:k.string,width:k.looseString,height:k.looseString,bodyMaxHeight:k.oneOfType([String,Number]).def(.85),bodyHeightPercent:k.looseNumber,dynamicHeight:k.bool.def(!1),fillBody:k.bool.def(!1),bodyStyle:k.style(),appendTo:k.looseElement,showModal:k.looseBool,closeOnMask:k.bool.def(!0),popupConfig:k.object(),showScrollbar:k.bool.def(!0),customClose:k.func(),draggable:k.bool.def(!1),positionComputedElem:k.string.def(""),bodyLocked:k.bool.def(!1),hiddenShadow:k.bool.def(!1),popupTransition:k.oneOfType([String,Boolean]).def(!0),insertFullscreen:k.bool.def(!0)},L3()),F3=()=>ie(O({},it()),{"after-leave":M(),"after-enter":M(),"click-back":M()});function on(t,e){const{getAppBodyElement:n}=Rn(),r=p.computed(()=>{if(le)return;let i=de(e);return i||(i=n()),i});function o(){const i=de(t),s=p.unref(r);!i||!s||s.appendChild(i)}p.watch(()=>[p.unref(t),p.unref(r)],()=>{le||o()},{immediate:!0}),p.onBeforeUnmount(()=>{const i=de(t);i&&i.remove()})}const ja=[{enabledField:"fullscreenEnabled",elementField:"fullscreenElement",requestApiField:"requestFullscreen",exitApiField:"exitFullscreen",fullscreenChangeEvent:"fullscreenchange"},{enabledField:"webkitFullscreenEnabled",elementField:"webkitFullscreenElement",requestApiField:"webkitRequestFullscreen",exitApiField:"webkitExitFullscreen",fullscreenChangeEvent:"webkitfullscreenchange"},{enabledField:"webkitCancelFullScreen",elementField:"webkitCurrentFullScreenElement",requestApiField:"webkitRequestFullScreen",exitApiField:"webkitCancelFullScreen",fullscreenChangeEvent:"webkitfullscreenchange"},{enabledField:"mozFullScreenEnabled",elementField:"mozFullScreenElement",requestApiField:"mozRequestFullScreen",exitApiField:"mozCancelFullScreen",fullscreenChangeEvent:"mozfullscreenchange"},{enabledField:"msFullscreenEnabled",elementField:"msFullscreenElement",requestApiField:"msRequestFullscreen",exitApiField:"msExitFullscreen",fullscreenChangeEvent:"MSFullscreenChange"}];function Dt(t,e){if(!le)return t();if(e)return e}function B3(t,e={}){const n=Dt(()=>{let m;for(let w=0;w<ja.length;w++){const g=ja[w];if(g.enabledField in document){m=g;break}}return m});function r(){if(le)return;let m;return m=de(t),m||(m=document.documentElement),m}const o=p.ref(!1),i=p.ref(!1),s=p.computed(()=>!!n);function c(){var m;if(n)return(m=document[n.elementField])!=null?m:void 0}function a(){return P(this,null,function*(){const m=r();!n||!m||!s.value||(yield m[n.requestApiField]())})}function l(){return P(this,null,function*(){n&&(yield document[n.exitApiField]())})}function u(){return P(this,null,function*(){return o.value?l():a()})}function f(){if(!n)return;document[n.elementField]?o.value=!0:o.value=!1;const m=r(),w=c();m&&(i.value=m===w)}function h(){f(),e.onFullscreenChange&&e.onFullscreenChange(o.value)}function d(){n&&document.addEventListener(n.fullscreenChangeEvent,h)}function _(){n&&document.removeEventListener(n.fullscreenChangeEvent,h)}return p.onMounted(()=>{f()}),xr({listenEvent:d,removeEvent:_},e),{isFullscreen:o,isCurrentFullscreen:i,supportFullscreen:s,listenEvent:d,removeEvent:_,getFullscreenElement:c,requestFullscreen:a,exitFullscreen:l,toggleFullscreen:u}}const M3=()=>({popupConfig:k.object()}),N3=Symbol("popup-config-provide"),Dn=()=>p.inject(N3,{}),H3=t=>{const{props:e,wrapRef:n}=t,r=Dn(),{isFullscreen:o,getFullscreenElement:i}=B3();function s(){var l,u;if(e.appendTo)return e.appendTo;if((l=e.popupConfig)!=null&&l.appendTo)return e.popupConfig.appendTo;if(r)return(u=p.unref(r.popupConfig))==null?void 0:u.appendTo}const c=p.computed(()=>{let l=s();if(o.value&&e.insertFullscreen){const u=i(),f=u instanceof HTMLVideoElement,h=u instanceof HTMLAudioElement;u&&!f&&!h&&(l=u)}return l});on(n,c);const a=p.computed(()=>{const l={};return le||c.value&&c.value!==document.body&&(l.position="absolute"),l});return{popupAppendTo:c,appendStyle:a}},U3=t=>{const{props:e,emit:n}=t;let r;const o=p.ref(!1),i=p.computed(()=>o.value?!0:e.backable);function s(){t.callbackCloseBody(),n("click-back"),r&&r()}function c(a={}){r=a.backAction,o.value=!!r}return p.onBeforeUnmount(()=>{r=void 0}),{onClickBack:s,showBack:i,setupBackAction:c}},j3=t=>{const{props:e,bodyRef:n,headerRef:r,bodyVisible:o,popupPosition:i}=t,{isMobile:s}=se(),{getAppRootElement:c}=Rn(),a=p.ref(0),l=p.ref(0),u=p.ref(!1),f=p.ref(!1),h=p.ref(),d=p.ref();function _(){window.addEventListener("resize",w),document.addEventListener("scroll",w),e.draggable&&(document.addEventListener("mousedown",g),document.addEventListener("mousemove",v),document.addEventListener("mouseup",b))}function m(){window.removeEventListener("resize",w),document.removeEventListener("scroll",w),document.removeEventListener("mousedown",g),document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",b)}function w(){p.unref(f)||y()}function g(Q){r.value&&r.value.contains(Q.target)&&(u.value=!0,h.value=Q.pageX,d.value=Q.pageY)}function v(Q){if(!u.value||typeof h.value=="undefined"||typeof d.value=="undefined")return;f.value=!0;const S=Q.pageY-d.value,I=Q.pageX-h.value;a.value+=S,l.value+=I,h.value=Q.pageX,d.value=Q.pageY,x()}function b(){u.value=!1,h.value=void 0,d.value=void 0}function y(){const Q=n.value;if(!Q)return;let S=c();const I=c().scrollTop,T=c().scrollLeft;if(e.positionComputedElem){const U=c().querySelector(e.positionComputedElem);U&&(S=U)}const L=S===c(),A=S.getBoundingClientRect(),$=A.y||A.top,D=A.x||A.left,F=S.clientWidth,G=S.clientHeight,H=L?0:$,K=L?0:D,X=Q.clientWidth,B=Q.clientHeight,R=(F-X)/2,z=(G-B)/2;l.value=K+R+T,a.value=H+z+I,x()}function x(){const Q=c();if(!Q)return;const S=n.value;if(!S)return;const I=Q.offsetWidth,T=Q.offsetHeight;if(I===0||T===0)return;const L=0,A=T-S.offsetHeight;a.value<L&&(a.value=L),a.value>A&&(a.value=A);const $=0,D=I-S.offsetWidth;l.value<$&&(l.value=$),l.value>D&&(l.value=D)}const C=p.computed(()=>e.draggable&&i.value==="center"&&!s&&!le),E=p.computed(()=>{const Q={};return C.value&&(Q.top=`${a.value}px`,Q.left=`${l.value}px`,Q.transform="initial"),Q});return p.watch(o,()=>P(this,null,function*(){C.value&&(o.value?(_(),yield p.nextTick(),p.unref(f)||y()):m())})),p.onBeforeUnmount(()=>{m()}),{canDraggable:C,draggableStyle:E,resetPosition:y}};function te(t,e,n,r){const o=`__evnt-listener-${e}-${ut(5)}`;function i(l){n(l)}function s(){if(!le)return t===window?window:de(t)}function c(){const l=s();l&&!l[o]&&(l.addEventListener(e,i,r),l[o]=!0)}function a(){const l=s();l&&(l.removeEventListener(e,i,r),delete l[o])}return p.watch(()=>s(),()=>P(this,null,function*(){yield p.nextTick(),c()}),{immediate:!0}),p.onBeforeUnmount(a),{listenEvent:c,removeEvent:a}}const q3=t=>{const{props:e,popupPosition:n,scrollRef:r,wrapVisible:o}=t,i=p.computed(()=>e.dynamicHeight&&e.bodyHeightPercent&&n.value==="bottom"),s=p.computed(()=>{var d;return(d=e.bodyHeightPercent)!=null?d:0});let c=0,a=null;const l=p.ref(0),u=p.computed(()=>typeof e.bodyMaxHeight!="number"?0:Math.min(s.value+l.value,e.bodyMaxHeight)),f=p.computed(()=>typeof e.bodyMaxHeight!="number"?!1:l.value+s.value>=e.bodyMaxHeight);te(r,"scroll",d=>{a||!i.value||(a=requestAnimationFrame(()=>{const _=d.target,m=_.scrollTop,w=_.scrollHeight,g=_.clientHeight;!f.value&&m>c&&(l.value+=(m-c)/(w-g),c=m),a=null}))});function h(){l.value=0,c=0,a&&(cancelAnimationFrame(a),a=null)}return p.watch(o,()=>P(this,null,function*(){!o.value&&i.value&&h()})),{canDynamicHeight:i,dynamicBodyHeightPercent:u,reset:h}},W3=t=>{const{props:e}=t,n=Dn(),{canDynamicHeight:r,dynamicBodyHeightPercent:o}=q3(t),i=p.computed(()=>{var a,l;const c=e.height||((a=e.popupConfig)==null?void 0:a.height)||((l=p.unref(n==null?void 0:n.popupConfig))==null?void 0:l.height);if(c)return c;if(r.value)return`${o.value*100}%`;if(e.bodyHeightPercent)return`${e.bodyHeightPercent*100}%`});return{bodyHeightStyle:p.computed(()=>{const c={"--pwc-popup-body-max-height":typeof e.bodyMaxHeight=="number"?`${e.bodyMaxHeight*100}%`:e.bodyMaxHeight};return i.value&&(c.height=i.value),c})}},G3=t=>{const{props:e}=t,n=Dn(),{isHorizontalScreenOrientation:r}=Wo(),{pageFullscreen:o}=Ma(),{isMobile:i}=se();function s(){var u,f;let l=e.position||((u=e.popupConfig)==null?void 0:u.position)||((f=p.unref(n.popupConfig))==null?void 0:f.position);return l||(i?l="bottom":l="center",l)}const c=p.computed(()=>{let l=s();return l==="bottom"&&(r.value||o.value)&&(l=e.horizontalScreenPosition),l}),a=p.computed(()=>`pwc-popup--position-${c.value}`);return{popupPosition:c,positionClass:a}},qe=()=>{const t=p.getCurrentInstance();function e(){return t==null?void 0:t.proxy}function n(){const s=e();s&&be.destroyVueInstance(s)}function r(){const s=e();if(s)return be.getVueInstanceElem(s)}function o(){var s;return console.log("getInstance()",e()),(s=e())==null?void 0:s.$children}function i(s,c={}){const a=e();return be.createVueInstance(s,O({instanceVm:t,parent:a},c))}return{getInstance:e,destroyCurrentInstance:n,getCurrentElem:r,getCurrentChildrens:o,createVueInstance:i,getVueInstanceElem:be.getVueInstanceElem,destroyVueInstance:be.destroyVueInstance}},Me=t=>{const{getInstance:e}=qe(),n=p.computed(()=>t[k.modelValueKey]);function r(o){var i;(i=e())==null||i.$emit(be.modelValueEmitKey,o)}return{modelValue:n,updateModelValue:r}},Z3=t=>{const{props:e}=t,{modelValue:n}=Me(e),r=p.ref(),o=p.ref(0);function i(){return P(this,null,function*(){yield p.nextTick(),r.value&&(r.value.scrollTop=0,o.value=0)})}return te(r,"scroll",()=>{r.value&&(o.value=r.value.scrollTop)}),p.watch(()=>n.value,()=>{n.value&&i()}),{scrollRef:r,currentScrollTop:o,resetScroll:i}},Y3=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Me(e),i=p.ref(!1),s=p.ref(!1);function c(){i.value=!0,s.value=!0}function a(){if(e.customClose){e.customClose({closeBody:l});return}l()}function l(){s.value=!1,o(!1)}function u(){i.value=!1,n("after-leave")}function f(){n("after-enter")}p.watch(()=>r.value,()=>{r.value&&!i.value&&c(),!r.value&&s.value&&l()}),p.onMounted(()=>{r.value&&c()});function h(){!e.closeOnMask||!e.closeable||a()}return{wrapVisible:i,bodyVisible:s,onAfterLeave:u,onAfterEnter:f,openPopup:c,closePopup:a,closeBody:l,onClickMask:h}},K3=t=>{const{props:e,popupPosition:n}=t,r=Dn(),o=p.computed(()=>{let c="100%";switch(n.value){case"bottom":c="100%";break;case"left":c="375px";break;case"right":c="375px";break;case"center":c="375px";break}return c}),i=p.computed(()=>{var a,l;let c=e.width||((a=e.popupConfig)==null?void 0:a.width)||((l=p.unref(r.popupConfig))==null?void 0:l.width);return c||(c=o.value,c)});return{bodyWidthStyle:p.computed(()=>{const c={};return i.value&&(c.width=i.value),c})}},X3=p.defineComponent({__name:"popup",props:O({},z3()),emits:F3(),setup(t,{expose:e,emit:n}){const r=t,o=p.ref(),i=p.ref(),s=p.ref(),c=Dn(),{isMobile:a}=se(),{isHorizontalScreenOrientation:l}=Wo(),{pageFullscreen:u}=Ma(),{skinColorIgnoreClass:f}=P3({props:r}),{wrapVisible:h,bodyVisible:d,closePopup:_,onAfterLeave:m,onAfterEnter:w,onClickMask:g,closeBody:v}=Y3({props:r,emit:n}),{scrollRef:b,currentScrollTop:y,resetScroll:x}=Z3({props:r});rn(o,{visible:d,topmostEvent:r.openEvent});const{appendStyle:C}=H3({props:r,wrapRef:o}),{positionClass:E,popupPosition:Q}=G3({props:r}),{canDraggable:S,draggableStyle:I}=j3({props:r,bodyRef:i,headerRef:s,bodyVisible:d,popupPosition:Q});O3({lockedRef:p.computed(()=>r.bodyLocked&&h.value)});const{bodyHeightStyle:T}=W3({props:r,scrollRef:b,popupPosition:Q,wrapVisible:h}),{bodyWidthStyle:L}=K3({props:r,popupPosition:Q}),{showBack:A,onClickBack:$,setupBackAction:D}=U3({props:r,emit:n,callbackCloseBody:v}),F=p.computed(()=>{var z,U,N,Z,ce;let R=(ce=(Z=(U=r.showModal)!=null?U:(z=r.popupConfig)==null?void 0:z.showModal)!=null?Z:(N=p.unref(c.popupConfig))==null?void 0:N.showModal)!=null?ce:!0;return S.value&&(R=!1),R}),G=p.computed(()=>{const R=[];return r.fillBody&&R.push("pwc-popup--fill-body"),a&&R.push("pwc-popup--mobile"),F.value||R.push("pwc-popup--hide-modal"),r.showScrollbar||R.push("pwc-popup--hide-scrollbar"),(l.value||u.value)&&(R.push("pwc-popup--horizontal-screen"),r.horizontalScreenClassName&&R.push(r.horizontalScreenClassName)),S.value&&R.push("pwc-popup--draggable"),u.value&&R.push("pwc-popup--page-fullscreen"),R}),H=p.computed(()=>{const R=[];return r.backgroundMode&&R.push(`pwc-popup__body--${r.backgroundMode}`),R}),K=p.computed(()=>{const R=O(O(O(O({},r.bodyStyle),I.value),L.value),T.value);return r.background&&(R.background=r.background),R}),X=p.computed(()=>{const R={};if(r.background){const z=rs(r.background);if(z){const[U,N,Z]=z;R.backgroundImage=`linear-gradient(180deg, rgba(${U}, ${N}, ${Z}, 0.1) 0%, rgba(${U}, ${N}, ${Z}, 0.9) 15%, ${r.background} 100%)`}}return R}),B=p.computed(()=>{const R=Q.value==="center"?"pwc-fade":"pwc-popup-slide-transition";return typeof r.popupTransition=="boolean"?r.popupTransition?R:void 0:r.popupTransition||R});return e({resetScroll:x,setupBackAction:D}),{__sfc:!0,props:r,emit:n,wrapRef:o,bodyRef:i,headerRef:s,popupInjectData:c,isMobile:a,isHorizontalScreenOrientation:l,pageFullscreen:u,skinColorIgnoreClass:f,wrapVisible:h,bodyVisible:d,closePopup:_,onAfterLeave:m,onAfterEnter:w,onClickMask:g,closeBody:v,scrollRef:b,currentScrollTop:y,resetScroll:x,appendStyle:C,positionClass:E,popupPosition:Q,canDraggable:S,draggableStyle:I,bodyHeightStyle:T,bodyWidthStyle:L,showBack:A,onClickBack:$,setupBackAction:D,popupShowModal:F,wrapClass:G,bodyClass:H,bodyStyle:K,footerStyle:X,popupTransition:B,PwcIconArrowLeft:$a,PwcIconClose:$n}}});function J(t,e,n,r,o,i,s,c){var a=typeof t=="function"?t.options:t;return e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),{exports:t,options:a}}var J3=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.wrapVisible,expression:"wrapVisible"}],ref:"wrapRef",staticClass:"pwc-popup",class:[...r.wrapClass,r.positionClass,r.skinColorIgnoreClass,{"is-scrolling":r.currentScrollTop>0}],style:O({},r.appendStyle),on:{click:r.onClickMask}},[n("transition",{attrs:{name:r.popupTransition},on:{"after-leave":r.onAfterLeave,"after-enter":r.onAfterEnter}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.bodyVisible,expression:"bodyVisible"}],ref:"bodyRef",staticClass:"pwc-popup__body",class:[...r.bodyClass,{"is-hidden-shadow":e.hiddenShadow}],style:r.bodyStyle,on:{click:function(o){o.stopPropagation()}}},[e.showHeader?[e._t("header",function(){return[n("div",{ref:"headerRef",staticClass:"pwc-popup__header",class:e.headerClass,style:e.headerStyle},[r.showBack?n(r.PwcIconArrowLeft,{staticClass:"pwc-popup__back",on:{click:r.onClickBack}}):e._e(),n("div",{staticClass:"pwc-popup__title",style:e.titleStyle},[e._t("title",function(){return[e._v(e._s(e.title))]})],2),n("div",{staticClass:"pwc-popup__header-right"},[e._t("header-right",function(){return[e.closeable?n(r.PwcIconClose,{staticClass:"pwc-popup__close",on:{click:r.closePopup}}):e._e()]})],2)],1)]})]:e._e(),n("div",{staticClass:"pwc-popup__content"},[e._t("content-suffix"),n("div",{ref:"scrollRef",staticClass:"pwc-popup__inner"},[e._t("default"),n("div",{staticClass:"pwc-popup__inner__footer",style:r.footerStyle},[e._t("footer")],2)],2)],2)],2)])],1)},V3=[],eu=J(X3,J3,V3);const st=eu.exports,tu={zh_CN:{common:{confirm:"确认",cancel:"取消",close:"关闭",submit:"提交",submitSuccess:"提交成功",known:"我知道了",copySuccess:"复制成功",copyLinkSuccess:"链接复制成功,可去浏览器粘贴下载",tips:"提示",success:"成功",empty:"暂无内容"}},zh_TW:{common:{confirm:"確認",cancel:"取消",close:"關閉",submit:"提交",submitSuccess:"提交成功",known:"我知道了",copySuccess:"複製成功",copyLinkSuccess:"連結複製成功,可去瀏覽器貼上下載",tips:"提示",success:"成功",empty:"暫無內容"}},en:{common:{confirm:"Confirm",cancel:"Cancel",close:"Close",submit:"Submit",submitSuccess:"Success",known:"I know",copySuccess:"Copy success",copyLinkSuccess:"Link copy success, you can paste it in the browser to download",tips:"Tips",success:"Success",empty:"Empty"}},ja:{common:{confirm:"確認",cancel:"キャンセル",close:"閉じる",submit:"送信",submitSuccess:"送信成功",known:"わかりました",copySuccess:"コピー成功",copyLinkSuccess:"リンクをコピーしました。ブラウザに貼り付けてダウンロードしてください",tips:"ヒント",success:"成功",empty:"空"}},ko:{common:{confirm:"확인",cancel:"취소",close:"닫기",submit:"제출",submitSuccess:"제출 성공",known:"알겠습니다",copySuccess:"복사 성공",copyLinkSuccess:"링크 복사 성공, 브라우저에 붙여넣기하여 다운로드",tips:"팁",success:"성공",empty:"비어있음"}},ru:{common:{confirm:"Подтвердить",cancel:"Отмена",close:"Закрыть",submit:"Отправить",submitSuccess:"Успешно отправлено",known:"Понятно",copySuccess:"Скопировано успешно",copyLinkSuccess:"Ссылка скопирована успешно, можно перейти в браузер и вставить для загрузки",tips:"Подсказка",success:"Успешно",empty:"Пусто"}}};function qa(t,e=""){return Object.keys(t).reduce((n,r)=>{const o=t[r],i=e?`${e}.${r}`:r;return typeof o=="object"&&o!==null&&!Array.isArray(o)?Object.assign(n,qa(o,i)):n[i]=o,n},{})}function Wa(t={zh_CN:{},zh_TW:{},en:{},ja:{},ko:{},ru:{}}){const e={};for(const r in t){if(r==="key")continue;const o=r;e[o]=qa(O(O({},tu[o]),t[o]))}return{useI18n:()=>{const{configProviderData:r}=On(),o=p.computed(()=>typeof(r==null?void 0:r.globalLang)=="function"?r.globalLang():(r==null?void 0:r.globalLang)||"zh_CN"),i=p.computed(()=>["zh_CN","zh_TW"].includes(o.value));function s(a,l,u){return u.replace(new RegExp("\\{"+a+"}","g"),l)}function c(a,l={}){const u=e[o.value];let f=u==null?void 0:u[a];if(f&&l){const h=Object.keys(l);for(const d of h){const _=l[d].toString();f=s(d,_,f)}}return f}return{$t:c,currentLang:o,isZhCN:i}}}}const nu={rewardReceive:{receiveTitleForm:"Fill in the winning information",receiveTitleView:"View information",receiveTitleQrcode:"Scan the code to receive the award",receiveTitleLink:"Open link",receiveDesc:"Please fill in your personal information, which will be used to send the prize and contact you.",overTimeDesc:"Deadline for filling in information: ",choiceAddress:"Select Region",addressDetail:"Address detail",addressPlaceholder:"Please select region",qrcodeTips:"Long press to recognize QR code",deadLine:"You have exceeded the validity period for filling in contact information",checkProtocol:"Please tick the privacy statement",error1:"Please fill in the information",error2:"Please enter the correct phone number",submitText:"Agree to submit"},messageBox:{confirm:"Confirm",cancel:"Cancel",delete:"Delete",clear:"Clear",submit:"Submit",known:"I know"},areaPicker:{province:"Province",city:"City",area:"Area",placeholder:"Please select region"},dataExport:{defaultTitle:"Data Export Center",recordValidPeriod:"Export records are valid for 7 days",clearRecord:"Clear Records",fileGenerateTime:"File generation time: ",generating:"Generating",completed:"Completed",generationFailed:"Generation failed",expired:"Expired",downloadToLocal:"Download to local",regenerate:"Regenerate",entranceTitle:"Data Export Center",generationSuccess:"Generated successfully",downloadWithCountdown:"Download to local ({count}s)",viewExportRecords:"You can view your export records here",gotIt:"Got it",empty:"Empty"}},ru={rewardReceive:{receiveTitleForm:"当選情報の記入",receiveTitleView:"当選情報の確認",receiveTitleQrcode:"QRコードをスキャンして賞品を受け取る",receiveTitleLink:"リンクを開く",receiveDesc:"賞品の送付及びお問い合わせのため、個人情報を入力してください。",overTimeDesc:"情報記入期限:",choiceAddress:"地域を選択",addressDetail:"詳細な住所",addressPlaceholder:"地域を選択してください",qrcodeTips:"長押ししてQRコードを認識",deadLine:"連絡先情報の記入有効期限を過ぎました",checkProtocol:"プライバシー声明にチェックを入れてください",error1:"情報を入力してください",error2:"正しい電話番号を入力してください",submitText:"同意する"},messageBox:{confirm:"確認",cancel:"取消",delete:"削除",clear:"クリア",submit:"送信",known:"了解しました"},areaPicker:{province:"都道府県",city:"市区町村",area:"市区町村",placeholder:"地域を選択してください"},dataExport:{defaultTitle:"データエクスポートセンター",recordValidPeriod:"エクスポート記録の有効期限は7日間です",clearRecord:"記録をクリア",fileGenerateTime:"ファイル生成時間:",generating:"生成中",completed:"完了",generationFailed:"生成異常",expired:"期限切れ",downloadToLocal:"ローカルにダウンロード",regenerate:"再生成",entranceTitle:"データエクスポートセンター",generationSuccess:"生成成功",downloadWithCountdown:"ローカルにダウンロード({count}秒)",viewExportRecords:"ここでエクスポート記録を確認できます",gotIt:"了解しました",empty:"空"}},ou={rewardReceive:{receiveTitleForm:"당첨 정보 작성",receiveTitleView:"당첨 정보 보기",receiveTitleQrcode:"QR 코드 스캔하여 상품 수령",receiveTitleLink:"링크 열기",receiveDesc:"상품 발송 및 문의를 위해 개인 정보를 입력해 주세요.",overTimeDesc:"정보 작성 기한: ",choiceAddress:"지역 선택",addressDetail:"상세 주소",addressPlaceholder:"지역을 선택해 주세요",qrcodeTips:"QR 코드를 길게 눌러 인식",deadLine:"연락 정보 작성 유효 기간이 초과되었습니다",checkProtocol:"개인정보 처리방침에 동의해 주세요",error1:"정보를 입력해 주세요",error2:"정확한 전화번호를 입력해 주세요",submitText:"동의하기"},messageBox:{confirm:"확인",cancel:"취소",delete:"삭제",clear:"초기화",submit:"제출",known:"알겠습니다"},areaPicker:{province:"시/도",city:"시/군/구",area:"시/군/구",placeholder:"지역을 선택해 주세요"},dataExport:{defaultTitle:"데이터 내보내기 센터",recordValidPeriod:"내보내기 기록은 7일간 유효합니다",clearRecord:"기록 지우기",fileGenerateTime:"파일 생성 시간: ",generating:"생성 중",completed:"완료",generationFailed:"생성 실패",expired:"만료됨",downloadToLocal:"로컬에 다운로드",regenerate:"다시 생성",entranceTitle:"데이터 내보내기 센터",generationSuccess:"생성 성공",downloadWithCountdown:"로컬에 다운로드 ({count}초)",viewExportRecords:"여기서 내보내기 기록을 확인할 수 있습니다",gotIt:"알겠습니다",empty:"비어 있음"}},iu={rewardReceive:{receiveTitleForm:"Заполните информацию",receiveTitleView:"Просмотр информации",receiveTitleQrcode:"Отсканируйте QR-код",receiveTitleLink:"Открыть ссылку",receiveDesc:"Для успешной доставки приза нам нужна ваша личная информация, пожалуйста, заполните её правильно.",overTimeDesc:"Срок заполнения: ",choiceAddress:"Выберите регион",addressDetail:"Подробный адрес",addressPlaceholder:"Выберите регион",qrcodeTips:"Нажмите и удерживайте для сканирования QR-кода",deadLine:"Вы превысили срок заполнения контактной информации",checkProtocol:"Пожалуйста, примите политику конфиденциальности",error1:"Пожалуйста, заполните информацию",error2:"Пожалуйста, введите правильный номер телефона",submitText:"Согласиться"},messageBox:{confirm:"Подтвердить",cancel:"Отмена",delete:"Удалить",clear:"Очистить",submit:"Отправить",known:"Понятно"},areaPicker:{province:"Область",city:"Город",area:"Район",placeholder:"Выберите регион"},dataExport:{defaultTitle:"Центр экспорта данных",recordValidPeriod:"Записи экспорта действительны в течение 7 дней",clearRecord:"Очистить записи",fileGenerateTime:"Время создания файла: ",generating:"Создание",completed:"Завершено",generationFailed:"Ошибка создания",expired:"Истек срок",downloadToLocal:"Скачать локально",regenerate:"Пересоздать",entranceTitle:"Центр экспорта данных",generationSuccess:"Успешно создано",downloadWithCountdown:"Скачать локально ({count}с)",viewExportRecords:"Здесь вы можете просмотреть записи экспорта",gotIt:"Понятно",empty:"Пусто"}},su={rewardReceive:{receiveTitleForm:"填写信息",receiveTitleView:"查看信息",receiveTitleQrcode:"扫码领奖",receiveTitleLink:"打开链接",receiveDesc:"请填写您的个人信息,用于发送奖品及联系您。",overTimeDesc:"截止填写时间:",choiceAddress:"选择地区",addressDetail:"详细地址",addressPlaceholder:"请选择地区",qrcodeTips:"长按识别二维码",deadLine:"您已超过填写联系信息的有效期",checkProtocol:"请勾选隐私声明",error1:"请完善信息",error2:"请输入正确的手机号码",submitText:"同意提交"},messageBox:{confirm:"确认",cancel:"取消",delete:"删除",clear:"清空",submit:"提交",known:"我知道了"},areaPicker:{province:"省份",city:"城市",area:"地区",placeholder:"请选择地区"},dataExport:{defaultTitle:"数据导出中心",recordValidPeriod:"导出记录有效期为7天",clearRecord:"清除记录",fileGenerateTime:"文件生成时间:",generating:"正在生成",completed:"已完成",generationFailed:"生成异常",expired:"已过期",downloadToLocal:"下载到本地",regenerate:"重新生成",entranceTitle:"数据导出中心",generationSuccess:"生成成功",downloadWithCountdown:"下载到本地({count}s)",viewExportRecords:"可以在这里查看你的导出记录",gotIt:"我知道了",empty:"暂无导出记录"}},au={rewardReceive:{receiveTitleForm:"填寫信息",receiveTitleView:"查看信息",receiveTitleQrcode:"掃碼領獎",receiveTitleLink:"打開鏈接",receiveDesc:"為了順利送達獎品,我們需要您提供個人信息,請務必填寫正確。",overTimeDesc:"截止填寫時間:",choiceAddress:"選擇地區",addressDetail:"詳細地址",addressPlaceholder:"請選擇地區",qrcodeTips:"長按識別二維碼",deadLine:"您已超過填寫聯繫信息的有效期",checkProtocol:"請勾選隱私聲明",error1:"請完善信息",error2:"請輸入正確的手機號碼",submitText:"同意提交"},messageBox:{confirm:"確認",cancel:"取消",delete:"刪除",clear:"清空",submit:"提交",known:"我知道了"},areaPicker:{province:"省份",city:"城市",area:"地区",placeholder:"請選擇地區"},dataExport:{defaultTitle:"數據導出中心",recordValidPeriod:"導出記錄有效期為7天",clearRecord:"清除記錄",fileGenerateTime:"文件生成時間:",generating:"正在生成",completed:"已完成",generationFailed:"生成異常",expired:"已過期",downloadToLocal:"下載到本地",regenerate:"重新生成",entranceTitle:"數據導出中心",generationSuccess:"生成成功",downloadWithCountdown:"下載到本地({count}秒)",viewExportRecords:"可以在這裡查看你的導出記錄",gotIt:"我知道了",empty:"暫無導出記錄"}},{useI18n:Se}=Wa({zh_CN:su,zh_TW:au,en:nu,ja:ru,ko:ou,ru:iu}),cu=()=>({actions:k.array()}),lu=()=>({select:M(),cancel:M()}),uu=p.defineComponent({__name:"loading-circle",setup(t){return{__sfc:!0,linearGradientId:"linearGradient"+ut(8)}}});var pu=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 50 50"}},[n("defs",[n("linearGradient",{attrs:{id:r.linearGradientId,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[n("stop",{attrs:{offset:"0%","stop-color":"currentColor","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":"currentColor","stop-opacity":"0"}})],1)],1),n("circle",{attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:`url(#${r.linearGradientId})`,"stroke-width":"6","stroke-linecap":"round","stroke-dasharray":"90 150","stroke-dashoffset":"0"}})])},fu=[],du=J(uu,pu,fu);const mu=du.exports,gu=["circle","dot"],hu=()=>({size:k.oneOfType([Number,String]).def(32),color:k.string,background:k.looseString,type:k.oneOf(gu).def("circle"),text:k.looseString}),Ga=(t,e)=>{let n;function r(){n||le||(n=new M0(()=>{e()}))}p.watch(()=>de(t),o=>{r(),o?n==null||n.observe(o):n==null||n.disconnect()},{immediate:!0}),p.onBeforeUnmount(()=>{n==null||n.disconnect(),n=void 0})},vu=p.defineComponent({__name:"loading",props:hu(),setup(t,{expose:e}){const n=t,r=p.ref(),{topmostElem:o}=rn(r),i=p.ref({width:0,height:0});n.size==="auto"&&Ga(r,()=>{var a,l;i.value={width:((a=r.value)==null?void 0:a.clientWidth)||0,height:((l=r.value)==null?void 0:l.clientHeight)||0}});const s=p.computed(()=>{const a={};return n.background&&n.background!=="auto"&&(a.background=n.background),n.color&&(a.color=n.color),a}),c=p.computed(()=>{const a={};if(n.size==="auto"){let u=Math.min(i.value.width,i.value.height)*.5;u>48&&(u=48),a.fontSize=`${u}px`,a.width=`${u}px`,a.height=`${u}px`}else a.fontSize=`${n.size}px`,a.width=`${n.size}px`,a.height=`${n.size}px`;return a});return e({topmostElem:o}),{__sfc:!0,props:n,loadingRef:r,topmostElem:o,loadingSize:i,wrapperStyle:s,iconStyle:c,PwcIconLoading:x3,LoadingCircle:mu}}});var _u=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"loadingRef",staticClass:"pwc-loading",class:{"is-auto-background":e.background==="auto","is-dot-type":e.type==="dot"},style:r.wrapperStyle},[n("div",{staticClass:"pwc-loading__content"},[e.type==="dot"?n(r.PwcIconLoading,{style:r.iconStyle}):e._e(),e.type==="circle"?n(r.LoadingCircle,{style:r.iconStyle}):e._e()],1),e.text?n("div",{staticClass:"pwc-loading__text"},[e._v(" "+e._s(e.text)+" ")]):e._e()])},wu=[],bu=J(vu,_u,wu);const Qr=bu.exports,sn=Symbol("loading-instance");function Za(t){const e=t.value;return typeof e=="boolean"?{loading:e}:e}const yu=(t,e,n)=>{if(t[sn])return;const r=Za(e),{size:o="auto",color:i="#3082FE",background:s="auto",text:c}=r,a=be.createVueInstance(Qr,{instanceVm:n.ctx,parent:n.context,props:{size:o,type:r.type,color:i,background:s,text:c}}),l=be.getVueInstanceElem(a);l&&(l.classList.add("is-directive"),t.appendChild(l),t[sn]={loadingVm:a,loadingElem:l})},xu=t=>{t[sn]&&(t[sn].loadingElem.remove(),be.destroyVueInstance(t[sn].loadingVm),delete t[sn])},Go=(t,e,n,r)=>{Za(e).loading?yu(t,e,n):xu(t)};be.defineDirective({bindHook:Go,updateHook:Go,unbindHook:Go});var We=(t=>(t.Info="info",t.Success="success",t.Warning="warning",t.Error="error",t.Loading="loading",t))(We||{});function an(t,e){let n;function r(){le||(o(),n=window.setTimeout(()=>{t()},e))}function o(){le||n&&(clearTimeout(n),n=void 0)}function i(){return!!n}return p.onBeforeUnmount(()=>{o()}),{startTimeout:r,closeTimeout:o,hasTimeout:i}}const Cu=()=>({[k.modelValueKey]:k.bool.def(!1),message:k.string.def("提示"),type:k.enum().def(We.Info),duration:k.number.def(3e3),showIcon:k.bool.def(!1)}),Qu=()=>ie(O({},it()),{"after-enter":M(),"after-leave":M()}),ku=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Me(e),i=p.ref(!1),{startTimeout:s,closeTimeout:c}=an(()=>{l()},e.duration);function a(){i.value=!0,s(),r.value||o(!0)}function l(){i.value=!1,c(),r.value&&o(!1)}function u(){n("after-leave")}function f(){n("after-enter")}return p.watch(r,()=>{r.value?a():l()}),p.onMounted(()=>{r.value&&a()}),{toastVisible:i,openToast:a,closeToast:l,onAfterLeave:u,onAfterEnter:f}},Eu=p.defineComponent({__name:"toast-element",props:Cu(),emits:Qu(),setup(t,{expose:e,emit:n}){const r=t,o=p.computed(()=>{if(r.showIcon)switch(r.type){case We.Info:return"info";case We.Success:return"success";case We.Warning:return"warning";case We.Error:return"error";case We.Loading:return"loading";default:return}}),{toastVisible:i,onAfterLeave:s,onAfterEnter:c,openToast:a}=ku({props:r,emit:n});return e({openToast:a}),{__sfc:!0,props:r,emit:n,iconType:o,toastVisible:i,onAfterLeave:s,onAfterEnter:c,openToast:a,PwcIconErrorRound:w3,PwcIconInfoRoundFill:Oa,PwcIconSuccessRound:Q3,PwcIconWarningRoundFill:E3,PwcLoading:Qr,PwcPopup:st}}});var Su=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-toast",attrs:{position:"center","show-header":!1,"hidden-shadow":"",background:"none","show-modal":!1,width:"90%"},on:{"after-enter":r.onAfterEnter,"after-leave":r.onAfterLeave},model:{value:r.toastVisible,callback:function(o){r.toastVisible=o},expression:"toastVisible"}},[n("div",{class:["pwc-toast__wrap",`pwc-toast__wrap--${e.type}`]},[n("div",{staticClass:"pwc-toast__text",class:{"pwc-toast__text--icon":r.iconType}},[r.iconType==="success"?n(r.PwcIconSuccessRound,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="info"?n(r.PwcIconInfoRoundFill,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="warning"?n(r.PwcIconWarningRoundFill,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="error"?n(r.PwcIconErrorRound,{staticClass:"pwc-toast__icon"}):e._e(),r.iconType==="loading"?n(r.PwcLoading,{staticClass:"pwc-toast__icon",attrs:{size:24}}):e._e(),n("span",[e._t("default",function(){return[e._v(e._s(e.message))]})],2)],1)])])},Iu=[],Tu=J(Eu,Su,Iu);const Lu=Tu.exports,ye=(t={})=>{const{createVueInstance:e,destroyVueInstance:n}=qe();function r(i,s={},c){const a=O(O({message:i,type:c},t),s),l=e(Lu,{props:a,on:{"after-leave":()=>{n(l)}}});l&&l.openToast()}return{toast:{info:(i,s)=>{r(i,s,We.Info)},success:(i,s)=>{r(i,s,We.Success)},warning:(i,s)=>{r(i,s,We.Warning)},error:(i,s)=>{r(i,s,We.Error)},loading:(i,s)=>{r(i,s,We.Loading)}}}};function _t(...t){let e={},n=!1;t.length&&(typeof t[0]=="boolean"?(n=t[0],e=t[1]||[]):e=t[0]);const{autoClose:r=!1,autoCloseTime:o=5*1e3}=e,i=p.ref(n);function s(d=!0){i.value!==d&&(i.value=d)}function c(){s(!0)}function a(){s(!1)}function l(){p.unref(i)?a():c()}let u;function f(){h(),u=window.setTimeout(()=>{a()},o)}function h(){u&&(clearTimeout(u),u=void 0)}return p.watch(()=>p.unref(i),()=>{if(r){if(!i.value){h();return}f()}},{immediate:!0}),p.watch(i,()=>{const d=i.value;d?e.showCallback&&e.showCallback():(e.hideCallback&&e.hideCallback(),e.hideDelayCallback&&setTimeout(()=>{e.hideDelayCallback&&e.hideDelayCallback()},300)),e.changeCallback&&e.changeCallback(d)}),n===!0&&e.showCallback&&e.showCallback(),p.onBeforeUnmount(()=>{h()}),{visible:i,setVisible:s,open:c,close:a,show:c,hide:a,toggle:l}}const Pu=p.defineComponent({__name:"action-sheet",props:cu(),emits:lu(),setup(t,{expose:e,emit:n}){const{visible:r,show:o,close:i}=_t(),{$t:s}=Se(),{toast:c}=ye();function a(f){if(f.disabled){f.disabledTip&&c.error(f.disabledTip);return}n("select",f),i()}function l(){n("cancel"),i()}function u(){o()}return e({openActionSheet:u}),{__sfc:!0,emit:n,visible:r,show:o,close:i,$t:s,toast:c,handleItemClick:a,handleCancel:l,openActionSheet:u,PwcPopup:st}}});var Au=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-action-sheet",attrs:{"show-header":!1},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[e._l(e.actions,function(o,i){return n("div",{key:i,staticClass:"pwc-action-sheet__item",class:{"is-hidden":o.hidden,"is-disabled":o.disabled},on:{click:function(s){return r.handleItemClick(o)}}},[n("div",{staticClass:"pwc-action-sheet__item__text"},[e._v(e._s(o.name))])])}),n("div",{staticClass:"pwc-action-sheet__item pwc-action-sheet__item--cancel",on:{click:r.handleCancel}},[e._v(" "+e._s(r.$t("common.cancel"))+" ")])],2)},$u=[],Ru=J(Pu,Au,$u);const Ou=Ru.exports,Ya=()=>{const{createVueInstance:t,destroyVueInstance:e}=qe();let n;function r(){n&&(e(n),n=void 0)}function o(i){return new Promise(s=>{n=t(Ou,{props:{actions:i.actions},on:{select:c=>{s(c),r()},cancel:()=>{s(void 0),r()}}}),n.openActionSheet()})}return p.onBeforeUnmount(r),{actionSheet:o}},Du=["bottom-start","bottom-end","bottom"],zu=()=>({bubbles:k.array().def([]),width:k.number.def(80),height:k.number.def(180),maxCount:k.number.def(30),appearPlacement:k.oneOf(Du).def("bottom"),trigger:k.bool.def(!1),triggerSize:k.number.def(40),clickEnabled:k.bool.def(!0),holdEnabled:k.bool.def(!0)}),Fu=()=>({"trigger-action":M()}),Bu=t=>{let e;function n(){r(),e=(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(s){return setTimeout(s,1e3/60)})(t)}function r(){e&&((window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout)(e),e=void 0)}function o(){return!!e}return p.onBeforeUnmount(r),{startAnimationFrame:n,stopAnimationFrame:r,hasAnimationFrame:o}};function Zo(t,e){const n=p.ref(0),r=p.ref(0),o=p.computed(()=>({width:n.value,height:r.value}));function i(){const s=de(t),c=(s==null?void 0:s.clientWidth)||0,a=(s==null?void 0:s.clientHeight)||0;(c!==n.value||a!==r.value)&&(n.value=c,r.value=a)}return Ga(t,()=>{i()}),p.onMounted(i),{width:n,height:r,size:o}}const Mu=()=>{const t=p.ref(),{size:e}=Zo(t);function n(){const r=p.unref(t);if(!r)return;const o=r.getContext("2d");if(!o)return;const i=window.devicePixelRatio;r.width=e.value.width*i,r.height=e.value.height*i,o.scale(i,i)}return p.onMounted(()=>{n()}),{canvasRef:t,canvasSize:e,refreshCanvas:n}};class Nu{constructor(e){Ot(this,"id",ut(8)),Ot(this,"bubble"),Ot(this,"progress"),Ot(this,"scale"),Ot(this,"opacity"),Ot(this,"point"),Ot(this,"image"),this.options=e;const{bubble:n}=e;this.bubble=n,this.progress=0,this.scale=n.initialScale||0,this.opacity=1,this.point=void 0,this.image=new Image,this.image.src=n.image}move(e){const n={1:.014,2:.016,3:.018,4:.02,5:.022},r=this.progress+n[this.bubble.speed];this.progress=r>1?1:r,this.__setOpacity(),this.__setScale(),this.__setPoint(),this.draw(e),this.progress>=1&&this.options.finishCallback&&this.options.finishCallback(this)}draw(e){this.point&&(e.save(),e.translate(this.point.x,this.point.y),e.scale(this.scale,this.scale),e.globalAlpha=this.opacity,e.drawImage(this.image,-(this.bubble.width/2),-(this.bubble.width/2),this.bubble.width,this.bubble.height),e.restore())}__setOpacity(){const e=this.progress-this.bubble.startHideSection,n=1-this.bubble.startHideSection;let r=1-e/n;r<0&&(r=0),r<this.opacity&&(this.opacity=r)}__setScale(){let e=this.progress/this.bubble.scaleSection;e>1&&(e=1),e>this.scale&&(this.scale=e)}__setPoint(){const e=this.options.bezierPoints,n=e.p0,r=e.p1,o=e.p2,i=e.p3,s=this.progress,c=3*(r.x-n.x),a=3*(o.x-r.x)-c,l=i.x-n.x-c-a,u=3*(r.y-n.y),f=3*(o.y-r.y)-u,h=i.y-n.y-u-f;let d=l*(s*s*s)+a*(s*s)+c*s+n.x,_=h*(s*s*s)+f*(s*s)+u*s+n.y;const m=this.bubble.width*this.scale,w=this.bubble.height*this.scale;d<m/2?d=m/2:this.options.canvasWidth-d<m/2&&(d=this.options.canvasWidth-m/2),this.options.canvasHeight-_<w/2&&(_=this.options.canvasHeight-w/2),this.point={x:d,y:_}}}const Hu=t=>{const e=p.ref(Dt(()=>document.visibilityState==="visible",!1));return Dt(()=>{te(document,"visibilitychange",()=>{e.value=document.visibilityState==="visible",t&&t(e.value)})}),{documentVisible:e}},Uu=t=>{const{props:e}=t,{canvasRef:n,refreshCanvas:r,canvasSize:o}=Mu(),{startAnimationFrame:i,stopAnimationFrame:s,hasAnimationFrame:c}=Bu(m),{documentVisible:a}=Hu(()=>m());let l=[];function u(g){l=l.filter(v=>v.id!==g.id),w()}function f(g){if(l.length>=e.maxCount||!a.value)return;if(!g){const y=e.bubbles.length,x=Math.ceil(Math.random()*y)-1;g=e.bubbles[x]}typeof g=="string"&&(g={image:g});const v=ie(O({},g),{width:g.width||32,height:g.height||32,speed:g.speed||3,initialScale:g.initialScale||0,scaleSection:g.scaleSection||.4,startHideSection:g.startHideSection||.8}),b=h(v);l.push(b),c()||m()}function h(g){const{scaleSection:v=.4}=g,b=o.value.width/2,y={x:b,y:o.value.height},x={x:b+d(),y:o.value.height*(1-v)+d()},C={x:b+d(),y:o.value.height*(1-v)+d()},E={x:b+d(),y:g.height/2};switch(e.appearPlacement){case"bottom-start":y.x=0,x.x=b*1.5+Math.abs(d()),C.x=b+Math.abs(d()),E.x=b+Math.abs(d());break;case"bottom-end":y.x=o.value.width+Math.abs(d()),x.x=b*.5-Math.abs(d()),C.x=b-Math.abs(d()),E.x=b-Math.abs(d());break}return new Nu({canvasWidth:o.value.width,canvasHeight:o.value.height,bubble:g,bezierPoints:{p0:y,p1:x,p2:C,p3:E},finishCallback:Q=>{u(Q)}})}function d(){const g=o.value.width/3;return Math.random()>.5?-(Math.random()*g):+(Math.random()*g)}let _;function m(){try{if(!a.value)return;const g=p.unref(n);if(!g)return;const v=g.getContext("2d");if(!v)return;(!_||Date.now()-_>=16)&&(r(),l.forEach(b=>{b.move(v)}),_=Date.now()),l.length===0?s():i()}catch(g){console.warn(g)}}function w(){if(l.length===0){r(),s();return}c()||m()}return{canvasRef:n,pushAnimation:f}};function kr(t,e){let n;function r(){le||(o(),n=window.setInterval(()=>{t()},e))}function o(){le||n&&(clearInterval(n),n=void 0)}function i(){return!!n}return p.onBeforeUnmount(()=>{o()}),{startInterval:r,closeInterval:o,hasInterval:i}}function ju(t,e={}){const{holdTime:n=100,canHold:r=!0}=e,{isMobile:o}=se(),i=p.ref(!1),s=p.ref(!1),{startInterval:c,closeInterval:a}=kr(()=>{s.value=!0,e.onHold&&e.onHold()},n);function l(f){f instanceof MouseEvent&&f.button===2||(f.preventDefault(),i.value=!0,r&&(e.onHoldStart&&e.onHoldStart(),c()))}function u(){if(a(),!i.value)return;i.value=!1;const f=s.value;s.value=!1,!f&&e.onClick&&e.onClick(),f&&e.onHoldEnd&&e.onHoldEnd()}return Dt(()=>{o?(te(t,"touchstart",l),te(t,"touchend",u),te(t,"touchcancel",u),te(window,"touchend",u),te(window,"touchcancel",u)):(te(t,"mousedown",l),te(t,"mouseup",u),te(window,"mouseup",u))}),{isPressDown:i,isPressHold:s}}function qu(){const{isMobile:t}=se(),e=Dt(()=>"vibrate"in navigator&&t,!1);function n(r){e&&navigator.vibrate(r!=null?r:40)}return{vibrate:n,supportVibrate:e}}zu(),Fu();const Wu=()=>({second:k.looseNumber,timestamp:k.looseNumber,hideZeroHour:k.bool.def(!1),useClock:k.bool.def(!0),itemClass:k.string,colonClass:k.string,finishSecond:k.number.def(0)}),Gu=()=>({finish:M()}),Zu=t=>{const{props:e,emit:n}=t,r=p.ref(0),o=p.computed(()=>{const u=r.value,f=Math.floor(u/3600),h=Math.floor(u%3600/60),d=Math.floor(u%3600%60);return{hours:f,hoursText:f.toString().padStart(2,"0"),minutes:h,minutesText:h.toString().padStart(2,"0"),seconds:d,secondsText:d.toString().padStart(2,"0")}}),i=p.computed(()=>typeof e.second=="number"&&e.second>0?e.second:typeof e.timestamp=="number"&&Date.now()<e.timestamp?(e.timestamp-Date.now())/1e3:0);let s,c;function a(){s&&(clearInterval(s),s=void 0),c=void 0}function l(){if(le||!e.useClock)return;a();const u=1e3;s=window.setInterval(()=>{let f=u/1e3;c&&(f=(Date.now()-c)/1e3),c=Date.now(),r.value-=f,r.value<=e.finishSecond&&(r.value=0,a(),n("finish"))},u)}return p.watch(i,()=>{r.value=i.value,r.value<=0?a():l()},{immediate:!0}),{surplusSecond:r,timeText:o}};Wu(),Gu();var wt=(t=>(t.Primary="primary",t.Info="info",t.Danger="danger",t.Multicolour="multicolour",t.Warning="warning",t))(wt||{}),zn=(t=>(t.Large="large",t.Default="default",t.Small="small",t.Mini="mini",t))(zn||{});const Ka=()=>({type:k.enum().def(wt.Primary),disabled:k.bool.def(!1),size:k.enum().def(zn.Default),outline:k.bool.def(!1),block:k.bool.def(!1),square:k.bool.def(!1)}),Yu=()=>({click:M(),"click-native":M()}),Ku=t=>{const{props:e,emit:n}=t;function r(o){n("click-native",o),!e.disabled&&n("click",o)}return{onClick:r}},Xu={name:"PwcButton"},Ju=p.defineComponent(ie(O({},Xu),{props:Ka(),emits:Yu(),setup(t,{emit:e}){const n=t,{onClick:r}=Ku({props:n,emit:e});return{__sfc:!0,props:n,emit:e,onClick:r}}}));var Vu=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("button",{staticClass:"pwc-button",class:{["pwc-button--type-"+e.type]:!0,["pwc-button--size-"+e.size]:e.size&&!0,"is-outline":e.outline,"is-disabled":e.disabled,"is-block":e.block,"is-square":e.square},on:{click:r.onClick}},[e._t("default")],2)},e8=[],t8=J(Ju,Vu,e8);const Fn=t8.exports,Xa="open-data-export-record",Ja="open-data-export-record-callback",Va="close-data-export-record-callback",Yo=()=>{const{getEmitter:t}=Ee();function e(n){t().emit(Xa,n)}return{openDataExportRecord:e}},ec=(t,e)=>{var m,w,g,v;const n=t.wrapRef||p.ref(),r=(m=t.isPlayingAnimation)!=null?m:p.ref(!1),o=p.ref(t.url),i=(w=t.autoPlay)!=null?w:!0,s=p.ref((g=t.loop)!=null?g:!1),c=p.ref((v=t.loopTimeInterval)!=null?v:0);let a;function l(b){var C,E;if(b.url&&(o.value=b.url),!o.value)throw new Error("playSvgaAnimation 播放失败,未设置动画文件地址");const y=(C=b.loop)!=null?C:s.value;s.value=y;const x=(E=b.loopTimeInterval)!=null?E:c.value;c.value=x}function u(b){t.onBeforePlay&&t.onBeforePlay(),b.onBeforePlay&&b.onBeforePlay()}function f(b){t.onFinished&&t.onFinished(),b.onFinished&&b.onFinished()}function h(b,y){t.onError&&t.onError(y),b.onError&&b.onError(y)}function d(){return P(this,null,function*(){try{a&&(clearTimeout(a),a=void 0),yield e.clearAnimation(),r.value=!1}catch(b){r.value=!1,console.warn("clearAnimation 清除动画失败",b)}})}function _(){return P(this,arguments,function*(b={}){var C,E;if(b.url&&(o.value=b.url),!o.value)throw new Error("playSvgaAnimation 播放失败,未设置动画文件地址");const y=(C=b.loop)!=null?C:s.value;s.value=y;const x=(E=b.loopTimeInterval)!=null?E:c.value;c.value=x;try{yield d(),u(b),r.value=!0,yield e.playSingleAnimation(),s.value&&(a=window.setTimeout(function(){_()},c.value)),r.value=!1,f(b)}catch(Q){console.warn("playAnimation 播放失败",Q),r.value=!1,h(b,Q)}})}return p.onMounted(()=>P(this,null,function*(){o.value&&(e.beforeAutoPlay&&(yield e.beforeAutoPlay()),i&&_())})),p.onBeforeUnmount(()=>{d()}),{wrapRef:n,isPlayingAnimation:r,currentUrl:o,autoPlay:i,loop:s,loopTimeInterval:c,beforePlayAnimation:l,beforePlayCallback:u,onFinishedCallback:f,onErrorCallback:h,playAnimation:_,clearAnimation:d}},n8=(t={})=>{const{wrapRef:e,currentUrl:n,clearAnimation:r,playAnimation:o}=ec(t,{clearAnimation:c,playSingleAnimation:a});let i,s;function c(){return P(this,null,function*(){s&&(clearTimeout(s),s=void 0),i&&(i.remove(),i=void 0)})}function a(){return P(this,null,function*(){return new Promise((l,u)=>{P(this,null,function*(){i||(i=document.createElement("div"));const f=p.unref(e);if(!f){u(new Error("playSingleAnimation fail, wrapRef is undefined"));return}const h=n.value;i.style.width="61.2%",i.style.height="80%",i.style.backgroundSize="contain",i.style.backgroundPosition="center center",i.style.backgroundRepeat="no-repeat",i.style.backgroundImage=`url(${h})`,i.style.position="absolute",i.style.left="50%",i.style.top="50%",i.style.transform="translate(-50%, -50%)",f.appendChild(i),s=window.setTimeout(()=>P(this,null,function*(){yield c(),l()}),2e3)})})})}return p.onBeforeUnmount(()=>{c()}),{wrapRef:e,clearAnimation:r,playAnimation:o}},r8=Object.prototype.toString;function o8(t){return r8.call(t)==="[object Object]"}const i8=Object.prototype.hasOwnProperty;function Ko(t,e){return i8.call(t,e)}function Xo(t,...e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(let n=0;n<e.length;n++){const r=e[n];if(r!=null)for(const o in r)o!=="__proto__"&&Ko(r,o)&&(t[o]=r[o])}return t}function s8(t){if(t!=null){if(Array.isArray(t))return!t.length;for(const e in t)if(Ko(t,e))return!1}return!0}function tc(t,e,n,r){n==null&&(n=""),(n!==""||!r.ignoreEmpty)&&(typeof r.encode=="function"&&(e=r.encode(e),n=["boolean","string","number"].indexOf(typeof n)!==-1?r.encode(String(n)):""),t.push(e+"="+n))}function a8(t,e,n,r){n.forEach(o=>{tc(t,e,o,r)})}function nc(t,e){const n=Xo({encode:encodeURIComponent},e),r=[];let o,i;for(o in t)Ko(t,o)&&(i=t[o],Array.isArray(i)?a8(r,o,i,n):tc(r,o,i,n));return r.join("&")}function c8(t){const e={leftContext:""};let n=t.indexOf("#");return n!==-1&&(e.hash=t.slice(n+1),t=t.slice(0,n)),n=t.indexOf("?"),n!==-1&&(e.search=t.slice(n+1),t=t.slice(0,n)),e.leftContext=t,e}function l8(t){let e=t.leftContext;return t.search!=null&&(e+="?"+t.search),t.hash!=null&&(e+="#"+t.hash),e}function Bn(t,e,n){if(t=String(t),e==null||!(e=typeof e=="string"?e.replace(/^[?&]/,""):nc(e,n)))return t;const r=c8(t);let o=r.search||"";return o&&o.slice(-1)!=="&"&&(o+="&"),o+=e,r.search=o,l8(r)}function u8(t){const e=document.createElement("script");return t&&Object.keys(t).forEach(function(n){const r=n;e[r]=t[r]}),e}function rc(t,e){return new Promise(function(n,r){let o,i;function s(){o&&(o.onload=o.onerror=null,o.parentNode&&o.parentNode.removeChild(o),o=null),i&&window.clearTimeout(i)}const c=Xo({preventCaching:!1,props:{async:!0}},e);function a(u){n(rc(u,{data:c.data,preventCaching:c.preventCaching,props:c.props,timeout:c.timeout}))}c.data&&(t=Bn(t,c.data)),c.preventCaching&&(t=Bn(t,{_:Date.now()})),o=u8(c.props),o.onload=function(){s(),n()},o.onerror=function(){s(),c.backupURL?a(c.backupURL):r(new Error('Fail to load "'+t+'"'))},o.src=t,document.head.appendChild(o);const l=Number(c.timeout);l>0&&(i=window.setTimeout(function(){s(),c.backupURL?a(c.backupURL):r(new Error('Request "'+t+'" timeout'))},l))})}const p8="https://s4.videocc.net/library/svgaplayerweb/2.x/svga-2.3.1.min.js";let Jo;function f8(){return window.SVGA?Promise.resolve(window.SVGA):(Jo||(Jo=new Promise((t,e)=>{P(this,null,function*(){yield rc(p8),window.SVGA?t(window.SVGA):e(new Error("loadSvgaPlayer fail, window.SVGA is undefined"))})})),Jo)}const d8=(t={})=>{var _;const{wrapRef:e,currentUrl:n,playAnimation:r,clearAnimation:o}=ec(t,{beforeAutoPlay:d,clearAnimation:f,playSingleAnimation:h}),i=(_=t.contentMode)!=null?_:"AspectFit";let s;function c(){return P(this,null,function*(){return s||(s=new Promise((m,w)=>{P(this,null,function*(){if(!e.value){w(new Error("createSvgaPlayer fail, wrapRef is undefined"));return}const g=yield f8(),v=new g.Parser,b=new g.Player(e.value);b.setContentMode(i),m({svgaPlayer:b,svgaParser:v})})})),s})}const a={};function l(m){return a[m]||(a[m]=new Promise((w,g)=>{P(this,null,function*(){try{const{svgaParser:v}=yield c();m=m.replace(/^(data:;base64)/,"data:svga/2.0;base64"),v==null||v.load(m,b=>{w(b)})}catch(v){g(v)}})})),a[m]}function u(m){return P(this,null,function*(){const{svgaPlayer:w}=yield c(),g=yield l(m);return w.setVideoItem(g),g})}function f(){return P(this,null,function*(){if(!s)return;const{svgaPlayer:m}=yield c();m.clear(),m.clearDynamicObjects()})}function h(){return new Promise((m,w)=>{P(this,null,function*(){try{const{svgaPlayer:g}=yield c();yield u(n.value),g.loops=1,g.startAnimation(),g.onFinished(()=>{m()})}catch(g){w(g)}})})}function d(){return P(this,null,function*(){n.value&&(yield u(n.value))})}return{wrapRef:e,loadSvgaFile:l,clearAnimation:o,playAnimation:r}},m8=(t={})=>{var b;const e=(b=t.wrapRef)!=null?b:p.ref(),{disabled:n=!1,maxCount:r=200}=t,o=p.ref(!1),i=p.ref(!1),s=p.ref([]),c=p.ref(),a={wrapRef:e,isPlayingAnimation:o,onFinished:()=>{c.value=void 0,v()}},l=d8(a),u=n8(a);function f(y){return Ds(y)==="svga"}function h(){return P(this,arguments,function*(y={}){if(et(n))return;const x=y.url;x&&(f(x)?yield l.playAnimation({url:x}):yield u.playAnimation({url:x}))})}function d(){return P(this,null,function*(){yield Promise.all([l.clearAnimation(),u.clearAnimation()])})}function _(){i.value=!0}function m(){i.value=!1,v()}function w(){s.value=[]}function g(y){var S;const{url:x,inHeader:C=!1,filterRepeat:E=!1,forceInsert:Q=!1}=y;x&&(et(n)||s.value.length>=r&&!Q||E&&(s.value.some(T=>T.url===x)||((S=c.value)==null?void 0:S.url)===x)||(C?s.value.unshift({url:x}):s.value.push({url:x}),v()))}function v(){if(s.value.length===0||o.value||i.value||et(n))return;const y=s.value.shift();!y||!y.url||(c.value=y,h({url:y.url}))}return p.watch(()=>et(n),()=>{et(n)?(d(),_(),w()):m()},{immediate:!0}),{wrapRef:e,animationQueue:s,currentAnimationItem:c,pushAnimationQueue:g,pauseAnimationQueue:_,startAnimationQueue:m,clearAnimationQueue:w,playAnimation:h,clearAnimation:d}};function g8(){const{isZhCN:t}=Se();function e(n){let r=n;const o="观众",i=new RegExp(o+"/[0-9]+$");return!t&&i.test(n)&&(r=`Guest/${n.split("/")[1]}`),r}return{translateNick:e}}const Vo=(t,e={})=>{var d;const{loadingDisabledRequest:n=!0,toastSuccess:r=!1,toastError:o=!1,successMessage:i,syncLoadings:s=[]}=e,{$t:c}=Se(),{toast:a}=ye(),l=(d=e.loading)!=null?d:p.ref(!1);function u(_){l.value=_,s.forEach(m=>{m.value=_})}const f=p.ref(!1);function h(..._){return P(this,null,function*(){if(!(n&&l.value)){e.beforeRequest&&(yield e.beforeRequest(..._)),u(!0);try{const m=yield t(..._);return e.onSuccess&&(yield e.onSuccess(m,..._)),u(!1),r&&a.success(i||c("common.success")),m}catch(m){u(!1);const w=m;if(w.message==="cancel"||w.message==="close")throw m;e.onFail&&e.onFail(w,..._);let g="";throw typeof w.message=="string"?g=w.message:Array.isArray(w.message)&&(g=w.message[0]||""),g&&o&&a.error(g),m}finally{e.onFinally&&e.onFinally(..._),u(!1),f.value=!0}}})}return{loading:l,requestFinished:f,request:h}},ei=()=>{function t(r,o){const i=/(x-oss-process=)([^&]*)/,s=r.match(i);if(s){const a=`${s[2]},${o}`;return r.replace(i,`$1${a}`)}else return Bn(r,{"x-oss-process":o})}function e(r,o={}){if(!r)return r;try{return Fs(r,o)}catch(i){return console.warn(i),r}}function n(r,o=1680){return r?r.replace(/(<img.*?\ssrc=)(["']?)(.+?)\2(.*?>)/gi,(i,s,c,a,l)=>s+'"'+e(a,{width:o})+'" data-src="'+a+'"'+l):""}return{appendToOssProcess:t,resizeOSSImg:e,resizeHtmlContentImg:n}};function oc(){const{isIE:t}=se();function e(r,o){return window.getComputedStyle(r).getPropertyValue(o)}function n(r){const o=de(r);if(!o)return!1;if(t)return o.scrollWidth>o.clientWidth;const i=document.createRange();i.setStart(o,0),i.setEnd(o,o.childNodes.length);const s=i.getBoundingClientRect().width,c=i.getBoundingClientRect().height,a=(parseInt(e(o,"padding-left"),10)||0)+(parseInt(e(o,"padding-right"),10)||0),l=(parseInt(e(o,"padding-top"),10)||0)+(parseInt(e(o,"padding-bottom"),10)||0),u=s+a,f=c+l,h=o.getBoundingClientRect().width,d=o.getBoundingClientRect().height;return u>h||f>d}return{isTextEllipsis:n}}function h8(t,e,n={}){const{doubleClickTime:r=200,singleClickCallback:o}=n;let i=Date.now(),s;const{startTimeout:c,closeTimeout:a}=an(()=>{o&&s&&o(s),s=void 0},r+100);te(t,"click",l=>{if(Date.now()-i<r){a(),e(l);return}i=Date.now(),s=l,c()})}function v8(t,e={}){const{hoverClass:n=!1}=e,r=p.ref(!1),{isMobile:o}=se();let i="";return n===!0?i="is-hover":typeof n=="string"&&(i=n),o||(te(t,"mouseenter",s=>{r.value=!0;const c=s.target;i&&c.classList.add(i)},{capture:!0}),te(t,"mousemove",s=>{r.value=!0;const c=s.target;i&&c.classList.add(i)},{capture:!0}),te(t,"mouseleave",s=>{r.value=!1;const c=s.target;i&&c.classList.remove(i)},{capture:!0})),{isHover:r}}function _8(t={}){const{defaultVisible:e=!0,timeout:n=3e3,target:r}=t,o=p.ref(e),{startTimeout:i,closeTimeout:s}=an(()=>{a()},n);function c(){o.value=!0,i()}function a(){o.value=!1}function l(){s(),o.value=!0}if(e&&p.onMounted(()=>{i()}),r){const{isHover:u}=v8(r);p.watch(u,()=>{u.value&&c()}),te(r,"mousemove",()=>{c()})}return{visible:o,show:c,forceShow:l,hide:a,startAutoHide:i}}function w8(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ic=!1,zt,ti,ni,Er,Sr,sc,Ir,ri,oi,ii,ac,si,ai,cc,lc;function Ae(){if(!ic){ic=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),n=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(si=/\b(iPhone|iP[ao]d)/.exec(t),ai=/\b(iP[ao]d)/.exec(t),ii=/Android/i.exec(t),cc=/FBAN\/\w+;/i.exec(t),lc=/Mobile/i.exec(t),ac=!!/Win64/.exec(t),e){zt=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,zt&&document&&document.documentMode&&(zt=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(t);sc=r?parseFloat(r[1])+4:zt,ti=e[2]?parseFloat(e[2]):NaN,ni=e[3]?parseFloat(e[3]):NaN,Er=e[4]?parseFloat(e[4]):NaN,Er?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),Sr=e&&e[1]?parseFloat(e[1]):NaN):Sr=NaN}else zt=ti=ni=Sr=Er=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);Ir=o?parseFloat(o[1].replace("_",".")):!0}else Ir=!1;ri=!!n[2],oi=!!n[3]}else Ir=ri=oi=!1}}var ci={ie:function(){return Ae()||zt},ieCompatibilityMode:function(){return Ae()||sc>zt},ie64:function(){return ci.ie()&&ac},firefox:function(){return Ae()||ti},opera:function(){return Ae()||ni},webkit:function(){return Ae()||Er},safari:function(){return ci.webkit()},chrome:function(){return Ae()||Sr},windows:function(){return Ae()||ri},osx:function(){return Ae()||Ir},linux:function(){return Ae()||oi},iphone:function(){return Ae()||si},mobile:function(){return Ae()||si||ai||ii||lc},nativeApp:function(){return Ae()||cc},android:function(){return Ae()||ii},ipad:function(){return Ae()||ai}},b8=ci,y8=!!(typeof window!="undefined"&&window.document&&window.document.createElement),x8={canUseDOM:y8},C8=x8,uc=C8,pc;uc.canUseDOM&&(pc=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
479
483
|
* Checks if an event is supported in the current execution environment.
|
|
480
484
|
*
|
|
481
485
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -488,7 +492,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
488
492
|
* @return {boolean} True if the event is supported.
|
|
489
493
|
* @internal
|
|
490
494
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
491
|
-
*/function Ep(t,e){if(!L1.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r=typeof o[n]=="function"}return!r&&P1&&t==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Tp=Ep,Ip=Cp,Lp=Tp,A1=10,$1=40,R1=800;function O1(t){var e=0,n=0,r=0,o=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),r=e*A1,o=n*A1,"deltaY"in t&&(o=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||o)&&t.deltaMode&&(t.deltaMode==1?(r*=$1,o*=$1):(r*=R1,o*=R1)),r&&!e&&(e=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:o}}O1.getEventType=function(){return Ip.firefox()?"DOMMouseScroll":Lp("wheel")?"wheel":"mousewheel"};var Pp=O1,Ap=Pp;const D1=xp(Ap);function $p(t,e={}){const{onWheel:n,onUp:r,onDown:o,preventDefault:i=!0}=e,s=D1.getEventType();ne(t,s,c=>{i&&c.preventDefault();const a=D1(c);n&&n(a),a.spinY<0&&r&&r(),a.spinY>0&&o&&o()})}function Rp(t,e){const{getPosition:n,updatePosition:r}=e,o=u.ref(!0),i=u.ref(0),s=u.ref(0),c=u.ref(void 0),a=u.ref(300),l=u.ref(15),p=u.ref(0),f=u.ref("");function h(){m();const w=n();p.value=0,i.value=w.x,s.value=w.y,c.value=Date.now(),f.value=""}function d(){if(!c.value)return;const w=Date.now();if(w-c.value>a.value){const b=n();c.value=w,i.value=b.x,s.value=b.y}}function v(){if(!c.value)return;const w=n(),b=Math.abs(w.x-i.value),x=Math.abs(w.y-s.value),C=Date.now()-c.value;if((b>l.value||x>l.value)&&C<a.value){const S=g();p.value=S.duration,f.value=S.bezier;let y=w.x,E=w.y;b>l.value&&(y=_(w.x,i.value,C)),x>l.value&&(E=_(w.y,s.value,C)),o.value=!0,r(y,E)}}function g(){const w={noBounce:2500,weekBounce:800,strongBounce:400},b={noBounce:"cubic-bezier(.17, .89, .45, 1)",weekBounce:"cubic-bezier(.25, .46, .45, .94)",strongBounce:"cubic-bezier(.25, .46, .45, .94)"},x="weekBounce";return{duration:w[x],bezier:b[x]}}function _(w,b,x){const Q=w-b,S=2*Math.abs(Q)/x,y=w+S/.003*(Q<0?-1:1);return Math.round(y)}function m(){p.value=0,f.value="";const w=he(t);if(!w)return;const x=window.getComputedStyle(w).getPropertyValue("transform").replace("matrix(","").replace(")","").split(", "),C=Math.round(Number(x[4])),Q=Math.round(Number(x[5]));o.value=!1,r(C,Q)}return{canTransition:o,momentumBezier:f,momentumTransitionDuration:p,onMomentumStart:h,onMomentumMove:d,onMomentumEnd:v,stopMomentum:m}}const Op=t=>{const{contentRef:e,isOverflowWrap:n,onDragStart:r,onDragMove:o,onDragEnd:i,toZoomScale:s,scale:c}=t,a=u.ref(!1);let l,p;const{isMobile:f}=ae();function h(g,_){if(!n.value){a.value=!1;return}a.value=!0,l=g,p=_,r()}function d(g,_){if(!n.value){a.value=!1;return}if(typeof l=="undefined"||typeof p=="undefined")return;const m=g-l,w=_-p;o(m,w),l=g,p=_}function v(){a.value=!1,i(),n.value&&(l=void 0,p=void 0)}if(!f)ne(e,"mousedown",g=>{h(g.clientX,g.clientY)}),ne(e,"mousemove",g=>{d(g.clientX,g.clientY)}),ne(e,"mouseup",()=>{v()});else{let g=function(S,y){const E=(S.pageX+y.pageX)/2,T=(S.pageY+y.pageY)/2;return{x:E,y:T}},_=function(S,y){const E=y.pageX-S.pageX,T=y.pageY-S.pageY;return Math.sqrt(E*E+T*T)},m=function(S){const E=he(e).getBoundingClientRect(),T=document.body.scrollLeft||document.documentElement.scrollLeft||0,I=document.body.scrollTop||document.documentElement.scrollTop||0,L=(S.x-E.left-T)/c.value,A=(S.y-E.top-I)/c.value;return{x:L,y:A}},w=function(S){const y=S.touches,E=_(y[0],y[1]);if(!b){b=E;return}const T=E/b,I=c.value*T;c.value!==I&&(s(I),Q()),b=E},b,x,C;function Q(){return P(this,null,function*(){if(yield u.nextTick(),x&&C){const S=m(C),y=x,E=(S.x-y.x)*c.value,T=(S.y-y.y)*c.value;o(E,T)}})}ne(e,"touchstart",S=>{if(S.touches&&S.touches.length>=2){S.preventDefault(),S.stopPropagation();const E=g(S.touches[0],S.touches[1]);x=m(E),C=E,a.value=!0;return}const y=S.touches[0];h(y.pageX,y.pageY)}),ne(e,"touchmove",S=>{if(S.touches&&S.touches.length>=2){a.value=!0,S.preventDefault(),S.stopPropagation(),w(S);return}const y=S.touches[0];d(y.pageX,y.pageY)}),ne(e,"touchend",()=>{b=void 0,v()})}return{isDraging:a}},Dp=u.defineComponent({__name:"zoom-container",props:_p(),emits:wp(),setup(t,{expose:e,emit:n}){const r=t,o=u.ref(),i=u.ref(),{isMobile:s}=ae(),c=u.ref(!1),{startTimeout:a}=Pn(()=>{c.value=!1},500);function l(){c.value=!0,a()}const{wrapSize:p,defaultSize:f,edgeBetween:h}=bp({props:r,containerRef:o}),{scale:d,centerDiffX:v,centerDiffY:g,isOverflowWrap:_,zoomLarge:m,zoomSmall:w,zoomReset:b,zoomScale:x,setCenter:C,moveCenter:Q}=yp({defaultSize:f,wrapSize:p,props:r,edgeBetween:h,emit:n}),{canTransition:S,momentumTransitionDuration:y,momentumBezier:E,onMomentumStart:T,onMomentumMove:I,onMomentumEnd:L}=Rp(i,{getPosition:()=>({x:v.value,y:g.value}),updatePosition:(F,W)=>{C(F,W)}}),{isDraging:A}=Op({scale:d,isOverflowWrap:_,contentRef:i,onDragStart:()=>{S.value=!1,T()},onDragMove:(F,W)=>{S.value=!1,Q(F,W),I()},onDragEnd:()=>{S.value=!0,L()},toZoomScale:F=>{S.value=!1,x(F),l()}});$p(o,{onUp:()=>{m(),l()},onDown:()=>{w(),l()}}),b8(o,()=>{d.value!==1&&(b(),l())},{singleClickCallback:()=>{n("single-click",d.value)}});const $=u.computed(()=>{if(A.value)return!0;const F=d.value>1;return!!(F&&(v.value!==0||g.value!==0)||F&&_.value)}),O=u.computed(()=>{const F={transform:`translate3d(${v.value}px,${g.value}px,0) scale(${d.value})`};return S.value&&(F.transitionDuration="300ms",y.value&&(F.transitionDuration=`${y.value}ms`),E.value&&(F.transitionTimingFunction=E.value)),_.value&&!s&&(F.cursor=A.value?"grabbing":"grab"),F});return e({zoomLarge:m,zoomSmall:w,zoomReset:b,showScaleToast:l}),{__sfc:!0,props:r,emit:n,containerRef:o,contentRef:i,isMobile:s,scaleToastVisible:c,startScaleToastTimer:a,showScaleToast:l,wrapSize:p,defaultSize:f,edgeBetween:h,scale:d,centerDiffX:v,centerDiffY:g,isOverflowWrap:_,zoomLarge:m,zoomSmall:w,zoomReset:b,zoomScale:x,setCenter:C,moveCenter:Q,canTransition:S,momentumTransitionDuration:y,momentumBezier:E,onMomentumStart:T,onMomentumMove:I,onMomentumEnd:L,isDraging:A,disabledSwiper:$,contentStyle:O}}});var zp=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"containerRef",staticClass:"pwc-zoom-container",class:{"swiper-no-swiping":r.disabledSwiper},attrs:{draggable:"false",onselectstart:"return false;",ondragstart:"return false;"}},[n("div",{ref:"contentRef",staticClass:"pwc-zoom-container__content",style:r.contentStyle},[n("div",{staticClass:"pwc-zoom-container__inner",style:{width:r.defaultSize.width+"px",height:r.defaultSize.height+"px"}},[e._t("default")],2)]),n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.scaleToastVisible,expression:"scaleToastVisible"}],staticClass:"pwc-zoom-container__scale-toast"},[e._v(" "+e._s((r.scale*100).toFixed(0))+"% ")])])],1)},Fp=[],Bp=ee(Dp,zp,Fp);const Mp=Bp.exports,Np=u.defineComponent({__name:"image-zoom-wrap",props:{index:k.number.isRequired,item:k.object().isRequired},emits:{"scale-change":H(),close:H()},setup(t,{expose:e,emit:n}){const r=t;function o(m){m===1&&n("close")}const i=u.ref(!1),s=u.ref(!1),c=u.ref(0),a=u.ref(0);function l(){return P(this,null,function*(){try{const m=yield C0(r.item.url);c.value=m.width,a.value=m.height,s.value=!0}catch(m){i.value=!0,s.value=!0}})}u.onMounted(()=>{l()});const{activeIndex:p}=si(),f=u.ref();function h(){var m,w;p.value===r.index&&((m=f.value)==null||m.zoomLarge(),(w=f.value)==null||w.showScaleToast())}function d(){var m,w;p.value===r.index&&((m=f.value)==null||m.zoomSmall(),(w=f.value)==null||w.showScaleToast())}function v(){var m;(m=f.value)==null||m.zoomReset()}const{downloadFileUrl:g}=br();function _(){if(p.value!==r.index)return;const m=r.item.downloadUrl||r.item.url;g(m)}return e({zoomLarge:h,zoomSmall:d,zoomReset:v,downloadFile:_}),{__sfc:!0,props:r,emit:n,onSingleClick:o,isLoadError:i,isLoaded:s,imageWidth:c,imageHeight:a,getImageSize:l,activeIndex:p,zoomRef:f,zoomLarge:h,zoomSmall:d,zoomReset:v,downloadFileUrl:g,downloadFile:_,PwcLoading:mr,PwcZoomContainer:Mp}}});var Up=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-image-preview__image-zoom"},[r.isLoaded?r.isLoadError?n("div",{staticClass:"pwc-image-preview__image-zoom__error"}):n(r.PwcZoomContainer,{ref:"zoomRef",attrs:{"origin-width":r.imageWidth,"origin-height":r.imageHeight},on:{"scale-change":function(o){return r.emit("scale-change",o)},"single-click":r.onSingleClick}},[n("img",{staticClass:"pwc-image-preview__image-zoom__img",attrs:{src:e.item.url}})]):n(r.PwcLoading,{staticClass:"pwc-image-preview__image-zoom__loading",attrs:{size:48}})],1)},Hp=[],jp=ee(Np,Up,Hp);const qp=jp.exports,Wp=["horizontal","vertical"],Gp=()=>D(D({initialSlide:k.number.def(0),direction:k.oneOf(Wp).def("horizontal"),swiperOptions:k.object().def({})},ap()),lp()),Yp=()=>({init:H(),"slide-change":H(),"slide-change-transition-start":H(),"slide-change-transition-end":H()}),Zp=u.defineComponent({__name:"swiper",props:Gp(),emits:Yp(),setup(t,{emit:e}){const n=t,{wrapperRef:r,navigationOptions:o,paginationOptions:i}=fp({props:n,emit:e});return{__sfc:!0,props:n,emit:e,wrapperRef:r,navigationOptions:o,paginationOptions:i,PwcIconArrowCircleLeft:i3,PwcIconArrowCircleRight:s3}}});var Kp=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"wrapperRef",staticClass:"pwc-swiper swiper"},[n("div",{staticClass:"swiper-wrapper"},[e._t("default")],2),r.navigationOptions&&e.showNavigationArrow?[e._t("navigation-prev",function(){return[n("div",{staticClass:"pwc-swiper__prev"},[n(r.PwcIconArrowCircleLeft,{staticClass:"pwc-swiper__prev-icon"})],1)]}),e._t("navigation-next",function(){return[n("div",{staticClass:"pwc-swiper__next"},[n(r.PwcIconArrowCircleRight,{staticClass:"pwc-swiper__next-icon"})],1)]})]:e._e(),r.paginationOptions?[e._t("pagination",function(){return[n("div",{staticClass:"pwc-swiper-pagination",class:{"is-vertical":e.direction==="vertical"}})]})]:e._e(),e._t("wrapper-suffix")],2)},Xp=[],Jp=ee(Zp,Kp,Xp);const z1=Jp.exports,Vp=()=>{const t=si();u.onMounted(()=>{t&&t.updateSwiper()}),u.onUnmounted(()=>{t&&t.updateSwiper()})},ef=u.defineComponent({__name:"swiper-slide",setup(t){return Vp(),{__sfc:!0}}});var tf=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"pwc-swiper-slide swiper-slide"},[e._t("default")],2)},nf=[],rf=ee(ef,tf,nf);const F1=rf.exports,of=()=>({[k.modelValueKey]:k.bool.def(!1),images:k.oneOfType([String,Array,Object]).def([]),initialIndex:k.number.def(0)}),sf=()=>se(D({},rt()),{close:H()}),af=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Ge(e),{visible:i,open:s,close:c}=vt(!1,{changeCallback:l=>{l!==r.value&&o(l)},hideCallback(){n("close")}});u.watch(r,()=>{r.value!==i.value&&(r.value?s():c())},{immediate:!0});const a=u.computed(()=>{const l=[],p=f=>{typeof f=="string"?l.push({url:f}):typeof f=="object"&&l.push(D({},f))};return Array.isArray(e.images)?e.images.forEach(f=>p(f)):(typeof e.images=="string"||typeof e.images=="object")&&p(e.images),l});return{visible:i,open:s,close:c,imageList:a}},cf=(t={})=>{const{autoHover:e=!0,timeout:n=3e3,target:r}=t,o=u.ref(!1),{startTimeout:i,closeTimeout:s}=Pn(()=>{a()},n);function c(){o.value=!0,i()}function a(){o.value=!1}function l(){s(),o.value=!0}if(u.onMounted(()=>{e&&c()}),r){const{isHover:p}=x8(r);u.watch(p,()=>{p.value&&c()}),ne(r,"mousemove",()=>{c()})}return{visible:o,show:c,forceShow:l,hide:a,startAutoHide:i}},lf=u.defineComponent({__name:"image-preview",props:of(),emits:sf(),setup(t,{expose:e,emit:n}){const r=t,{visible:o,open:i,close:s,imageList:c}=af({props:r,emit:n}),a=u.ref(),{visible:l}=cf({target:a}),{isMobile:p}=ae(),f=u.ref(1),h=u.ref([]);function d(){h.value.forEach(m=>{m.zoomLarge()})}function v(){h.value.forEach(m=>{m.zoomSmall()})}function g(){h.value.forEach(m=>{m.zoomReset()})}function _(){h.value.forEach(m=>{m.downloadFile()})}return e({open:i,close:s}),{__sfc:!0,props:r,emit:n,visible:o,open:i,close:s,imageList:c,bodyRef:a,controllerVisible:l,isMobile:p,currentScale:f,imageWrapRefs:h,zoomLarge:d,zoomSmall:v,zoomReset:g,downloadFile:_,PwcIconClose:En,PreviewController:vp,ImageZoomWrap:qp,PwcPopup:ot,PwcSwiper:z1,PwcSwiperSlide:F1}}});var uf=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-image-preview",attrs:{"body-max-height":1,width:"100%",height:"100%","show-header":!1,background:"none",position:"center"},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{ref:"bodyRef",staticClass:"pwc-image-preview__body"},[r.visible?n(r.PwcSwiper,{staticClass:"pwc-image-preview__swiper",attrs:{navigation:{nextEl:".pwc-image-preview__next",prevEl:".pwc-image-preview__prev",disabledClass:"is-disabled"},"show-navigation-arrow":!1},on:{"slide-change-transition-end":r.zoomReset},scopedSlots:e._u([{key:"wrapper-suffix",fn:function(){return[n(r.PreviewController,{attrs:{"current-scale":r.currentScale,show:r.controllerVisible},on:{"zoom-in":r.zoomSmall,"zoom-out":r.zoomLarge,"zoom-reset":r.zoomReset,download:r.downloadFile}})]},proxy:!0}],null,!1,896822124)},e._l(r.imageList,function(o,i){return n(r.PwcSwiperSlide,{key:i},[n(r.ImageZoomWrap,{ref:"imageWrapRefs",refInFor:!0,attrs:{item:o,index:i},on:{"scale-change":function(s){r.currentScale=s},close:r.close}})],1)}),1):e._e(),n(r.PwcIconClose,{staticClass:"pwc-image-preview__close",class:{"is-mobile":r.isMobile},on:{click:r.close}})],1)])},pf=[],ff=ee(lf,uf,pf);const df=ff.exports;function gi(){const{createVueInstance:t}=Ne();function e(){}u.onBeforeUnmount(e);function n(o=[],i={}){const{initialIndex:s=0}=i,c=t(df,{props:{images:o,initialIndex:s},on:{close:()=>{}}});return c.open(),c}function r(o){const i=o.target;i instanceof HTMLImageElement&&n(i.src)}return{previewImage:n,clickImgToPreview:r}}var Ee=(t=>(t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left",t.TopLeft="top-left",t.TopRight="top-right",t.BottomLeft="bottom-left",t.BottomRight="bottom-right",t))(Ee||{});const mf=()=>({width:k.number.def(0),height:k.number.def(0),minWidth:k.number.def(50),minHeight:k.number.def(50),maxWidth:k.number.def(1/0),maxHeight:k.number.def(1/0),disabled:k.bool.def(!1),handleSize:k.number.def(8),showHandles:k.oneOfType([Boolean,Array]).def(!0),storageKey:k.string.def("")}),gf=()=>({"resize-start":H(),resize:H(),"resize-end":H()}),hf=t=>{const{props:e,emit:n}=t,r=u.ref(),o=u.ref(!1),i=u.ref(null),s=u.ref({x:0,y:0}),c=u.ref({width:0,height:0}),a={width:e.width,height:e.height},l=e.storageKey?zu(e.storageKey,a):u.ref(a),p=u.computed(()=>{const g={};return e.width&&(g.width=l.value.width+"px"),e.height&&(g.height=l.value.height+"px"),g}),f=g=>e.showHandles===!1||Array.isArray(e.showHandles)&&!e.showHandles.includes(g)?!1:[Ee.Top,Ee.Bottom].includes(g)?!!e.height:[Ee.Left,Ee.Right].includes(g)?!!e.width:!!e.width&&!!e.height,h=(g,_)=>{e.disabled||(g.preventDefault(),g.stopPropagation(),o.value=!0,i.value=_,s.value={x:g.clientX,y:g.clientY},c.value=D({},l.value),n("resize-start",{width:l.value.width,height:l.value.height,direction:_,event:g}))},d=g=>{if(!o.value||!i.value)return;const _=g.clientX-s.value.x,m=g.clientY-s.value.y;let w=c.value.width,b=c.value.height;switch(i.value){case Ee.Right:w=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width+_));break;case Ee.Bottom:b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height+m));break;case Ee.Left:w=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width-_));break;case Ee.Top:b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height-m));break;case Ee.TopRight:w=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width+_)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height-m));break;case Ee.TopLeft:w=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width-_)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height-m));break;case Ee.BottomRight:w=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width+_)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height+m));break;case Ee.BottomLeft:w=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width-_)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height+m));break}l.value={width:w,height:b},n("resize",{width:w,height:b,direction:i.value,event:g})},v=g=>{if(!o.value||!i.value)return;o.value=!1;const _=i.value;i.value=null,n("resize-end",{width:l.value.width,height:l.value.height,direction:_,event:g})};return u.onMounted(()=>{document.addEventListener("mousemove",d),document.addEventListener("mouseup",v)}),u.onBeforeUnmount(()=>{document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",v)}),{boxStyle:p,containerRef:r,currentSize:l,isResizing:o,showHandleControl:f,handleMouseDown:h}},vf=u.defineComponent({__name:"resize-box",props:mf(),emits:gf(),setup(t,{emit:e}){const n=t,{boxStyle:r,containerRef:o,isResizing:i,handleMouseDown:s,showHandleControl:c}=hf({props:n,emit:e});return{__sfc:!0,props:n,emit:e,boxStyle:r,containerRef:o,isResizing:i,handleMouseDown:s,showHandleControl:c,ResizeDirection:Ee}}});var _f=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"containerRef",staticClass:"pwc-resize-box",class:{"is-resizing":r.isResizing},style:r.boxStyle},[e._t("default"),e.showHandles&&!e.disabled?[r.showHandleControl(r.ResizeDirection.Top)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--top",style:`height: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.Top)}}):e._e(),r.showHandleControl(r.ResizeDirection.Right)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--right",style:`width: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.Right)}}):e._e(),r.showHandleControl(r.ResizeDirection.Bottom)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--bottom",style:`height: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.Bottom)}}):e._e(),r.showHandleControl(r.ResizeDirection.Left)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--left",style:`width: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.Left)}}):e._e(),r.showHandleControl(r.ResizeDirection.TopLeft)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--top-left",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.TopLeft)}}):e._e(),r.showHandleControl(r.ResizeDirection.TopRight)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--top-right",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.TopRight)}}):e._e(),r.showHandleControl(r.ResizeDirection.BottomLeft)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--bottom-left",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.BottomLeft)}}):e._e(),r.showHandleControl(r.ResizeDirection.BottomRight)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--bottom-right",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:o=>r.handleMouseDown(o,r.ResizeDirection.BottomRight)}}):e._e()]:e._e()],2)},wf=[],bf=ee(vf,_f,wf);const yf=bf.exports,xf=()=>({[k.modelValueKey]:k.oneOfType([Boolean,Number,String]),disabled:k.bool.def(!1),activeValue:k.oneOfType([Boolean,Number,String]).def(!0),inactiveValue:k.oneOfType([Boolean,Number,String]).def(!1),activeColor:k.string,inactiveColor:k.string,size:k.oneOf(["default","medium","mini"]).def("default")}),Cf=()=>se(D({},rt()),{change:H()}),Qf=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Ge(e),i=u.computed(()=>r.value===e.activeValue);function s(){e.disabled||(o(i.value?e.inactiveValue:e.activeValue),n("change",i.value?e.inactiveValue:e.activeValue))}const c=u.computed(()=>({backgroundColor:i.value?e.activeColor:e.inactiveColor}));return{isOpened:i,switchStyle:c,toggleSwitch:s}},kf={name:"PwcSwitch"},Sf=u.defineComponent(se(D({},kf),{props:xf(),emits:Cf(),setup(t,{emit:e}){const n=t,{isOpened:r,switchStyle:o,toggleSwitch:i}=Qf({props:n,emit:e});return{__sfc:!0,props:n,emit:e,isOpened:r,switchStyle:o,toggleSwitch:i}}}));var Ef=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-switch",class:{"is-opened":r.isOpened,"is-disabled":e.disabled,"is-size-medium":e.size==="medium","is-size-mini":e.size==="mini"},style:r.switchStyle,on:{click:r.toggleSwitch}},[n("div",{staticClass:"pwc-switch__inner"})])},Tf=[],If=ee(Sf,Ef,Tf);const Lf=If.exports,J={ScrollToNew:"ScrollToNew",CheckScrollFoot:"CheckScrollFoot",ReplaceChatMessage:"ReplaceChatMessage",LoadInitialData:"LoadInitialData",JoinMsgQueue:"JoinMsgQueue",CloseMsgControl:"CloseMsgControl",QuoteMsg:"QuoteMsg",RequestChatHistory:"RequestChatHistory",RenderMsg:"RenderMsg",FocusInput:"FocusInput",OpenEmotionFacePicker:"OpenEmotionFacePicker",OpenCompleteMsgPopup:"OpenCompleteMsgPopup",AddMessageSize:"AddMessageSize",ToggleOnlySpecialMsg:"ToggleOnlySpecialMsg",ProcessUserBanned:"ProcessUserBanned",OpenBanList:"OpenBanList",OpenKickList:"OpenKickList",DownloadAttendanceList:"DownloadAttendanceList"},B1="ChatGlobalInject",Pf=t=>{u.provide(B1,t)},it=()=>u.inject(B1),Af={introductionText:"",showEmptyTips:!1,hideSources:[],hideMessage:{},showMessageTime:!0,messageLayout:"compact",showUserAvatar:!0,showOrdinaryActor:!1,translateEnabled:!1,copySpeakEnabled:!1,quoteEnabled:!1,hoverHighlight:!1,messageControlInteraction:"context-menu",messageHorizontalSpacing:{left:16,right:16},messageContainerBoundaryPadding:{top:0,bottom:0},imagePreviewIcon:!1,clickMsgCallback:{},customMessageRender:{},selfMsgAlign:"left",messageSizeEnabled:!1,showDummyActor:!1,onlySpecialMsgEnabled:!1,autoTranslateEnabled:!1},ce=()=>{const t=it();return{messageConfig:u.computed(()=>{let n={};return t.getMessageConfig&&(n=t.getMessageConfig()),D(D({},Af),n)})}},M1=["mini","small","medium","large"],$f=Symbol("MESSAGE_SIZE_INJECT_KEY"),Rf=()=>{const{messageConfig:t}=ce(),e=u.computed(()=>t.value.messageLayout==="loose"?M1:M1.slice(1,4));function n(){const s=localStorage.getItem("plv-chat-message-size")||"medium";return e.value.includes(s)?s:"medium"}const r=u.ref(n());function o(){const s=e.value,c=s.indexOf(r.value);if(c===s.length-1){r.value=s[0];return}r.value=s[c+1]}const i=u.computed(()=>`plv-msg-size-${r.value}`);return le(J.AddMessageSize,o),u.provide($f,{currentSize:r}),u.watch(r,()=>{localStorage.setItem("plv-chat-message-size",r.value)}),{currentSize:r,msgSizeClass:i,addSize:o}},Of={chat:{copy:"Copy",more:"More",illegalImage:"Illegal image",notice:"Notice",moreMsg:"News messages",loadError:"Messages load failed",empty:"Chat is empty~",noMore:"No more",roomReopened:"Chat reopened",roomClosed:"Chat closed",fast:"Your message was sent too fast, please try again later",send:"Send",uploadImageError:"Image upload failed!",translate:"Translate",cancelTranslate:"Cancel translate",reply:"Reply",completeMsg:"Full version",editInfo:"Edit info",onlySpecial:"Only for host",dummyActor:"Dummy actor",overMaxImageCount:"Maximum {count} images",originalContent:"Original",needLive:"Please start the live broadcast",reconnect:"Chat successfully reconnected",systemMsg:"System"},input:{maskTitle:"Notice",noSupportSendMsg:"Message sending is not supported"},online:{searchPlaceholder:"Search by name",me:"Me",all:"All",attendance:"Attendance",absence:"Absence"},manage:{list:"List",delete:"Delete",deleteSuccess:"Delete success",deleteFail:"Delete fail",banList:"Ban list",ban:"Ban",cancelBan:"Cancel ban",banFail1:"Operation failed, the user has been banned on the entire platform",banUserTitle:"Ban user",banIpTitle:"Ban IP",banIp:"Ban IP",cancelBanIp:"Cancel ban IP",banIpFail1:"Operation failed, the IP has been banned on the entire platform",kickList:"Kick list",kick:"Kick",cancelKick:"Cancel kick",kickConfirm:"Are you sure you want to kick this user?",kickConfirmTips:"After kicking, the user will not be able to watch the live broadcast, and can be restored in the kicked list",kickFail1:"Operation failed, the user has been kicked on the entire platform",like:"Praise",liked:"Already praised",top:"Top",cancelTop:"Cancel top",topAction:"Operator:",hideTop:"Hide",ask:"Private message",clear:"Clear",clearChat:"Clear chat",clearChatConfirm:"Are you sure you want to clear the chat?",clearChatConfirmTips:"After clearing, the viewer/instructor/guest will be cleared",clearMsgSuccess:"Clear success",clearMsgFail:"Clear fail",exportHistory:"Export chat history",translateChat:"Translate chat",closeRoom:"Chat disabled",pushQa:"Set as question",pushQaSuccess:"The message has been set as a question, can be notified to the host",openAutoTranslate:"Auto translate enabled",closeAutoTranslate:"Auto translate disabled",unSupportAutoTranslate:"Current language does not support auto translate",banPlatformProhibited:"Banned on the entire platform",kickPlatformProhibited:"Kicked on the entire platform",userIp:"User IP:",downloadAttendanceList:"Download attendance/absence list",downloadOnlineList:"Download online list",downloadWhiteList:"Download white list"},motivation:{you:"You",msgContent:"{motivatedNick} received {motivatorNick} <span>praise</span>"},effect:{peopleCount:" with {count} people"},redpack:{get:"Get",rainName:"Red packet",passwordName:"Password packet",questionName:"Question packet",normalName:"Packet",finish:". The red envelope has been taken out",rainFinish:". The red envelope rain has been taken out"},donate:{goodAction:"send ",name:{six:"666",bear:"Bear",microphone:"Microphone",villa:"Villa",coffee:"Coffee",trophy:"Trophy",star:"Star",applause:"Applause",yacht:"Yacht",rocket:"Rocket",like:"Like",fireworks:"Fireworks",crown:"Crown",cars:"Cars",goldenEggs:"Golden Eggs",diamonds:"Diamonds",plane:"Plane",flower:"Flower"}}},Df={chat:{copy:"コピー",more:"もっと見る",illegalImage:"画像違反",notice:"通知",moreMsg:"新しいメッセージを見る",loadError:"メッセージの読み込みに失敗しました",empty:"チャットが空です~",noMore:"もうすぐ終わります",roomReopened:"チャットが再開しました",roomClosed:"チャットが閉鎖されました",fast:"メッセージが送信されましたが、送信が速すぎます。後で再試行してください",send:"送信",uploadImageError:"画像をアップロードできません!",translate:"翻訳",cancelTranslate:"翻訳をキャンセル",reply:"返信",completeMsg:"全文",editInfo:"情報を編集",onlySpecial:"オーナーだけ見る",dummyActor:"仮想人",overMaxImageCount:"最大{count}枚の画像を挿入",originalContent:"原文",needLive:"ライブを開始してください",reconnect:"チャットが再接続されました",systemMsg:"システムメッセージ"},input:{maskTitle:"お知らせ",noSupportSendMsg:"メッセージの送信をサポートしていません"},online:{searchPlaceholder:"名前で検索",me:"私",all:"全部",attendance:"出勤",absence:"缺勤"},manage:{list:"名簿",delete:"削除",deleteSuccess:"削除されました",deleteFail:"削除に失敗しました",banList:"禁言名簿",ban:"禁言",cancelBan:"取消禁言",banFail1:"操作失败,该用户已被管理员全平台禁言",banUserTitle:"ユーザー禁言",banIpTitle:"IP禁言",banIp:"IP 禁言",cancelBanIp:"IP 禁言 取消",banIpFail1:"操作失败,该IP已被管理员全平台禁言",kickList:"踢出名簿",kick:"踢出",cancelKick:"取消踢出",kickConfirm:"確定要踢出此用戶嗎?",kickConfirmTips:"踢出後對方將無法觀看直播,可在踢出名單中恢復",kickFail1:"操作失败,该用户已被管理员全平台踢出",like:"褒め",liked:"すでに褒めました",top:"壁に上げる",cancelTop:"壁から下ろす",topAction:"操作人:",hideTop:"隠す",ask:"個人メッセージ",clear:"クリア",clearChat:"チャットをクリア",clearChatConfirm:"チャットをクリアしますか?",clearChatConfirmTips:"チャットをクリアすると、視聴者/講師/ゲストがクリアされます",clearMsgSuccess:"クリア成功",clearMsgFail:"クリア失敗",exportHistory:"チャット履歴をエクスポート",translateChat:"チャットを翻訳",closeRoom:"チャット禁止",pushQa:"質問に設定",pushQaSuccess:"メッセージが質問に設定されました、アナウンサーに通知できます",openAutoTranslate:"自動翻訳が有効になりました",closeAutoTranslate:"自動翻訳が無効になりました",unSupportAutoTranslate:"現在の言語は自動翻訳をサポートしていません",banPlatformProhibited:"全プラットフォームで禁止されています",kickPlatformProhibited:"全プラットフォームでキックされています",userIp:"ユーザーIP:",downloadAttendanceList:"出勤/欠勤リストをダウンロード",downloadOnlineList:"オンラインリストをダウンロード",downloadWhiteList:"ホワイトリストをダウンロード"},motivation:{you:"あなた",msgContent:"{motivatedNick} 獲得しました {motivatorNick}の<span>褒め</span>"},effect:{peopleCount:"等{count}人"},redpack:{get:"受け取る",rainName:"赤いパケット",passwordName:"パスワードパケット",questionName:"問題パケット",normalName:"パケット",finish:"、赤い封筒はすでに受け取り済みです",rainFinish:"、赤い封筒の雨はすでに受け取り済みです"},donate:{goodAction:"贈り物 ",name:{six:"666",bear:"クマ",microphone:"マイク",villa:"ビレッジ",coffee:"コーヒー",trophy:"トロフィー",star:"星",applause:"拍手",yacht:"ヨット",rocket:"ロケット",like:"いいね",fireworks:"花火",crown:"冠",cars:"車",goldenEggs:"金の卵",diamonds:"ダイアモンド",plane:"飛行機",flower:"花"}}},zf={chat:{copy:"복사",more:"더 보기",illegalImage:"이미지 위반",notice:"알림",moreMsg:"새 메시지 보기",loadError:"메시지 로드 실패",empty:"채팅방이 비어있습니다~",noMore:"더 이상 메시지가 없습니다",roomReopened:"채팅방이 다시 열렸습니다",roomClosed:"채팅방이 닫혔습니다",fast:"메시지가 너무 빠르게 전송되었습니다, 나중에 다시 시도해주세요",send:"전송",uploadImageError:"이미지를 업로드할 수 없습니다!",translate:"번역",cancelTranslate:"번역 취소",reply:"답변",completeMsg:"전체 버전",editInfo:"정보 수정",onlySpecial:"주인장만 보기",dummyActor:"가상 인간",overMaxImageCount:"최대 {count}개의 이미지 삽입",originalContent:"원본",needLive:"방송을 시작하세요",reconnect:"채팅방이 다시 연결되었습니다",systemMsg:"시스템 메시지"},input:{maskTitle:"안내",noSupportSendMsg:"메시지 전송을 지원하지 않습니다"},online:{searchPlaceholder:"이름으로 검색",me:"나",all:"모두",attendance:"출근",absence:"결근"},manage:{list:"목록",delete:"삭제",deleteSuccess:"삭제되었습니다",deleteFail:"삭제 실패",banList:"금지 목록",ban:"금지",cancelBan:"금지 취소",banFail1:"작업이 실패했습니다, 해당 사용자는 전체 플랫폼에서 금지되었습니다",banUserTitle:"사용자 금지",banIpTitle:"IP 금지",banIp:"IP 금지",cancelBanIp:"IP 금지 취소",banIpFail1:"작업이 실패했습니다, 해당 IP는 전체 플랫폼에서 금지되었습니다",kickList:"추방 목록",kick:"추방",cancelKick:"추방 취소",kickConfirm:"해당 사용자를 추방하시겠습니까?",kickConfirmTips:"추방 후 해당 사용자는 방송을 시청할 수 없습니다, 추방 목록에서 복구할 수 있습니다",kickFail1:"작업이 실패했습니다, 해당 사용자는 전체 플랫폼에서 추방되었습니다",like:"칭찬",liked:"이미 칭찬했습니다",top:"벽에 올리기",cancelTop:"벽에서 내리기",topAction:"조작자:",hideTop:"숨기기",ask:"개인 메시지",clear:"초기화",clearChat:"채팅방 초기화",clearChatConfirm:"채팅방 초기화하시겠습니까?",clearChatConfirmTips:"채팅방 초기화 후 시청자/강사/손님 모두 초기화됩니다",clearMsgSuccess:"초기화 성공",clearMsgFail:"초기화 실패",exportHistory:"채팅 기록 내보내기",translateChat:"채팅 번역",closeRoom:"채팅 금지",pushQa:"질문으로 설정",pushQaSuccess:"메시지가 질문으로 설정되었습니다, 안내자에게 알릴 수 있습니다",openAutoTranslate:"자동 번역 활성화",closeAutoTranslate:"자동 번역 비활성화",unSupportAutoTranslate:"현재 언어는 자동 번역을 지원하지 않습니다",banPlatformProhibited:"전체 플랫폼에서 금지되었습니다",kickPlatformProhibited:"전체 플랫폼에서 추방되었습니다",userIp:"사용자 IP:",downloadAttendanceList:"출근/결근 목록 다운로드",downloadOnlineList:"온라인 목록 다운로드",downloadWhiteList:"백리스트 목록 다운로드"},motivation:{you:"당신",msgContent:"{motivatedNick} 칭찬을 받았습니다 {motivatorNick}의 <span>칭찬</span>"},effect:{peopleCount:"등{count}명"},redpack:{get:"받기",rainName:"빨간 패킷",passwordName:"비밀번호 패킷",questionName:"질문 패킷",normalName:"패킷",finish:",홍바오가 이미 다 받아졌습니다",rainFinish:",홍바오 비가 이미 다 받아졌습니다"},donate:{goodAction:"주기 ",name:{six:"666",bear:"곰",microphone:"마이크",villa:"빌라",coffee:"커피",trophy:"트로피",star:"별",applause:"박수",yacht:"요트",rocket:"로켓",like:"좋아요",fireworks:"불꽃",crown:"왕관",cars:"차",goldenEggs:"금귤",diamonds:"다이아몬드",plane:"비행기",flower:"꽃"}}},Ff={chat:{copy:"Копировать",more:"Подробнее",illegalImage:"Недопустимое изображение",notice:"Уведомление",moreMsg:"Посмотреть новые сообщения",loadError:"Сообщения загружаются с ошибкой",empty:"Чат пуст~",noMore:"Нет больше",roomReopened:"Чат открыт",roomClosed:"Чат закрыт",fast:"Ваше сообщение было отправлено слишком быстро, пожалуйста, попробуйте снова позже",send:"Отправить",uploadImageError:"Изображение не может быть загружено!",translate:"Перевести",cancelTranslate:"Отменить перевод",reply:"Ответить",completeMsg:"Полная версия",editInfo:"Изменить информацию",onlySpecial:"Только для ведущего",dummyActor:"Виртуальный человек",overMaxImageCount:"Максимум {count} изображений",originalContent:"Оригинал",needLive:"Пожалуйста, запустите трансляцию",reconnect:"Чат успешно переподключен",systemMsg:"Системное сообщение"},input:{maskTitle:"Предупреждение",noSupportSendMsg:"Не поддерживается отправка сообщений"},online:{searchPlaceholder:"Введите имя для поиска",me:"Я",all:"Все",attendance:"Выход",absence:"Отсутствие"},manage:{list:"список",delete:"Удалить",deleteSuccess:"Удалено",deleteFail:"Не удалено",banList:"список запретов",ban:"Запретить",cancelBan:"Отменить запрет",banFail1:"Операция не удалась, пользователь уже заблокирован на всей платформе",banUserTitle:"Запретить пользователя",banIpTitle:"Запретить IP",banIp:"Запретить IP",cancelBanIp:"Отменить запрет IP",banIpFail1:"Операция не удалась, IP уже заблокирован на всей платформе",kickList:"список выгнанных",kick:"Выгнать",cancelKick:"Отменить выгон",kickConfirm:"Определенно выгнать этого пользователя?",kickConfirmTips:"После выгона пользователь не сможет смотреть трансляцию, но может быть восстановлен в списке выгнанных",kickFail1:"Операция не удалась, пользователь уже выгнан на всей платформе",like:"похвала",liked:"уже похвалил",top:"на стену",cancelTop:"снять с стены",topAction:"оператор:",hideTop:"скрыть",ask:"личное сообщение",clear:"очистить",clearChat:"очистить чат",clearChatConfirm:"очистить чат?",clearChatConfirmTips:"очистить чат",clearMsgSuccess:"очистить успешно",clearMsgFail:"очистить не удалось",exportHistory:"экспортировать историю чата",translateChat:"перевести чат",closeRoom:"запретить чат",pushQa:"установить в вопрос",pushQaSuccess:"сообщение переведено в вопрос, можно уведомить ведущего",openAutoTranslate:"автоматический перевод включен",closeAutoTranslate:"автоматический перевод выключен",unSupportAutoTranslate:"текущий язык не поддерживает автоматический перевод",banPlatformProhibited:"уже заблокирован на всей платформе",kickPlatformProhibited:"уже выгнан на всей платформе",userIp:"пользователь IP:",downloadAttendanceList:"скачать список посещения/пропусков",downloadOnlineList:"скачать список онлайн",downloadWhiteList:"скачать список белого списка"},motivation:{you:"ты",msgContent:"{motivatedNick} получил {motivatorNick} <span>похвалу</span>"},effect:{peopleCount:"с{count} человек"},redpack:{get:"Получить",rainName:"Получить красный пакет",passwordName:"Получить пакет с паролем",questionName:"Получить пакет с вопросом",normalName:"Получить пакет",finish:",красный конверт разобран",rainFinish:",дождь из красных конвертов закончен"},donate:{goodAction:"подарить ",name:{six:"666",bear:"медведь",microphone:"микрофон",villa:"вила",coffee:"кофе",trophy:"трофей",star:"звезда",applause:"аплодисменты",yacht:"яхта",rocket:"ракета",like:"лайк",fireworks:"фейерверк",crown:"корона",cars:"машина",goldenEggs:"золотой яйцо",diamonds:"алмазы",plane:"самолет",flower:"цветок"}}},Bf={chat:{copy:"复制",more:"更多",illegalImage:"图片违规",notice:"通知",moreMsg:"查看新消息",loadError:"消息加载失败",empty:"聊天室空空如也~",noMore:"没有更多了",roomReopened:"聊天室重新打开",roomClosed:"聊天室已禁言",fast:"您的发言过快,请稍后再试",send:"发送",uploadImageError:"图片上传失败!",translate:"翻译",cancelTranslate:"取消翻译",reply:"回复",completeMsg:"全文",editInfo:"修改信息",onlySpecial:"只看主持人",dummyActor:"虚拟人",overMaxImageCount:"最多插入不超过{count}张图片",originalContent:"原文",needLive:"请先发起直播",reconnect:"聊天室重新连接成功",systemMsg:"系统消息"},input:{maskTitle:"温馨提示",noSupportSendMsg:"暂不支持发送消息"},online:{searchPlaceholder:"输入名称搜索",me:"我",all:"全部",attendance:"出勤",absence:"缺勤"},manage:{list:"名单",delete:"删除",deleteSuccess:"删除成功",deleteFail:"删除失败",banList:"禁言名单",ban:"禁言",banUserTitle:"用户禁言",banIpTitle:"IP禁言",cancelBan:"取消禁言",banFail1:"操作失败,该用户已被管理员全平台禁言",banIp:"禁言IP",cancelBanIp:"取消禁言IP",banIpFail1:"操作失败,该IP已被管理员全平台禁言",kickList:"踢出名单",kick:"踢出",cancelKick:"取消踢出",kickConfirm:"确定要踢出此用户吗?",kickConfirmTips:"踢出后对方将无法观看直播,可在踢出名单中恢复",kickFail1:"操作失败,该用户已被管理员全平台踢出",like:"夸奖",liked:"已夸奖",top:"上墙",cancelTop:"下墙",topAction:"操作人:",hideTop:"收起",ask:"私聊",clear:"清空",clearChat:"清空聊天室",clearChatConfirm:"确定要清空聊天室吗?",clearChatConfirmTips:"清空后观众/讲师/嘉宾端将同步清空",clearMsgSuccess:"清空成功",clearMsgFail:"清空失败",exportHistory:"导出聊天记录",translateChat:"翻译聊天室",closeRoom:"禁止聊天",pushQa:"设为问答",pushQaSuccess:"已将消息转到问答区,可通知主播查看",openAutoTranslate:"已开启自动翻译",closeAutoTranslate:"已关闭自动翻译",unSupportAutoTranslate:"当前语言不支持自动翻译",banPlatformProhibited:"已被全平台禁言",kickPlatformProhibited:"已被全平台踢出",userIp:"用户IP:",downloadAttendanceList:"下载到勤/缺勤名单",downloadOnlineList:"下载在线人员名单",downloadWhiteList:"下载白名单观看情况"},motivation:{you:"你",msgContent:"{motivatedNick}收获了{motivatorNick}的<span>夸奖</span>"},effect:{peopleCount:"等{count}人"},redpack:{get:"领取",rainName:"红包雨",passwordName:"口令红包",questionName:"答题红包",normalName:"普通红包",finish:",红包已被领完",rainFinish:",红包雨已被领完"},donate:{goodAction:"赠送",name:{six:"666",bear:"小熊",microphone:"麦克风",villa:"别墅",coffee:"咖啡",trophy:"奖杯",star:"小星星",applause:"掌声",yacht:"游艇",rocket:"火箭",like:"点赞",fireworks:"烟火",crown:"皇冠",cars:"跑车",goldenEggs:"金蛋",diamonds:"钻石",plane:"飞机",flower:"鲜花"}}},Mf={chat:{copy:"複製",more:"更多",illegalImage:"圖片違規",notice:"通知",moreMsg:"查看新消息",loadError:"消息加载失败",empty:"聊天室空空如也~",noMore:"没有更多了",roomReopened:"聊天室重新打开",roomClosed:"聊天室已禁言",fast:"您的發言過快,請稍後再試",send:"發送",uploadImageError:"圖片上傳失敗!",translate:"翻譯",cancelTranslate:"取消翻譯",reply:"回復",completeMsg:"全文",editInfo:"修改信息",onlySpecial:"只看主持人",dummyActor:"虛擬人",overMaxImageCount:"最多插入不超過{count}張圖片",originalContent:"原文",needLive:"請先發起直播",reconnect:"聊天室重新連接成功",systemMsg:"系統消息"},input:{maskTitle:"溫馨提示",noSupportSendMsg:"暫不支持發送消息"},online:{searchPlaceholder:"輸入名稱搜索",me:"我",all:"全部",attendance:"出勤",absence:"缺勤"},manage:{list:"名單",delete:"刪除",deleteSuccess:"刪除成功",deleteFail:"刪除失敗",banList:"禁言名單",ban:"禁言",cancelBan:"取消禁言",banFail1:"操作失败,该用户已被管理员全平台禁言",banUserTitle:"用户禁言",banIpTitle:"IP禁言",banIp:"禁言IP",cancelBanIp:"取消禁言IP",banIpFail1:"操作失败,该IP已被管理员全平台禁言",kickList:"踢出名單",kick:"踢出",cancelKick:"取消踢出",kickConfirm:"確定要踢出此用戶嗎?",kickConfirmTips:"踢出後對方將無法觀看直播,可在踢出名單中恢復",kickFail1:"操作失败,该用户已被管理员全平台踢出",like:"夸奖",liked:"已夸奖",top:"上墙",cancelTop:"下墙",topAction:"操作人:",hideTop:"收起",ask:"私聊",clear:"清空",clearChat:"清空聊天室",clearChatConfirm:"確定要清空聊天室嗎?",clearChatConfirmTips:"清空後觀眾/講師/嘉賓端將同步清空",clearMsgSuccess:"清空成功",clearMsgFail:"清空失敗",exportHistory:"導出聊天記錄",translateChat:"翻譯聊天室",closeRoom:"禁止聊天",pushQa:"設為問答",pushQaSuccess:"已將消息轉到問答區,可通知主播查看",openAutoTranslate:"已開啟自動翻譯",closeAutoTranslate:"已關閉自動翻譯",unSupportAutoTranslate:"當前語言不支持自動翻譯",banPlatformProhibited:"已被全平台禁言",kickPlatformProhibited:"已被全平台踢出",userIp:"用戶IP:",downloadAttendanceList:"下載到勤/缺勤名單",downloadOnlineList:"下載在線人員名單",downloadWhiteList:"下載白名單觀看情況"},motivation:{you:"你",msgContent:"{motivatedNick}收到了{motivatorNick}的<span>夸奖</span>"},effect:{peopleCount:"等{count}人"},redpack:{get:"領取",rainName:"紅包雨",passwordName:"口令紅包",questionName:"答題紅包",normalName:"普通紅包",finish:",红包已被领完",rainFinish:",红包雨已被领完"},donate:{goodAction:"贈送",name:{six:"666",bear:"小熊",microphone:"麥克風",villa:"別墅",coffee:"咖啡",trophy:"獎杯",star:"小星星",applause:"掌聲",yacht:"遊艇",rocket:"火箭",like:"點讚",fireworks:"煙火",crown:"皇冠",cars:"跑車",goldenEggs:"金蛋",diamonds:"鑽石",plane:"飛機",flower:"鮮花"}}},{useI18n:G}=Ra({zh_CN:Bf,zh_TW:Mf,en:Of,ja:Df,ko:zf,ru:Ff});function Nf(t){return{PolyvChatEvent:t.PolyvChatEvent,ChatMsgSource:t.ChatMsgSource,DonateType:t.DonateType,RedpackType:t.RedpackType,SystemMsgType:t.SystemMsgType,ChatRequestHistoryMode:t.ChatRequestHistoryMode,ManageFailReason:t.ManageFailReason,TranslateLanguage:t.TranslateLanguage}}function Uf(t){return{SocketUserType:t.SocketUserType}}const q=()=>{const e=it().getChatTarget();if(!e)throw new Error("useChatTargetInject fail: chatTarget is undefined");return se(D(D({chatTarget:e,plvSocket:e.plvSocket},Nf(e)),Uf(e.plvSocket)),{getUserId:()=>e.plvSocket.getUserInfo().userId,getUserLabelIds:()=>e.plvSocket.getUserInfo().labelIds||[],selfIsSpecialUser:()=>{const{userType:n,actor:r}=e.plvSocket.getUserInfo();return e.plvSocket.isSpecialUserType(n,r)},getUserType:()=>e.plvSocket.getUserInfo().userType})};function hi(t,e=["blob"]){const n=/^(http(s?)):/.exec(location.href),r=n&&n[1]||"https";return e.some(i=>t.startsWith(i))?t:oa(t,r)}function Hf(t=3e3){return new Promise(e=>{setTimeout(()=>{e()},t)})}const Er=t=>{const{getUserId:e,SocketUserType:n,plvSocket:r,chatTarget:o}=q(),{messageConfig:i}=ce(),{$t:s}=G(),c=o.utils.getDefaultResource(),a=u.computed(()=>{var w;return(w=t.value)==null?void 0:w.userId}),l=u.computed(()=>{var b;const w=u.unref(t);return(b=w==null?void 0:w.nick)!=null?b:""}),p=u.computed(()=>{var b;const w=u.unref(t);return hi((b=w==null?void 0:w.pic)!=null?b:c.defaultViewerAvatar)}),f=u.computed(()=>{const w=u.unref(t);return w==null?void 0:w.userType}),h=u.computed(()=>{const w=u.unref(t);let b=w==null?void 0:w.actor;return f.value===n.Dummy&&i.value.showDummyActor?s("chat.dummyActor"):b}),d=u.computed(()=>{const w=u.unref(t);return w&&w.label&&Array.isArray(w.label.question)?w.label.question:[]}),v=u.computed(()=>{var w;return((w=u.unref(t))==null?void 0:w.userId)===e()}),g=u.computed(()=>f.value?r.isSpecialUserType(f.value,h.value):!1),_=u.computed(()=>{if(!h.value)return!1;if(g.value||f.value===n.Dummy&&i.value.showDummyActor)return!0;const w=[n.Student,n.Slice,n.Viewer];return f.value&&w.includes(f.value)?i.value.showOrdinaryActor:!0}),m=u.computed(()=>{var w;return(w=u.unref(t))==null?void 0:w.clientIp});return{userRef:t,userId:a,userNick:l,userAvatar:p,userType:f,userActor:h,userQuestionLabels:d,isSelf:v,isSpecialUser:g,showUserActor:_,userClientIp:m}};function N1(t){if("user"in t)return t.user}const st=t=>{const e=u.computed(()=>{if(t.value)return N1(t.value)}),n=Er(e);return{msgUser:e,msgUserId:n.userId,msgUserNick:n.userNick,msgUserAvatar:n.userAvatar,msgUserType:n.userType,msgUserActor:n.userActor,msgUserQuestionLabels:n.userQuestionLabels,isSelfMsg:n.isSelf,isSpecialUser:n.isSpecialUser,showUserActor:n.showUserActor,msgUserClientIp:n.userClientIp}},jf=()=>({actor:k.string.def(""),userType:k.enum()}),qf=t=>{const{props:e}=t,{messageConfig:n}=ce(),{SocketUserType:r}=q(),o={[r.Manager]:"linear-gradient(270deg, #818CF0 0%, #716AF7 100%)",[r.Assistant]:"linear-gradient(278deg, #14D0B2 1%, #04B888 96%)",[r.Teacher]:"linear-gradient(270deg, #57B7FF 0%, #2987FF 100%)",[r.Guest]:"linear-gradient(90deg, #FF8165 -1%, #FEB235 100%)"},i=u.computed(()=>e.userType),s=u.computed(()=>e.actor),c=u.computed(()=>{let a=u.unref(i);if(a){if(a===r.Dummy){if(n.value.showDummyActor)return"#3E3E4E";const l={[r.Manager]:["管理员"],[r.Assistant]:["助教"],[r.Teacher]:["讲师","主讲"],[r.Guest]:["嘉宾"]},p=s.value;for(const f in l){const h=f;if(l[h].includes(p)){a=h;break}}}return o[a]}});return{msgUserActor:s,msgUserType:i,actorLabelColor:c}},Wf=u.defineComponent({__name:"msg-user-actor",props:jf(),setup(t){const e=t,{msgUserActor:n,actorLabelColor:r}=qf({props:e});return{__sfc:!0,props:e,msgUserActor:n,actorLabelColor:r}}});function j(t,e,n,r,o,i,s,c){var a=typeof t=="function"?t.options:t;return e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),{exports:t,options:a}}var Gf=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{class:{"plv-msg-user-actor":!0,"plv-msg-user-actor--border-img":!r.actorLabelColor},style:{background:r.actorLabelColor}},[n("span",{staticClass:"plv-msg-user-actor__content"},[e._v(" "+e._s(r.msgUserActor)+" ")])])},Yf=[],Zf=j(Wf,Gf,Yf);const vi=Zf.exports,Kf=u.defineComponent({__name:"complete-msg-popup",setup(t){const{visible:e,show:n}=vt(),{chatTarget:r}=q(),{messageConfig:o}=ce(),{isMobile:i}=ae(),{$t:s}=G(),{copyText:c,toastCopySuccess:a}=Zo(),l=u.ref(""),p=u.ref(""),f=u.ref(),{msgUserAvatar:h,msgUserNick:d,msgUserActor:v,msgUserType:g,showUserActor:_}=st(f);le(J.OpenCompleteMsgPopup,w=>P(this,null,function*(){l.value=w.fullContent,p.value=r.message.parseSpeakContent(w.fullContent,{parseEmotion:!0,parseLineBreak:!0}),f.value=w.chatMsg,n()}));function m(){c(l.value),a()}return{__sfc:!0,visible:e,show:n,chatTarget:r,messageConfig:o,isMobile:i,$t:s,copyText:c,toastCopySuccess:a,originFullContent:l,fullContent:p,chatMsg:f,msgUserAvatar:h,msgUserNick:d,msgUserActor:v,msgUserType:g,showUserActor:_,copyMsg:m,PwcPopup:ot,PwcButton:Rn,MsgUserActor:vi}}});var Xf=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"plv-chat-complete-msg-popup",attrs:{title:r.$t("chat.completeMsg"),width:r.isMobile?"100%":"600px",draggable:"",background:"#fff"},scopedSlots:e._u([{key:"footer",fn:function(){return[n("div",{staticClass:"plv-chat-complete-msg-popup__btn"},[n(r.PwcButton,{attrs:{outline:"",block:""},on:{click:r.copyMsg}},[e._v(e._s(r.$t("chat.copy")))])],1)]},proxy:!0}]),model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"plv-chat-complete-msg-popup__content"},[n("div",{staticClass:"plv-chat-complete-msg-popup__info"},[r.msgUserAvatar&&r.messageConfig.showUserAvatar?n("img",{attrs:{src:r.msgUserAvatar}}):e._e(),n("span",{staticClass:"plv-chat-complete-msg-popup__info__nick"},[e._v(e._s(r.msgUserNick))]),r.showUserActor?n(r.MsgUserActor,{staticClass:"plv-chat-complete-msg-popup__info__actor",attrs:{actor:r.msgUserActor,"user-type":r.msgUserType}}):e._e()],1),n("div",{staticClass:"plv-chat-complete-msg-popup__text",domProps:{innerHTML:e._s(r.fullContent)}})])])},Jf=[],Vf=j(Kf,Xf,Jf);const ed=Vf.exports;function pe(t,e){if(t)return e()}const U1=Symbol("BAN_IP_STORE_PROVIDE_KEY"),td=()=>{const{chatTarget:t,PolyvChatEvent:e}=q(),n=u.ref([]);function r(a){return n.value.includes(a)}function o(a){n.value.indexOf(a)===-1&&n.value.push(a)}function i(a){const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}function s(){return P(this,null,function*(){const a=yield t.manage.getBannedIpList();n.value=a.contents.map(l=>l.clientIp)})}s(),Ce(t.eventEmitter,{[e.IpBanned]:a=>{o(a.ip)},[e.IpCancelBanned]:a=>{i(a.ip)}}),t.manage.listenManageEvent();const c={bannedIps:n,ipIsBanned:r,appendBannedIp:o,removeBannedIp:i,getBannedIpList:s};return u.provide(U1,c),c},nd=()=>u.inject(U1),H1=Symbol("BAN_USER_STORE_PROVIDE_KEY"),rd=()=>{const{chatTarget:t,PolyvChatEvent:e}=q(),n=u.ref([]);function r(l){return n.value.includes(l)}function o(l){n.value.indexOf(l)===-1&&n.value.push(l)}function i(l){const p=n.value.indexOf(l);p!==-1&&n.value.splice(p,1)}function s(l){Array.isArray(l)||(l=[l]),l.forEach(p=>{if("banned"in p){const f=p.banned,h=p.userId;f?o(h):i(h)}})}le(J.ProcessUserBanned,l=>{s(l.userList)});function c(l){l.forEach(p=>{if(!("user"in p))return;const f=p.user;s(f)})}le(J.RequestChatHistory,l=>{c(l.msgList)}),le(J.RenderMsg,l=>{c(l.msgList)}),Ce(t.eventEmitter,{[e.UserBanned]:l=>{o(l.userId)},[e.UserCancelBanned]:l=>{i(l.userId)}}),t.manage.listenManageEvent();const a={bannedUserIds:n,userIdIsBanned:r,appendBannedUserId:o,removeBannedUserId:i,processUserBanned:s,processMsgBanned:c};return u.provide(H1,a),a},od=()=>u.inject(H1),j1=Symbol("KICK_USER_STORE_PROVIDE_KEY"),id=()=>{const{chatTarget:t,PolyvChatEvent:e}=q(),n=u.ref([]);function r(a){return n.value.includes(a)}function o(a){n.value.indexOf(a)===-1&&n.value.push(a)}function i(a){const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}function s(){return P(this,null,function*(){const a=yield t.manage.getKickedUserList();n.value=a.contents.map(l=>l.userId)})}s(),Ce(t.eventEmitter,{[e.UserKicked]:a=>{o(a.userId)},[e.UserCancelKicked]:a=>{i(a.userId)}}),t.manage.listenManageEvent();const c={kickedUserIds:n,userIdIsKicked:r,appendKickedUserId:o,removeKickedUserId:i,getKickedUserList:s};return u.provide(j1,c),c},sd=()=>u.inject(j1),q1=Symbol("MOTIVATION_LIKE_STORE_PROVIDE_KEY"),ad=()=>{const t=u.ref([]);function e(o){return t.value.includes(o)}function n(o){t.value.indexOf(o)===-1&&t.value.push(o)}const r={motivationLikeMsgIds:t,msgIdIsMotivated:e,appendMotivatedMsgId:n};return u.provide(q1,r),r},cd=()=>u.inject(q1),W1=Symbol("TOP_MSG_STORE_PROVIDE_KEY"),G1=()=>{const{chatTarget:t,PolyvChatEvent:e}=q(),n=u.ref([]);function r(c){return n.value.some(a=>a.chatMsg.id===c)}function o(c){var a;return(a=n.value.find(l=>l.chatMsg.id===c.id))==null?void 0:a.id}function i(){n.value=t.message.topingMsgs}i(),Ce(t.eventEmitter,{[e.TopMsg]:c=>{n.value=c.topingMsgs}});const s={topingMsgs:n,msgIdIsTop:r,getTopId:o};return u.provide(W1,s),s},ld=()=>u.inject(W1),_i={deleteMsgEnabled:!1,clearMsgEnabled:!1,banUserEnabled:!1,banIpEnabled:!1,kickUserEnabled:!1,motivationLikeEnabled:!1,topMsgEnabled:!1,askUserEnabled:!1,askUserCallback:()=>{},chatSwitchEnabled:!1,pushSpeakMsgToQaEnabled:!1,attendanceEnabled:!1,whiteListEnabled:!1,downloadOnlineListEnabled:!1},_e=()=>{const t=it();return{manageConfig:u.computed(()=>{let n={};if(t.getManageConfig&&(n=t.getManageConfig()),typeof n=="object")return D(D({},_i),n);if(n===!0){const r=D({},_i);for(const o in r)r[o]=!0;return r}return _i})}},Y1=(t=[])=>{const{manageConfig:e}=_e(),n=a=>t.length===0||t.includes(a),r=pe(e.value.banUserEnabled&&n("banUser"),()=>rd()),o=pe(e.value.banIpEnabled&&n("banIp"),()=>td()),i=pe(e.value.kickUserEnabled&&n("kickUser"),()=>id()),s=pe(e.value.motivationLikeEnabled&&n("motivationLike"),()=>ad()),c=pe(e.value.topMsgEnabled&&n("topMsg"),()=>G1());return{banUserStore:r,banIpStore:o,kickUserStore:i,motivationLikeStore:s,topMsgStore:c}},Z1=Symbol("CHAT_STATUS_PROVIDE_KEY"),Fn=(t=!1)=>{const{chatTarget:e,PolyvChatEvent:n}=q(),r=u.ref(D({},e.status.getStatusInfo())),o={statusInfo:r};return t&&u.provide(Z1,o),Ce(e.eventEmitter,{[n.StatusInfoUpdate]:i=>{r.value=D({},i.statusInfo)}}),o},ud=()=>u.inject(Z1),_t=()=>{const t=it();function e(n){return P(this,null,function*(){return t.interceptClick?(yield t.interceptClick(n))===!0:!1})}return{checkIntercept:e}},pd={inputPlaceholder:"",faceEmotionEnabled:!0,imageEmotionEnabled:!0,disabledInput:!1,sendImageEnabled:!0,inputMaskPlaceholder:""},pt=()=>{const t=it();return{inputConfig:u.computed(()=>{let n={};return t.getInputConfig&&(n=t.getInputConfig()),D(D({},pd),n)})}},Tr=()=>{const{inputConfig:t}=pt();return{currentMaskText:u.computed(()=>t.value.inputMaskPlaceholder)}},K1=()=>{const{currentMaskText:t}=Tr(),{inputConfig:e}=pt(),{statusInfo:n}=Fn(),{selfIsSpecialUser:r}=q();return{chatInputDisabled:u.computed(()=>{if(t.value)return!0;const i=n.value.chatRoomIsClosed;return!r()&&i?!0:e.value.disabledInput})}},Ir=()=>{const{chatTarget:t}=q(),{getEmitter:e}=we(),{toast:n}=xe(),{$t:r}=G(),{checkIntercept:o}=_t(),{chatInputDisabled:i}=K1();function s(){e().emit(J.ScrollToNew)}function c(v){return P(this,null,function*(){t.sender.sendSpeakMsg(v),s()})}function a(v){return P(this,null,function*(){t.sender.sendImageMsg(v),s()})}function l(v){return P(this,null,function*(){t.sender.sendEmotionImageMsg(v),s()})}function p(v,g){t.sender.sendSystemMsg(v,g),s()}function f(v,g){return P(this,null,function*(){s();try{for(var _=Sl(v),m,w,b;m=!(w=yield _.next()).done;m=!1){const x=w.value;x.type==="text"?c({content:x.content,quoteMsg:g}):x.type==="img"&&(yield h(x)),yield Hf(200)}}catch(w){b=[w]}finally{try{m&&(w=_.return)&&(yield w.call(_))}finally{if(b)throw b[0]}}})}function h(v){return P(this,null,function*(){s();try{const{file:g}=v,{imageId:_,imageUrl:m,size:w}=yield t.utils.directUploadImage(g);a({imageId:_,imageUrl:m,size:w})}catch(g){n.error(r("chat.uploadImageError"))}})}function d(){return P(this,null,function*(){(yield o("send-image"))||i.value||t.sender.choiceImageFileSend({choiceCallback:()=>{s()}})})}return{sendSpeakMsg:c,sendImageMsg:a,sendEmotionImageMsg:l,sendSystemMsg:p,choiceImageFileSend:d,sendContentList:f}};var Bn=(t=>(t.JoinVisit="JoinVisit",t.ProductClick="ProductClick",t.ProductBuy="ProductBuy",t.CheckIn="CheckIn",t.Donate="Donate",t))(Bn||{});const fd=t=>{const e={visitEffectEnabled:!0,joinVisitEffectTip:"欢迎{{nickname}}加入",productEffectEnabled:!0,clickOrdinaryProductEffectTip:"{{nickname}}正在购买{{productName}}",clickFinancialProductEffectTip:"{{nickname}}正在选购{{productName}}",clickJobProductEffectTip:"{{nickname}}正在投递{{productName}}",orderProductEffectTip:"{{nickname}}下单了{{productName}}",interactionEffectEnabled:!0,checkinInteractionEffectTip:"{{nickname}}签到成功",donateInteractionEffectTip:"{{nickname}}赠送{{donateName}}"},n=t.config.effectSetting||e;function r(i){switch(i){case"normal":return n.clickOrdinaryProductEffectTip;case"finance":return n.clickFinancialProductEffectTip;case"position":case"delivery":return n.clickJobProductEffectTip;default:return n.clickOrdinaryProductEffectTip}}function o(){return n.orderProductEffectTip}return{effectSetting:n,getProductClickTemplate:r,getProductBuyTemplate:o}},dd=t=>{const{historyData:e}=t,{chatTarget:n,ChatMsgSource:r,PolyvChatEvent:o}=q(),{getEmitter:i}=we(),{effectSetting:s,getProductClickTemplate:c,getProductBuyTemplate:a}=fd(n),l=3e3;function p(v,g){return e.getHistoryData().findIndex(m=>{if(m.msgSource===r.Effect&&Date.now()-m.time<l){const w=m.data;if(w.effectType===g&&w.targetId===v)return!0}return!1})}function f(v,g){const{type:_,nickname:m,productId:w,productName:b,nicknameCount:x}=g,C=p(w,v);if(C!==-1){const S=e.getHistoryData()[C],y=S.data;y.nicknameCount+=x;const E={id:S.id,chatMsg:S};i().emit(J.ReplaceChatMessage,E)}else{let Q="";if(v===Bn.ProductClick?Q=c(_):Q=a(),!Q)return;const S=hn(8),y={id:S,effectType:v,nicknames:[m],nicknameCount:x,targetId:w,targetName:b,productType:_,strTemplate:Q},T={chatMsg:{id:S,msgSource:r.Effect,time:Date.now(),data:y}};i().emit(J.JoinMsgQueue,T)}}function h(v){const g=v.type,_=v.nickname,m=v.productId,w=v.name;f(Bn.ProductClick,{type:g,nickname:_,productId:m,productName:w,nicknameCount:1})}function d(v){const g=v.productType,_=v.nickname,m=v.productId,w=v.productName,b=v.count;f(Bn.ProductBuy,{type:g,nickname:_,productId:m,productName:w,nicknameCount:b})}s.productEffectEnabled&&Ce(n.eventEmitter,{[o.ProductClick]:h,[o.ProductBuyTimes]:d})},md=t=>{const{historyData:e,moreMsgBtn:n,msgQueue:r}=t,{chatTarget:o,plvSocket:i,PolyvChatEvent:s,SystemMsgType:c}=q(),{messageConfig:a}=ce(),{sendSystemMsg:l}=Ir(),{$t:p}=G();function f(g){const{id:_,chatMsg:m}=g,w=e.findHistoryIndex(_);w!==-1&&e.setHistoryData(w,m),t.getVirtualListResult().getVirtualList().updateItem(m,_)}Ce(o.eventEmitter,{[s.ReplaceChatMessage]:f}),le(J.ReplaceChatMessage,f),Ce(o.eventEmitter,{[s.ClearMsgHistory]:()=>{e.clearHistoryData(),n.hideMoreMsg(),r.clearMsgQueue(),t.getVirtualListResult().getVirtualList().clear()}}),Ce(o.eventEmitter,{[s.RemoveChatMsg]:g=>{const _=g.id;e.removeHistoryData(_),t.getVirtualListResult().getVirtualList().removeItem(_)}});function h(){const _=o.status.getStatusInfo().chatRoomIsClosed;l(p(_?"chat.roomClosed":"chat.roomReopened"))}Ce(o.eventEmitter,{[s.OpenChatRoom]:h,[s.CloseChatRoom]:h}),le(J.LoadInitialData,()=>{setTimeout(()=>{o.status.getStatusInfo().chatRoomIsClosed&&l(p("chat.roomClosed"))},10)});let d=!1;le(J.LoadInitialData,()=>{setTimeout(()=>{const g=a.value.introductionText;g&&!d&&(l(g,c.ChatRoomIntroduction),d=!0)},10)}),dd({historyData:e});const v=i.PolyvSocketEvent;Ce(i.eventEmitter,{[v.ReconnectSuccess]:()=>{l(p("chat.reconnect"))}})};var te;(function(t){t[t.Main=0]="Main",t[t.Head=1]="Head",t[t.Foot=2]="Foot"})(te||(te={}));const at=20,gd=2*60*1e3,hd=2e3,vd=200,wi=()=>{const t=u.ref([]),e=u.computed(()=>{const o=[];return t.value.forEach(i=>{i.hidden&&i.hidden()||o.push(i)}),o.sort((i,s)=>{var l,p,f,h;const c=(p=(l=i.sort)==null?void 0:l.call(i))!=null?p:1/0,a=(h=(f=s.sort)==null?void 0:f.call(s))!=null?h:1/0;return c!==a?c-a:0}),o});function n(o){t.value.findIndex(s=>s.controlType===o.controlType)===-1&&t.value.push(o)}return{controlItems:e,addControlItem:n}},Lr=t=>{const{targetUser:e,coverUserNotPermissionConfig:n}=t,{SocketUserType:r,getUserType:o}=q();function i(){let c=[r.Manager,r.Teacher,r.Assistant,r.Guest],a={[r.Manager]:[],[r.Teacher]:[r.Manager],[r.Assistant]:[r.Manager,r.Teacher],[r.Guest]:[r.Manager,r.Teacher,r.Assistant]};n&&(a=D(D({},a),n));const l=o();return l&&a[l]&&(c=a[l]),c}function s(){var l;if(o()===r.UserTagsMonitor)return!1;const c=i(),a=(l=u.unref(e.value))==null?void 0:l.userType;return!(a&&c.includes(a))}return{checkPermission:s}},$t=t=>{const{chatMsg:e,checkUser:n=!0,checkSource:r=!0,disabledSources:o=[],enabledSources:i=[],coverUserNotPermissionConfig:s}=t,{msgUser:c,isSelfMsg:a}=st(e),l=Lr({targetUser:c,coverUserNotPermissionConfig:s}),{chatTarget:p}=q();function f(){return r?!(e.value&&o.includes(e.value.msgSource)||e.value&&i.length>0&&!i.includes(e.value.msgSource)||e.value&&!p.message.isServiceMsg(e.value)):!0}function h(){return!(n&&!l.checkPermission()||!f())}return{isSelfMsg:a,checkPermission:h}},Ye={autoTranslate:5,quote:10,copy:20,banUser:30,banIp:40,kickUser:50,topMsg:60,translate:70,askUser:80,motivationLike:90,deleteMsg:100,pushQa:110},X1=t=>{const{targetUser:e,chatMsg:n,controlContext:r}=t,{$t:o}=G(),{ChatMsgSource:i}=q(),{manageConfig:s}=_e(),{isSpecialUser:c}=Er(e),a=n?$t({chatMsg:n,disabledSources:[i.System]}):void 0,l=u.computed(()=>!(!s.value.askUserEnabled||a&&!a.checkPermission()||c.value));function p(){!l.value||!e.value||typeof s.value.askUserCallback=="function"&&s.value.askUserCallback(e.value)}return r&&s.value.askUserEnabled&&r.addControlItem({controlType:"askUser",sort:()=>Ye.askUser,hidden:()=>!l.value,text:()=>o("manage.ask"),clickCallback:p}),{canAskUser:l,askUser:p}},bi=t=>{const{targetIp:e,targetUser:n,chatMsg:r,controlContext:o,banActionCallback:i}=t,{chatTarget:s,ManageFailReason:c,getUserId:a}=q(),{$t:l}=G(),{manageConfig:p}=_e(),f=n?Lr({targetUser:n}):void 0,h=r?$t({chatMsg:r}):void 0,{toast:d}=xe(),v=nd(),g=u.computed(()=>{var C;return!p.value.banIpEnabled||f&&!f.checkPermission()||h&&!h.checkPermission()||((C=n==null?void 0:n.value)==null?void 0:C.userId)===a()?!1:!!e.value}),_=u.computed(()=>e.value?v.ipIsBanned(e.value):!1);function m(C){C.success||C.failReason===c.PlatformProhibited&&d.error(l("manage.banIpFail1")),i&&i()}function w(){return P(this,null,function*(){if(!g.value||!e.value)return;const C=e.value,Q=yield s.manage.banIp({ip:C});m(Q)})}function b(){return P(this,null,function*(){if(!g.value||!e.value)return;const C=e.value,Q=yield s.manage.cancelBanIp({ip:C});m(Q)})}function x(){return P(this,null,function*(){_.value?yield b():yield w()})}return o&&p.value.banIpEnabled&&o.addControlItem({controlType:"banIp",sort:()=>Ye.banIp,hidden:()=>!g.value,text:()=>_.value?l("manage.cancelBanIp"):l("manage.banIp"),clickCallback:x}),{canBanIp:g,isBannedIp:_,banIp:w,cancelBanIp:b}},yi=t=>{const{targetUserId:e,targetUser:n,chatMsg:r,controlContext:o,banActionCallback:i}=t,{chatTarget:s,ManageFailReason:c,getUserId:a}=q(),{$t:l}=G(),{manageConfig:p}=_e(),f=n?Lr({targetUser:n}):void 0,h=r?$t({chatMsg:r}):void 0,{toast:d}=xe(),v=od(),g=u.computed(()=>!p.value.banUserEnabled||f&&!f.checkPermission()||h&&!h.checkPermission()||e.value===a()?!1:!!e.value),_=u.computed(()=>e.value?v.userIdIsBanned(e.value):!1);function m(C){C.success||C.failReason===c.PlatformProhibited&&d.error(l("manage.banFail1")),i&&i()}function w(){return P(this,null,function*(){if(!g.value||!e.value)return;const C=e.value,Q=yield s.manage.banUser({userId:C});m(Q)})}function b(){return P(this,null,function*(){if(!g.value||!e.value)return;const C=e.value,Q=yield s.manage.cancelBanUser({userId:C});m(Q)})}function x(){return P(this,null,function*(){_.value?yield b():yield w()})}return o&&p.value.banUserEnabled&&o.addControlItem({controlType:"banUser",sort:()=>Ye.banUser,hidden:()=>!g.value,text:()=>_.value?l("manage.cancelBan"):l("manage.ban"),clickCallback:x}),{canBanUser:g,isBannedUser:_,banUser:w,cancelBanUser:b,toggleBanUser:x}},_d=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=G(),{manageConfig:o}=_e(),{chatTarget:i,SocketUserType:s}=q(),c=$t({chatMsg:e,coverUserNotPermissionConfig:{[s.Assistant]:[s.Manager]}}),{toast:a}=xe(),l=u.computed(()=>o.value.deleteMsgEnabled?c.checkPermission():!1);function p(){return P(this,null,function*(){if(!l.value)return;(yield i.manage.deleteMsg({id:e.value.id})).success?a.success(r("manage.deleteSuccess")):a.error(r("manage.deleteFail"))})}return n&&o.value.deleteMsgEnabled&&n.addControlItem({controlType:"delete",sort:()=>Ye.deleteMsg,hidden:()=>!l.value,text:()=>r("manage.delete"),clickCallback:p}),{canDeleteMsg:l,deleteMsg:p}},xi=t=>{const{targetUserId:e,targetUser:n,chatMsg:r,controlContext:o,kickActionCallback:i}=t,{chatTarget:s,ManageFailReason:c,getUserId:a}=q(),{$t:l}=G(),{manageConfig:p}=_e(),f=n?Lr({targetUser:n}):void 0,h=r?$t({chatMsg:r}):void 0,{toast:d}=xe(),{messageBox:v}=wr(),g=sd(),_=u.computed(()=>!p.value.kickUserEnabled||f&&!f.checkPermission()||h&&!h.checkPermission()||e.value===a()?!1:!!e.value),m=u.computed(()=>e.value?g.userIdIsKicked(e.value):!1);function w(Q){Q.success||Q.failReason===c.PlatformProhibited&&d.error(l("manage.kickFail1")),i&&i()}function b(){return P(this,null,function*(){if(!_.value||!e.value)return;yield v({message:l("manage.kickConfirm"),description:l("manage.kickConfirmTips"),confirmType:Pt.Delete,confirmButtonText:l("manage.kick")}).$confirm();const Q=e.value,S=yield s.manage.kickUser({userId:Q});w(S)})}function x(){return P(this,null,function*(){if(!_.value||!e.value)return;const Q=e.value,S=yield s.manage.cancelKickUser({userId:Q});w(S)})}function C(){return P(this,null,function*(){m.value?yield x():yield b()})}return o&&p.value.kickUserEnabled&&o.addControlItem({controlType:"kickUser",sort:()=>Ye.kickUser,hidden:()=>!_.value,text:()=>m.value?l("manage.cancelKick"):l("manage.kick"),clickCallback:C}),{canKickUser:_,isKickedUser:m,kickUser:b,cancelKickUser:x,toggleKickUser:C}},wd=t=>{const{chatMsg:e,controlContext:n}=t,{chatTarget:r,ChatMsgSource:o}=q(),i=[o.CustomClient,o.CustomServer],{$t:s}=G(),{manageConfig:c}=_e(),a=$t({chatMsg:e,disabledSources:i}),{isSpecialUser:l,isSelfMsg:p,msgUser:f}=st(e),h=cd(),d=u.computed(()=>{var _;return!c.value.motivationLikeEnabled||!a.checkPermission()?!1:!p.value&&!l.value&&!!((_=f.value)!=null&&_.userId)}),v=u.computed(()=>!f.value||!f.value.userId?!1:h.msgIdIsMotivated(e.value.id));function g(){return P(this,null,function*(){var w;if(!d.value||!((w=f.value)!=null&&w.userId)||v.value)return;const _=e.value.id,m=f.value.userId;yield r.manage.motivateLike({motivatedId:m,chatMsgId:_}),h.appendMotivatedMsgId(_)})}return n&&c.value.motivationLikeEnabled&&n.addControlItem({controlType:"motivationLike",sort:()=>Ye.motivationLike,hidden:()=>!d.value,text:()=>v.value?s("manage.liked"):s("manage.like"),clickCallback:g}),{canMotivationLike:d,isMotivated:v,motivateLike:g}};var Ci={},J1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getColorDescription=t.defaultIconConfig=t.currentColor=void 0,t.currentColor="currentColor",t.defaultIconConfig={size:"1em",type:"outline",strokeLinecap:"round",strokeLinejoin:"round",colors:{outline:{background:"none"},filled:{background:"#FFF"},twoTone:{stroke:"#333",fill:"#2F88FF"},multiColor:{outStroke:"#333",outFill:"#2F88FF",innerStroke:"#FFF",innerFill:"#43CCF8"}}};var e=function(n,r){var o=typeof n=="string"?[n]:n||[],i=[t.currentColor,t.currentColor,t.currentColor,t.currentColor];switch(r){case"outline":{i[0]=typeof o[0]=="string"?o[0]:t.currentColor,i[1]="none",i[2]=typeof o[0]=="string"?o[0]:t.currentColor,i[3]="none";break}case"filled":{i[0]=typeof o[0]=="string"?o[0]:t.currentColor,i[1]=typeof o[0]=="string"?o[0]:t.currentColor,i[2]="#FFF",i[3]="#FFF";break}case"two-tone":{var s=t.defaultIconConfig.colors.twoTone,c=s.stroke,a=s.fill;i[0]=typeof o[0]=="string"?o[0]:c,i[1]=typeof o[1]=="string"?o[1]:a,i[2]=typeof o[0]=="string"?o[0]:c,i[3]=typeof o[1]=="string"?o[1]:a;break}case"multi-color":{var l=t.defaultIconConfig.colors.multiColor,p=l.outStroke,f=l.outFill,h=l.innerStroke,d=l.innerFill;i[0]=typeof o[0]=="string"?o[0]:p,i[1]=typeof o[1]=="string"?o[1]:f,i[2]=typeof o[2]=="string"?o[2]:h,i[3]=typeof o[3]=="string"?o[3]:d;break}}return i};t.getColorDescription=e})(J1);var nn={},Pr={};Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.CLASS_NAME_PREFIX=void 0,Pr.CLASS_NAME_PREFIX="polyv",Object.defineProperty(nn,"__esModule",{value:!0}),nn.line2UpperCase=nn.createClsName=void 0;var bd=Pr,yd=function(t){return"".concat(bd.CLASS_NAME_PREFIX,"-").concat(t)};nn.createClsName=yd;var xd=function(t){return t.replace(/(^\w|-\w)/g,function(e){return e.slice(-1).toUpperCase()})};nn.line2UpperCase=xd,Object.defineProperty(Ci,"__esModule",{value:!0});var oe=Ci.IconBuilder=void 0,Mn=J1,V1=nn,Cd=function(t,e){var n={name:t,props:["size","type","color","strokeLinecap","strokeLinejoin"],computed:{renderData:function(){var r=this.color,o=this.type||Mn.defaultIconConfig.type,i=this.size||Mn.defaultIconConfig.size,s=this.strokeLinecap||Mn.defaultIconConfig.strokeLinecap,c=this.strokeLinejoin||Mn.defaultIconConfig.strokeLinejoin,a=(0,Mn.getColorDescription)(r,o);return{size:i,colorDesc:a,strokeLinecap:s,strokeLinejoin:c}}},render:function(r){var o=this.renderData,i=[(0,V1.createClsName)("icon"),(0,V1.createClsName)("icon-".concat(t))],s={};return o.size&&(s.fontSize="".concat(o.size,"px")),r("span",{class:i.join(" "),style:s,on:this.$listeners,attrs:this.$attrs,domProps:{innerHTML:e(o)}})}};return n};oe=Ci.IconBuilder=Cd;const Qd=oe("cancel-translate",t=>`
|
|
495
|
+
*/function Q8(t,e){if(!uc.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r=typeof o[n]=="function"}return!r&&pc&&t==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var k8=Q8,E8=b8,S8=k8,fc=10,dc=40,mc=800;function gc(t){var e=0,n=0,r=0,o=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),r=e*fc,o=n*fc,"deltaY"in t&&(o=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||o)&&t.deltaMode&&(t.deltaMode==1?(r*=dc,o*=dc):(r*=mc,o*=mc)),r&&!e&&(e=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:o}}gc.getEventType=function(){return E8.firefox()?"DOMMouseScroll":S8("wheel")?"wheel":"mousewheel"};var I8=gc,T8=I8;const hc=w8(T8);function L8(t,e={}){const{onWheel:n,onUp:r,onDown:o,preventDefault:i=!0}=e;Dt(()=>{const s=hc.getEventType();te(t,s,c=>{i&&c.preventDefault();const a=hc(c);n&&n(a),a.spinY<0&&r&&r(),a.spinY>0&&o&&o()})})}function P8(t){const e=[],n=i=>{if(typeof i=="string"){const c=document.querySelectorAll(i);c&&c.forEach(a=>e.push(a));return}const s=de(i);s instanceof HTMLElement&&e.push(s)},r=typeof t=="function"?t():t;return(Array.isArray(r)?r:[r]).forEach(n),e}function vc(t,e){let n=!1;return P8(e).forEach(o=>{const i=de(o);i instanceof HTMLElement&&i.contains(t)&&(n=!0)}),n}function Tr(t,e,n=!0){const{isMac:r}=se(),o=a=>{const l=a.target;l&&(vc(l,t)||e({listenOutSideEvent:s,removeOutSideEvent:c}))};let i=!1;function s(){if(i)return;i=!0;const a=r?"click":"mouseup";document.addEventListener(a,o,{capture:!0})}function c(){const a=r?"click":"mouseup";document.removeEventListener(a,o,{capture:!0}),i=!1}return p.onMounted(()=>{n&&s()}),p.onBeforeUnmount(()=>{c()}),{listenOutSideEvent:s,removeOutSideEvent:c}}function A8(t,e,n=!0){const r=c=>{const a=c.target;a&&(vc(a,t)||e({listenOutSideEvent:i,removeOutSideEvent:s}))};let o=!1;function i(){o||(o=!0,document.addEventListener("mousemove",r,{capture:!0}))}function s(){document.removeEventListener("mousemove",r,{capture:!0}),o=!1}return p.onMounted(()=>{n&&i()}),p.onBeforeUnmount(()=>{s()}),{listenOutSideEvent:i,removeOutSideEvent:s}}function li(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var $8=typeof global=="object"&&global&&global.Object===Object&&global,R8=typeof self=="object"&&self&&self.Object===Object&&self,_c=$8||R8||Function("return this")(),ui=function(){return _c.Date.now()},O8=/\s/;function D8(t){for(var e=t.length;e--&&O8.test(t.charAt(e)););return e}var z8=/^\s+/;function F8(t){return t&&t.slice(0,D8(t)+1).replace(z8,"")}var Lr=_c.Symbol,wc=Object.prototype,B8=wc.hasOwnProperty,M8=wc.toString,Mn=Lr?Lr.toStringTag:void 0;function N8(t){var e=B8.call(t,Mn),n=t[Mn];try{t[Mn]=void 0;var r=!0}catch(i){}var o=M8.call(t);return r&&(e?t[Mn]=n:delete t[Mn]),o}var H8=Object.prototype,U8=H8.toString;function j8(t){return U8.call(t)}var q8="[object Null]",W8="[object Undefined]",bc=Lr?Lr.toStringTag:void 0;function G8(t){return t==null?t===void 0?W8:q8:bc&&bc in Object(t)?N8(t):j8(t)}function Z8(t){return t!=null&&typeof t=="object"}var Y8="[object Symbol]";function K8(t){return typeof t=="symbol"||Z8(t)&&G8(t)==Y8}var yc=NaN,X8=/^[-+]0x[0-9a-f]+$/i,J8=/^0b[01]+$/i,V8=/^0o[0-7]+$/i,e4=parseInt;function xc(t){if(typeof t=="number")return t;if(K8(t))return yc;if(li(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=li(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=F8(t);var n=J8.test(t);return n||V8.test(t)?e4(t.slice(2),n?2:8):X8.test(t)?yc:+t}var t4="Expected a function",n4=Math.max,r4=Math.min;function pi(t,e,n){var r,o,i,s,c,a,l=0,u=!1,f=!1,h=!0;if(typeof t!="function")throw new TypeError(t4);e=xc(e)||0,li(n)&&(u=!!n.leading,f="maxWait"in n,i=f?n4(xc(n.maxWait)||0,e):i,h="trailing"in n?!!n.trailing:h);function d(C){var E=r,Q=o;return r=o=void 0,l=C,s=t.apply(Q,E),s}function _(C){return l=C,c=setTimeout(g,e),u?d(C):s}function m(C){var E=C-a,Q=C-l,S=e-E;return f?r4(S,i-Q):S}function w(C){var E=C-a,Q=C-l;return a===void 0||E>=e||E<0||f&&Q>=i}function g(){var C=ui();if(w(C))return v(C);c=setTimeout(g,m(C))}function v(C){return c=void 0,h&&r?d(C):(r=o=void 0,s)}function b(){c!==void 0&&clearTimeout(c),l=0,r=a=o=c=void 0}function y(){return c===void 0?s:v(ui())}function x(){var C=ui(),E=w(C);if(r=arguments,o=this,a=C,E){if(c===void 0)return _(a);if(f)return clearTimeout(c),c=setTimeout(g,e),d(a)}return c===void 0&&(c=setTimeout(g,e)),s}return x.cancel=b,x.flush=y,x}function Cc(t={}){var f,h;const e=(f=t.scrollRef)!=null?f:p.ref(),n=(h=t.direction)!=null?h:"vertical",r=pi(d=>{var C;const _=d.target;if(!_)return;const{scrollTop:m,scrollHeight:w,clientHeight:g,scrollLeft:v,scrollWidth:b,clientWidth:y}=_;let x=!1;n==="vertical"&&m+g>=w-g*.2&&(x=!0),n==="horizontal"&&v+y>=b-y*.2&&(x=!0),x&&((C=t.nextCallback)==null||C.call(t))},300);Dt(()=>{te(e,"scroll",r)});function o(){e.value&&(e.value.scrollTop=0)}function i(){e.value&&(e.value.scrollTop=e.value.scrollHeight)}function s(){return e.value?e.value.scrollTop+e.value.clientHeight>=e.value.scrollHeight-e.value.clientHeight*.2:!1}function c(){if(e.value)return e.value}const a=p.ref(!1);function l(){return P(this,null,function*(){yield p.nextTick();const d=c();return!d||!d.clientHeight||a.value?void 0:d.scrollHeight>d.clientHeight})}function u(){return P(this,null,function*(){yield p.nextTick();const d=c();return!d||!d.clientWidth||a.value?void 0:d.scrollWidth>d.clientWidth})}return p.onBeforeUnmount(()=>{r.cancel(),a.value=!0}),{scrollRef:e,scrollToTop:o,scrollToBottom:i,isNearBottom:s,hasVerticalScrollbar:l,hasHorizontalScrollbar:u}}function Qc(t,e={}){const{immediate:n=!0}=e,r=e.keyword||p.ref(""),o=e.pageNumber||p.ref(1),i=e.pageSize||p.ref(10),s=e.contents||p.ref([]),c=e.totalItems||p.ref(0),a=e.totalPages||p.ref(0),l=p.ref(!1),u=p.ref(!1),f=p.ref(!1),h=p.computed(()=>s.value.length===0&&f.value),{scrollRef:d,hasVerticalScrollbar:_}=Cc({scrollRef:e.scrollRef,nextCallback:w,direction:e.direction});function m(){return P(this,arguments,function*(C={}){var I,T;const{setTotalPages:E=!0}=C,Q=(I=C.pageNumber)!=null?I:o.value,S=(T=C.pageSize)!=null?T:i.value;u.value=!0;try{const L=yield t({pageNumber:Q,pageSize:S,keyword:r.value});return L.pageNumber===1?s.value=[...L.contents]:s.value.push(...L.contents),E&&(a.value=L.totalPages||0),c.value=L.totalItems||0,l.value=L.contents.length<S,u.value=!1,g(),f.value=!0,L}catch(L){u.value=!1}f.value=!0})}function w(){l.value||u.value||a.value>0&&o.value>=a.value||(o.value+=1,m())}function g(){return P(this,null,function*(){(yield _())===!1&&!l.value&&w()})}const v=pi(()=>{y()},300),b=p.computed(()=>{const C={keyword:r.value};return e.getFilterParams&&Object.assign(C,e.getFilterParams()),C});p.watch(b,v),p.onBeforeUnmount(()=>{v.cancel()});function y(){return P(this,null,function*(){o.value=1,d.value&&(d.value.scrollTop=0),yield m()})}function x(){return P(this,null,function*(){yield m({pageNumber:1,pageSize:Math.max(s.value.length,i.value),setTotalPages:!1})})}return n&&p.onMounted(()=>{m()}),{scrollRef:d,pageNumber:o,pageSize:i,contents:s,keyword:r,isEmpty:h,refresh:y,refreshList:x}}nn.warning=()=>{};function fi(t){return typeof t=="string"?t:typeof t=="number"?`${t}px`:t}var Pr=(t=>(t.Default="default",t.Medium="medium",t.Small="small",t))(Pr||{});const kc=["inline","header"],o4=()=>({formData:k.object().def({}),formRules:k.object().def({}),labelWidth:k.looseNumber,labelHeight:k.looseNumber,contentWidth:k.looseNumber,submitAction:k.func(),labelModel:k.oneOf(kc).def("header"),size:k.enum()}),i4=()=>({"submit-form":M()}),Ec=Symbol("FORM_WRAP_PROPS_PROVIDE_KEY"),Sc=()=>p.inject(Ec,void 0),Ic=Symbol("FORM_WRAP_PROVIDE_KEY"),Tc=()=>p.inject(Ic,void 0),s4=t=>{const{props:e,emit:n}=t,{formData:r,submitAction:o,size:i}=ft(e),s=p.ref(!1);let c=[];function a(h){c.some(d=>d.formItemId===h.formItemId)||c.push(h)}function l(h){c=c.filter(d=>d.formItemId!==h)}function u(){return P(this,arguments,function*(h={}){if(c.length!==0)for(let d=0;d<c.length;d++){const _=c[d];try{yield _.validateFormItem(h)}catch(m){return Promise.reject(m)}}})}function f(h){return P(this,null,function*(){try{yield u(h),n("submit-form",p.unref(r));const d=p.unref(o);if(typeof d=="function"){s.value=!0;try{yield d(p.unref(r))}catch(_){s.value=!1}finally{s.value=!1}}}catch(d){console.error("submitForm-error",d.message)}})}return p.provide(Ec,e),p.provide(Ic,{addFormItem:a,removeFormItem:l,size:i,isSubmiting:s,validateCurrentForm:u,submitForm:f}),{isSubmiting:s,validateCurrentForm:u,submitForm:f}},a4=()=>({formField:k.looseString,label:k.looseString,labelWidth:k.looseNumber,labelHeight:k.looseNumber,contentWidth:k.looseNumber,showErrorMessage:k.bool.def(!0),errorMessage:k.looseString,labelModel:k.oneOf(kc),required:k.bool.def(!1)}),Lc=Symbol("FORM_ITEM_PROVIDE_KEY"),c4=()=>p.inject(Lc,void 0),l4=t=>{const{props:e}=t,n=ut(8),r=Sc(),o=Tc(),{isMobile:i}=se(),s=p.ref();function c(){var v;(v=s.value)==null||v.scrollIntoView({behavior:"smooth",block:"center"})}const a=p.computed(()=>{var v,b;return(b=(v=e.labelModel)!=null?v:r==null?void 0:r.labelModel)!=null?b:"inline"}),l=p.computed(()=>{var C,E,Q,S;if(p.unref(a)==="header")return{};const v=170,b=i?52:40,y=(E=(C=e.labelWidth)!=null?C:r==null?void 0:r.labelWidth)!=null?E:v,x=(S=(Q=e.labelHeight)!=null?Q:r==null?void 0:r.labelHeight)!=null?S:b;return{width:fi(y),height:fi(x)}}),u=p.computed(()=>{var b;const v=(b=e.contentWidth)!=null?b:r==null?void 0:r.contentWidth;return fi(v)}),f=p.computed(()=>({width:u.value})),h=p.ref(),d=p.computed(()=>typeof p.unref(h)!="undefined");p.watchEffect(()=>{e.errorMessage?_(e.errorMessage):h.value=void 0}),p.watch(()=>r==null?void 0:r.formRules,()=>{h.value=void 0});function _(v){v&&!e.showErrorMessage||(h.value=v)}function m(){h.value=void 0}function w(v={}){var T;const b=(T=v.showErrorMessage)!=null?T:!0,y=e.formField,x=r==null?void 0:r.formData,C=r==null?void 0:r.formRules;if(!y||!x||!C||!C[y])return Promise.resolve();const E={[y]:C[y]},Q={[y]:x[y]},S=new nn(E);let I;return S.validate(Q,L=>{L&&L.length&&(I=L[0].message)}),b&&e.showErrorMessage&&_(I),new Promise((L,A)=>{typeof I=="undefined"?L():(v.validateFailedCallback&&v.validateFailedCallback(g),A(new Error(I)))})}const g={formItemId:n,scrollIntoView:c,formItemIsError:d,setErrorMessage:_,removeErrorMessage:m,validateFormItem:w};return p.onBeforeMount(()=>{o&&o.addFormItem(g)}),p.onBeforeUnmount(()=>{o&&o.removeFormItem(n)}),p.provide(Lc,g),{itemWrapRef:s,labelModel:a,labelStyle:l,contentWidthStyle:u,contentStyle:f,itemErrorMessage:h,formItemIsError:d,removeErrorMessage:m,validateFormItem:w,formItemInstance:g}},u4=p.defineComponent({__name:"form-item",props:a4(),setup(t,{expose:e}){const n=t,{isMobile:r}=se(),{itemWrapRef:o,labelModel:i,labelStyle:s,itemErrorMessage:c,contentWidthStyle:a,contentStyle:l,formItemIsError:u,formItemInstance:f}=l4({props:n});return e(f),{__sfc:!0,props:n,isMobile:r,itemWrapRef:o,labelModel:i,labelStyle:s,itemErrorMessage:c,contentWidthStyle:a,contentStyle:l,formItemIsError:u,formItemInstance:f}}});var p4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"itemWrapRef",staticClass:"pwc-form-item",class:{"pwc-form-item--header":r.labelModel==="header","pwc-form-item--mobile":r.isMobile}},[r.formItemIsError?n("div",{staticClass:"pwc-form-item__anchor",attrs:{"data-form-item-error":""}}):e._e(),e.label?n("div",{staticClass:"pwc-form-item__label",style:r.labelStyle},[e.required?n("span",{staticClass:"pwc-form-item__label__required"},[e._v(" * ")]):e._e(),e._v(" "+e._s(e.label)+" ")]):e._e(),n("div",{staticClass:"pwc-form-item__content",class:{"pwc-form-item__content--has-width":!!r.contentWidthStyle},style:r.contentStyle},[e._t("default"),r.itemErrorMessage?n("div",{staticClass:"pwc-form-item__content__error"},[e._v(" "+e._s(r.itemErrorMessage)+" ")]):e._e()],2)])},f4=[],d4=J(u4,p4,f4);const Pc=d4.exports,m4=p.defineComponent({__name:"form-wrap",props:o4(),emits:i4(),setup(t,{expose:e,emit:n}){const r=t,{validateCurrentForm:o}=s4({props:r,emit:n});return e({validateCurrentForm:o}),{__sfc:!0,props:r,emit:n,validateCurrentForm:o}}});var g4=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"pwc-form-wrap"},[e._t("default")],2)},h4=[],v4=J(m4,g4,h4);const Ac=v4.exports,$c=()=>({size:k.enum(),validateForm:k.bool.def(!0)}),_4=t=>{const{props:e,classPrefix:n}=t;return{commonClassNames:p.computed(()=>{const o=[],i=e.size;return i&&i!==Pr.Default&&o.push(`${n}--size-${i}`),o})}},Rc=t=>{const{props:e}=t,n=c4();function r(){return P(this,null,function*(){yield n==null?void 0:n.validateFormItem()})}function o(){return P(this,null,function*(){if(e.validateForm)try{yield r()}catch(c){console.error("blur-validate",c.message)}})}function i(){e.validateForm&&(n==null||n.removeErrorMessage())}const s=p.computed(()=>!e.validateForm||!n?!1:p.unref(n.formItemIsError));return{validateCurrentFormItem:r,blurToValidateItem:o,focusToRemoveError:i,formItemIsError:s}},w4=()=>ie(O({[k.modelValueKey]:k.oneOfType([String,Number]).def("")},$c()),{readonly:k.bool.def(!1),disabled:k.bool.def(!1),type:k.string.def("text"),placeholder:k.string.def(""),maxlength:k.number.def(1/0),showWordLimit:k.bool.def(!1),prefixText:k.string.def(""),suffixText:k.string.def(""),clearable:k.bool.def(!1),useTextarea:k.bool.def(!1),rows:k.number.def(4),autoFocus:k.bool.def(!1)}),b4=()=>ie(O({},it()),{blur:M(),focus:M(),enter:M(),clear:M()}),y4=t=>{const{emit:e,props:n,classPrefix:r}=t,{blurToValidateItem:o,focusToRemoveError:i,formItemIsError:s}=Rc({props:n}),{modelValue:c,updateModelValue:a}=Me(n),{commonClassNames:l}=_4({props:n,classPrefix:r}),u=p.ref(),f=p.ref(!1),h=p.ref(!1),d=p.computed(()=>{const T=[...p.unref(l)];return p.unref(s)&&T.push(`${r}--error`),n.useTextarea&&T.push(`${r}--textarea`),T}),_=p.computed(()=>{var L;if(!n.showWordLimit)return"";const T=`${(L=p.unref(c))!=null?L:""}`.length;return n.maxlength===1/0?`${T}`:`${T}/${n.maxlength}`});function m(){a(""),Q(),e("clear")}function w(T){T.preventDefault(),T.stopPropagation(),m()}function g(T){T.preventDefault(),m()}function v(T){let A=T.target.value;n.type==="number"&&(A=A.slice(0,n.maxlength),u.value&&u.value.setAttribute("value",A)),a(A)}function b(){f.value=!1,o(),e("blur",p.unref(c))}function y(){f.value=!0,i(),e("focus",p.unref(c))}function x(){e("enter",p.unref(c))}const{getInstance:C}=qe();function E(){const T=C();T==null||T.$forceUpdate()}function Q(){var T;(T=u.value)==null||T.focus()}function S(){var T;(T=u.value)==null||T.blur()}return p.onMounted(()=>{n.autoFocus&&Q()}),{modelValue:c,inputRef:u,inputClassNames:d,isFocus:f,isHoveringClear:h,onInputChanged:v,onInputBlur:b,onInputFocus:y,onInputEnter:x,clearValue:m,handleClearClick:w,handleClearTouch:g,formInstance:{forceUpdate:E,focusInput:Q,blurInput:S},wordLimitText:_}},x4={name:"PwcInput"},C4=p.defineComponent(ie(O({},x4),{props:w4(),emits:b4(),setup(t,{expose:e,emit:n}){const r=t,{modelValue:o,inputRef:i,inputClassNames:s,onInputChanged:c,onInputBlur:a,onInputFocus:l,formInstance:u,wordLimitText:f,clearValue:h,handleClearClick:d,handleClearTouch:_,isFocus:m,isHoveringClear:w}=y4({props:r,emit:n,classPrefix:"pwc-input"});return e(u),{__sfc:!0,emit:n,props:r,modelValue:o,inputRef:i,inputClassNames:s,onInputChanged:c,onInputBlur:a,onInputFocus:l,formInstance:u,wordLimitText:f,clearValue:h,handleClearClick:d,handleClearTouch:_,isFocus:m,isHoveringClear:w,PwcIconCloseRoundFill:h3}}}));var Q4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-input",class:[r.inputClassNames,{"is-disabled":e.disabled,"is-readonly":e.readonly,"is-focus":r.isFocus}]},[n("div",{staticClass:"pwc-input__main"},[n("div",{staticClass:"pwc-input__main__prefix"},[e._t("prefix",function(){return[e.prefixText?n("span",{staticClass:"pwc-input__main__input__prefix-text"},[e._v(" "+e._s(e.prefixText)+" ")]):e._e()]})],2),n("div",{staticClass:"pwc-input__main__input"},[e.useTextarea?n("textarea",{ref:"inputRef",staticClass:"pwc-input__main__input__inner",attrs:{type:e.type,placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,readonly:e.readonly,rows:e.rows},domProps:{value:r.modelValue},on:{input:r.onInputChanged,blur:r.onInputBlur,focus:r.onInputFocus}}):n("input",{ref:"inputRef",staticClass:"pwc-input__main__input__inner",attrs:{type:e.type,placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,readonly:e.readonly},domProps:{value:r.modelValue},on:{input:r.onInputChanged,blur:r.onInputBlur,focus:r.onInputFocus}})]),n("div",{staticClass:"pwc-input__main__suffix"},[e.clearable&&r.modelValue&&(r.isFocus||r.isHoveringClear)?[n(r.PwcIconCloseRoundFill,{staticClass:"pwc-input__main__input__clearabled",on:{click:r.handleClearClick,mousedown:function(o){o.preventDefault()},mouseenter:function(o){r.isHoveringClear=!0},mouseleave:function(o){r.isHoveringClear=!1}},nativeOn:{touchstart:function(o){return r.handleClearTouch.apply(null,arguments)}}})]:e._e(),e._t("suffix",function(){return[e.suffixText?n("span",{staticClass:"pwc-input__main__input__suffix-text"},[e._v(" "+e._s(e.suffixText)+" ")]):r.wordLimitText?n("span",{staticClass:"pwc-input__main__input__suffix-text"},[e._v(" "+e._s(r.wordLimitText)+" ")]):e._e()]})],2)])])},k4=[],E4=J(C4,Q4,k4);const Nn=E4.exports,S4=()=>({message:k.string,description:k.string,showCancelButton:k.bool,showConfirmButton:k.bool,cancelButtonType:k.enum().def(wt.Info),cancelButtonText:k.string,confirmButtonText:k.string,confirmButtonType:k.enum().def(wt.Primary),showInput:k.bool.def(!1),defaultValue:k.string.def(""),placeholder:k.string.def(""),type:k.string.def("text"),requireMessage:k.string}),I4=()=>({confirm:M(),cancel:M()}),T4=t=>{const{emit:e,props:n}=t,r=p.ref(!1),o=p.ref(),i=p.ref({input:n.defaultValue}),s=p.computed(()=>{const f={};return n.requireMessage&&(f.input=[{type:"string",required:!0,message:n.requireMessage}]),f});function c(){r.value=!0}function a(){r.value=!1}function l(){return P(this,null,function*(){n.showInput?(o.value&&(yield o.value.validateCurrentForm()),e("confirm",i.value.input)):e("confirm"),a()})}function u(){a(),e("cancel")}return p.onMounted(()=>{c()}),{visible:r,formData:i,formRules:s,formRef:o,onClickConfirm:l,onClickCancel:u}},L4=p.defineComponent({__name:"message-box-element",props:S4(),emits:I4(),setup(t,{emit:e}){const n=t,{visible:r,formData:o,formRef:i,formRules:s,onClickConfirm:c,onClickCancel:a}=T4({props:n,emit:e});return{__sfc:!0,props:n,emit:e,visible:r,formData:o,formRef:i,formRules:s,onClickConfirm:c,onClickCancel:a,PwcButton:Fn,PwcFormItem:Pc,PwcFormWrap:Ac,PwcInput:Nn,PwcPopup:st}}});var P4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-message-box",attrs:{position:"center",width:"300px","show-header":!1,background:"#fff","show-modal":!1},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"pwc-message-box__content"},[e.message?n("div",{staticClass:"pwc-message-box__message",domProps:{innerHTML:e._s(e.message)}}):e._e(),e.description?n("div",{staticClass:"pwc-message-box__description",domProps:{innerHTML:e._s(e.description)}}):e._e(),e.showInput?n("div",{staticClass:"pwc-message-box__input"},[n(r.PwcFormWrap,{ref:"formRef",attrs:{"form-data":r.formData,"form-rules":r.formRules}},[n(r.PwcFormItem,{attrs:{"form-field":"input"}},[n(r.PwcInput,{attrs:{clearabled:"",placeholder:e.placeholder,type:e.type},model:{value:r.formData.input,callback:function(o){e.$set(r.formData,"input",o)},expression:"formData.input"}})],1)],1)],1):e._e(),n("div",{staticClass:"pwc-message-box__btns"},[e.showCancelButton?n(r.PwcButton,{staticClass:"pwc-message-box__btn",attrs:{type:e.cancelButtonType,outline:""},on:{click:r.onClickCancel}},[e._v(" "+e._s(e.cancelButtonText)+" ")]):e._e(),e.showConfirmButton?n(r.PwcButton,{staticClass:"pwc-message-box__btn",attrs:{type:e.confirmButtonType},on:{click:r.onClickConfirm}},[e._v(" "+e._s(e.confirmButtonText)+" ")]):e._e()],1)])])},A4=[],$4=J(L4,P4,A4);const di=$4.exports;var Ft=(t=>(t.Normal="normal",t.Delete="delete",t.Clear="clear",t.Submit="submit",t))(Ft||{});const Ar=()=>{const{createVueInstance:t,destroyVueInstance:e}=qe(),{$t:n}=Se();let r;function o(){r&&e(r)}const i=s=>({$confirm:()=>new Promise((c,a)=>{let l=n("messageBox.confirm"),u=wt.Primary,f=n("messageBox.cancel");switch(s.confirmType){case Ft.Delete:l=n("messageBox.delete"),u=wt.Danger;break;case Ft.Clear:l=n("messageBox.clear"),u=wt.Danger;break;case Ft.Submit:l=n("messageBox.submit");break}r=t(di,{props:O({showCancelButton:!0,showConfirmButton:!0,confirmButtonText:l,cancelButtonText:f,confirmButtonType:u},s),on:{confirm:()=>{c(),o()},cancel:()=>{a(new Error("cancel")),o()}}})}),$alert:()=>new Promise(c=>{r=t(di,{props:O({showCancelButton:!1,showConfirmButton:!0,confirmButtonText:n("messageBox.known")},s),on:{confirm:()=>{o()},cancel:()=>{o()}}}),c()}),$prompt:()=>new Promise((c,a)=>{const l=s.confirmButtonText||n("messageBox.confirm"),u=s.cancelButtonText||n("messageBox.cancel");r=t(di,{props:O({showCancelButton:!0,showConfirmButton:!0,showInput:!0,confirmButtonText:l,cancelButtonText:u},s),on:{confirm:f=>{c(f),o()},cancel:()=>{a(new Error("cancel")),o()}}})})});return p.onBeforeUnmount(()=>{o()}),{messageBox:i}},R4=()=>{const{messageBox:t}=Ar();function e(){return P(this,null,function*(){if(window.wx)return Promise.resolve(window.wx)})}function n(r,o={}){return new Promise((i,s)=>{P(this,null,function*(){const c=yield e();if(!c){s(new Error("checkJsApi fail, wx is undefined"));return}c.checkJsApi({jsApiList:[r],success:a=>{if(a!=null&&a.checkResult[r])i();else{o.notSupportMessage&&t({message:o.notSupportMessage}).$alert();const l=`check js api fail, ${r} not support, ${a==null?void 0:a.errMsg}`;console.error(l),s(new Error(l))}}})})})}return{getWeixinSdk:e,checkJsApi:n}},O4=()=>{const{getWeixinSdk:t}=R4();function e(){return new Promise(n=>{P(this,null,function*(){try{const r=yield t();if(!r||!r.miniProgram){n(!1);return}r.miniProgram.getEnv(o=>{n((o==null?void 0:o.miniprogram)===!0)})}catch(r){n(!1)}})})}return{isMiniProgram:e}};function bt(t,e){const n={};function r(){const{appUniqueId:o}=Na();if(!n[o]){const i=p.effectScope(!0);n[o]=i.run(()=>e())}return n[o]}return r.$id=t,r}const mi=()=>{const{toast:t}=ye(),{$t:e}=Se(),{getAppBodyElement:n}=Rn();function r(i){return new Promise((s,c)=>{const a=document.createElement("button");a.style.width="0",a.style.height="0";const l=new B5(a,{text:()=>i,action:()=>"copy"});l.on("success",function(u){l.destroy(),n().removeChild(a),s(u)}),l.on("error",function(u){l.destroy(),n().removeChild(a),c(u)}),n().appendChild(a),a.click()})}function o(){t.success(e("common.copySuccess"))}return{copyText:r,toastCopySuccess:o}};function Oc(t={}){let e,n,r=t.onCountDownChange,o=t.onCountDownFinish;function i(x){e=et(x),m()}function s(x){n=et(x),m()}function c(x={}){typeof x.second=="number"&&i(x.second),typeof x.endTimestamp=="number"&&s(x.endTimestamp),x.onCountDownChange&&(r=x.onCountDownChange),x.onCountDownFinish&&(o=x.onCountDownFinish)}const a={days:0,hours:0,minutes:0,seconds:0,totalMsecs:0},l=p.ref(O({},a)),u=p.computed(()=>{const x=l.value.totalMsecs/1e3;return parseInt(x.toString())}),f=()=>{if(typeof e=="number")return e;if(typeof n=="number"){const x=(n-Date.now())/1e3;return x<0?0:x}return 0};let h;function d(){m(),l.value=O({},a)}function _(){le||(l.value=O({},a),m(),h=new M5(f(),b),w())}function m(){v(),h=void 0}function w(x){x&&c(x),h?h.start():_()}function g(){h&&h.pause()}function v(){h&&h.stop()}function b(x){l.value=x,r&&r(p.unref(l)),x.totalMsecs===0&&o&&o()}const{autoStart:y=!1}=t;return y&&p.onMounted(()=>{f()&&_()}),p.onUnmounted(()=>{m()}),c(t),{surplusTime:l,surplusSecond:u,resetSurplus:d,startCountDown:w,pauseCountDown:g,stopCountDown:v,destroyCountDown:m}}const $r=()=>{const{isIframe:t,isWeixin:e,isMobile:n}=se(),{isMiniProgram:r}=O4(),{getAppBodyElement:o}=Rn(),{copyText:i}=mi(),{$t:s}=Se(),{toast:c}=ye();function a(l,u){return P(this,null,function*(){const f=ha(l,"https"),h=document.createElement("a");if(h.setAttribute("target","_blank"),!u){const _=document.createElement("a");_.href=f;const m=_.pathname.split("/");u=m[m.length-1]}if(t){const _={name:"file",path:f,fileName:u};window.parent.postMessage(_,"*");return}if(yield r()){i(l),c.success(s("common.copyLinkSuccess"));return}if(e||n){h.href=f,o().appendChild(h),h.click(),o().removeChild(h);return}h.href=f,h.download=u,h.click(),h.remove()})}return{downloadFileUrl:a}},Dc=()=>{const{isMobile:t}=se();function e(n){t?window.location.href=n:window.open(n,"_blank")}return{openLink:e}};function $e(t,e,n={}){function r(){if(t)for(const i in e)e[i]&&t.on(i,e[i])}function o(){if(t)for(const i in e)e[i]&&t.off(i,e[i])}return xr({listenEvent:r,removeEvent:o},n),{listenEvent:r,removeEvent:o}}function D4(t,e){const n=p.ref((()=>{try{const r=localStorage.getItem(t);if(r)return JSON.parse(r)}catch(r){}return e})());return p.watch(n,r=>{try{localStorage.setItem(t,JSON.stringify(r))}catch(o){}},{deep:!0}),n}const z4=(t,e)=>{const{popperRef:n,popperVisible:r}=t,{appendTo:o}=e,i=p.computed(()=>{if(le)return;let s;return typeof o!="boolean"&&(s=de(o)),s||(s=document.body),s});o!==!1&&(on(n,i),rn(n,{visible:r}))};function Rr(t){return p.isRef(t)?t:p.ref(t)}function yt(t){return p.computed(()=>et(t))}const F4=(t,e)=>{var i;const{getElement:n}=t,r=yt((i=e.arrow)!=null?i:!1);function o(){if(le)return;const s=p.unref(r),c=typeof s=="boolean"?{}:s,{popperElem:a}=n(),l=document.createElement("div");l.className="pwc-popper-arrow",l.setAttribute("data-popper-arrow",""),l.style.color=c.color||"",l.style.borderWidth=`${c.size}px`,a&&a.appendChild(l)}p.onMounted(()=>{p.unref(r)&&o()})},B4=(t,e,n)=>{var h,d;const{popperVisible:r,hidePopper:o}=t,i=yt((h=e.placement)!=null?h:"bottom"),s=yt((d=e.popperOffset)!=null?d:[0,0]),c={name:"computeStyles",options:{gpuAcceleration:!1,adaptive:!1}},a={name:"eventListeners",fn:({state:_})=>{var w;!!((w=_.modifiersData.hide)!=null&&w.isReferenceHidden)&&p.unref(r)&&o()}},l={name:"offset",options:{offset:({placement:_})=>{var y,x,C,E;let m=0,w=0;const g=p.unref(s);if(g){const Q=(y=g[0])!=null?y:0,S=(x=g[1])!=null?x:0;m+=Q,w+=S}const v=n(),b=(E=(C=v==null?void 0:v.state)==null?void 0:C.elements)==null?void 0:E.arrow;if(b instanceof HTMLElement){const Q=b.offsetWidth,S=b.offsetHeight;(_.includes("top")||_.includes("bottom"))&&(w+=S/2),(_.includes("left")||_.includes("right"))&&(w+=Q/2)}return[m,w]}}},u={name:"arrow",options:{padding:6}};return{popperCoreOptions:p.computed(()=>({placement:p.unref(i),strategy:"absolute",modifiers:[c,a,l,u]}))}},M4=(t,e)=>{const{getElement:n,popperVisible:r}=t,{popperCoreOptions:o}=B4(t,e,s);let i;function s(){return i}function c(){return P(this,null,function*(){yield p.nextTick();const u=s();u&&u.update()})}function a(){l();const{referenceElem:u,popperElem:f}=n();u&&f&&(i=i5(u,f,p.unref(o)))}function l(){const u=s();u&&(u.destroy(),i=void 0)}return p.watch(()=>p.unref(r),()=>P(this,null,function*(){yield p.nextTick(),p.unref(r)?a():l()})),p.watch(()=>p.unref(o),()=>{const u=s();u&&u.setOptions(p.unref(o))}),p.onUnmounted(()=>{l()}),{getPopperCtx:s,updatePopper:c,createPopperCore:a,destroyPopperCore:l}},N4=t=>{const e=Rr(t.referenceRef),n=Rr(t.popperRef),r=Rr(t.inputRef);function o(){return{referenceElem:de(e),popperElem:de(n),inputElem:de(r)}}return{referenceRef:e,popperRef:n,inputRef:r,getElement:o}},gi=["top","bottom","left","right","top-start","top-end","bottom-start","bottom-end","left-start","left-end","right-start","right-end"],zc=["click","hover","focus","long-press","custom"],H4=(t,e)=>{var E,Q,S;const{popperDisabled:n,getElement:r,showPopper:o,hidePopper:i,togglePopper:s,delayShowPopper:c,delayHidePopper:a}=t,l=yt((E=e.trigger)!=null?E:"click"),u=yt((Q=e.hoverEnterDelay)!=null?Q:100),f=yt((S=e.hoverLeaveDelay)!=null?S:100);Tr(()=>{const{referenceElem:I,popperElem:T}=r(),L=[];return I&&L.push(I),T&&L.push(T),L},()=>{et(l).includes("click")&&i()});const h=()=>{if(p.unref(n))return;d();const{referenceElem:I}=r();I&&I.addEventListener("click",s)},d=()=>{const{referenceElem:I}=r();I&&I.removeEventListener("click",s)};p.onBeforeUnmount(d);const _=()=>{p.unref(n)||c(p.unref(u))},m=()=>{a(p.unref(f))},w=()=>{const{referenceElem:I,popperElem:T}=r();g(),I&&T&&(I.addEventListener("mouseenter",_),I.addEventListener("mouseleave",m),T.addEventListener("mouseenter",_),T.addEventListener("mouseleave",m))},g=()=>{const{referenceElem:I,popperElem:T}=r();I&&(I.removeEventListener("mouseenter",_),I.removeEventListener("mouseleave",m)),T&&(T.removeEventListener("mouseenter",_),T.removeEventListener("mouseleave",m))};p.onBeforeUnmount(g);const v=()=>{p.unref(n)||o()},b=()=>{i()},y=()=>{x();const{inputElem:I}=r();I&&(I.addEventListener("focus",v),I.addEventListener("blur",b))},x=()=>{const{inputElem:I}=r();I&&(I.removeEventListener("focus",v),I.removeEventListener("blur",b))};p.onBeforeUnmount(x);const C=()=>{const I=et(l);I.includes("click")&&h(),I.includes("hover")&&w(),I.includes("focus")&&y()};p.onMounted(()=>{C()}),p.watch(()=>{const{referenceElem:I}=r();return I},C)},U4=(t,e)=>{var i;const{getElement:n,popperVisible:r}=t,o=yt((i=e.followReferenceWidth)!=null?i:!1);p.watchEffect(()=>{const{referenceElem:s,popperElem:c}=n();if(p.unref(o)&&p.unref(r)&&s&&c){const a=s.clientWidth;c instanceof HTMLElement&&(c.style.width=`${a}px`)}})},j4=(t={})=>{var d,_;const e=Rr((d=t.popperVisible)!=null?d:p.ref(!1)),n=yt((_=t.popperDisabled)!=null?_:!1);function r(m=!1){m&&t.beforeShowPopper&&!t.beforeShowPopper()||(f(),h(),e.value=m)}function o(){r(!0)}function i(){r(!1)}function s(){r(!p.unref(e))}let c,a;function l(m=100){if(f(),h(),!m){o();return}c=window.setTimeout(()=>o(),m)}function u(m=100){if(f(),h(),!m){i();return}a=window.setTimeout(()=>i(),m)}function f(){clearTimeout(c),c=void 0}function h(){clearTimeout(a),a=void 0}return p.onBeforeUnmount(()=>{f(),h()}),{popperVisible:e,popperDisabled:n,showPopper:o,hidePopper:i,togglePopper:s,delayShowPopper:l,delayHidePopper:u}},Hn=(t={})=>{const e=N4(t),n=j4(t),r=O(O({},e),n);return U4(r,t),z4(r,t),F4(r,t),H4(r,t),M4(r,t),r},q4=()=>({controller:k.object().isRequired}),W4=t=>{const{props:e}=t,{openDataExportRecord:n}=Yo();function r(){n(e.controller.refId)}const{referenceRef:o,popperRef:i,popperVisible:s,showPopper:c,hidePopper:a}=Hn({trigger:"custom",arrow:!0,popperOffset:[0,5]}),l=p.ref(),u=p.ref(),f=p.ref(Date.now()),{surplusSecond:h,startCountDown:d}=Oc({second:5,onCountDownFinish:()=>{a()}}),{startTimeout:_,closeTimeout:m}=an(()=>P(this,null,function*(){if(!e.controller.getSuccessRecordsAfterTime){console.warn("getSuccessRecordsAfterTime is not implemented");return}const y=yield e.controller.getSuccessRecordsAfterTime(f.value);y&&y.length>0&&(u.value=y[0],f.value=Date.now(),c(),d({second:5})),l.value&&l.value.status==="pending"&&w()}),10*1e3);function w(){return P(this,null,function*(){if(!e.controller.getLatestRecord){console.warn("getLatestRecord is not implemented");return}f.value=Date.now(),l.value=yield e.controller.getLatestRecord(),l.value&&_()})}const g=p.ref(!1);he(Va,y=>{e.controller.refId===y&&(w(),!g.value&&(g.value=!0,c()))}),he(Ja,y=>{e.controller.refId===y&&m()}),p.onMounted(()=>{w()});const{downloadFileUrl:v}=$r();function b(){u.value&&v(u.value.downloadUrl,u.value.fileName)}return{referenceRef:o,popperRef:i,popperVisible:s,onClickEntrance:r,tipsShow:g,hidePopper:a,showPopper:c,successRecord:u,surplusCloseSecond:h,downloadSuccessFile:b}};q4();const G4=()=>({icon:k.icon(),text:k.string}),Z4=p.defineComponent({__name:"empty",props:G4(),setup(t){const{$t:e}=Se();return{__sfc:!0,$t:e,PwcIconList:y3}}});var Y4=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-empty"},[e.icon?e._e():n(r.PwcIconList,{staticClass:"pwc-empty__icon"}),n(e.icon,{tag:"component",staticClass:"pwc-empty__icon"}),n("span",{staticClass:"pwc-empty__text"},[e._v(" "+e._s(e.text||r.$t("common.empty"))+" ")])],1)},K4=[],X4=J(Z4,Y4,K4);const cn=X4.exports,hi=Symbol("popperInjectKey"),J4=()=>({trigger:k.oneOf(zc).def("click"),placement:k.oneOf(gi).def("bottom"),arrow:k.bool.def(!1),offset:k.oneOfType([Array]),disabled:k.bool.def(!1),beforeShowPopper:k.func()}),V4=p.defineComponent({__name:"popper",props:J4(),setup(t,{expose:e}){const n=t,{disabled:r,trigger:o,placement:i}=ft(n),s=p.ref(),c=p.ref(),a=p.ref(),l=p.ref(!1);return Hn({popperVisible:l,referenceRef:c,popperRef:a,arrow:n.arrow,popperOffset:n.offset,popperDisabled:r,trigger:o,placement:i,beforeShowPopper:n.beforeShowPopper}),p.provide(hi,{referenceRef:c,popperRef:a,popperVisible:l}),p.watch(()=>[s.value,c.value],()=>{var h;const u=de(s),f=de(c);u instanceof HTMLElement&&f instanceof HTMLElement&&((h=u.parentNode)==null||h.replaceChild(f,u))}),p.onBeforeUnmount(()=>{const u=de(c);u&&u.remove()}),e({referenceRef:c,popperRef:a,popperVisible:l}),{__sfc:!0,props:n,disabled:r,trigger:o,placement:i,popperWrapRef:s,referenceRef:c,popperRef:a,popperVisible:l}}});var e6=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{ref:"popperWrapRef"},[e._t("default")],2)},t6=[],n6=J(V4,e6,t6);const r6=n6.exports,o6=p.defineComponent({name:"PwcOnlySlot",props:{[k.modelValueKey]:k.any},setup(t,{slots:e}){const{updateModelValue:n}=Me(t);function r(o){return P(this,null,function*(){if(!o||o.length===0)return;yield p.nextTick();const i=be.getVNodeElem(o[0]);n(i)})}return()=>{var i;const o=(i=e.default)==null?void 0:i.call(e);return r(o),o}}}),i6=p.defineComponent({__name:"popper-reference",setup(t){const{referenceRef:e}=p.inject(hi);return{__sfc:!0,referenceRef:e,PwcOnlySlot:o6}}});var s6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcOnlySlot,{model:{value:r.referenceRef,callback:function(o){r.referenceRef=o},expression:"referenceRef"}},[e._t("default")],2)},a6=[],c6=J(i6,s6,a6);const l6=c6.exports,u6=p.defineComponent({__name:"popper-content",setup(t){const{popperRef:e,popperVisible:n}=p.inject(hi);return{__sfc:!0,popperRef:e,popperVisible:n}}});var p6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"pwc-popper-content"},[e._t("default")],2)])},f6=[],d6=J(u6,p6,f6);const m6=d6.exports,g6=["dark","light","auto"],h6=()=>({content:k.string,placement:k.oneOf(gi).def("bottom"),effect:k.oneOf(g6).def("auto"),disabled:k.bool.def(!1),tooltipClass:k.string,onlyTextEllipsis:k.bool.def(!1)}),v6=p.defineComponent({__name:"tooltip",props:h6(),setup(t){const e=t,{isTextEllipsis:n}=oc(),r=p.ref();return{__sfc:!0,props:e,isTextEllipsis:n,popperRef:r,beforeShowPopper:()=>{if(r.value&&e.onlyTextEllipsis){const i=r.value.referenceRef;return n(i)}return!0},PwcIconQuestionRound:Da,PwcPopper:r6,PwcPopperContent:m6,PwcPopperReference:l6}}});var _6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopper,{ref:"popperRef",attrs:{arrow:"",trigger:"hover",offset:[0,4],disabled:e.disabled,placement:e.placement,"before-show-popper":r.beforeShowPopper}},[n(r.PwcPopperReference,[e._t("default",function(){return[n(r.PwcIconQuestionRound,{staticClass:"pwc-tooltip__reference__icon"})]})],2),n(r.PwcPopperContent,{staticClass:"pwc-tooltip-popper",class:[e.tooltipClass,{"pwc-tooltip-popper--dark":e.effect==="dark","pwc-tooltip-popper--light":e.effect==="light","pwc-tooltip-popper--auto":e.effect==="auto"}]},[n("span",[e._t("content",function(){return[e._v(e._s(e.content))]})],2)])],1)},w6=[],b6=J(v6,_6,w6);const y6=b6.exports,x6=p.defineComponent({__name:"tooltip-popper",setup(t,{expose:e}){const n=p.ref(""),r=p.ref("bottom"),o=p.ref("auto"),i=p.ref(!1),s=p.ref(""),c=p.ref(!1),{isTextEllipsis:a}=oc(),{referenceRef:l,popperRef:u,popperVisible:f}=Hn({placement:r,popperDisabled:i,arrow:!0,trigger:"hover",popperOffset:[0,4],beforeShowPopper:()=>c.value&&l.value?a(l.value):!0});function h(_){var m,w,g,v,b,y;n.value=(m=_.content)!=null?m:n.value,r.value=(w=_.placement)!=null?w:r.value,o.value=(g=_.effect)!=null?g:o.value,i.value=(v=_.disabled)!=null?v:i.value,s.value=(b=_.tooltipClass)!=null?b:s.value,c.value=(y=_.onlyTextEllipsis)!=null?y:c.value}function d(_){l.value=_}return e({setOptions:h,setReference:d}),{__sfc:!0,content:n,placement:r,effect:o,disabled:i,tooltipClass:s,onlyTextEllipsis:c,isTextEllipsis:a,referenceRef:l,popperRef:u,popperVisible:f,setOptions:h,setReference:d}}});var C6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"pwc-tooltip-popper",class:[r.tooltipClass,{"pwc-tooltip-popper--dark":r.effect==="dark","pwc-tooltip-popper--light":r.effect==="light","pwc-tooltip-popper--auto":r.effect==="auto"}]},[n("span",[e._v(e._s(r.content))])])])},Q6=[],k6=J(x6,C6,Q6);const E6=k6.exports,ln=Symbol("tooltip-instance");function S6(t){const e=t.value;return typeof e=="string"?{content:e}:e}const Fc=(t,e,n)=>{let r;t[ln]?r=t[ln].tooltipVm:(r=be.createVueInstance(E6,{instanceVm:n.ctx,parent:n.context}),r.setReference(t),t[ln]={tooltipVm:r});const o=S6(e);r.setOptions(o)},I6=t=>{t[ln]&&(be.destroyVueInstance(t[ln].tooltipVm),delete t[ln])};be.defineDirective({bindHook:Fc,updateHook:Fc,unbindHook:I6});const T6=()=>({title:k.string,controller:k.object().isRequired}),L6=t=>{const{props:e}=t,{getEmitter:n}=Ee(),{contents:r,scrollRef:o,refresh:i,refreshList:s}=Qc(m=>P(this,null,function*(){return e.controller.getRecord?yield e.controller.getRecord({pageNumber:m.pageNumber,pageSize:m.pageSize}):(console.warn("getRecord is not implemented"),{pageNumber:m.pageNumber,pageSize:m.pageSize,totalItems:0,totalPages:0,contents:[]})}),{immediate:!1}),{visible:c,open:a,close:l}=_t({showCallback(){i(),n().emit(Ja,e.controller.refId)},hideCallback(){h(),n().emit(Va,e.controller.refId)}}),u=p.computed(()=>r.value.some(m=>m.status==="pending")),{startInterval:f,closeInterval:h}=kr(()=>{s()},3e3);p.watch(u,()=>{u.value?f():h()},{immediate:!0}),he(Xa,m=>{e.controller.refId&&e.controller.refId!==m||a()});const{messageBox:d}=Ar();function _(){return P(this,null,function*(){e.controller.clearRecord&&(yield d({message:"确定清除所有导出记录吗?",confirmType:Ft.Clear}).$confirm(),yield e.controller.clearRecord(),i())})}return{visible:c,recordList:r,scrollRef:o,openRecord:a,closeRecord:l,onClickClearRecord:_}},P6=["word","excel","pdf","ppt","txt","zip"],A6=()=>({size:k.number.def(28),type:k.oneOf(P6),name:k.looseString}),$6=p.defineComponent({__name:"file-icon",props:A6(),setup(t){const e=t,n=p.computed(()=>e.type?e.type:e.name?zs(decodeURIComponent(e.name)):"");return{__sfc:!0,props:e,fileType:n}}});var R6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-file-icon",class:[r.fileType?`pwc-file-icon--${r.fileType}`:""],style:{width:`${r.props.size}px`,height:`${r.props.size}px`}})},O6=[],D6=J($6,R6,O6);const z6=D6.exports,F6=p.defineComponent({__name:"record-item",props:{record:k.object().isRequired,controller:k.object().isRequired},emits:{refresh:M()},setup(t,{emit:e}){const n=t,r=p.computed(()=>{const c=N0(n.record.fileSize,mt.KB);return c.value.toFixed(2)+c.unit}),{downloadFileUrl:o}=$r(),{$t:i}=Se();function s(){return P(this,null,function*(){n.controller.redo&&(yield n.controller.redo(n.record),e("refresh"))})}return{__sfc:!0,props:n,emit:e,sizeText:r,downloadFileUrl:o,$t:i,onClickRedo:s,PwcIconDownLoad:_3,formatDate:hr,PwcFileIcon:z6}}});var B6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-data-export-record__item"},[n("div",{staticClass:"pwc-data-export-record__item__top"},[n("span",[e._v(e._s(r.$t("dataExport.fileGenerateTime"))+e._s(r.formatDate(e.record.createTime,"YYYY-MM-DD hh:mm")))]),e.record.fileSize?n("span",[e._v(e._s(r.sizeText))]):e._e()]),n("div",{staticClass:"pwc-data-export-record__item__name"},[n(r.PwcFileIcon,{staticClass:"pwc-data-export-record__item__icon",attrs:{name:e.record.downloadUrl||e.record.fileName}}),n("span",[e._v(e._s(e.record.fileName))])],1),n("div",{staticClass:"pwc-data-export-record__item__progress"},[n("span",{style:{width:`${e.record.progress}%`}})]),n("div",{staticClass:"pwc-data-export-record__item__bottom"},[e.record.status==="pending"?n("span",[e._v(e._s(r.$t("dataExport.generating"))+" "+e._s(e.record.progress)+"%")]):e._e(),e.record.status==="success"?n("span",[e._v(e._s(r.$t("dataExport.completed"))+" 100%")]):e._e(),e.record.status==="failed"?n("span",{staticClass:"is-error"},[e._v(e._s(r.$t("dataExport.generationFailed")))]):e._e(),e.record.status==="expired"?n("span",{staticClass:"is-error"},[e._v(e._s(r.$t("dataExport.expired")))]):e._e(),e.record.downloadUrl&&e.record.status==="success"?n("div",{staticClass:"pwc-data-export-record__item__download",on:{click:function(o){return r.downloadFileUrl(e.record.downloadUrl)}}},[n(r.PwcIconDownLoad),e._v(" "+e._s(r.$t("dataExport.downloadToLocal"))+" ")],1):e._e(),e.record.status==="failed"&&e.controller.redo?n("div",{staticClass:"pwc-data-export-record__item__download",on:{click:r.onClickRedo}},[e._v(" "+e._s(r.$t("dataExport.regenerate"))+" ")]):e._e()])])},M6=[],N6=J(F6,B6,M6);const H6=N6.exports,U6=p.defineComponent({__name:"data-export-record",props:T6(),setup(t,{expose:e}){const n=t,{visible:r,recordList:o,scrollRef:i,openRecord:s,closeRecord:c,onClickClearRecord:a}=L6({props:n}),{isMobile:l}=se(),{$t:u}=Se();return e({openRecord:s,closeRecord:c}),{__sfc:!0,props:n,visible:r,recordList:o,scrollRef:i,openRecord:s,closeRecord:c,onClickClearRecord:a,isMobile:l,$t:u,PwcIconQuestionRound:Da,PwcEmpty:cn,PwcTooltip:y6,PwcPopup:st,RecordItem:H6}}});var j6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-data-export-record",attrs:{width:r.isMobile?"":"560px","header-class":"pwc-data-export-record__header"},scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticClass:"pwc-data-export-record__title"},[e._v(" "+e._s(e.title||r.$t("dataExport.defaultTitle"))+" "),n(r.PwcTooltip,{attrs:{content:r.$t("dataExport.recordValidPeriod")}},[n(r.PwcIconQuestionRound,{staticClass:"pwc-data-export-record__title__icon"})],1),e.controller.clearRecord?n("span",{staticClass:"pwc-data-export-record__title__clear",on:{click:r.onClickClearRecord}},[e._v(" "+e._s(r.$t("dataExport.clearRecord"))+" ")]):e._e()],1)]},proxy:!0}]),model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{ref:"scrollRef",staticClass:"pwc-data-export-record__content"},[r.recordList.length===0?n(r.PwcEmpty,{staticClass:"pwc-data-export-record__empty",attrs:{text:r.$t("dataExport.empty")}}):e._e(),e._l(r.recordList,function(o){return n(r.RecordItem,{key:o.id,attrs:{record:o,controller:e.controller}})})],2)])},q6=[],W6=J(U6,j6,q6);const G6=W6.exports,Z6=()=>({iconUrl:k.string,text:k.string,countdownSecond:k.number,countdownTimestamp:k.number}),Y6=()=>({"click-pendant":M(),"countdown-finish":M()});Z6(),Y6();const K6=p.defineComponent({__name:"picker-popup",props:{pickerValue:k.array().def([]),pickerData:k.array().def([]),areaData:k.array().def([])},emits:{"update-value":M()},setup(t,{emit:e}){const n=t,{$t:r}=Se(),o=p.ref(0),i=p.computed(()=>{const u=[{name:r("areaPicker.province"),isSelected:!1},{name:r("areaPicker.city"),isSelected:!1},{name:r("areaPicker.area"),isSelected:!1}];return n.pickerData.forEach((f,h)=>{h<u.length&&(u[h].name=f.name,u[h].isSelected=!0)}),u}),s=p.computed(()=>{let u=n.areaData;if(o.value>0){const f=n.pickerData[o.value-1];f&&f.childrens&&Array.isArray(f.childrens)&&(u=[...f.childrens])}return u});p.watch(()=>n.pickerData,()=>{n.pickerData.length===0&&(o.value=0)});function c(u){(u===0||u<=n.pickerData.length)&&(o.value=u)}function a(u){return P(this,null,function*(){let f=[...n.pickerValue];f[o.value]=u.code,f=f.slice(0,o.value+1),e("update-value",f),yield p.nextTick(),o.value<i.value.length-1&&o.value++})}function l(u){return n.pickerValue.includes(u)}return{__sfc:!0,props:n,emit:e,$t:r,dimension:o,tabList:i,listData:s,onClickTab:c,onClickData:a,isSelected:l,PwcIconCheck:Ra}}});var X6=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-area-picker__popup"},[n("div",{staticClass:"pwc-area-picker__popup__tabs"},e._l(r.tabList,function(o,i){return n("div",{key:o.name,staticClass:"pwc-area-picker__popup__tab-item",class:{"is-active":r.dimension===i},on:{click:function(s){return r.onClickTab(i)}}},[n("span",[e._v(e._s(o.name))])])}),0),n("div",{staticClass:"pwc-area-picker__popup__list"},e._l(r.listData,function(o){return n("div",{key:o.code,staticClass:"pwc-area-picker__popup__list__item",class:{"is-selected":r.isSelected(o.code)},on:{click:function(i){return r.onClickData(o)}}},[n("span",[e._v(e._s(o.name))]),r.isSelected(o.code)?n(r.PwcIconCheck):e._e()],1)}),0)])},J6=[],V6=J(K6,X6,J6);const ep=V6.exports;class Or extends Error{constructor(e,n,r){super(r),this.isCancel=!1,this.isTimeout=!1,this.xhr=e,this.options=n,this.name="AJAXError"}}const tp="Request timeout";function np(t,e,n){const r=new Or(t,e,tp);return r.isTimeout=!0,r}function rp(t){let e=document.createElement("div");e.innerHTML='<a href="'+t+'"></a>';let n=e.firstChild;const r=n.host!==location.host;return e=null,n=null,r}function op(){return/MSIE\s+(\d+)/.test(navigator.userAgent)&&parseInt(RegExp.$1)<10}const ip=/(?:^|;\s*)(?:application|text)\/([a-z]+)/i;function sp(t){return t&&ip.test(t)?RegExp.$1.toLowerCase():""}function ap(t){return!(t===void 0||t>=200&&t<300||t===1223||t===304)}function cp(t,e,n,r){return function(){let o,i;switch(e.responseType||sp(t.getResponseHeader("Content-Type"))){case"json":try{o=JSON.parse(t.responseText)}catch(a){i="Invalid JSON structure"}break;case"xml":o=t.responseXML,o&&o.documentElement||(i="Invalid XML format");break;case"blob":o=t.response;break;default:o=t.responseText}const s=t.status;let c;ap(s)?c=new Or(t,e,"Error (HTTP status code: "+s+")"):i&&(c=new Or(t,e,i)),c?(c.code=s,c.data=o,r(Object.freeze(c))):n(Object.freeze({xhr:t,options:e,data:o}))}}const Bc=Object.create(null);let vi=0;function lp(t,e,n,r){t.onload=cp(t,e,n,r),t.ontimeout=function(){r(Object.freeze(np(t,e)))},t.onerror=function(){r(Object.freeze(new Or(t,e,"Network error")))},e.onDownloadProgress&&t.addEventListener("progress",e.onDownloadProgress),e.onUploadProgress&&t.upload&&t.upload.addEventListener("progress",e.onUploadProgress),vi===Number.MAX_SAFE_INTEGER&&(vi=0);const o=++vi;return Bc[o]={xhr:t,options:e,resolve:n,reject:r},o}function Mc(t){delete Bc[t]}function up(t,e,n,r,o){return t&&op()&&window.XDomainRequest&&(e==="get"||e==="post")&&!n&&!o&&s8(r)?new window.XDomainRequest:new window.XMLHttpRequest}function pp(t,e,n){return t=Bn(t,e,{ignoreEmpty:!1}),n&&(t=Bn(t,{_:Date.now()})),t}function fp(t,e,n,r){if(n==null||t==="get")return;let o,i;return r==="json"?(o=typeof n=="string"?n:JSON.stringify(n),i="application/json; charset=utf-8"):(o=o8(n)?nc(n,{ignoreEmpty:!1}):n,typeof o=="string"&&(i="application/x-www-form-urlencoded; charset=utf-8")),e["Content-Type"]=e["Content-Type"]||i,o}function dp(t,e,n,r){e.timeout&&(t.timeout=e.timeout),n&&e.withCredentials!=null&&(t.withCredentials=!!e.withCredentials),n||r["X-Request-With"]!=null||(r["X-Request-With"]="XMLHttpRequest"),Object.keys(r).forEach(function(o){r[o]!=null&&t.setRequestHeader(o,String(r[o]))})}function mp(t,e){let n=0;return new Promise(function(r,o){const i=Xo({},e);i.method=i.method||"get",i.requestType=i.requestType||"",i.responseType=i.responseType||"json",i.timeout=i.timeout||0,i.method=i.method.toLowerCase(),i.requestType=i.requestType.toLowerCase(),i.headers=i.headers||{},Object.freeze(i),t=pp(t,i.params,i.preventCaching);const s=rp(t),c=up(s,i.method,i.requestType,i.headers,i.withCredentials);n=lp(c,i,function(l){Mc(n),r(l)},function(l){Mc(n),o(l)}),i.responseType!=="blob"&&i.responseType!=="arraybuffer"||(c.responseType=i.responseType),c.open(i.method,t,!0,i.username,i.password);const a=fp(i.method,i.headers,i.data,i.requestType);dp(c,i,s,i.headers),typeof i.beforeSend=="function"&&i.beforeSend.call(window,c),c.send(a||""),typeof i.receiveCancelId=="function"&&i.receiveCancelId(n)})}function _i(t,e){let n=[];const[r,...o]=t;if(typeof r=="undefined")return n;const i=e.find(s=>s.code===r);return i&&(n=[i]),i&&Array.isArray(i.childrens)&&(n=[...n,..._i(o,i.childrens)]),n}function gp(t,e){const n=_i(t,e),r=n[n.length-1]||{};return!!(n.length&&(!r.childrens||!r.childrens.length))}const hp="https://s4.videocc.net/library/china-area/china-area-20200630.json";let wi;const bi=t=>{const e=p.ref([]),n=p.computed(()=>gp(t.value,e.value)),r=p.computed(()=>_i(t.value,e.value)),o=p.computed(()=>r.value.map(c=>c.name)),i=p.computed(()=>o.value.join("/"));function s(){return P(this,null,function*(){return wi||(wi=new Promise((c,a)=>{P(this,null,function*(){try{const l=yield mp(hp);c(l.data)}catch(l){a(l)}})})),wi})}return p.onMounted(()=>P(this,null,function*(){const c=yield s();e.value=c})),{areaData:e,pickerValue:t,pickerData:r,pickerTexts:o,pickerText:i,isFinish:n}},vp=()=>ie(O({},$c()),{[k.modelValueKey]:k.array(),placeholder:k.string,disabled:k.bool.def(!1)}),_p=()=>O({},it()),wp=t=>{const{props:e}=t,{formItemIsError:n,blurToValidateItem:r,focusToRemoveError:o}=Rc({props:e}),{$t:i}=Se(),{modelValue:s,updateModelValue:c}=Me(e),a=p.ref([]),{isFinish:l,pickerText:u,pickerData:f,areaData:h}=bi(a),{pickerText:d}=bi(s);function _(E){a.value=E}const m=p.computed(()=>e.placeholder||i("areaPicker.placeholder")),w=p.ref(!1),g=p.ref(1);function v(){e.disabled||(w.value=!0,x())}function b(){w.value=!1,y()}function y(){l.value?c(p.unref(a)):a.value=s.value,r()}function x(){a.value=s.value,o()}function C(){p.unref(l)&&(c(p.unref(a)),b())}return p.watch(s,()=>{const E=s.value.join(""),Q=a.value.join("");E!==Q&&(a.value=s.value)},{immediate:!0}),{pickerValue:a,pickerData:f,pickerText:u,areaData:h,isFinish:l,inputPlaceholder:m,refreshKey:g,inputText:d,onUpdatePickerValue:_,formItemIsError:n,blurToValidateItem:r,focusToRemoveError:o,pickerVisible:w,openPicker:v,closePicker:b,onHiddenPicker:y,onShowPicker:x,onClickConfirm:C}},bp=p.defineComponent({__name:"area-picker",props:vp(),emits:_p(),setup(t,{emit:e}){const n=t,{$t:r}=Se(),{areaData:o,pickerValue:i,pickerData:s,pickerVisible:c,openPicker:a,closePicker:l,onUpdatePickerValue:u,isFinish:f,inputText:h,inputPlaceholder:d,formItemIsError:_,onClickConfirm:m,onHiddenPicker:w}=wp({props:n});return{__sfc:!0,props:n,emit:e,$t:r,areaData:o,pickerValue:i,pickerData:s,pickerVisible:c,openPicker:a,closePicker:l,onUpdatePickerValue:u,isFinish:f,inputText:h,inputPlaceholder:d,formItemIsError:_,onClickConfirm:m,onHiddenPicker:w,PickerPopup:ep,PwcInput:Nn,PwcIconArrowRight:qo,PwcPopup:st}}});var yp=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-area-picker",class:{"pwc-area-picker--error":r.formItemIsError,"is-disabled":e.disabled}},[n("div",{staticClass:"pwc-area-picker__body",on:{click:r.openPicker}},[n(r.PwcInput,{attrs:{placeholder:r.inputPlaceholder,readonly:"",size:e.size,disabled:e.disabled},scopedSlots:e._u([{key:"suffix",fn:function(){return[n(r.PwcIconArrowRight,{staticClass:"pwc-area-picker__body__icon"})]},proxy:!0}]),model:{value:r.inputText,callback:function(o){r.inputText=o},expression:"inputText"}})],1),n(r.PwcPopup,{attrs:{closeable:!1,"fill-body":"","show-header":!1},on:{close:r.onHiddenPicker},model:{value:r.pickerVisible,callback:function(o){r.pickerVisible=o},expression:"pickerVisible"}},[n("div",{staticClass:"pwc-area-picker__popup"},[n("div",{staticClass:"pwc-area-picker__header"},[n("div",{staticClass:"pwc-area-picker__header__cancel",on:{click:r.closePicker}},[e._v(" "+e._s(r.$t("common.cancel"))+" ")]),n("div",{staticClass:"pwc-area-picker__header__placeholder"},[e._v(e._s(r.inputPlaceholder))]),n("div",{staticClass:"pwc-area-picker__header__confirm",class:{"pwc-area-picker__header__confirm--disabled":!r.isFinish},on:{click:r.onClickConfirm}},[e._v(" "+e._s(r.$t("common.confirm"))+" ")])]),n(r.PickerPopup,{attrs:{"picker-value":r.pickerValue,"picker-data":r.pickerData,"area-data":r.areaData},on:{"update-value":r.onUpdatePickerValue}})],1)])],1)},xp=[],Cp=J(bp,yp,xp);const Qp=Cp.exports,kp=()=>O({receiveData:k.object(),privacyContent:k.string,submitAction:k.func(),openEvent:k.looseString,backable:k.looseBool},M3()),Ep=()=>({"click-back":M()}),Sp=t=>{const{props:e}=t,{toast:n}=ye(),{openLink:r}=Dc(),o=p.ref(),i=p.ref(!1),s=p.ref(!0),c=p.ref(""),a=p.ref({}),l=p.ref({}),{$t:u}=Se(),f=p.computed(()=>a.value.areaPickerValue),{pickerData:h}=bi(f);function d(v){if(o.value=v,v.receiveType==="form"&&(_(v.formList),v.overTime?(s.value=new Date(v.overTime)<new Date,c.value=hr(v.overTime,"YYYY-MM-DD hh:mm")):(s.value=!1,c.value="")),v.receiveType==="link"&&v.linkUrl){r(v.linkUrl);return}i.value=!0}p.watch(()=>e.receiveData,()=>{e.receiveData&&d(e.receiveData)},{immediate:!0});function _(v=[]){const b={},y={};v.forEach((x,C)=>{const E=C.toString();x.formType==="address"&&(b.areaPickerValue=[],b.areaPickerText=[]),b[E]=x.value||"";const Q=[];x.isRequired&&(Q.push({type:"string",message:u("rewardReceive.error1"),required:!0}),x.formType==="address"&&(y.areaPickerValue=[{type:"array",message:u("rewardReceive.error1"),required:!0}])),x.formType==="phone"&&Q.push({validator:(S,I)=>!I||q5(I)?[]:[u("rewardReceive.error2")]}),y[E]=Q}),e.privacyContent&&(b.checkProtocol=!1,y.checkProtocol=[{validator:(x,C)=>C?[]:[u("rewardReceive.checkProtocol")]}]),a.value=b,l.value=y}const m=p.computed(()=>{var v;switch((v=o.value)==null?void 0:v.receiveType){case"form":return o.value.isReceived?u("rewardReceive.receiveTitleView"):u("rewardReceive.receiveTitleForm");case"qrCode":return u("rewardReceive.receiveTitleQrcode");case"link":return u("rewardReceive.receiveTitleLink")}});function w(){return P(this,null,function*(){var b;if(!((b=o.value)!=null&&b.formList))return;const v={};o.value.formList.forEach((y,x)=>{let C=a.value[x];y.formType==="address"&&(C=`${h.value.map(E=>E.name).join("")}${C}`),v[x]=C}),e.submitAction&&(yield e.submitAction(v)),n.success(u("common.submitSuccess"),{showIcon:!0}),i.value=!1})}return{currentReceiveData:o,visible:i,isDeadLine:s,deadLineDate:c,dialogTitle:m,formData:a,formRules:l,instance:{setupReceiveData:d},submitReceiveForm:w,$t:u}},Nc=Symbol("checkbox-group-inject-key"),Ip=()=>({[k.modelValueKey]:k.array()}),Tp=()=>ie(O({},it()),{change:M()}),Lp=()=>({checked:k.bool.def(!1),circle:k.bool.def(!1),checkboxValue:k.oneOfType([String,Number,Boolean]),label:k.string,showBackground:k.bool.def(!1),disabled:k.bool.def(!1),showPrefix:k.bool.def(!0),indeterminate:k.bool.def(!1)}),Pp=()=>({change:M()}),Ap=t=>{const{props:e,emit:n}=t,r=p.inject(Nc,{inGroup:!1}),o=p.computed(()=>r.inGroup&&r.modelValue?p.unref(r.modelValue).includes(e.checkboxValue):e.checked);function i(){var s;if(!e.disabled){if(r.inGroup){if(typeof e.checkboxValue!="undefined"){let c=[...p.unref(r.modelValue)||[]];o.value?c=c.filter(a=>a!==e.checkboxValue):c.push(e.checkboxValue),(s=r.emitInput)==null||s.call(r,c)}return}n("change",!p.unref(o))}}return{isChecked:o,onClickCheckbox:i}},$p=p.defineComponent({__name:"checkbox",props:Lp(),emits:Pp(),setup(t,{emit:e}){const n=t,{isChecked:r,onClickCheckbox:o}=Ap({props:n,emit:e});return{__sfc:!0,props:n,emit:e,isChecked:r,onClickCheckbox:o,PwcIconCheck:Ra,PwcIconMinus:C3}}});var Rp=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-checkbox",class:{"is-checked is-active":r.isChecked||e.indeterminate,"is-show-background":r.props.showBackground,"is-disabled":e.disabled},on:{click:r.onClickCheckbox}},[e.showPrefix?n("div",{staticClass:"pwc-checkbox__inner",class:{"pwc-checkbox__inner__circle":r.props.circle}},[r.isChecked||e.indeterminate?[e.indeterminate?n(r.PwcIconMinus,{staticClass:"pwc-checkbox__inner__icon"}):n(r.PwcIconCheck,{staticClass:"pwc-checkbox__inner__icon"})]:e._e()],2):e._e(),n("div",{staticClass:"pwc-checkbox__content"},[e._t("default",function(){return[e._v(e._s(e.label))]})],2)])},Op=[],Dp=J($p,Rp,Op);const zp=Dp.exports;Ip(),Tp();const Fp=()=>ie(O({},Ka()),{text:k.string.def(""),debounceSubmit:k.bool.def(!1)}),Bp=t=>{const e=t.props,n=Sc(),r=Tc(),o=p.ref(!1);function i(){return P(this,null,function*(){let u=!1;if(r){if(p.unref(r.isSubmiting)){u=!0,o.value=u;return}try{r.validateCurrentForm&&(yield r.validateCurrentForm({showErrorMessage:!1}))}catch(f){u=!0}o.value=u}})}const s=p.computed(()=>e.disabled||o.value);p.watch(()=>[n&&n.formData,r&&p.unref(r.isSubmiting)],()=>i(),{immediate:!0,deep:!0});const c=()=>P(this,null,function*(){r&&(yield r.validateCurrentForm({showErrorMessage:!0,validateFailedCallback:u=>{u.scrollIntoView()}}),!s.value&&r.submitForm())}),a=pi(c,500);function l(){e.debounceSubmit?a():c()}return{buttonIsDisabled:s,checkDisabled:i,onButtonClick:l}},Mp=p.defineComponent({__name:"form-submit-button",props:Fp(),setup(t){const e=t,{buttonIsDisabled:n,onButtonClick:r}=Bp({props:e}),{$t:o}=Se();return{__sfc:!0,props:e,buttonIsDisabled:n,onButtonClick:r,$t:o,PwcButton:Fn}}});var Np=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcButton,e._b({attrs:{disabled:r.buttonIsDisabled},on:{"click-native":r.onButtonClick}},"pwc-button",r.props,!1),[e._v(e._s(e.text||r.$t("common.submit")))])},Hp=[],Up=J(Mp,Np,Hp);const jp=Up.exports,qp=()=>({[k.modelValueKey]:k.bool.def(!1),content:k.string}),Wp=()=>O({},it()),Gp=t=>{const{props:e}=t,{openLink:n}=Dc(),{modelValue:r,updateModelValue:o}=Me(e);function i(a){o(a)}const s=p.ref(),c=p.computed(()=>e.content);return p.onMounted(()=>{const a=s.value;a&&a.querySelectorAll("a").forEach(l=>{l.addEventListener("click",u=>{if(!l.href.includes("https://")){console.warn("需要使用 http 协议的链接");return}u.preventDefault(),u.stopPropagation();const h=u.target;n(h.href)})})}),{modelValue:r,onCheckboxChange:i,protocolContentRef:s,contentHtml:c}},Zp=p.defineComponent({__name:"protocol",props:qp(),emits:Wp(),setup(t){const e=t,n=p.useAttrs(),{modelValue:r,onCheckboxChange:o,protocolContentRef:i,contentHtml:s}=Gp({props:e});return{__sfc:!0,props:e,attrs:n,modelValue:r,onCheckboxChange:o,protocolContentRef:i,contentHtml:s,PwcCheckbox:zp}}});var Yp=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcCheckbox,e._b({staticClass:"pwc-protocol",attrs:{checked:r.modelValue},on:{change:r.onCheckboxChange}},"pwc-checkbox",r.attrs,!1),[n("div",{ref:"protocolContentRef",staticClass:"pwc-protocol__content",domProps:{innerHTML:e._s(r.contentHtml)}})])},Kp=[],Xp=J(Zp,Yp,Kp);const Jp=Xp.exports,Hc=Symbol("radio-group-inject-key"),Vp=()=>({[k.modelValueKey]:k.oneOfType([String,Number,Boolean])}),e7=()=>O({},it());({radioValue:k.oneOfType([String,Number,Boolean]),label:k.string,disabled:k.bool.def(!1),showBackground:k.bool.def(!1),showPrefix:k.bool.def(!0)}),Vp(),e7();const t7=()=>({[k.modelValueKey]:k.oneOfType([Boolean,Number,String]),disabled:k.bool.def(!1),activeValue:k.oneOfType([Boolean,Number,String]).def(!0),inactiveValue:k.oneOfType([Boolean,Number,String]).def(!1),activeColor:k.string,inactiveColor:k.string,size:k.oneOf(["default","medium","mini"]).def("default")}),n7=()=>ie(O({},it()),{change:M()}),r7=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Me(e),i=p.computed(()=>r.value===e.activeValue);function s(){e.disabled||(o(i.value?e.inactiveValue:e.activeValue),n("change",i.value?e.inactiveValue:e.activeValue))}const c=p.computed(()=>({backgroundColor:i.value?e.activeColor:e.inactiveColor}));return{isOpened:i,switchStyle:c,toggleSwitch:s}},o7={name:"PwcSwitch"},i7=p.defineComponent(ie(O({},o7),{props:t7(),emits:n7(),setup(t,{emit:e}){const n=t,{isOpened:r,switchStyle:o,toggleSwitch:i}=r7({props:n,emit:e});return{__sfc:!0,props:n,emit:e,isOpened:r,switchStyle:o,toggleSwitch:i}}}));var s7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-switch",class:{"is-opened":r.isOpened,"is-disabled":e.disabled,"is-size-medium":e.size==="medium","is-size-mini":e.size==="mini"},style:r.switchStyle,on:{click:r.toggleSwitch}},[n("div",{staticClass:"pwc-switch__inner"})])},a7=[],c7=J(i7,s7,a7);const l7=c7.exports;kp(),Ep();const u7=()=>({[k.modelValueKey]:k.oneOfType([String,Number])}),p7=()=>O({},it()),f7=()=>({categoryValue:k.oneOfType([String,Number])}),Uc=Symbol("CATEGORY_SELECT_INJECT_KEY"),d7=p.defineComponent({__name:"category-select-item",props:f7(),setup(t){const e=t,{modelValue:n,updateModelValue:r}=p.inject(Uc),o=p.computed(()=>e.categoryValue===n.value);return{__sfc:!0,props:e,modelValue:n,updateModelValue:r,isActive:o}}});var m7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-category-select-item",class:{"is-active":r.isActive},on:{click:function(o){return r.updateModelValue(e.categoryValue)}}},[e._t("default")],2)},g7=[],h7=J(d7,m7,g7);const v7=h7.exports,_7=p.defineComponent({__name:"category-select",props:u7(),emits:p7(),setup(t){const e=t,{modelValue:n,updateModelValue:r}=Me(e);return p.provide(Uc,{modelValue:n,updateModelValue:r}),{__sfc:!0,props:e,modelValue:n,updateModelValue:r}}});var w7=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"pwc-category-select"},[e._t("default")],2)},b7=[],y7=J(_7,w7,b7);const x7=y7.exports,C7=()=>({trigger:k.oneOf(zc).def("click"),placement:k.oneOf(gi).def("bottom-end"),showArrow:k.bool.def(!0),referenceClass:k.string,disabled:k.bool.def(!1)}),Q7=()=>({command:M()}),k7=()=>({command:k.looseString,disabled:k.bool.def(!1)}),E7=()=>({click:M()}),jc=Symbol("dropdown"),S7=p.defineComponent({__name:"dropdown",props:C7(),emits:Q7(),setup(t,{emit:e}){const n=t,{disabled:r}=ft(n),{referenceRef:o,popperRef:i,popperVisible:s,hidePopper:c}=Hn({placement:n.placement,popperOffset:[0,8],trigger:n.trigger,popperDisabled:r});function a(l){n.disabled||(l&&e("command",l),c())}return p.provide(jc,{onClickItem:a}),{__sfc:!0,props:n,emit:e,disabled:r,referenceRef:o,popperRef:i,popperVisible:s,hidePopper:c,onClickItem:a,PwcIconTriangleDown:k3}}});var I7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-dropdown",class:{"is-popper-show":r.popperVisible,"is-disabled":r.disabled}},[n("div",{ref:"referenceRef",staticClass:"pwc-dropdown__reference",class:e.referenceClass},[e._t("default"),e.showArrow?n(r.PwcIconTriangleDown,{staticClass:"pwc-dropdown__reference__icon"}):e._e()],2),n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"pwc-dropdown__popper"},[e._t("dropdown")],2)])},T7=[],L7=J(S7,I7,T7);const yi=L7.exports,P7={};var A7=function(){var e=this,n=e._self._c;return n("div",{staticClass:"pwc-dropdown-menu"},[e._t("default")],2)},$7=[],R7=J(P7,A7,$7);const xi=R7.exports,O7=p.defineComponent({__name:"dropdown-item",props:k7(),emits:E7(),setup(t,{emit:e}){const n=t,r=p.inject(jc);function o(){n.disabled||(e("click"),r==null||r.onClickItem(n.command))}return{__sfc:!0,props:n,emit:e,dropdownInject:r,onClickItem:o}}});var D7=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-dropdown-item",class:{"is-disabled":e.disabled},on:{click:r.onClickItem}},[e._t("default")],2)},z7=[],F7=J(O7,D7,z7);const Ci=F7.exports;function qc(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Wc(t={},e={}){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]=="undefined"?t[r]=e[r]:qc(e[r])&&qc(t[r])&&Object.keys(e[r]).length>0&&Wc(t[r],e[r])})}const B7={document:{body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function Gc(){const t=typeof window!="undefined"?window:{};return Wc(t,B7),t}function M7(t=""){return t.trim().split(" ").filter(e=>!!e.trim())}function N7(t,e=""){const n=Gc(),r=[...t.children];return n.HTMLSlotElement&&t instanceof HTMLSlotElement&&r.push(...t.assignedElements()),e?r.filter(o=>o.matches(e)):r}function H7(t,e=[]){const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:M7(e)),n}function Zc(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function U7(t,e){const n=[];let r=t.parentElement;for(;r;)r.matches(e)&&n.push(r),r=r.parentElement;return n}function j7(t,e,n){const r=Gc();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function _e(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Qi(t,e=""){typeof trustedTypes!="undefined"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(e):t.innerHTML=e}function Yc(t,e,n,r){return t.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let i=N7(t.el,`.${r[o]}`)[0];i||(i=H7("div",r[o]),i.className=r[o],t.el.append(i)),n[o]=i,e[o]=i}}),n}const q7='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function W7({swiper:t,extendParams:e,on:n,emit:r}){e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};function o(d){let _;return d&&typeof d=="string"&&t.isElement&&(_=t.el.querySelector(d)||t.hostEl.querySelector(d),_)?_:(d&&(typeof d=="string"&&(_=[...document.querySelectorAll(d)]),t.params.uniqueNavElements&&typeof d=="string"&&_&&_.length>1&&t.el.querySelectorAll(d).length===1?_=t.el.querySelector(d):_&&_.length===1&&(_=_[0])),d&&!_?d:_)}function i(d,_){const m=t.params.navigation;d=_e(d),d.forEach(w=>{w&&(w.classList[_?"add":"remove"](...m.disabledClass.split(" ")),w.tagName==="BUTTON"&&(w.disabled=_),t.params.watchOverflow&&t.enabled&&w.classList[t.isLocked?"add":"remove"](m.lockClass))})}function s(){const{nextEl:d,prevEl:_}=t.navigation;if(t.params.loop){i(_,!1),i(d,!1);return}i(_,t.isBeginning&&!t.params.rewind),i(d,t.isEnd&&!t.params.rewind)}function c(d){d.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function a(d){d.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function l(){const d=t.params.navigation;if(t.params.navigation=Yc(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let _=o(d.nextEl),m=o(d.prevEl);Object.assign(t.navigation,{nextEl:_,prevEl:m}),_=_e(_),m=_e(m);const w=(g,v)=>{if(g){if(d.addIcons&&g.matches(".swiper-button-next,.swiper-button-prev")&&!g.querySelector("svg")){const b=document.createElement("div");Qi(b,q7),g.appendChild(b.querySelector("svg")),b.remove()}g.addEventListener("click",v==="next"?a:c)}!t.enabled&&g&&g.classList.add(...d.lockClass.split(" "))};_.forEach(g=>w(g,"next")),m.forEach(g=>w(g,"prev"))}function u(){let{nextEl:d,prevEl:_}=t.navigation;d=_e(d),_=_e(_);const m=(w,g)=>{w.removeEventListener("click",g==="next"?a:c),w.classList.remove(...t.params.navigation.disabledClass.split(" "))};d.forEach(w=>m(w,"next")),_.forEach(w=>m(w,"prev"))}n("init",()=>{t.params.navigation.enabled===!1?h():(l(),s())}),n("toEdge fromEdge lock unlock",()=>{s()}),n("destroy",()=>{u()}),n("enable disable",()=>{let{nextEl:d,prevEl:_}=t.navigation;if(d=_e(d),_=_e(_),t.enabled){s();return}[...d,..._].filter(m=>!!m).forEach(m=>m.classList.add(t.params.navigation.lockClass))}),n("click",(d,_)=>{let{nextEl:m,prevEl:w}=t.navigation;m=_e(m),w=_e(w);const g=_.target;let v=w.includes(g)||m.includes(g);if(t.isElement&&!v){const b=_.path||_.composedPath&&_.composedPath();b&&(v=b.find(y=>m.includes(y)||w.includes(y)))}if(t.params.navigation.hideOnClick&&!v){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===g||t.pagination.el.contains(g)))return;let b;m.length?b=m[0].classList.contains(t.params.navigation.hiddenClass):w.length&&(b=w[0].classList.contains(t.params.navigation.hiddenClass)),r(b===!0?"navigationShow":"navigationHide"),[...m,...w].filter(y=>!!y).forEach(y=>y.classList.toggle(t.params.navigation.hiddenClass))}});const f=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),l(),s()},h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(t.navigation,{enable:f,disable:h,update:s,init:l,destroy:u})}function Un(t=""){return`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function G7({swiper:t,extendParams:e,on:n,emit:r}){const o="swiper-pagination";e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:g=>g,formatFractionTotal:g=>g,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let i,s=0;function c(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function a(g,v){const{bulletActiveClass:b}=t.params.pagination;g&&(g=g[`${v==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${b}-${v}`),g=g[`${v==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${b}-${v}-${v}`)))}function l(g,v,b){if(g=g%b,v=v%b,v===g+1)return"next";if(v===g-1)return"previous"}function u(g){const v=g.target.closest(Un(t.params.pagination.bulletClass));if(!v)return;g.preventDefault();const b=Zc(v)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===b)return;const y=l(t.realIndex,b,t.slides.length);y==="next"?t.slideNext():y==="previous"?t.slidePrev():t.slideToLoop(b)}else t.slideTo(b)}function f(){const g=t.rtl,v=t.params.pagination;if(c())return;let b=t.pagination.el;b=_e(b);let y,x;const C=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,E=t.params.loop?Math.ceil(C/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(x=t.previousRealIndex||0,y=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex!="undefined"?(y=t.snapIndex,x=t.previousSnapIndex):(x=t.previousIndex||0,y=t.activeIndex||0),v.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const Q=t.pagination.bullets;let S,I,T;if(v.dynamicBullets&&(i=j7(Q[0],t.isHorizontal()?"width":"height"),b.forEach(L=>{L.style[t.isHorizontal()?"width":"height"]=`${i*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&x!==void 0&&(s+=y-(x||0),s>v.dynamicMainBullets-1?s=v.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(y-s,0),I=S+(Math.min(Q.length,v.dynamicMainBullets)-1),T=(I+S)/2),Q.forEach(L=>{const A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map($=>`${v.bulletActiveClass}${$}`)].map($=>typeof $=="string"&&$.includes(" ")?$.split(" "):$).flat();L.classList.remove(...A)}),b.length>1)Q.forEach(L=>{const A=Zc(L);A===y?L.classList.add(...v.bulletActiveClass.split(" ")):t.isElement&&L.setAttribute("part","bullet"),v.dynamicBullets&&(A>=S&&A<=I&&L.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),A===S&&a(L,"prev"),A===I&&a(L,"next"))});else{const L=Q[y];if(L&&L.classList.add(...v.bulletActiveClass.split(" ")),t.isElement&&Q.forEach((A,$)=>{A.setAttribute("part",$===y?"bullet-active":"bullet")}),v.dynamicBullets){const A=Q[S],$=Q[I];for(let D=S;D<=I;D+=1)Q[D]&&Q[D].classList.add(...`${v.bulletActiveClass}-main`.split(" "));a(A,"prev"),a($,"next")}}if(v.dynamicBullets){const L=Math.min(Q.length,v.dynamicMainBullets+4),A=(i*L-i)/2-T*i,$=g?"right":"left";Q.forEach(D=>{D.style[t.isHorizontal()?$:"top"]=`${A}px`})}}b.forEach((Q,S)=>{if(v.type==="fraction"&&(Q.querySelectorAll(Un(v.currentClass)).forEach(I=>{I.textContent=v.formatFractionCurrent(y+1)}),Q.querySelectorAll(Un(v.totalClass)).forEach(I=>{I.textContent=v.formatFractionTotal(E)})),v.type==="progressbar"){let I;v.progressbarOpposite?I=t.isHorizontal()?"vertical":"horizontal":I=t.isHorizontal()?"horizontal":"vertical";const T=(y+1)/E;let L=1,A=1;I==="horizontal"?L=T:A=T,Q.querySelectorAll(Un(v.progressbarFillClass)).forEach($=>{$.style.transform=`translate3d(0,0,0) scaleX(${L}) scaleY(${A})`,$.style.transitionDuration=`${t.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(Qi(Q,v.renderCustom(t,y+1,E)),S===0&&r("paginationRender",Q)):(S===0&&r("paginationRender",Q),r("paginationUpdate",Q)),t.params.watchOverflow&&t.enabled&&Q.classList[t.isLocked?"add":"remove"](v.lockClass)})}function h(){const g=t.params.pagination;if(c())return;const v=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let b=t.pagination.el;b=_e(b);let y="";if(g.type==="bullets"){let x=t.params.loop?Math.ceil(v/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&x>v&&(x=v);for(let C=0;C<x;C+=1)g.renderBullet?y+=g.renderBullet.call(t,C,g.bulletClass):y+=`<${g.bulletElement} ${t.isElement?'part="bullet"':""} class="${g.bulletClass}"></${g.bulletElement}>`}g.type==="fraction"&&(g.renderFraction?y=g.renderFraction.call(t,g.currentClass,g.totalClass):y=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`),g.type==="progressbar"&&(g.renderProgressbar?y=g.renderProgressbar.call(t,g.progressbarFillClass):y=`<span class="${g.progressbarFillClass}"></span>`),t.pagination.bullets=[],b.forEach(x=>{g.type!=="custom"&&Qi(x,y||""),g.type==="bullets"&&t.pagination.bullets.push(...x.querySelectorAll(Un(g.bulletClass)))}),g.type!=="custom"&&r("paginationRender",b[0])}function d(){t.params.pagination=Yc(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const g=t.params.pagination;if(!g.el)return;let v;typeof g.el=="string"&&t.isElement&&(v=t.el.querySelector(g.el)),!v&&typeof g.el=="string"&&(v=[...document.querySelectorAll(g.el)]),v||(v=g.el),!(!v||v.length===0)&&(t.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...t.el.querySelectorAll(g.el)],v.length>1&&(v=v.find(b=>U7(b,".swiper")[0]===t.el))),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(t.pagination,{el:v}),v=_e(v),v.forEach(b=>{g.type==="bullets"&&g.clickable&&b.classList.add(...(g.clickableClass||"").split(" ")),b.classList.add(g.modifierClass+g.type),b.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(b.classList.add(`${g.modifierClass}${g.type}-dynamic`),s=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&b.classList.add(g.progressbarOppositeClass),g.clickable&&b.addEventListener("click",u),t.enabled||b.classList.add(g.lockClass)}))}function _(){const g=t.params.pagination;if(c())return;let v=t.pagination.el;v&&(v=_e(v),v.forEach(b=>{b.classList.remove(g.hiddenClass),b.classList.remove(g.modifierClass+g.type),b.classList.remove(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(b.classList.remove(...(g.clickableClass||"").split(" ")),b.removeEventListener("click",u))})),t.pagination.bullets&&t.pagination.bullets.forEach(b=>b.classList.remove(...g.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const g=t.params.pagination;let{el:v}=t.pagination;v=_e(v),v.forEach(b=>{b.classList.remove(g.horizontalClass,g.verticalClass),b.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass)})}),n("init",()=>{t.params.pagination.enabled===!1?w():(d(),h(),f())}),n("activeIndexChange",()=>{typeof t.snapIndex=="undefined"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{h(),f()}),n("destroy",()=>{_()}),n("enable disable",()=>{let{el:g}=t.pagination;g&&(g=_e(g),g.forEach(v=>v.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(g,v)=>{const b=v.target,y=_e(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&y&&y.length>0&&!b.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&b===t.navigation.nextEl||t.navigation.prevEl&&b===t.navigation.prevEl))return;const x=y[0].classList.contains(t.params.pagination.hiddenClass);r(x===!0?"paginationShow":"paginationHide"),y.forEach(C=>C.classList.toggle(t.params.pagination.hiddenClass))}});const m=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=_e(g),g.forEach(v=>v.classList.remove(t.params.pagination.paginationDisabledClass))),d(),h(),f()},w=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=_e(g),g.forEach(v=>v.classList.add(t.params.pagination.paginationDisabledClass))),_()};Object.assign(t.pagination,{enable:m,disable:w,render:h,update:f,init:d,destroy:_})}const Z7=()=>({showNavigationArrow:k.bool.def(!0),navigation:k.oneOfType([Object,Boolean]).def(!1)}),Y7=t=>{const{props:e,swiperOptions:n,pushModule:r,addInitOptionsCallback:o}=t,i=p.computed(()=>{if(e.navigation===!1)return!1;let s={nextEl:".pwc-swiper__next",prevEl:".pwc-swiper__prev"};return e.navigation===!0?s:O(O({},s),e.navigation)});return o(()=>{i.value&&(r(W7),n.value.navigation=i.value)}),{navigationOptions:i}},K7=()=>({pagination:k.oneOfType([Object,Boolean]).def(!1)}),X7=t=>{const{props:e,swiperOptions:n,pushModule:r,addInitOptionsCallback:o}=t,i=p.computed(()=>{if(e.pagination===!1)return!1;let s={el:".pwc-swiper-pagination",bulletClass:"pwc-swiper-pagination-bullet",clickable:!0};return e.pagination===!0?s:O(O({},s),e.pagination)});return o(()=>{i.value&&(r(G7),n.value.pagination=i.value)}),{paginationOptions:i}},J7=t=>{const{props:e}=t,n=p.ref({}),r=p.ref([]),o=[];function i(a){o.push(a)}function s(){return n.value=O({initialSlide:e.initialSlide,direction:e.direction,init:!1},e.swiperOptions),r.value=[...e.swiperOptions.modules||[]],o.forEach(a=>a()),ie(O({},n.value),{modules:r.value})}function c(a){r.value.includes(a)||r.value.push(a)}return{props:e,swiperOptions:n,modules:r,initOptions:s,pushModule:c,addInitOptionsCallback:i}},Kc=Symbol("SwiperInjectKey"),V7=t=>{const{props:e,emit:n}=t,r=p.ref();let o=null;const i=p.ref(!1),s=p.ref(e.initialSlide),c=p.ref(0),a=J7({props:e}),{navigationOptions:l}=Y7(a),{paginationOptions:u}=X7(a);function f(){if(!r.value)return;const _=a.initOptions();o=new je(r.value,_),o.on("slideChange",m=>{s.value=m.activeIndex,n("slide-change",m)}),o.on("slideChangeTransitionStart",m=>{n("slide-change-transition-start",m)}),o.on("slideChangeTransitionEnd",m=>{n("slide-change-transition-end",m)}),o.on("init",m=>{i.value=!0,c.value=m.slides.length,n("init",m)}),o.on("update",m=>{c.value=m.slides.length}),o.init()}function h(){o&&(o.destroy(),o=null)}function d(){o&&o.update()}return p.provide(Kc,{swiperInited:i,activeIndex:s,total:c,updateSwiper:d}),p.onBeforeUnmount(()=>{h()}),p.onMounted(()=>{f()}),{wrapperRef:r,navigationOptions:l,paginationOptions:u}},ki=()=>p.inject(Kc),ef=p.defineComponent({__name:"preview-controller",props:{currentScale:k.number.def(1),show:k.bool.def(!0)},emits:{"zoom-in":M(),"zoom-out":M(),"zoom-reset":M(),download:M()},setup(t,{emit:e}){const{isMobile:n}=se(),{activeIndex:r,total:o,swiperInited:i}=ki();return{__sfc:!0,emit:e,isMobile:n,activeIndex:r,total:o,swiperInited:i,PwcIconArrowLeft:$a,PwcIconArrowRight:qo,PwcIconZoomIn:S3,PwcIconZoomOut:I3,PwcIconDownFile:v3}}});var tf=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.swiperInited&&e.show,expression:"swiperInited && show"}],staticClass:"pwc-image-preview__controller",class:{"is-mobile":r.isMobile}},[n(r.PwcIconArrowLeft,{directives:[{name:"show",rawName:"v-show",value:r.total>1&&!r.isMobile,expression:"total > 1 && !isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__prev"}),r.total>1?n("span",{staticClass:"pwc-image-preview__controller__index"},[e._v(e._s(r.activeIndex+1)+" / "+e._s(r.total))]):e._e(),n(r.PwcIconArrowRight,{directives:[{name:"show",rawName:"v-show",value:r.total>1&&!r.isMobile,expression:"total > 1 && !isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__next"}),r.total>1&&!r.isMobile?n("div",{staticClass:"pwc-image-preview__controller__line"}):e._e(),n(r.PwcIconZoomIn,{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__zoom-in",on:{click:function(o){return r.emit("zoom-in")}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__scale",on:{click:function(o){return r.emit("zoom-reset")}}},[e._v(e._s((e.currentScale*100).toFixed(0))+"%")]),n(r.PwcIconZoomOut,{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__zoom-out",on:{click:function(o){return r.emit("zoom-out")}}}),r.total>1&&!r.isMobile?n("div",{staticClass:"pwc-image-preview__controller__line"}):e._e(),n(r.PwcIconDownFile,{directives:[{name:"show",rawName:"v-show",value:!r.isMobile,expression:"!isMobile"}],staticClass:"pwc-image-preview__controller__icon pwc-image-preview__download",on:{click:function(o){return r.emit("download")}}})],1)])},nf=[],rf=J(ef,tf,nf);const of=rf.exports;function sf(t,e){const{getPosition:n,updatePosition:r}=e,o=p.ref(!0),i=p.ref(0),s=p.ref(0),c=p.ref(void 0),a=p.ref(300),l=p.ref(15),u=p.ref(0),f=p.ref("");function h(){g();const v=n();u.value=0,i.value=v.x,s.value=v.y,c.value=Date.now(),f.value=""}function d(){if(!c.value)return;const v=Date.now();if(v-c.value>a.value){const b=n();c.value=v,i.value=b.x,s.value=b.y}}function _(){if(!c.value)return;const v=n(),b=Math.abs(v.x-i.value),y=Math.abs(v.y-s.value),x=Date.now()-c.value;if((b>l.value||y>l.value)&&x<a.value){const E=m();u.value=E.duration,f.value=E.bezier;let Q=v.x,S=v.y;b>l.value&&(Q=w(v.x,i.value,x)),y>l.value&&(S=w(v.y,s.value,x)),o.value=!0,r(Q,S)}}function m(){const v={noBounce:2500,weekBounce:800,strongBounce:400},b={noBounce:"cubic-bezier(.17, .89, .45, 1)",weekBounce:"cubic-bezier(.25, .46, .45, .94)",strongBounce:"cubic-bezier(.25, .46, .45, .94)"},y="weekBounce";return{duration:v[y],bezier:b[y]}}function w(v,b,y){const C=v-b,E=2*Math.abs(C)/y,Q=v+E/.003*(C<0?-1:1);return Math.round(Q)}function g(){u.value=0,f.value="";const v=de(t);if(!v)return;const y=window.getComputedStyle(v).getPropertyValue("transform").replace("matrix(","").replace(")","").split(", "),x=Math.round(Number(y[4])),C=Math.round(Number(y[5]));o.value=!1,r(x,C)}return{canTransition:o,momentumBezier:f,momentumTransitionDuration:u,onMomentumStart:h,onMomentumMove:d,onMomentumEnd:_,stopMomentum:g}}const af=t=>{const{contentRef:e,isOverflowWrap:n,onDragStart:r,onDragMove:o,onDragEnd:i,toZoomScale:s,scale:c}=t,a=p.ref(!1);let l,u;const{isMobile:f}=se();function h(m,w){if(!n.value){a.value=!1;return}a.value=!0,l=m,u=w,r()}function d(m,w){if(!n.value){a.value=!1;return}if(typeof l=="undefined"||typeof u=="undefined")return;const g=m-l,v=w-u;o(g,v),l=m,u=w}function _(){a.value=!1,i(),n.value&&(l=void 0,u=void 0)}if(!f)te(e,"mousedown",m=>{h(m.clientX,m.clientY)}),te(e,"mousemove",m=>{d(m.clientX,m.clientY)}),te(e,"mouseup",()=>{_()});else{let m=function(E,Q){const S=(E.pageX+Q.pageX)/2,I=(E.pageY+Q.pageY)/2;return{x:S,y:I}},w=function(E,Q){const S=Q.pageX-E.pageX,I=Q.pageY-E.pageY;return Math.sqrt(S*S+I*I)},g=function(E){const S=de(e).getBoundingClientRect(),I=document.body.scrollLeft||document.documentElement.scrollLeft||0,T=document.body.scrollTop||document.documentElement.scrollTop||0,L=(E.x-S.left-I)/c.value,A=(E.y-S.top-T)/c.value;return{x:L,y:A}},v=function(E){const Q=E.touches,S=w(Q[0],Q[1]);if(!b){b=S;return}const I=S/b,T=c.value*I;c.value!==T&&(s(T),C()),b=S},b,y,x;function C(){return P(this,null,function*(){if(yield p.nextTick(),y&&x){const E=g(x),Q=y,S=(E.x-Q.x)*c.value,I=(E.y-Q.y)*c.value;o(S,I)}})}te(e,"touchstart",E=>{if(E.touches&&E.touches.length>=2){E.preventDefault(),E.stopPropagation();const S=m(E.touches[0],E.touches[1]);y=g(S),x=S,a.value=!0;return}const Q=E.touches[0];h(Q.pageX,Q.pageY)}),te(e,"touchmove",E=>{if(E.touches&&E.touches.length>=2){a.value=!0,E.preventDefault(),E.stopPropagation(),v(E);return}const Q=E.touches[0];d(Q.pageX,Q.pageY)}),te(e,"touchend",()=>{b=void 0,_()})}return{isDraging:a}},cf=t=>{const{defaultSize:e,wrapSize:n,props:r,edgeBetween:o,emit:i}=t,{isMobile:s}=se(),c=p.ref(1),a=p.ref(0),l=p.ref(0),u=p.computed(()=>r.maxZoom),f=p.computed(()=>{var I;const S=s?1:.25;return(I=r.minZoom)!=null?I:S}),h=p.computed(()=>{const S=e.value.width*c.value,I=e.value.height*c.value;return S>n.value.width||I>n.value.height});function d(){const S=e.value.height,I=n.value.height;let T=0;s&&I<S&&(T=(S-I)/2),a.value=0,l.value=T}function _(S,I=0){return Number(S.toFixed(I||0))}function m(){let S=.1;return c.value>=1.5&&(S=.25),c.value>=3&&(S=.5),c.value>=5&&(S=1),S}function w(){let S=1;return c.value<=5&&(S=.5),c.value<=3&&(S=.25),c.value<=1.5&&(S=.1),S}function g(){const S=m(),I=c.value+S;return b(I),c.value}function v(){const S=w(),I=c.value-S;return b(I),c.value}function b(S=1){return S<f.value&&(S=f.value),S>u.value&&(S=u.value),c.value=_(S,2),i("scale-change",c.value),E(),c.value}function y(){return c.value=1,i("scale-change",c.value),d(),c.value}function x(S=0,I=0){const T=Q({x:a.value+S,y:l.value+I});a.value=T.x,l.value=T.y}function C(S,I){const T=Q({x:S,y:I});a.value=T.x,l.value=T.y}function E(){const S=Q();a.value=S.x,l.value=S.y}function Q(S){S=S||{x:a.value,y:l.value};let{x:I,y:T}=S;const L=e.value.width*c.value,A=e.value.height*c.value;let $=L-n.value.width,D=A-n.value.height;if($>0){$+=o.value;const F=$/2;I>0&&I>F&&(I=F),I<0&&I<F*-1&&(I=F*-1)}else I=0;if(D>0){D+=o.value;const F=D/2;T>0&&T>F&&(T=F),T<0&&T<F*-1&&(T=F*-1)}else T=0;return{x:I,y:T}}return p.onMounted(()=>{d()}),{scale:c,centerDiffX:a,centerDiffY:l,isOverflowWrap:h,initCenter:d,zoomLarge:g,zoomSmall:v,zoomScale:b,zoomReset:y,moveCenter:x,setCenter:C,correctionCenter:E,computedCenter:Q}},lf=t=>{const{containerRef:e,props:n}=t,{isMobile:r}=se(),{size:o}=Zo(e),i=p.computed(()=>r?0:100),s=p.computed(()=>r?a():c());function c(){const l=o.value.width-i.value,u=o.value.height-i.value;if(n.originWidth<=l&&n.originHeight<=u)return{width:n.originWidth,height:n.originHeight};const f=n.originWidth/n.originHeight,h=l,d=h/f;return d<=u?{width:h,height:d}:{width:u*f,height:u}}function a(){const l=o.value.width-i.value,u=n.originHeight/n.originWidth,f=l,h=f*u;return{width:f,height:h}}return{wrapSize:o,defaultSize:s,edgeBetween:i}},uf=()=>({originWidth:k.number.def(0),originHeight:k.number.def(0),maxZoom:k.number.def(4),minZoom:k.looseNumber}),pf=()=>({"scale-change":M(),"single-click":M()}),ff=p.defineComponent({__name:"zoom-container",props:uf(),emits:pf(),setup(t,{expose:e,emit:n}){const r=t,o=p.ref(),i=p.ref(),{isMobile:s}=se(),c=p.ref(!1),{startTimeout:a}=an(()=>{c.value=!1},500);function l(){c.value=!0,a()}const{wrapSize:u,defaultSize:f,edgeBetween:h}=lf({props:r,containerRef:o}),{scale:d,centerDiffX:_,centerDiffY:m,isOverflowWrap:w,zoomLarge:g,zoomSmall:v,zoomReset:b,zoomScale:y,setCenter:x,moveCenter:C}=cf({defaultSize:f,wrapSize:u,props:r,edgeBetween:h,emit:n}),{canTransition:E,momentumTransitionDuration:Q,momentumBezier:S,onMomentumStart:I,onMomentumMove:T,onMomentumEnd:L}=sf(i,{getPosition:()=>({x:_.value,y:m.value}),updatePosition:(F,G)=>{x(F,G)}}),{isDraging:A}=af({scale:d,isOverflowWrap:w,contentRef:i,onDragStart:()=>{E.value=!1,I()},onDragMove:(F,G)=>{E.value=!1,C(F,G),T()},onDragEnd:()=>{E.value=!0,L()},toZoomScale:F=>{E.value=!1,y(F),l()}});L8(o,{onUp:()=>{g(),l()},onDown:()=>{v(),l()}}),h8(o,()=>{d.value!==1&&(b(),l())},{singleClickCallback:()=>{n("single-click",d.value)}});const $=p.computed(()=>{if(A.value)return!0;const F=d.value>1;return!!(F&&(_.value!==0||m.value!==0)||F&&w.value)}),D=p.computed(()=>{const F={transform:`translate3d(${_.value}px,${m.value}px,0) scale(${d.value})`};return E.value&&(F.transitionDuration="300ms",Q.value&&(F.transitionDuration=`${Q.value}ms`),S.value&&(F.transitionTimingFunction=S.value)),w.value&&!s&&(F.cursor=A.value?"grabbing":"grab"),F});return e({zoomLarge:g,zoomSmall:v,zoomReset:b,showScaleToast:l}),{__sfc:!0,props:r,emit:n,containerRef:o,contentRef:i,isMobile:s,scaleToastVisible:c,startScaleToastTimer:a,showScaleToast:l,wrapSize:u,defaultSize:f,edgeBetween:h,scale:d,centerDiffX:_,centerDiffY:m,isOverflowWrap:w,zoomLarge:g,zoomSmall:v,zoomReset:b,zoomScale:y,setCenter:x,moveCenter:C,canTransition:E,momentumTransitionDuration:Q,momentumBezier:S,onMomentumStart:I,onMomentumMove:T,onMomentumEnd:L,isDraging:A,disabledSwiper:$,contentStyle:D}}});var df=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"containerRef",staticClass:"pwc-zoom-container",class:{"swiper-no-swiping":r.disabledSwiper},attrs:{draggable:"false",onselectstart:"return false;",ondragstart:"return false;"}},[n("div",{ref:"contentRef",staticClass:"pwc-zoom-container__content",style:r.contentStyle},[n("div",{staticClass:"pwc-zoom-container__inner",style:{width:r.defaultSize.width+"px",height:r.defaultSize.height+"px"}},[e._t("default")],2)]),n("transition",{attrs:{name:"pwc-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.scaleToastVisible,expression:"scaleToastVisible"}],staticClass:"pwc-zoom-container__scale-toast"},[e._v(" "+e._s((r.scale*100).toFixed(0))+"% ")])])],1)},mf=[],gf=J(ff,df,mf);const hf=gf.exports,vf=p.defineComponent({__name:"image-zoom-wrap",props:{index:k.number.isRequired,item:k.object().isRequired},emits:{"scale-change":M(),close:M()},setup(t,{expose:e,emit:n}){const r=t;function o(g){g===1&&n("close")}const i=p.ref(!1),s=p.ref(!1),c=p.ref(0),a=p.ref(0);function l(){return P(this,null,function*(){try{const g=yield Z0(r.item.url);c.value=g.width,a.value=g.height,s.value=!0}catch(g){i.value=!0,s.value=!0}})}p.onMounted(()=>{l()});const{activeIndex:u}=ki(),f=p.ref();function h(){var g,v;u.value===r.index&&((g=f.value)==null||g.zoomLarge(),(v=f.value)==null||v.showScaleToast())}function d(){var g,v;u.value===r.index&&((g=f.value)==null||g.zoomSmall(),(v=f.value)==null||v.showScaleToast())}function _(){var g;(g=f.value)==null||g.zoomReset()}const{downloadFileUrl:m}=$r();function w(){if(u.value!==r.index)return;const g=r.item.downloadUrl||r.item.url;m(g)}return e({zoomLarge:h,zoomSmall:d,zoomReset:_,downloadFile:w}),{__sfc:!0,props:r,emit:n,onSingleClick:o,isLoadError:i,isLoaded:s,imageWidth:c,imageHeight:a,getImageSize:l,activeIndex:u,zoomRef:f,zoomLarge:h,zoomSmall:d,zoomReset:_,downloadFileUrl:m,downloadFile:w,PwcLoading:Qr,PwcZoomContainer:hf}}});var _f=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"pwc-image-preview__image-zoom"},[r.isLoaded?r.isLoadError?n("div",{staticClass:"pwc-image-preview__image-zoom__error"}):n(r.PwcZoomContainer,{ref:"zoomRef",attrs:{"origin-width":r.imageWidth,"origin-height":r.imageHeight},on:{"scale-change":function(o){return r.emit("scale-change",o)},"single-click":r.onSingleClick}},[n("img",{staticClass:"pwc-image-preview__image-zoom__img",attrs:{src:e.item.url}})]):n(r.PwcLoading,{staticClass:"pwc-image-preview__image-zoom__loading",attrs:{size:48}})],1)},wf=[],bf=J(vf,_f,wf);const yf=bf.exports,xf=["horizontal","vertical"],Cf=()=>O(O({initialSlide:k.number.def(0),direction:k.oneOf(xf).def("horizontal"),swiperOptions:k.object().def({})},Z7()),K7()),Qf=()=>({init:M(),"slide-change":M(),"slide-change-transition-start":M(),"slide-change-transition-end":M()}),kf=p.defineComponent({__name:"swiper",props:Cf(),emits:Qf(),setup(t,{emit:e}){const n=t,{wrapperRef:r,navigationOptions:o,paginationOptions:i}=V7({props:n,emit:e});return{__sfc:!0,props:n,emit:e,wrapperRef:r,navigationOptions:o,paginationOptions:i,PwcIconArrowCircleLeft:m3,PwcIconArrowCircleRight:g3}}});var Ef=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"wrapperRef",staticClass:"pwc-swiper swiper"},[n("div",{staticClass:"swiper-wrapper"},[e._t("default")],2),r.navigationOptions&&e.showNavigationArrow?[e._t("navigation-prev",function(){return[n("div",{staticClass:"pwc-swiper__prev"},[n(r.PwcIconArrowCircleLeft,{staticClass:"pwc-swiper__prev-icon"})],1)]}),e._t("navigation-next",function(){return[n("div",{staticClass:"pwc-swiper__next"},[n(r.PwcIconArrowCircleRight,{staticClass:"pwc-swiper__next-icon"})],1)]})]:e._e(),r.paginationOptions?[e._t("pagination",function(){return[n("div",{staticClass:"pwc-swiper-pagination",class:{"is-vertical":e.direction==="vertical"}})]})]:e._e(),e._t("wrapper-suffix")],2)},Sf=[],If=J(kf,Ef,Sf);const Xc=If.exports,Tf=()=>{const t=ki();p.onMounted(()=>{t&&t.updateSwiper()}),p.onUnmounted(()=>{t&&t.updateSwiper()})},Lf=p.defineComponent({__name:"swiper-slide",setup(t){return Tf(),{__sfc:!0}}});var Pf=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"pwc-swiper-slide swiper-slide"},[e._t("default")],2)},Af=[],$f=J(Lf,Pf,Af);const Jc=$f.exports,Rf=()=>({[k.modelValueKey]:k.bool.def(!1),images:k.oneOfType([String,Array,Object]).def([]),initialIndex:k.number.def(0)}),Of=()=>ie(O({},it()),{close:M()}),Df=t=>{const{props:e,emit:n}=t,{modelValue:r,updateModelValue:o}=Me(e),{visible:i,open:s,close:c}=_t(!1,{changeCallback:l=>{l!==r.value&&o(l)},hideCallback(){n("close")}});p.watch(r,()=>{r.value!==i.value&&(r.value?s():c())},{immediate:!0});const a=p.computed(()=>{const l=[],u=f=>{typeof f=="string"?l.push({url:f}):typeof f=="object"&&l.push(O({},f))};return Array.isArray(e.images)?e.images.forEach(f=>u(f)):(typeof e.images=="string"||typeof e.images=="object")&&u(e.images),l});return{visible:i,open:s,close:c,imageList:a}},zf=p.defineComponent({__name:"image-preview",props:Rf(),emits:Of(),setup(t,{expose:e,emit:n}){const r=t,{visible:o,open:i,close:s,imageList:c}=Df({props:r,emit:n}),a=p.ref(),{visible:l}=_8({target:a}),{isMobile:u}=se(),f=p.ref(1),h=p.ref([]);function d(){h.value.forEach(g=>{g.zoomLarge()})}function _(){h.value.forEach(g=>{g.zoomSmall()})}function m(){h.value.forEach(g=>{g.zoomReset()})}function w(){h.value.forEach(g=>{g.downloadFile()})}return e({open:i,close:s}),{__sfc:!0,props:r,emit:n,visible:o,open:i,close:s,imageList:c,bodyRef:a,controllerVisible:l,isMobile:u,currentScale:f,imageWrapRefs:h,zoomLarge:d,zoomSmall:_,zoomReset:m,downloadFile:w,PwcIconClose:$n,PreviewController:of,ImageZoomWrap:yf,PwcPopup:st,PwcSwiper:Xc,PwcSwiperSlide:Jc}}});var Ff=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"pwc-image-preview",attrs:{"body-max-height":1,width:"100%",height:"100%","show-header":!1,background:"none",position:"center"},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{ref:"bodyRef",staticClass:"pwc-image-preview__body"},[r.visible?n(r.PwcSwiper,{staticClass:"pwc-image-preview__swiper",attrs:{navigation:{nextEl:".pwc-image-preview__next",prevEl:".pwc-image-preview__prev",disabledClass:"is-disabled"},"show-navigation-arrow":!1},on:{"slide-change-transition-end":r.zoomReset},scopedSlots:e._u([{key:"wrapper-suffix",fn:function(){return[n(r.PreviewController,{attrs:{"current-scale":r.currentScale,show:r.controllerVisible},on:{"zoom-in":r.zoomSmall,"zoom-out":r.zoomLarge,"zoom-reset":r.zoomReset,download:r.downloadFile}})]},proxy:!0}],null,!1,896822124)},e._l(r.imageList,function(o,i){return n(r.PwcSwiperSlide,{key:i},[n(r.ImageZoomWrap,{ref:"imageWrapRefs",refInFor:!0,attrs:{item:o,index:i},on:{"scale-change":function(s){r.currentScale=s},close:r.close}})],1)}),1):e._e(),n(r.PwcIconClose,{staticClass:"pwc-image-preview__close",class:{"is-mobile":r.isMobile},on:{click:r.close}})],1)])},Bf=[],Mf=J(zf,Ff,Bf);const Nf=Mf.exports;function Ei(){const{createVueInstance:t}=qe();function e(){}p.onBeforeUnmount(e);function n(o=[],i={}){const{initialIndex:s=0}=i,c=t(Nf,{props:{images:o,initialIndex:s},on:{close:()=>{}}});return c.open(),c}function r(o){const i=o.target;i instanceof HTMLImageElement&&n(i.src)}return{previewImage:n,clickImgToPreview:r}}var Ie=(t=>(t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left",t.TopLeft="top-left",t.TopRight="top-right",t.BottomLeft="bottom-left",t.BottomRight="bottom-right",t))(Ie||{});const Hf=()=>({width:k.number.def(0),height:k.number.def(0),minWidth:k.number.def(50),minHeight:k.number.def(50),maxWidth:k.number.def(1/0),maxHeight:k.number.def(1/0),disabled:k.bool.def(!1),handleSize:k.number.def(8),showHandles:k.oneOfType([Boolean,Array]).def(!0),storageKey:k.string.def("")}),Uf=()=>({"resize-start":M(),resize:M(),"resize-end":M()}),jf=t=>{const{props:e,emit:n}=t,r=p.ref(),o=p.ref(!1),i=p.ref(null),s=p.ref({x:0,y:0}),c=p.ref({width:0,height:0}),a={width:e.width,height:e.height},l=e.storageKey?D4(e.storageKey,a):p.ref(a),u=p.computed(()=>{const m={};return e.width&&(m.width=l.value.width+"px"),e.height&&(m.height=l.value.height+"px"),m}),f=m=>e.showHandles===!1||Array.isArray(e.showHandles)&&!e.showHandles.includes(m)?!1:[Ie.Top,Ie.Bottom].includes(m)?!!e.height:[Ie.Left,Ie.Right].includes(m)?!!e.width:!!e.width&&!!e.height,h=(m,w)=>{e.disabled||(m.preventDefault(),m.stopPropagation(),o.value=!0,i.value=w,s.value={x:m.clientX,y:m.clientY},c.value=O({},l.value),n("resize-start",{width:l.value.width,height:l.value.height,direction:w,event:m}))},d=m=>{if(!o.value||!i.value)return;const w=m.clientX-s.value.x,g=m.clientY-s.value.y;let v=c.value.width,b=c.value.height;switch(i.value){case Ie.Right:v=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width+w));break;case Ie.Bottom:b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height+g));break;case Ie.Left:v=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width-w));break;case Ie.Top:b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height-g));break;case Ie.TopRight:v=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width+w)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height-g));break;case Ie.TopLeft:v=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width-w)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height-g));break;case Ie.BottomRight:v=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width+w)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height+g));break;case Ie.BottomLeft:v=Math.max(e.minWidth,Math.min(e.maxWidth,c.value.width-w)),b=Math.max(e.minHeight,Math.min(e.maxHeight,c.value.height+g));break}l.value={width:v,height:b},n("resize",{width:v,height:b,direction:i.value,event:m})},_=m=>{if(!o.value||!i.value)return;o.value=!1;const w=i.value;i.value=null,n("resize-end",{width:l.value.width,height:l.value.height,direction:w,event:m})};return p.onMounted(()=>{document.addEventListener("mousemove",d),document.addEventListener("mouseup",_)}),p.onBeforeUnmount(()=>{document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",_)}),{boxStyle:u,containerRef:r,currentSize:l,isResizing:o,showHandleControl:f,handleMouseDown:h}},qf=p.defineComponent({__name:"resize-box",props:Hf(),emits:Uf(),setup(t,{emit:e}){const n=t,{boxStyle:r,containerRef:o,isResizing:i,handleMouseDown:s,showHandleControl:c}=jf({props:n,emit:e});return{__sfc:!0,props:n,emit:e,boxStyle:r,containerRef:o,isResizing:i,handleMouseDown:s,showHandleControl:c,ResizeDirection:Ie}}});var Wf=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"containerRef",staticClass:"pwc-resize-box",class:{"is-resizing":r.isResizing},style:r.boxStyle},[e._t("default"),e.showHandles&&!e.disabled?[r.showHandleControl(r.ResizeDirection.Top)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--top",style:`height: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.Top)}}}):e._e(),r.showHandleControl(r.ResizeDirection.Right)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--right",style:`width: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.Right)}}}):e._e(),r.showHandleControl(r.ResizeDirection.Bottom)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--bottom",style:`height: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.Bottom)}}}):e._e(),r.showHandleControl(r.ResizeDirection.Left)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--left",style:`width: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.Left)}}}):e._e(),r.showHandleControl(r.ResizeDirection.TopLeft)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--top-left",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.TopLeft)}}}):e._e(),r.showHandleControl(r.ResizeDirection.TopRight)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--top-right",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.TopRight)}}}):e._e(),r.showHandleControl(r.ResizeDirection.BottomLeft)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--bottom-left",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.BottomLeft)}}}):e._e(),r.showHandleControl(r.ResizeDirection.BottomRight)?n("div",{staticClass:"pwc-resize-box__handle pwc-resize-box__handle--bottom-right",style:`width: ${e.handleSize}px; height: ${e.handleSize}px`,on:{mousedown:function(o){return r.handleMouseDown(o,r.ResizeDirection.BottomRight)}}}):e._e()]:e._e()],2)},Gf=[],Zf=J(qf,Wf,Gf);const Yf=Zf.exports,ne={ScrollToNew:"ScrollToNew",CheckScrollFoot:"CheckScrollFoot",ReplaceChatMessage:"ReplaceChatMessage",LoadInitialData:"LoadInitialData",JoinMsgQueue:"JoinMsgQueue",CloseMsgControl:"CloseMsgControl",QuoteMsg:"QuoteMsg",FocusInput:"FocusInput",OpenEmotionFacePicker:"OpenEmotionFacePicker",OpenCompleteMsgPopup:"OpenCompleteMsgPopup",AddMessageSize:"AddMessageSize",OpenBanList:"OpenBanList",OpenKickList:"OpenKickList",DownloadAttendanceList:"DownloadAttendanceList"},Vc="ChatGlobalInject",Kf=t=>{p.provide(Vc,t)},tt=()=>p.inject(Vc),e1={introductionText:"",showEmptyTips:!1,hideSources:[],hideMessage:{},showMessageTime:!0,messageLayout:"compact",showUserAvatar:!0,showOrdinaryActor:!1,translateEnabled:!1,copySpeakEnabled:!1,quoteEnabled:!1,hoverHighlight:!1,messageControlInteraction:"context-menu",messageHorizontalSpacing:{left:16,right:16},messageContainerBoundaryPadding:{top:0,bottom:0},messageContainerBoundaryShadow:{topHeight:0},imagePreviewIcon:!1,clickMsgCallback:{},customMessageRender:{},selfMsgAlign:"left",messageSizeEnabled:!1,showDummyActor:!1,onlySpecialMsgEnabled:!1,autoTranslateEnabled:!1,hideScrollbar:!1},ae=()=>{const t=tt();return{messageConfig:p.computed(()=>{let n={};return t.getMessageConfig&&(n=t.getMessageConfig()),O(O({},e1),n)})}},t1=["mini","small","medium","large"],Xf=()=>{const{messageConfig:t}=ae(),e=p.computed(()=>t.value.messageLayout==="loose"?t1:t1.slice(1,4));function n(){const s=localStorage.getItem("plv-chat-message-size")||"medium";return e.value.includes(s)?s:"medium"}const r=p.ref(n());function o(){const s=e.value,c=s.indexOf(r.value);if(c===s.length-1){r.value=s[0];return}r.value=s[c+1]}const i=p.computed(()=>`plv-msg-size-${r.value}`);return he(ne.AddMessageSize,o),p.watch(r,()=>{localStorage.setItem("plv-chat-message-size",r.value)}),{currentSize:r,msgSizeClass:i,addSize:o}},Jf={chat:{copy:"Copy",more:"More",illegalImage:"Illegal image",notice:"Notice",moreMsg:"News messages",loadError:"Messages load failed",empty:"Chat is empty~",noMore:"No more",roomReopened:"Chat reopened",roomClosed:"Chat closed",fast:"Your message was sent too fast, please try again later",send:"Send",uploadImageError:"Image upload failed!",translate:"Translate",cancelTranslate:"Cancel translate",reply:"Reply",completeMsg:"Full version",editInfo:"Edit info",onlySpecial:"Only for host",dummyActor:"Dummy actor",overMaxImageCount:"Maximum {count} images",originalContent:"Original",needLive:"Please start the live broadcast",reconnect:"Chat successfully reconnected",systemMsg:"System",longImage:"Long image"},specialEffect:{hideEffect:"Disable effects",showTips:"Effects enabled",hideTips:"Effects disabled"},input:{maskTitle:"Notice",noSupportSendMsg:"Message sending is not supported"},online:{searchPlaceholder:"Search by name",me:"Me",all:"All",attendance:"Attendance",absence:"Absence"},manage:{list:"List",delete:"Delete",deleteSuccess:"Delete success",deleteFail:"Delete fail",banList:"Ban list",ban:"Ban",cancelBan:"Cancel ban",banFail1:"Operation failed, the user has been banned on the entire platform",banUserTitle:"Ban user",banIpTitle:"Ban IP",banIp:"Ban IP",cancelBanIp:"Cancel ban IP",banIpFail1:"Operation failed, the IP has been banned on the entire platform",kickList:"Kick list",kick:"Kick",cancelKick:"Cancel kick",kickConfirm:"Are you sure you want to kick this user?",kickConfirmTips:"After kicking, the user will not be able to watch the live broadcast, and can be restored in the kicked list",kickFail1:"Operation failed, the user has been kicked on the entire platform",like:"Praise",liked:"Already praised",top:"Top",cancelTop:"Cancel top",topAction:"Operator:",hideTop:"Hide",ask:"Private message",clear:"Clear",clearChat:"Clear chat",clearChatConfirm:"Are you sure you want to clear the chat?",clearChatConfirmTips:"After clearing, the viewer/instructor/guest will be cleared",clearMsgSuccess:"Clear success",clearMsgFail:"Clear fail",exportHistory:"Export chat history",translateChat:"Translate chat",closeRoom:"Chat disabled",pushQa:"Set as question",pushQaSuccess:"The message has been set as a question, can be notified to the host",openAutoTranslate:"Auto translate enabled",closeAutoTranslate:"Auto translate disabled",unSupportAutoTranslate:"Current language does not support auto translate",banPlatformProhibited:"Banned on the entire platform",kickPlatformProhibited:"Kicked on the entire platform",userIp:"User IP:",downloadAttendanceList:"Download attendance/absence list",downloadOnlineList:"Download online list",downloadWhiteList:"Download white list"},motivation:{you:"You",msgContent:"{motivatedNick} received {motivatorNick} <span>praise</span>"},effect:{peopleCount:" with {count} people"},redpack:{get:"Get",rainName:"Red packet",passwordName:"Password packet",questionName:"Question packet",normalName:"Packet",finish:". The red envelope has been taken out",rainFinish:". The red envelope rain has been taken out"},donate:{goodAction:"send ",name:{six:"666",bear:"Bear",microphone:"Microphone",villa:"Villa",coffee:"Coffee",trophy:"Trophy",star:"Star",applause:"Applause",yacht:"Yacht",rocket:"Rocket",like:"Like",fireworks:"Fireworks",crown:"Crown",cars:"Cars",goldenEggs:"Golden Eggs",diamonds:"Diamonds",plane:"Plane",flower:"Flower"}}},Vf={chat:{copy:"コピー",more:"もっと見る",illegalImage:"画像違反",notice:"通知",moreMsg:"新しいメッセージを見る",loadError:"メッセージの読み込みに失敗しました",empty:"チャットが空です~",noMore:"もうすぐ終わります",roomReopened:"チャットが再開しました",roomClosed:"チャットが閉鎖されました",fast:"メッセージが送信されましたが、送信が速すぎます。後で再試行してください",send:"送信",uploadImageError:"画像をアップロードできません!",translate:"翻訳",cancelTranslate:"翻訳をキャンセル",reply:"返信",completeMsg:"全文",editInfo:"情報を編集",onlySpecial:"オーナーだけ見る",dummyActor:"仮想人",overMaxImageCount:"最大{count}枚の画像を挿入",originalContent:"原文",needLive:"ライブを開始してください",reconnect:"チャットが再接続されました",systemMsg:"システムメッセージ",longImage:"長い画像"},specialEffect:{hideEffect:"特效を無効化",showTips:"効果 ベアム",hideTips:"効果 ベアム"},input:{maskTitle:"お知らせ",noSupportSendMsg:"メッセージの送信をサポートしていません"},online:{searchPlaceholder:"名前で検索",me:"私",all:"全部",attendance:"出勤",absence:"缺勤"},manage:{list:"名簿",delete:"削除",deleteSuccess:"削除されました",deleteFail:"削除に失敗しました",banList:"禁言名簿",ban:"禁言",cancelBan:"取消禁言",banFail1:"操作失败,该用户已被管理员全平台禁言",banUserTitle:"ユーザー禁言",banIpTitle:"IP禁言",banIp:"IP 禁言",cancelBanIp:"IP 禁言 取消",banIpFail1:"操作失败,该IP已被管理员全平台禁言",kickList:"踢出名簿",kick:"踢出",cancelKick:"取消踢出",kickConfirm:"確定要踢出此用戶嗎?",kickConfirmTips:"踢出後對方將無法觀看直播,可在踢出名單中恢復",kickFail1:"操作失败,该用户已被管理员全平台踢出",like:"褒め",liked:"すでに褒めました",top:"壁に上げる",cancelTop:"壁から下ろす",topAction:"操作人:",hideTop:"隠す",ask:"個人メッセージ",clear:"クリア",clearChat:"チャットをクリア",clearChatConfirm:"チャットをクリアしますか?",clearChatConfirmTips:"チャットをクリアすると、視聴者/講師/ゲストがクリアされます",clearMsgSuccess:"クリア成功",clearMsgFail:"クリア失敗",exportHistory:"チャット履歴をエクスポート",translateChat:"チャットを翻訳",closeRoom:"チャット禁止",pushQa:"質問に設定",pushQaSuccess:"メッセージが質問に設定されました、アナウンサーに通知できます",openAutoTranslate:"自動翻訳が有効になりました",closeAutoTranslate:"自動翻訳が無効になりました",unSupportAutoTranslate:"現在の言語は自動翻訳をサポートしていません",banPlatformProhibited:"全プラットフォームで禁止されています",kickPlatformProhibited:"全プラットフォームでキックされています",userIp:"ユーザーIP:",downloadAttendanceList:"出勤/欠勤リストをダウンロード",downloadOnlineList:"オンラインリストをダウンロード",downloadWhiteList:"ホワイトリストをダウンロード"},motivation:{you:"あなた",msgContent:"{motivatedNick} 獲得しました {motivatorNick}の<span>褒め</span>"},effect:{peopleCount:"等{count}人"},redpack:{get:"受け取る",rainName:"赤いパケット",passwordName:"パスワードパケット",questionName:"問題パケット",normalName:"パケット",finish:"、赤い封筒はすでに受け取り済みです",rainFinish:"、赤い封筒の雨はすでに受け取り済みです"},donate:{goodAction:"贈り物 ",name:{six:"666",bear:"クマ",microphone:"マイク",villa:"ビレッジ",coffee:"コーヒー",trophy:"トロフィー",star:"星",applause:"拍手",yacht:"ヨット",rocket:"ロケット",like:"いいね",fireworks:"花火",crown:"冠",cars:"車",goldenEggs:"金の卵",diamonds:"ダイアモンド",plane:"飛行機",flower:"花"}}},ed={chat:{copy:"복사",more:"더 보기",illegalImage:"이미지 위반",notice:"알림",moreMsg:"새 메시지 보기",loadError:"메시지 로드 실패",empty:"채팅방이 비어있습니다~",noMore:"더 이상 메시지가 없습니다",roomReopened:"채팅방이 다시 열렸습니다",roomClosed:"채팅방이 닫혔습니다",fast:"메시지가 너무 빠르게 전송되었습니다, 나중에 다시 시도해주세요",send:"전송",uploadImageError:"이미지를 업로드할 수 없습니다!",translate:"번역",cancelTranslate:"번역 취소",reply:"답변",completeMsg:"전체 버전",editInfo:"정보 수정",onlySpecial:"주인장만 보기",dummyActor:"가상 인간",overMaxImageCount:"최대 {count}개의 이미지 삽입",originalContent:"원본",needLive:"방송을 시작하세요",reconnect:"채팅방이 다시 연결되었습니다",systemMsg:"시스템 메시지",longImage:"장판 이미지"},specialEffect:{hideEffect:"효과 비활성화",showTips:"효과 활성화되었습니다",hideTips:"효과 비활성화되었습니다"},input:{maskTitle:"안내",noSupportSendMsg:"메시지 전송을 지원하지 않습니다"},online:{searchPlaceholder:"이름으로 검색",me:"나",all:"모두",attendance:"출근",absence:"결근"},manage:{list:"목록",delete:"삭제",deleteSuccess:"삭제되었습니다",deleteFail:"삭제 실패",banList:"금지 목록",ban:"금지",cancelBan:"금지 취소",banFail1:"작업이 실패했습니다, 해당 사용자는 전체 플랫폼에서 금지되었습니다",banUserTitle:"사용자 금지",banIpTitle:"IP 금지",banIp:"IP 금지",cancelBanIp:"IP 금지 취소",banIpFail1:"작업이 실패했습니다, 해당 IP는 전체 플랫폼에서 금지되었습니다",kickList:"추방 목록",kick:"추방",cancelKick:"추방 취소",kickConfirm:"해당 사용자를 추방하시겠습니까?",kickConfirmTips:"추방 후 해당 사용자는 방송을 시청할 수 없습니다, 추방 목록에서 복구할 수 있습니다",kickFail1:"작업이 실패했습니다, 해당 사용자는 전체 플랫폼에서 추방되었습니다",like:"칭찬",liked:"이미 칭찬했습니다",top:"벽에 올리기",cancelTop:"벽에서 내리기",topAction:"조작자:",hideTop:"숨기기",ask:"개인 메시지",clear:"초기화",clearChat:"채팅방 초기화",clearChatConfirm:"채팅방 초기화하시겠습니까?",clearChatConfirmTips:"채팅방 초기화 후 시청자/강사/손님 모두 초기화됩니다",clearMsgSuccess:"초기화 성공",clearMsgFail:"초기화 실패",exportHistory:"채팅 기록 내보내기",translateChat:"채팅 번역",closeRoom:"채팅 금지",pushQa:"질문으로 설정",pushQaSuccess:"메시지가 질문으로 설정되었습니다, 안내자에게 알릴 수 있습니다",openAutoTranslate:"자동 번역 활성화",closeAutoTranslate:"자동 번역 비활성화",unSupportAutoTranslate:"현재 언어는 자동 번역을 지원하지 않습니다",banPlatformProhibited:"전체 플랫폼에서 금지되었습니다",kickPlatformProhibited:"전체 플랫폼에서 추방되었습니다",userIp:"사용자 IP:",downloadAttendanceList:"출근/결근 목록 다운로드",downloadOnlineList:"온라인 목록 다운로드",downloadWhiteList:"백리스트 목록 다운로드"},motivation:{you:"당신",msgContent:"{motivatedNick} 칭찬을 받았습니다 {motivatorNick}의 <span>칭찬</span>"},effect:{peopleCount:"등{count}명"},redpack:{get:"받기",rainName:"빨간 패킷",passwordName:"비밀번호 패킷",questionName:"질문 패킷",normalName:"패킷",finish:",홍바오가 이미 다 받아졌습니다",rainFinish:",홍바오 비가 이미 다 받아졌습니다"},donate:{goodAction:"주기 ",name:{six:"666",bear:"곰",microphone:"마이크",villa:"빌라",coffee:"커피",trophy:"트로피",star:"별",applause:"박수",yacht:"요트",rocket:"로켓",like:"좋아요",fireworks:"불꽃",crown:"왕관",cars:"차",goldenEggs:"금귤",diamonds:"다이아몬드",plane:"비행기",flower:"꽃"}}},td={chat:{copy:"Копировать",more:"Подробнее",illegalImage:"Недопустимое изображение",notice:"Уведомление",moreMsg:"Посмотреть новые сообщения",loadError:"Сообщения загружаются с ошибкой",empty:"Чат пуст~",noMore:"Нет больше",roomReopened:"Чат открыт",roomClosed:"Чат закрыт",fast:"Ваше сообщение было отправлено слишком быстро, пожалуйста, попробуйте снова позже",send:"Отправить",uploadImageError:"Изображение не может быть загружено!",translate:"Перевести",cancelTranslate:"Отменить перевод",reply:"Ответить",completeMsg:"Полная версия",editInfo:"Изменить информацию",onlySpecial:"Только для ведущего",dummyActor:"Виртуальный человек",overMaxImageCount:"Максимум {count} изображений",originalContent:"Оригинал",needLive:"Пожалуйста, запустите трансляцию",reconnect:"Чат успешно переподключен",systemMsg:"Системное сообщение",longImage:"Длинное изображение"},specialEffect:{hideEffect:"Заблокировать эффекты",showTips:"Эффекты включены",hideTips:"Эффекты выключены"},input:{maskTitle:"Предупреждение",noSupportSendMsg:"Не поддерживается отправка сообщений"},online:{searchPlaceholder:"Введите имя для поиска",me:"Я",all:"Все",attendance:"Выход",absence:"Отсутствие"},manage:{list:"список",delete:"Удалить",deleteSuccess:"Удалено",deleteFail:"Не удалено",banList:"список запретов",ban:"Запретить",cancelBan:"Отменить запрет",banFail1:"Операция не удалась, пользователь уже заблокирован на всей платформе",banUserTitle:"Запретить пользователя",banIpTitle:"Запретить IP",banIp:"Запретить IP",cancelBanIp:"Отменить запрет IP",banIpFail1:"Операция не удалась, IP уже заблокирован на всей платформе",kickList:"список выгнанных",kick:"Выгнать",cancelKick:"Отменить выгон",kickConfirm:"Определенно выгнать этого пользователя?",kickConfirmTips:"После выгона пользователь не сможет смотреть трансляцию, но может быть восстановлен в списке выгнанных",kickFail1:"Операция не удалась, пользователь уже выгнан на всей платформе",like:"похвала",liked:"уже похвалил",top:"на стену",cancelTop:"снять с стены",topAction:"оператор:",hideTop:"скрыть",ask:"личное сообщение",clear:"очистить",clearChat:"очистить чат",clearChatConfirm:"очистить чат?",clearChatConfirmTips:"очистить чат",clearMsgSuccess:"очистить успешно",clearMsgFail:"очистить не удалось",exportHistory:"экспортировать историю чата",translateChat:"перевести чат",closeRoom:"запретить чат",pushQa:"установить в вопрос",pushQaSuccess:"сообщение переведено в вопрос, можно уведомить ведущего",openAutoTranslate:"автоматический перевод включен",closeAutoTranslate:"автоматический перевод выключен",unSupportAutoTranslate:"текущий язык не поддерживает автоматический перевод",banPlatformProhibited:"уже заблокирован на всей платформе",kickPlatformProhibited:"уже выгнан на всей платформе",userIp:"пользователь IP:",downloadAttendanceList:"скачать список посещения/пропусков",downloadOnlineList:"скачать список онлайн",downloadWhiteList:"скачать список белого списка"},motivation:{you:"ты",msgContent:"{motivatedNick} получил {motivatorNick} <span>похвалу</span>"},effect:{peopleCount:"с{count} человек"},redpack:{get:"Получить",rainName:"Получить красный пакет",passwordName:"Получить пакет с паролем",questionName:"Получить пакет с вопросом",normalName:"Получить пакет",finish:",красный конверт разобран",rainFinish:",дождь из красных конвертов закончен"},donate:{goodAction:"подарить ",name:{six:"666",bear:"медведь",microphone:"микрофон",villa:"вила",coffee:"кофе",trophy:"трофей",star:"звезда",applause:"аплодисменты",yacht:"яхта",rocket:"ракета",like:"лайк",fireworks:"фейерверк",crown:"корона",cars:"машина",goldenEggs:"золотой яйцо",diamonds:"алмазы",plane:"самолет",flower:"цветок"}}},nd={chat:{copy:"复制",more:"更多",illegalImage:"图片违规",notice:"通知",moreMsg:"查看新消息",loadError:"消息加载失败",empty:"聊天室空空如也~",noMore:"没有更多了",roomReopened:"聊天室重新打开",roomClosed:"聊天室已禁言",fast:"您的发言过快,请稍后再试",send:"发送",uploadImageError:"图片上传失败!",translate:"翻译",cancelTranslate:"取消翻译",reply:"回复",completeMsg:"全文",editInfo:"修改信息",onlySpecial:"只看主持人",dummyActor:"虚拟人",overMaxImageCount:"最多插入不超过{count}张图片",originalContent:"原文",needLive:"请先发起直播",reconnect:"聊天室重新连接成功",systemMsg:"系统消息",longImage:"长图"},specialEffect:{hideEffect:"屏蔽特效",showTips:"已开启特效",hideTips:"已关闭特效"},input:{maskTitle:"温馨提示",noSupportSendMsg:"暂不支持发送消息"},online:{searchPlaceholder:"输入名称搜索",me:"我",all:"全部",attendance:"出勤",absence:"缺勤"},manage:{list:"名单",delete:"删除",deleteSuccess:"删除成功",deleteFail:"删除失败",banList:"禁言名单",ban:"禁言",banUserTitle:"用户禁言",banIpTitle:"IP禁言",cancelBan:"取消禁言",banFail1:"操作失败,该用户已被管理员全平台禁言",banIp:"禁言IP",cancelBanIp:"取消禁言IP",banIpFail1:"操作失败,该IP已被管理员全平台禁言",kickList:"踢出名单",kick:"踢出",cancelKick:"取消踢出",kickConfirm:"确定要踢出此用户吗?",kickConfirmTips:"踢出后对方将无法观看直播,可在踢出名单中恢复",kickFail1:"操作失败,该用户已被管理员全平台踢出",like:"夸奖",liked:"已夸奖",top:"上墙",cancelTop:"下墙",topAction:"操作人:",hideTop:"收起",ask:"私聊",clear:"清空",clearChat:"清空聊天室",clearChatConfirm:"确定要清空聊天室吗?",clearChatConfirmTips:"清空后观众/讲师/嘉宾端将同步清空",clearMsgSuccess:"清空成功",clearMsgFail:"清空失败",exportHistory:"导出聊天记录",translateChat:"翻译聊天室",closeRoom:"禁止聊天",pushQa:"设为问答",pushQaSuccess:"已将消息转到问答区,可通知主播查看",openAutoTranslate:"已开启自动翻译",closeAutoTranslate:"已关闭自动翻译",unSupportAutoTranslate:"当前语言不支持自动翻译",banPlatformProhibited:"已被全平台禁言",kickPlatformProhibited:"已被全平台踢出",userIp:"用户IP:",downloadAttendanceList:"下载到勤/缺勤名单",downloadOnlineList:"下载在线人员名单",downloadWhiteList:"下载白名单观看情况"},motivation:{you:"你",msgContent:"{motivatedNick}收获了{motivatorNick}的<span>夸奖</span>"},effect:{peopleCount:"等{count}人"},redpack:{get:"领取",rainName:"红包雨",passwordName:"口令红包",questionName:"答题红包",normalName:"普通红包",finish:",红包已被领完",rainFinish:",红包雨已被领完"},donate:{goodAction:"赠送",name:{six:"666",bear:"小熊",microphone:"麦克风",villa:"别墅",coffee:"咖啡",trophy:"奖杯",star:"小星星",applause:"掌声",yacht:"游艇",rocket:"火箭",like:"点赞",fireworks:"烟火",crown:"皇冠",cars:"跑车",goldenEggs:"金蛋",diamonds:"钻石",plane:"飞机",flower:"鲜花"}}},rd={chat:{copy:"複製",more:"更多",illegalImage:"圖片違規",notice:"通知",moreMsg:"查看新消息",loadError:"消息加载失败",empty:"聊天室空空如也~",noMore:"没有更多了",roomReopened:"聊天室重新打开",roomClosed:"聊天室已禁言",fast:"您的發言過快,請稍後再試",send:"發送",uploadImageError:"圖片上傳失敗!",translate:"翻譯",cancelTranslate:"取消翻譯",reply:"回復",completeMsg:"全文",editInfo:"修改信息",onlySpecial:"只看主持人",dummyActor:"虛擬人",overMaxImageCount:"最多插入不超過{count}張圖片",originalContent:"原文",needLive:"請先發起直播",reconnect:"聊天室重新連接成功",systemMsg:"系統消息",longImage:"長圖"},specialEffect:{hideEffect:"屏蔽特效",showTips:"已開啟特效",hideTips:"已關閉特效"},input:{maskTitle:"溫馨提示",noSupportSendMsg:"暫不支持發送消息"},online:{searchPlaceholder:"輸入名稱搜索",me:"我",all:"全部",attendance:"出勤",absence:"缺勤"},manage:{list:"名單",delete:"刪除",deleteSuccess:"刪除成功",deleteFail:"刪除失敗",banList:"禁言名單",ban:"禁言",cancelBan:"取消禁言",banFail1:"操作失败,该用户已被管理员全平台禁言",banUserTitle:"用户禁言",banIpTitle:"IP禁言",banIp:"禁言IP",cancelBanIp:"取消禁言IP",banIpFail1:"操作失败,该IP已被管理员全平台禁言",kickList:"踢出名單",kick:"踢出",cancelKick:"取消踢出",kickConfirm:"確定要踢出此用戶嗎?",kickConfirmTips:"踢出後對方將無法觀看直播,可在踢出名單中恢復",kickFail1:"操作失败,该用户已被管理员全平台踢出",like:"夸奖",liked:"已夸奖",top:"上墙",cancelTop:"下墙",topAction:"操作人:",hideTop:"收起",ask:"私聊",clear:"清空",clearChat:"清空聊天室",clearChatConfirm:"確定要清空聊天室嗎?",clearChatConfirmTips:"清空後觀眾/講師/嘉賓端將同步清空",clearMsgSuccess:"清空成功",clearMsgFail:"清空失敗",exportHistory:"導出聊天記錄",translateChat:"翻譯聊天室",closeRoom:"禁止聊天",pushQa:"設為問答",pushQaSuccess:"已將消息轉到問答區,可通知主播查看",openAutoTranslate:"已開啟自動翻譯",closeAutoTranslate:"已關閉自動翻譯",unSupportAutoTranslate:"當前語言不支持自動翻譯",banPlatformProhibited:"已被全平台禁言",kickPlatformProhibited:"已被全平台踢出",userIp:"用戶IP:",downloadAttendanceList:"下載到勤/缺勤名單",downloadOnlineList:"下載在線人員名單",downloadWhiteList:"下載白名單觀看情況"},motivation:{you:"你",msgContent:"{motivatedNick}收到了{motivatorNick}的<span>夸奖</span>"},effect:{peopleCount:"等{count}人"},redpack:{get:"領取",rainName:"紅包雨",passwordName:"口令紅包",questionName:"答題紅包",normalName:"普通紅包",finish:",红包已被领完",rainFinish:",红包雨已被领完"},donate:{goodAction:"贈送",name:{six:"666",bear:"小熊",microphone:"麥克風",villa:"別墅",coffee:"咖啡",trophy:"獎杯",star:"小星星",applause:"掌聲",yacht:"遊艇",rocket:"火箭",like:"點讚",fireworks:"煙火",crown:"皇冠",cars:"跑車",goldenEggs:"金蛋",diamonds:"鑽石",plane:"飛機",flower:"鮮花"}}},{useI18n:W}=Wa({zh_CN:nd,zh_TW:rd,en:Jf,ja:Vf,ko:ed,ru:td});function od(t){return{PolyvChatEvent:t.PolyvChatEvent,ChatMsgSource:t.ChatMsgSource,DonateType:t.DonateType,RedpackType:t.RedpackType,SystemMsgType:t.SystemMsgType,ChatRequestHistoryMode:t.ChatRequestHistoryMode,ManageFailReason:t.ManageFailReason,TranslateLanguage:t.TranslateLanguage}}function id(t){return{SocketUserType:t.SocketUserType}}const j=()=>{const e=tt().getChatTarget();if(!e)throw new Error("useChatTargetInject fail: chatTarget is undefined");return ie(O(O({chatTarget:e,plvSocket:e.plvSocket},od(e)),id(e.plvSocket)),{getUserId:()=>e.plvSocket.getUserInfo().userId,getUserLabelIds:()=>e.plvSocket.getUserInfo().labelIds||[],selfIsSpecialUser:()=>{const{userType:n,actor:r}=e.plvSocket.getUserInfo();return e.plvSocket.isSpecialUserType(n,r)},getUserType:()=>e.plvSocket.getUserInfo().userType})};function Si(t,e=["blob"]){const n=/^(http(s?)):/.exec(location.href),r=n&&n[1]||"https";return e.some(i=>t.startsWith(i))?t:ha(t,r)}function sd(t=3e3){return new Promise(e=>{setTimeout(()=>{e()},t)})}const Dr=t=>{const{getUserId:e,SocketUserType:n,plvSocket:r,chatTarget:o}=j(),{messageConfig:i}=ae(),{$t:s}=W(),c=o.utils.getDefaultResource(),a=p.computed(()=>{var v;return(v=t.value)==null?void 0:v.userId}),l=p.computed(()=>{var b;const v=p.unref(t);return(b=v==null?void 0:v.nick)!=null?b:""}),u=p.computed(()=>{var b;const v=p.unref(t);return Si((b=v==null?void 0:v.pic)!=null?b:c.defaultViewerAvatar)}),f=p.computed(()=>{const v=p.unref(t);return v==null?void 0:v.userType}),h=p.computed(()=>{const v=p.unref(t);let b=v==null?void 0:v.actor;return f.value===n.Dummy&&i.value.showDummyActor?s("chat.dummyActor"):b}),d=p.computed(()=>{const v=p.unref(t);return v&&v.label&&Array.isArray(v.label.question)?v.label.question:[]}),_=p.computed(()=>{var v;return((v=p.unref(t))==null?void 0:v.userId)===e()}),m=p.computed(()=>f.value?r.isSpecialUserType(f.value,h.value):!1),w=p.computed(()=>{if(!h.value)return!1;if(m.value||f.value===n.Dummy&&i.value.showDummyActor)return!0;const v=[n.Student,n.Slice,n.Viewer];return f.value&&v.includes(f.value)?i.value.showOrdinaryActor:!0}),g=p.computed(()=>{var v;return(v=p.unref(t))==null?void 0:v.clientIp});return{userRef:t,userId:a,userNick:l,userAvatar:u,userType:f,userActor:h,userQuestionLabels:d,isSelf:_,isSpecialUser:m,showUserActor:w,userClientIp:g}};function n1(t){if("user"in t)return t.user}const at=t=>{const e=p.computed(()=>{if(t.value)return n1(t.value)}),n=Dr(e);return{msgUser:e,msgUserId:n.userId,msgUserNick:n.userNick,msgUserAvatar:n.userAvatar,msgUserType:n.userType,msgUserActor:n.userActor,msgUserQuestionLabels:n.userQuestionLabels,isSelfMsg:n.isSelf,isSpecialUser:n.isSpecialUser,showUserActor:n.showUserActor,msgUserClientIp:n.userClientIp}},ad=()=>({actor:k.string.def(""),userType:k.enum()}),cd=t=>{const{props:e}=t,{messageConfig:n}=ae(),{SocketUserType:r}=j(),o={[r.Manager]:"linear-gradient(270deg, #818CF0 0%, #716AF7 100%)",[r.Assistant]:"linear-gradient(278deg, #14D0B2 1%, #04B888 96%)",[r.Teacher]:"linear-gradient(270deg, #57B7FF 0%, #2987FF 100%)",[r.Guest]:"linear-gradient(90deg, #FF8165 -1%, #FEB235 100%)"},i=p.computed(()=>e.userType),s=p.computed(()=>e.actor),c=p.computed(()=>{let a=p.unref(i);if(a){if(a===r.Dummy){if(n.value.showDummyActor)return"#3E3E4E";const l={[r.Manager]:["管理员"],[r.Assistant]:["助教"],[r.Teacher]:["讲师","主讲"],[r.Guest]:["嘉宾"]},u=s.value;for(const f in l){const h=f;if(l[h].includes(u)){a=h;break}}}return o[a]}});return{msgUserActor:s,msgUserType:i,actorLabelColor:c}},ld=p.defineComponent({__name:"msg-user-actor",props:ad(),setup(t){const e=t,{msgUserActor:n,actorLabelColor:r}=cd({props:e});return{__sfc:!0,props:e,msgUserActor:n,actorLabelColor:r}}});function q(t,e,n,r,o,i,s,c){var a=typeof t=="function"?t.options:t;return e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),{exports:t,options:a}}var ud=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{class:{"plv-msg-user-actor":!0,"plv-msg-user-actor--border-img":!r.actorLabelColor},style:{background:r.actorLabelColor}},[n("span",{staticClass:"plv-msg-user-actor__content"},[e._v(" "+e._s(r.msgUserActor)+" ")])])},pd=[],fd=q(ld,ud,pd);const Ii=fd.exports,dd=p.defineComponent({__name:"complete-msg-popup",setup(t){const{visible:e,show:n}=_t(),{chatTarget:r}=j(),{messageConfig:o}=ae(),{isMobile:i}=se(),{$t:s}=W(),{copyText:c,toastCopySuccess:a}=mi(),l=p.ref(""),u=p.ref(""),f=p.ref(),{msgUserAvatar:h,msgUserNick:d,msgUserActor:_,msgUserType:m,showUserActor:w}=at(f);he(ne.OpenCompleteMsgPopup,v=>P(this,null,function*(){l.value=v.fullContent,u.value=r.message.parseSpeakContent(v.fullContent,{parseEmotion:!0,parseLineBreak:!0}),f.value=v.chatMsg,n()}));function g(){c(l.value),a()}return{__sfc:!0,visible:e,show:n,chatTarget:r,messageConfig:o,isMobile:i,$t:s,copyText:c,toastCopySuccess:a,originFullContent:l,fullContent:u,chatMsg:f,msgUserAvatar:h,msgUserNick:d,msgUserActor:_,msgUserType:m,showUserActor:w,copyMsg:g,PwcPopup:st,PwcButton:Fn,MsgUserActor:Ii}}});var md=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"plv-chat-complete-msg-popup",attrs:{title:r.$t("chat.completeMsg"),width:r.isMobile?"100%":"600px",draggable:"",background:"#fff"},scopedSlots:e._u([{key:"footer",fn:function(){return[n("div",{staticClass:"plv-chat-complete-msg-popup__btn"},[n(r.PwcButton,{attrs:{outline:"",block:""},on:{click:r.copyMsg}},[e._v(e._s(r.$t("chat.copy")))])],1)]},proxy:!0}]),model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"plv-chat-complete-msg-popup__content"},[n("div",{staticClass:"plv-chat-complete-msg-popup__info"},[r.msgUserAvatar&&r.messageConfig.showUserAvatar?n("img",{attrs:{src:r.msgUserAvatar}}):e._e(),n("span",{staticClass:"plv-chat-complete-msg-popup__info__nick"},[e._v(e._s(r.msgUserNick))]),r.showUserActor?n(r.MsgUserActor,{staticClass:"plv-chat-complete-msg-popup__info__actor",attrs:{actor:r.msgUserActor,"user-type":r.msgUserType}}):e._e()],1),n("div",{staticClass:"plv-chat-complete-msg-popup__text",domProps:{innerHTML:e._s(r.fullContent)}})])])},gd=[],hd=q(dd,md,gd);const vd=hd.exports,jn=bt("chat-status",()=>{const{chatTarget:t,PolyvChatEvent:e}=j(),n=p.ref(O({},t.status.getStatusInfo()));return t.eventEmitter.on(e.StatusInfoUpdate,r=>{n.value=O({},r.statusInfo)}),{statusInfo:n}}),r1=Symbol("AUTO_TRANSLATE_INJECT_KEY"),o1=(t={})=>{const{changeCallback:e,listenI18n:n=!1}=t,{chatTarget:r,PolyvChatEvent:o,TranslateLanguage:i}=j(),{messageConfig:s}=ae(),{statusInfo:c}=jn(),{$t:a,currentLang:l}=W(),{toast:u}=ye(),f={[i.Chinese]:["zh_CN","zh_TW"],[i.English]:["en"],[i.Japanese]:["ja"],[i.Korean]:["ko"],[i.Russian]:["ru"]};function h(){for(const v in f){const b=v;if(f[b].includes(l.value))return b}}const d=p.computed(()=>s.value.autoTranslateEnabled),_=p.computed(()=>c.value.autoTranslateLanguage),m=p.computed(()=>_.value!==void 0);function w(v){return P(this,null,function*(){v&&v===_.value||(yield r.status.setAutoTranslate({language:v}))})}function g(){return P(this,null,function*(){if(m.value)yield w(void 0),u.success(a("manage.closeAutoTranslate"));else{const v=h();if(!v){u.error(a("manage.unSupportAutoTranslate"));return}yield w(v),u.success(a("manage.openAutoTranslate"))}})}if(n){function v(){return P(this,null,function*(){if(!m.value||!d.value)return;const b=h();b&&b!==_.value&&(yield w(b))})}p.watch(l,v),$e(r.eventEmitter,{[o.ChatInitialized]:v}),p.onMounted(()=>{v()})}return $e(r.eventEmitter,{[o.SetAutoTranslateLanguage]:()=>{e&&e()}}),p.provide(r1,{canAutoTranslate:d,currentTranslateLanguage:_}),{canAutoTranslate:d,currentTranslateLanguage:_,isAutoTranslating:m,toggleAutoTranslate:g,setAutoTranslateLanguage:w}},_d=()=>p.inject(r1),qn=bt("only-special",()=>{const{messageConfig:t}=ae(),e=p.computed(()=>t.value.onlySpecialMsgEnabled),n=p.ref(!1);function r(i){n.value=i}function o(){r(!n.value)}return{canOnlySpecialMsg:e,isOnlySpecialMsg:n,setIsOnlySpecialMsg:r,toggleOnlySpecialMsg:o}}),xt=()=>{const t=tt();function e(n){return P(this,null,function*(){return t.interceptClick?(yield t.interceptClick(n))===!0:!1})}return{checkIntercept:e}},wd={inputPlaceholder:"",faceEmotionEnabled:!0,imageEmotionEnabled:!0,disabledInput:!1,sendImageEnabled:!0,inputMaskPlaceholder:""},dt=()=>{const t=tt();return{inputConfig:p.computed(()=>{let n={};return t.getInputConfig&&(n=t.getInputConfig()),O(O({},wd),n)})}},zr=()=>{const{inputConfig:t}=dt();return{currentMaskText:p.computed(()=>t.value.inputMaskPlaceholder)}},i1=()=>{const{currentMaskText:t}=zr(),{inputConfig:e}=dt(),{statusInfo:n}=jn(),{selfIsSpecialUser:r}=j();return{chatInputDisabled:p.computed(()=>{if(t.value)return!0;const i=n.value.chatRoomIsClosed;return!r()&&i?!0:e.value.disabledInput})}},Fr=()=>{const{chatTarget:t}=j(),{getEmitter:e}=Ee(),{toast:n}=ye(),{$t:r}=W(),{checkIntercept:o}=xt(),{chatInputDisabled:i}=i1();function s(){e().emit(ne.ScrollToNew)}function c(_){return P(this,null,function*(){t.sender.sendSpeakMsg(_),s()})}function a(_){return P(this,null,function*(){t.sender.sendImageMsg(_),s()})}function l(_){return P(this,null,function*(){t.sender.sendEmotionImageMsg(_),s()})}function u(_,m){t.sender.sendSystemMsg(_,m),s()}function f(_,m){return P(this,null,function*(){s();try{for(var w=Dl(_),g,v,b;g=!(v=yield w.next()).done;g=!1){const y=v.value;y.type==="text"?c({content:y.content,quoteMsg:m}):y.type==="img"&&(yield h(y)),yield sd(200)}}catch(v){b=[v]}finally{try{g&&(v=w.return)&&(yield v.call(w))}finally{if(b)throw b[0]}}})}function h(_){return P(this,null,function*(){s();try{const{file:m}=_,{imageId:w,imageUrl:g,size:v}=yield t.utils.directUploadImage(m);a({imageId:w,imageUrl:g,size:v})}catch(m){n.error(r("chat.uploadImageError"))}})}function d(){return P(this,null,function*(){(yield o("send-image"))||i.value||t.sender.choiceImageFileSend({choiceCallback:()=>{s()}})})}return{sendSpeakMsg:c,sendImageMsg:a,sendEmotionImageMsg:l,sendSystemMsg:u,choiceImageFileSend:d,sendContentList:f}};var Ge=(t=>(t.JoinVisit="JoinVisit",t.ProductClick="ProductClick",t.ProductBuy="ProductBuy",t.CheckIn="CheckIn",t.Donate="Donate",t))(Ge||{});const Wn=()=>{const{chatTarget:t}=j(),e={visitEffectEnabled:!0,joinVisitEffectTip:"欢迎{{nickname}}加入",productEffectEnabled:!0,clickOrdinaryProductEffectTip:"{{nickname}}正在购买{{productName}}",clickFinancialProductEffectTip:"{{nickname}}正在选购{{productName}}",clickJobProductEffectTip:"{{nickname}}正在投递{{productName}}",orderProductEffectTip:"{{nickname}}下单了{{productName}}",interactionEffectEnabled:!0,checkinInteractionEffectTip:"{{nickname}}签到成功",donateInteractionEffectTip:"{{nickname}}赠送{{donateName}}"},n=t.config.effectSetting||e;function r(o){switch(o){case"normal":return n.clickOrdinaryProductEffectTip;case"finance":return n.clickFinancialProductEffectTip;case"position":case"delivery":return n.clickJobProductEffectTip;default:return n.clickOrdinaryProductEffectTip}}return{effectSetting:n,getProductClickTemplate:r}},bd=t=>{const{historyData:e}=t,{chatTarget:n,ChatMsgSource:r,PolyvChatEvent:o}=j(),{getEmitter:i}=Ee(),{effectSetting:s,getProductClickTemplate:c}=Wn(),a=3e3;function l(d,_){return e.getHistoryData().findIndex(w=>{if(w.msgSource===r.Effect&&Date.now()-w.time<a){const g=w.data;if(g.effectType===_&&g.targetId===d)return!0}return!1})}function u(d,_){const{type:m,nickname:w,productId:g,productName:v,nicknameCount:b}=_,y=l(g,d);if(y!==-1){const C=e.getHistoryData()[y],E=C.data;E.nicknameCount+=b;const Q={id:C.id,chatMsg:C};i().emit(ne.ReplaceChatMessage,Q)}else{let x="";if(d===Ge.ProductClick?x=c(m):x=s.orderProductEffectTip,!x)return;const C=ut(8),E={id:C,effectType:d,nicknames:[w],nicknameCount:b,targetId:g,targetName:v,productType:m,strTemplate:x},S={chatMsg:{id:C,msgSource:r.Effect,time:Date.now(),data:E}};i().emit(ne.JoinMsgQueue,S)}}function f(d){const _=d.type,m=d.nickname,w=d.productId,g=d.name;u(Ge.ProductClick,{type:_,nickname:m,productId:w,productName:g,nicknameCount:1})}function h(d){const _=d.productType,m=d.nickname,w=d.productId,g=d.productName,v=d.count;u(Ge.ProductBuy,{type:_,nickname:m,productId:w,productName:g,nicknameCount:v})}s.productEffectEnabled&&$e(n.eventEmitter,{[o.ProductClick]:f,[o.ProductBuyTimes]:h})},yd=t=>{const{historyData:e,moreMsgBtn:n,msgQueue:r}=t,{chatTarget:o,plvSocket:i,PolyvChatEvent:s,SystemMsgType:c}=j(),{messageConfig:a}=ae(),{sendSystemMsg:l}=Fr(),{$t:u}=W();function f(m){const{id:w,chatMsg:g}=m,v=e.findHistoryIndex(w);v!==-1&&e.setHistoryData(v,g),t.getVirtualListResult().getVirtualList().updateItem(g,w)}$e(o.eventEmitter,{[s.ReplaceChatMessage]:f}),he(ne.ReplaceChatMessage,f),$e(o.eventEmitter,{[s.ClearMsgHistory]:()=>{e.clearHistoryData(),n.hideMoreMsg(),r.clearMsgQueue(),t.getVirtualListResult().getVirtualList().clear()}}),$e(o.eventEmitter,{[s.RemoveChatMsg]:m=>{const w=m.id;e.removeHistoryData(w),t.getVirtualListResult().getVirtualList().removeItem(w)}});function h(){const w=o.status.getStatusInfo().chatRoomIsClosed;l(u(w?"chat.roomClosed":"chat.roomReopened"))}$e(o.eventEmitter,{[s.OpenChatRoom]:h,[s.CloseChatRoom]:h}),he(ne.LoadInitialData,()=>{setTimeout(()=>{o.status.getStatusInfo().chatRoomIsClosed&&l(u("chat.roomClosed"))},10)});let d=!1;he(ne.LoadInitialData,()=>{setTimeout(()=>{const m=a.value.introductionText;m&&!d&&(l(m,c.ChatRoomIntroduction),d=!0)},10)}),bd({historyData:e});const _=i.PolyvSocketEvent;$e(i.eventEmitter,{[_.ReconnectSuccess]:()=>{l(u("chat.reconnect"))}})};var ee;(function(t){t[t.Main=0]="Main",t[t.Head=1]="Head",t[t.Foot=2]="Foot"})(ee||(ee={}));const ct=20,xd=2*60*1e3,Cd=2e3,Qd=200,Ti=()=>{const t=p.ref([]),e=p.computed(()=>{const o=[];return t.value.forEach(i=>{i.hidden&&i.hidden()||o.push(i)}),o.sort((i,s)=>{var l,u,f,h;const c=(u=(l=i.sort)==null?void 0:l.call(i))!=null?u:1/0,a=(h=(f=s.sort)==null?void 0:f.call(s))!=null?h:1/0;return c!==a?c-a:0}),o});function n(o){t.value.findIndex(s=>s.controlType===o.controlType)===-1&&t.value.push(o)}return{controlItems:e,addControlItem:n}},Ze={autoTranslate:5,quote:10,copy:20,banUser:30,banIp:40,kickUser:50,topMsg:60,translate:70,askUser:80,motivationLike:90,deleteMsg:100,pushQa:110},Li={deleteMsgEnabled:!1,clearMsgEnabled:!1,banUserEnabled:!1,banIpEnabled:!1,kickUserEnabled:!1,motivationLikeEnabled:!1,topMsgEnabled:!1,askUserEnabled:!1,askUserCallback:()=>{},chatSwitchEnabled:!1,pushSpeakMsgToQaEnabled:!1,attendanceEnabled:!1,whiteListEnabled:!1,downloadOnlineListEnabled:!1},me=()=>{const t=tt();return{manageConfig:p.computed(()=>{let n={};if(t.getManageConfig&&(n=t.getManageConfig()),typeof n=="object")return O(O({},Li),n);if(n===!0){const r=O({},Li);for(const o in r)r[o]=!0;return r}return Li})}},Br=t=>{const{targetUser:e,coverUserNotPermissionConfig:n}=t,{SocketUserType:r,getUserType:o}=j();function i(){let c=[r.Manager,r.Teacher,r.Assistant,r.Guest],a={[r.Manager]:[],[r.Teacher]:[r.Manager],[r.Assistant]:[r.Manager,r.Teacher],[r.Guest]:[r.Manager,r.Teacher,r.Assistant]};n&&(a=O(O({},a),n));const l=o();return l&&a[l]&&(c=a[l]),c}function s(){var l;if(o()===r.UserTagsMonitor)return!1;const c=i(),a=(l=p.unref(e.value))==null?void 0:l.userType;return!(a&&c.includes(a))}return{checkPermission:s}},Bt=t=>{const{chatMsg:e,checkUser:n=!0,checkSource:r=!0,disabledSources:o=[],enabledSources:i=[],coverUserNotPermissionConfig:s}=t,{msgUser:c,isSelfMsg:a}=at(e),l=Br({targetUser:c,coverUserNotPermissionConfig:s}),{chatTarget:u}=j();function f(){return r?!(e.value&&o.includes(e.value.msgSource)||e.value&&i.length>0&&!i.includes(e.value.msgSource)||e.value&&!u.message.isServiceMsg(e.value)):!0}function h(){return!(n&&!l.checkPermission()||!f())}return{isSelfMsg:a,checkPermission:h}},s1=t=>{const{targetUser:e,chatMsg:n,controlContext:r}=t,{$t:o}=W(),{ChatMsgSource:i}=j(),{manageConfig:s}=me(),{isSpecialUser:c}=Dr(e),a=n?Bt({chatMsg:n,disabledSources:[i.System]}):void 0,l=p.computed(()=>!(!s.value.askUserEnabled||a&&!a.checkPermission()||c.value));function u(){!l.value||!e.value||typeof s.value.askUserCallback=="function"&&s.value.askUserCallback(e.value)}return r&&s.value.askUserEnabled&&r.addControlItem({controlType:"askUser",sort:()=>Ze.askUser,hidden:()=>!l.value,text:()=>o("manage.ask"),clickCallback:u}),{canAskUser:l,askUser:u}};function ge(t,e){if(t)return e()}const kd=bt("ban-ip",()=>{const{chatTarget:t,PolyvChatEvent:e}=j(),{manageConfig:n}=me(),r=p.ref([]);function o(a){return r.value.includes(a)}function i(a){r.value.indexOf(a)===-1&&r.value.push(a)}function s(a){const l=r.value.indexOf(a);l!==-1&&r.value.splice(l,1)}function c(){return P(this,null,function*(){const a=yield t.manage.getBannedIpList();r.value=a.contents.map(l=>l.clientIp)})}return ge(n.value.banIpEnabled,()=>{c(),t.eventEmitter.on(e.IpBanned,a=>{i(a.ip)}),t.eventEmitter.on(e.IpCancelBanned,a=>{s(a.ip)}),t.manage.listenManageEvent()}),{bannedIps:r,ipIsBanned:o}}),Pi=t=>{const{targetIp:e,targetUser:n,chatMsg:r,controlContext:o,banActionCallback:i}=t,{chatTarget:s,ManageFailReason:c,getUserId:a}=j(),{$t:l}=W(),{manageConfig:u}=me(),f=n?Br({targetUser:n}):void 0,h=r?Bt({chatMsg:r}):void 0,{toast:d}=ye(),_=kd(),m=p.computed(()=>{var x;return!u.value.banIpEnabled||f&&!f.checkPermission()||h&&!h.checkPermission()||((x=n==null?void 0:n.value)==null?void 0:x.userId)===a()?!1:!!e.value}),w=p.computed(()=>e.value?_.ipIsBanned(e.value):!1);function g(x){x.success||x.failReason===c.PlatformProhibited&&d.error(l("manage.banIpFail1")),i&&i()}function v(){return P(this,null,function*(){if(!m.value||!e.value)return;const x=e.value,C=yield s.manage.banIp({ip:x});g(C)})}function b(){return P(this,null,function*(){if(!m.value||!e.value)return;const x=e.value,C=yield s.manage.cancelBanIp({ip:x});g(C)})}function y(){return P(this,null,function*(){w.value?yield b():yield v()})}return o&&u.value.banIpEnabled&&o.addControlItem({controlType:"banIp",sort:()=>Ze.banIp,hidden:()=>!m.value,text:()=>w.value?l("manage.cancelBanIp"):l("manage.banIp"),clickCallback:y}),{canBanIp:m,isBannedIp:w,banIp:v,cancelBanIp:b}},Mr=bt("ban-user",()=>{const{chatTarget:t,PolyvChatEvent:e}=j(),{manageConfig:n}=me(),r=p.ref([]);function o(l){return r.value.includes(l)}function i(l){r.value.indexOf(l)===-1&&r.value.push(l)}function s(l){const u=r.value.indexOf(l);u!==-1&&r.value.splice(u,1)}function c(l){Array.isArray(l)||(l=[l]),l.forEach(u=>{if("banned"in u){const f=u.banned,h=u.userId;f?i(h):s(h)}})}function a(l){l.forEach(u=>{if(!("user"in u))return;const f=u.user;c(f)})}return ge(n.value.banUserEnabled,()=>{t.eventEmitter.on(e.UserBanned,l=>{i(l.userId)}),t.eventEmitter.on(e.UserCancelBanned,l=>{s(l.userId)}),t.manage.listenManageEvent()}),{bannedUserIds:r,userIdIsBanned:o,processUserBanned:c,processMsgBanned:a}}),Ai=t=>{const{targetUserId:e,targetUser:n,chatMsg:r,controlContext:o,banActionCallback:i}=t,{chatTarget:s,ManageFailReason:c,getUserId:a}=j(),{$t:l}=W(),{manageConfig:u}=me(),f=n?Br({targetUser:n}):void 0,h=r?Bt({chatMsg:r}):void 0,{toast:d}=ye(),_=Mr(),m=p.computed(()=>!u.value.banUserEnabled||f&&!f.checkPermission()||h&&!h.checkPermission()||e.value===a()?!1:!!e.value),w=p.computed(()=>e.value?_.userIdIsBanned(e.value):!1);function g(x){x.success||x.failReason===c.PlatformProhibited&&d.error(l("manage.banFail1")),i&&i()}function v(){return P(this,null,function*(){if(!m.value||!e.value)return;const x=e.value,C=yield s.manage.banUser({userId:x});g(C)})}function b(){return P(this,null,function*(){if(!m.value||!e.value)return;const x=e.value,C=yield s.manage.cancelBanUser({userId:x});g(C)})}function y(){return P(this,null,function*(){w.value?yield b():yield v()})}return o&&u.value.banUserEnabled&&o.addControlItem({controlType:"banUser",sort:()=>Ze.banUser,hidden:()=>!m.value,text:()=>w.value?l("manage.cancelBan"):l("manage.ban"),clickCallback:y}),{canBanUser:m,isBannedUser:w,banUser:v,cancelBanUser:b,toggleBanUser:y}},Ed=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=W(),{manageConfig:o}=me(),{chatTarget:i,SocketUserType:s}=j(),c=Bt({chatMsg:e,coverUserNotPermissionConfig:{[s.Assistant]:[s.Manager]}}),{toast:a}=ye(),l=p.computed(()=>o.value.deleteMsgEnabled?c.checkPermission():!1);function u(){return P(this,null,function*(){if(!l.value)return;(yield i.manage.deleteMsg({id:e.value.id})).success?a.success(r("manage.deleteSuccess")):a.error(r("manage.deleteFail"))})}return n&&o.value.deleteMsgEnabled&&n.addControlItem({controlType:"delete",sort:()=>Ze.deleteMsg,hidden:()=>!l.value,text:()=>r("manage.delete"),clickCallback:u}),{canDeleteMsg:l,deleteMsg:u}},Sd=bt("kick-user",()=>{const{chatTarget:t,PolyvChatEvent:e}=j(),{manageConfig:n}=me(),r=p.ref([]);function o(a){return r.value.includes(a)}function i(a){r.value.indexOf(a)===-1&&r.value.push(a)}function s(a){const l=r.value.indexOf(a);l!==-1&&r.value.splice(l,1)}function c(){return P(this,null,function*(){const a=yield t.manage.getKickedUserList();r.value=a.contents.map(l=>l.userId)})}return ge(n.value.kickUserEnabled,()=>{c(),t.eventEmitter.on(e.UserKicked,a=>{i(a.userId)}),t.eventEmitter.on(e.UserCancelKicked,a=>{s(a.userId)}),t.manage.listenManageEvent()}),{kickedUserIds:r,userIdIsKicked:o}}),$i=t=>{const{targetUserId:e,targetUser:n,chatMsg:r,controlContext:o,kickActionCallback:i}=t,{chatTarget:s,ManageFailReason:c,getUserId:a}=j(),{$t:l}=W(),{manageConfig:u}=me(),f=n?Br({targetUser:n}):void 0,h=r?Bt({chatMsg:r}):void 0,{toast:d}=ye(),{messageBox:_}=Ar(),m=Sd(),w=p.computed(()=>!u.value.kickUserEnabled||f&&!f.checkPermission()||h&&!h.checkPermission()||e.value===a()?!1:!!e.value),g=p.computed(()=>e.value?m.userIdIsKicked(e.value):!1);function v(C){C.success||C.failReason===c.PlatformProhibited&&d.error(l("manage.kickFail1")),i&&i()}function b(){return P(this,null,function*(){if(!w.value||!e.value)return;yield _({message:l("manage.kickConfirm"),description:l("manage.kickConfirmTips"),confirmType:Ft.Delete,confirmButtonText:l("manage.kick")}).$confirm();const C=e.value,E=yield s.manage.kickUser({userId:C});v(E)})}function y(){return P(this,null,function*(){if(!w.value||!e.value)return;const C=e.value,E=yield s.manage.cancelKickUser({userId:C});v(E)})}function x(){return P(this,null,function*(){g.value?yield y():yield b()})}return o&&u.value.kickUserEnabled&&o.addControlItem({controlType:"kickUser",sort:()=>Ze.kickUser,hidden:()=>!w.value,text:()=>g.value?l("manage.cancelKick"):l("manage.kick"),clickCallback:x}),{canKickUser:w,isKickedUser:g,kickUser:b,cancelKickUser:y,toggleKickUser:x}},Id=bt("motivation-like",()=>{const t=p.ref([]);function e(r){return t.value.includes(r)}function n(r){t.value.indexOf(r)===-1&&t.value.push(r)}return{motivationLikeMsgIds:t,msgIdIsMotivated:e,appendMotivatedMsgId:n}}),Td=t=>{const{chatMsg:e,controlContext:n}=t,{chatTarget:r,ChatMsgSource:o}=j(),i=[o.CustomClient,o.CustomServer],{$t:s}=W(),{manageConfig:c}=me(),a=Bt({chatMsg:e,disabledSources:i}),{isSpecialUser:l,isSelfMsg:u,msgUser:f}=at(e),h=Id(),d=p.computed(()=>{var w;return!c.value.motivationLikeEnabled||!a.checkPermission()?!1:!u.value&&!l.value&&!!((w=f.value)!=null&&w.userId)}),_=p.computed(()=>!f.value||!f.value.userId?!1:h.msgIdIsMotivated(e.value.id));function m(){return P(this,null,function*(){var v;if(!d.value||!((v=f.value)!=null&&v.userId)||_.value)return;const w=e.value.id,g=f.value.userId;yield r.manage.motivateLike({motivatedId:g,chatMsgId:w}),h.appendMotivatedMsgId(w)})}return n&&c.value.motivationLikeEnabled&&n.addControlItem({controlType:"motivationLike",sort:()=>Ze.motivationLike,hidden:()=>!d.value,text:()=>_.value?s("manage.liked"):s("manage.like"),clickCallback:m}),{canMotivationLike:d,isMotivated:_,motivateLike:m}};var Ri={},a1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getColorDescription=t.defaultIconConfig=t.currentColor=void 0,t.currentColor="currentColor",t.defaultIconConfig={size:"1em",type:"outline",strokeLinecap:"round",strokeLinejoin:"round",colors:{outline:{background:"none"},filled:{background:"#FFF"},twoTone:{stroke:"#333",fill:"#2F88FF"},multiColor:{outStroke:"#333",outFill:"#2F88FF",innerStroke:"#FFF",innerFill:"#43CCF8"}}};var e=function(n,r){var o=typeof n=="string"?[n]:n||[],i=[t.currentColor,t.currentColor,t.currentColor,t.currentColor];switch(r){case"outline":{i[0]=typeof o[0]=="string"?o[0]:t.currentColor,i[1]="none",i[2]=typeof o[0]=="string"?o[0]:t.currentColor,i[3]="none";break}case"filled":{i[0]=typeof o[0]=="string"?o[0]:t.currentColor,i[1]=typeof o[0]=="string"?o[0]:t.currentColor,i[2]="#FFF",i[3]="#FFF";break}case"two-tone":{var s=t.defaultIconConfig.colors.twoTone,c=s.stroke,a=s.fill;i[0]=typeof o[0]=="string"?o[0]:c,i[1]=typeof o[1]=="string"?o[1]:a,i[2]=typeof o[0]=="string"?o[0]:c,i[3]=typeof o[1]=="string"?o[1]:a;break}case"multi-color":{var l=t.defaultIconConfig.colors.multiColor,u=l.outStroke,f=l.outFill,h=l.innerStroke,d=l.innerFill;i[0]=typeof o[0]=="string"?o[0]:u,i[1]=typeof o[1]=="string"?o[1]:f,i[2]=typeof o[2]=="string"?o[2]:h,i[3]=typeof o[3]=="string"?o[3]:d;break}}return i};t.getColorDescription=e})(a1);var un={},Nr={};Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.CLASS_NAME_PREFIX=void 0,Nr.CLASS_NAME_PREFIX="polyv",Object.defineProperty(un,"__esModule",{value:!0}),un.line2UpperCase=un.createClsName=void 0;var Ld=Nr,Pd=function(t){return"".concat(Ld.CLASS_NAME_PREFIX,"-").concat(t)};un.createClsName=Pd;var Ad=function(t){return t.replace(/(^\w|-\w)/g,function(e){return e.slice(-1).toUpperCase()})};un.line2UpperCase=Ad,Object.defineProperty(Ri,"__esModule",{value:!0});var oe=Ri.IconBuilder=void 0,Gn=a1,c1=un,$d=function(t,e){var n={name:t,props:["size","type","color","strokeLinecap","strokeLinejoin"],computed:{renderData:function(){var r=this.color,o=this.type||Gn.defaultIconConfig.type,i=this.size||Gn.defaultIconConfig.size,s=this.strokeLinecap||Gn.defaultIconConfig.strokeLinecap,c=this.strokeLinejoin||Gn.defaultIconConfig.strokeLinejoin,a=(0,Gn.getColorDescription)(r,o);return{size:i,colorDesc:a,strokeLinecap:s,strokeLinejoin:c}}},render:function(r){var o=this.renderData,i=[(0,c1.createClsName)("icon"),(0,c1.createClsName)("icon-".concat(t))],s={};return o.size&&(s.fontSize="".concat(o.size,"px")),r("span",{class:i.join(" "),style:s,on:this.$listeners,attrs:this.$attrs,domProps:{innerHTML:e(o)}})}};return n};oe=Ri.IconBuilder=$d;const Rd=oe("cancel-translate",t=>`
|
|
492
496
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 16 16">
|
|
493
497
|
<defs>
|
|
494
498
|
<clipPath id="master_svg0_16_04034">
|
|
@@ -513,7 +517,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
513
517
|
</g>
|
|
514
518
|
</g>
|
|
515
519
|
</svg>
|
|
516
|
-
`),
|
|
520
|
+
`),Od=oe("chat-disabled",t=>`
|
|
517
521
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 26.87 26">
|
|
518
522
|
<g>
|
|
519
523
|
<g>
|
|
@@ -539,7 +543,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
539
543
|
</g>
|
|
540
544
|
</g>
|
|
541
545
|
</svg>
|
|
542
|
-
`),
|
|
546
|
+
`),Dd=oe("chat-disabled-suffix",t=>`
|
|
543
547
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 26.87 26">
|
|
544
548
|
<g>
|
|
545
549
|
<g>
|
|
@@ -551,7 +555,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
551
555
|
</g>
|
|
552
556
|
</g>
|
|
553
557
|
</svg>
|
|
554
|
-
`),
|
|
558
|
+
`),zd=oe("checkbox",t=>`
|
|
555
559
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
556
560
|
<g>
|
|
557
561
|
<g>
|
|
@@ -569,7 +573,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
569
573
|
</g>
|
|
570
574
|
</g>
|
|
571
575
|
</svg>
|
|
572
|
-
`),
|
|
576
|
+
`),Fd=oe("copy",t=>`
|
|
573
577
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
574
578
|
<defs>
|
|
575
579
|
<clipPath id="master_svg0_36_0817/27_0549">
|
|
@@ -606,7 +610,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
606
610
|
</g>
|
|
607
611
|
</g>
|
|
608
612
|
</svg>
|
|
609
|
-
`),
|
|
613
|
+
`),Bd=oe("delete",t=>`
|
|
610
614
|
<svg
|
|
611
615
|
width="${t.size}"
|
|
612
616
|
height="${t.size}"
|
|
@@ -648,7 +652,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
648
652
|
</g>
|
|
649
653
|
</g>
|
|
650
654
|
</svg>
|
|
651
|
-
`);const
|
|
655
|
+
`);const l1=oe("emotion",t=>`
|
|
652
656
|
<svg
|
|
653
657
|
width="${t.size}"
|
|
654
658
|
height="${t.size}"
|
|
@@ -659,7 +663,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
659
663
|
d="M938.666667 512c0 235.648-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333s426.666667 191.018667 426.666667 426.666667z m-68.266667 0q0-68.352-25.173333-131.925333-27.306667-69.034667-79.786667-121.514667-52.48-52.48-121.514667-79.786667Q580.352 153.6 512 153.6t-131.925333 25.173333Q311.04 206.08 258.56 258.56 206.08 311.04 178.773333 380.074667 153.6 443.648 153.6 512t25.173333 131.925333q27.306667 68.992 79.786667 121.514667 52.48 52.48 121.514667 79.786667 63.573333 25.173333 131.925333 25.173333t131.925333-25.173333q68.992-27.306667 121.514667-79.786667 52.48-52.48 79.786667-121.514667 25.173333-63.573333 25.173333-131.925333zM384 352a32 32 0 0 0-32 32v85.333333a32 32 0 0 0 64 0V384A32 32 0 0 0 384 352z m312.96 60.586667a32 32 0 1 0-28.586667-57.173334l-85.333333 42.666667a32 32 0 0 0 0 57.173333l85.333333 42.666667a32 32 0 1 0 28.586667-57.173333l-28.074667-14.08 28.074667-14.08zM352 597.333333c0 7.978667 2.986667 15.658667 8.362667 21.589334q23.125333 25.301333 64.853333 39.509333 39.893333 13.568 86.784 13.568 46.890667 0 86.784-13.568 41.728-14.208 64.853333-39.509333a32 32 0 1 0-47.274666-43.178667q-12.032 13.226667-38.186667 22.101333-29.866667 10.154667-66.176 10.154667-36.266667 0-66.133333-10.154667-26.197333-8.917333-38.229334-22.101333A32 32 0 0 0 352 597.333333z"
|
|
660
664
|
/>
|
|
661
665
|
</svg>
|
|
662
|
-
`),
|
|
666
|
+
`),Md=oe("emotion-two",t=>`
|
|
663
667
|
<svg
|
|
664
668
|
width="${t.size}"
|
|
665
669
|
height="${t.size}"
|
|
@@ -701,7 +705,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
701
705
|
</g>
|
|
702
706
|
</g>
|
|
703
707
|
</svg>
|
|
704
|
-
`);const
|
|
708
|
+
`);const Nd=oe("font-size",t=>`
|
|
705
709
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 20 20">
|
|
706
710
|
<defs>
|
|
707
711
|
<clipPath id="master_svg0_2_3316">
|
|
@@ -739,7 +743,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
739
743
|
</g>
|
|
740
744
|
</g>
|
|
741
745
|
</svg>
|
|
742
|
-
`),
|
|
746
|
+
`),Hd=oe("forbid",t=>`
|
|
743
747
|
<svg
|
|
744
748
|
width="${t.size}"
|
|
745
749
|
height="${t.size}"
|
|
@@ -750,7 +754,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
750
754
|
d="M791.04 170.666667L853.333333 228.906667 275.626667 853.333333 213.333333 795.093333zM512 981.333333C252.8 981.333333 42.666667 771.2 42.666667 512S252.8 42.666667 512 42.666667s469.333333 210.133333 469.333333 469.333333-210.133333 469.333333-469.333333 469.333333z m0-85.333333a384 384 0 1 0 0-768 384 384 0 0 0 0 768z"
|
|
751
755
|
/>
|
|
752
756
|
</svg>
|
|
753
|
-
`)
|
|
757
|
+
`),Ud=oe("heart",t=>`
|
|
754
758
|
<svg
|
|
755
759
|
width="${t.size}"
|
|
756
760
|
height="${t.size}"
|
|
@@ -761,7 +765,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
761
765
|
d="M335.36 51.2c68.1472 0 114.432 24.32 178.176 79.5136C577.1776 75.52 623.4112 51.2 691.6096 51.2c188.7744 0 309.76 154.5728 309.76 362.5472 0 161.4336-143.0528 339.2-424.96 538.9312-37.888 26.8288-88.064 26.8288-125.952 0C168.6528 752.9984 25.6 575.1808 25.6 413.7472 25.6 205.824 146.5856 51.2 335.36 51.2z m356.3008 102.4q-26.9824 0-47.7184 9.5744-24.6784 11.4688-63.4368 44.9536L513.536 266.1376 446.464 208.128q-38.7072-33.536-63.3856-44.9536Q362.3424 153.6 335.36 153.6 243.712 153.6 188.416 220.0064 128 292.5056 128 413.7472q0 184.8832 381.6448 455.3216 3.84 2.7648 7.68 0.1024 381.696-270.5408 381.696-455.424 0-121.2416-60.416-193.7408Q783.36 153.6 691.712 153.6z"
|
|
762
766
|
/>
|
|
763
767
|
</svg>
|
|
764
|
-
`),
|
|
768
|
+
`),jd=oe("keyboard",t=>`
|
|
765
769
|
<svg
|
|
766
770
|
width="${t.size}"
|
|
767
771
|
height="${t.size}"
|
|
@@ -803,7 +807,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
803
807
|
</g>
|
|
804
808
|
</g>
|
|
805
809
|
</svg>
|
|
806
|
-
`);const
|
|
810
|
+
`);const qd=oe("remove",t=>`
|
|
807
811
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
808
812
|
<defs>
|
|
809
813
|
<clipPath id="master_svg0_2_3349">
|
|
@@ -822,7 +826,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
822
826
|
</g>
|
|
823
827
|
</g>
|
|
824
828
|
</svg>
|
|
825
|
-
`),
|
|
829
|
+
`),Wd=oe("reply",t=>`
|
|
826
830
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
827
831
|
<g>
|
|
828
832
|
<g>
|
|
@@ -851,7 +855,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
851
855
|
</g>
|
|
852
856
|
</g>
|
|
853
857
|
</svg>
|
|
854
|
-
`),
|
|
858
|
+
`),u1=oe("search",t=>`
|
|
855
859
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
856
860
|
<defs>
|
|
857
861
|
<clipPath id="master_svg0_2_28175/2_25585/2_33628">
|
|
@@ -868,7 +872,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
868
872
|
</g>
|
|
869
873
|
</g>
|
|
870
874
|
</svg>
|
|
871
|
-
`),
|
|
875
|
+
`),Gd=oe("send-image",t=>`
|
|
872
876
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 26 26">
|
|
873
877
|
<g>
|
|
874
878
|
<g>
|
|
@@ -889,7 +893,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
889
893
|
</g>
|
|
890
894
|
</g>
|
|
891
895
|
</svg>
|
|
892
|
-
`),
|
|
896
|
+
`),p1=oe("send-image-two",t=>`
|
|
893
897
|
<svg
|
|
894
898
|
width="${t.size}"
|
|
895
899
|
height="${t.size}"
|
|
@@ -900,7 +904,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
900
904
|
d="M947.2 153.6a25.6 25.6 0 0 1 25.6 25.6v716.8a25.6 25.6 0 0 1-25.6 25.6h-870.4a25.6 25.6 0 0 1-25.6-25.6v-716.8a25.6 25.6 0 0 1 25.6-25.6z m-25.6512 51.2h-819.2v616.7552L358.4 588.8l256 179.2 153.6-51.2 153.5488 109.6704V204.8z m-204.8 102.4C773.2736 307.2 819.2 353.0752 819.2 409.5488A102.4 102.4 0 1 1 716.8 307.2z"
|
|
901
905
|
/>
|
|
902
906
|
</svg>
|
|
903
|
-
`),
|
|
907
|
+
`),Zd=oe("smiling-face",t=>`
|
|
904
908
|
<svg
|
|
905
909
|
width="${t.size}"
|
|
906
910
|
height="${t.size}"
|
|
@@ -911,7 +915,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
911
915
|
d="M1024 512c0 282.7776-229.2224 512-512 512S0 794.7776 0 512 229.2224 0 512 0s512 229.2224 512 512z m-102.4 0q0-169.6768-119.9616-289.6384T512 102.4Q342.3232 102.4 222.3616 222.3616T102.4 512q0 169.6768 119.9616 289.6384T512 921.6q169.6768 0 289.6384-119.9616T921.6 512zM271.36 365.7216a73.1136 73.1136 0 1 0 146.2784 0 73.1136 73.1136 0 0 0-146.2784 0z m408.1152 73.1136a73.1648 73.1648 0 1 1 0-146.2784 73.1648 73.1648 0 0 1 0 146.2784z m-266.9568 254.5664q-43.264-33.1264-58.112-85.0944a40.96 40.96 0 1 0-78.7456 22.4256q22.272 78.08 87.04 127.6928Q428.6976 808.96 512 808.96q82.688 0 148.3776-49.8688 64.512-48.8448 87.296-126.1056a40.96 40.96 0 0 0-78.5408-23.1936q-15.2576 51.456-58.2656 84.0704-43.7248 33.1776-98.8672 33.1776-55.552 0-99.4816-33.6384z"
|
|
912
916
|
/>
|
|
913
917
|
</svg>
|
|
914
|
-
`),
|
|
918
|
+
`),Yd=oe("three-dot",t=>`
|
|
915
919
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 20 20">
|
|
916
920
|
<g>
|
|
917
921
|
<g>
|
|
@@ -943,7 +947,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
943
947
|
</g>
|
|
944
948
|
</g>
|
|
945
949
|
</svg>
|
|
946
|
-
`),
|
|
950
|
+
`),Kd=oe("top-msg-arrow",t=>`
|
|
947
951
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 6 18">
|
|
948
952
|
<g>
|
|
949
953
|
<path
|
|
@@ -954,7 +958,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
954
958
|
/>
|
|
955
959
|
</g>
|
|
956
960
|
</svg>
|
|
957
|
-
`),
|
|
961
|
+
`),Xd=oe("translate",t=>`
|
|
958
962
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
959
963
|
<defs>
|
|
960
964
|
<clipPath id="master_svg0_108_46976">
|
|
@@ -970,7 +974,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
970
974
|
</g>
|
|
971
975
|
</g>
|
|
972
976
|
</svg>
|
|
973
|
-
`),
|
|
977
|
+
`),f1=oe("translate-two",t=>`
|
|
974
978
|
<svg width="${t.size}" height="${t.size}" viewBox="0 0 16 16">
|
|
975
979
|
<defs>
|
|
976
980
|
<clipPath id="master_svg0_16_04015">
|
|
@@ -987,7 +991,7 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
987
991
|
</g>
|
|
988
992
|
</g>
|
|
989
993
|
</svg>
|
|
990
|
-
`),
|
|
994
|
+
`),d1=oe("zoom-up",t=>`
|
|
991
995
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 24 24">
|
|
992
996
|
<g>
|
|
993
997
|
<g>
|
|
@@ -1000,10 +1004,16 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
1000
1004
|
</g>
|
|
1001
1005
|
</g>
|
|
1002
1006
|
</svg>
|
|
1003
|
-
`),Hd=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=G(),{chatTarget:o,selfIsSpecialUser:i}=q(),{messageConfig:s}=ce(),{statusInfo:c}=ud(),{getEmitter:a}=we(),{checkIntercept:l}=_t(),p=u.computed(()=>!(!s.value.quoteEnabled||!o.message.canQuoteMsg(e.value)||!i()&&c.value.chatRoomIsClosed));function f(){return P(this,null,function*(){p.value&&((yield l("chat-quote"))||a().emit(J.QuoteMsg,{chatMsg:e.value}))})}return n&&s.value.quoteEnabled&&n.addControlItem({controlType:"quote",icon:()=>Dd,sort:()=>Ye.quote,hidden:()=>!p.value,text:()=>r("chat.reply"),clickCallback:f}),{canQuote:p,quoteMsg:f}},jd=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=G(),{manageConfig:o}=_e(),{chatTarget:i,ChatMsgSource:s}=q(),c=$t({chatMsg:e,enabledSources:[s.Speak]}),{isSpecialUser:a}=st(e),{toast:l}=xe(),p=u.computed(()=>o.value.pushSpeakMsgToQaEnabled&&c.checkPermission()&&!a.value);function f(){return P(this,null,function*(){!p.value||e.value.msgSource!==s.Speak||(yield i.manage.pushMsgToQa({chatMsg:e.value}),l.success(r("manage.pushQaSuccess")))})}return n&&o.value.pushSpeakMsgToQaEnabled&&n.addControlItem({controlType:"pushQa",sort:()=>Ye.pushQa,hidden:()=>!p.value,text:()=>r("manage.pushQa"),clickCallback:f}),{canPushQa:p,pushQa:f}},oc=()=>{const t=it();return{liveStatus:u.computed(()=>{var n;return(n=t.getLiveStatus)==null?void 0:n.call(t)})}},ic=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=G(),{liveStatus:o}=oc(),{manageConfig:i}=_e(),{chatTarget:s}=q(),{toast:c}=xe(),a=ld(),l=u.computed(()=>i.value.topMsgEnabled&&s.message.canTopMsg(e.value)),p=u.computed(()=>a.msgIdIsTop(e.value.id)),f=u.computed(()=>!p.value&&o.value!=="live"),h=u.computed(()=>f.value?r("chat.needLive"):"");function d(){return P(this,null,function*(){if(!l.value)return;if(f.value){c.error(h.value);return}const _=e.value.id;yield s.manage.topMsg({msgId:_})})}function v(){return P(this,null,function*(){if(!l.value)return;const _=a.getTopId(e.value);_&&(yield s.manage.cancelTopMsg({id:_}))})}function g(){return P(this,null,function*(){p.value?yield v():yield d()})}return n&&i.value.topMsgEnabled&&n.addControlItem({controlType:"topMsg",sort:()=>Ye.topMsg,hidden:()=>!l.value,disabled:()=>f.value,disabledTip:()=>h.value,text:()=>p.value?r("manage.cancelTop"):r("manage.top"),clickCallback:g}),{canTopMsg:l,isTopMsg:p,topMsg:d,cancelTopMsg:v,toggleTopMsg:g}},qd=t=>{const{controlItems:e,msgBubbleRef:n}=t,{actionSheet:r}=c1();ne(n,"click",()=>P(this,null,function*(){if(e.value.length===0)return;const o=yield r({actions:e.value.map(i=>{var s,c;return se(D({},i),{hidden:!1,disabled:(s=i.disabled)==null?void 0:s.call(i),disabledTip:(c=i.disabledTip)==null?void 0:c.call(i),name:i.text(),value:i.controlType})})});o&&o.clickCallback()}))},Wd=u.defineComponent({__name:"bubble-control",setup(t){const{destroyCurrentInstance:e}=Ne(),{controlItems:n,msgBubbleRef:r}=Nn(),o=u.ref({x:0,y:0});function i(){const l=r.value;if(!l){e();return}const p=l.getBoundingClientRect();o.value={x:p.x,y:p.y}}i();const s=u.computed(()=>({top:`${o.value.y+0}px`,left:`${o.value.x+0}px`}));function c(l){l.clickCallback(),u.nextTick(()=>{e()})}const a=u.ref();return Vt(a),le(J.CloseMsgControl,e),ne(document,"scroll",e,!0),gr(a,e),en(u.ref(!0),a),{__sfc:!0,destroyCurrentInstance:e,controlItems:n,msgBubbleRef:r,memuPosition:o,setMenuPosition:i,bubbleStyle:s,onMenuClick:c,bubbleRef:a}}});var Gd=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"bubbleRef",staticClass:"plv-msg-item__bubble-control",style:r.bubbleStyle},[n("div",{staticClass:"plv-msg-item__bubble-control__list"},e._l(r.controlItems,function(o){return n("div",{key:o.controlType,staticClass:"plv-msg-item__bubble-control__item",on:{click:function(i){return r.onMenuClick(o)}}},[n("span",{domProps:{innerHTML:e._s(o.text())}})])}),0)])},Yd=[],Zd=j(Wd,Gd,Yd);const Kd=Zd.exports,Xd=t=>{const{msgBubbleRef:e,controlItems:n}=t,{getEmitter:r}=we(),{createVueInstance:o,destroyVueInstance:i}=Ne();let s;function c(){s&&(i(s),s=void 0)}ne(e,"click",()=>{c(),r().emit(J.CloseMsgControl),n.value.length!==0&&(s=o(Kd))}),u.onBeforeUnmount(()=>{c()})},Jd=u.defineComponent({__name:"context-menu",setup(t,{expose:e}){const{destroyCurrentInstance:n}=Ne(),{controlItems:r}=Nn(),o=u.ref({x:0,y:0});function i(l){o.value=l}const s=u.computed(()=>({top:`${o.value.y+-10}px`,left:`${o.value.x+10}px`}));function c(l){l.clickCallback(),u.nextTick(()=>{n()})}const a=u.ref();return Vt(a),le(J.CloseMsgControl,n),ne(document,"scroll",n,!0),gr(a,n),en(u.ref(!0),a),e({setMenuPosition:i}),{__sfc:!0,destroyCurrentInstance:n,controlItems:r,memuPosition:o,setMenuPosition:i,contextMenuStyle:s,onMenuClick:c,contextMenuRef:a}}});var Vd=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"contextMenuRef",staticClass:"plv-msg-item__context-menu",style:r.contextMenuStyle},e._l(r.controlItems,function(o){return n("div",{key:o.controlType,staticClass:"plv-msg-item__context-menu__item",on:{click:function(i){return r.onMenuClick(o)}}},[o.icon?n(o.icon(),{tag:"component",staticClass:"plv-msg-item__context-menu__item__icon"}):e._e(),n("span",{domProps:{innerHTML:e._s(o.text())}})],1)}),0)},em=[],tm=j(Jd,Vd,em);const nm=tm.exports,rm=t=>{const{controlItems:e,msgBubbleRef:n}=t,{createVueInstance:r,destroyVueInstance:o}=Ne(),{getEmitter:i}=we();let s;function c(){s&&(o(s),s=void 0)}ne(n,"contextmenu",a=>{c(),i().emit(J.CloseMsgControl),e.value.length!==0&&(a.preventDefault(),s=r(nm),s.setMenuPosition({x:a.pageX,y:a.pageY}))}),u.onBeforeUnmount(()=>{c()})},om=u.defineComponent({__name:"hover-control",setup(t){const e=u.ref(),{$t:n}=G(),{contentRef:r,controlItems:o,chatMsg:i}=Nn(),{referenceRef:s,popperRef:c,popperVisible:a,hidePopper:l}=hr({placement:"bottom-end",trigger:"click"}),p=u.computed(()=>o.value.length<=3?o.value:o.value.slice(0,2)),f=u.computed(()=>o.value.length<=3?[]:o.value.slice(2));function h(d){l(),d.clickCallback()}return Vt(e,r),{__sfc:!0,hoverControlRef:e,$t:n,contentRef:r,controlItems:o,chatMsg:i,referenceRef:s,popperRef:c,popperVisible:a,hidePopper:l,firstTwoItems:p,moreItems:f,onItemClick:h}}});var im=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"hoverControlRef",staticClass:"plv-msg-item__hover-control"},[n("div",{staticClass:"plv-msg-item__hover-control__list"},[e._l(r.firstTwoItems,function(o){var i;return n("div",{key:o.controlType,staticClass:"plv-msg-item__hover-control__list__item",class:{"is-disabled":(i=o.disabled)==null?void 0:i.call(o)},domProps:{innerHTML:e._s(o.text())},on:{click:function(s){return r.onItemClick(o)}}})}),r.moreItems.length>0?n("div",{ref:"referenceRef",staticClass:"plv-msg-item__hover-control__list__item"},[e._v(e._s(r.$t("chat.more")))]):e._e()],2),r.moreItems.length>0?n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"plv-msg-item__hover-control__more",attrs:{"data-control-more-popper":r.chatMsg.id}},e._l(r.moreItems,function(o){var i;return n("div",{key:o.controlType,staticClass:"plv-msg-item__hover-control__more__item",class:{"is-disabled":(i=o.disabled)==null?void 0:i.call(o)},domProps:{innerHTML:e._s(o.text())},on:{click:function(s){return r.onItemClick(o)}}})}),0):e._e()])},sm=[],am=j(om,im,sm);const cm=am.exports,Qi="__create-hover-instance",lm=t=>{const{contentRef:e,controlItems:n,chatMsg:r}=t,{getEmitter:o}=we(),{createVueInstance:i,destroyVueInstance:s}=Ne();let c;const{listenOutSideEvent:a,removeOutSideEvent:l}=d8([e,`[data-control-more-popper="${r.value.id}"]`],h=>{var d;p(),(d=e.value)==null||d.classList.remove("show-hover-control"),h.removeOutSideEvent()},!1);function p(){c&&(s(c),c=void 0),l(),o().off(Qi,p)}function f(){var h;p(),o().emit(Qi),!(n.value.length===0||!e.value)&&((h=e.value)==null||h.classList.add("show-hover-control"),c=i(cm),a(),o().once(Qi,p))}ne(e,"mouseenter",f),u.onBeforeUnmount(()=>{p()})},sc=Symbol("MsgContextOptions"),um=t=>{const{contentRef:e,chatMsg:n}=t,{messageConfig:r}=ce(),{manageConfig:o}=_e(),{msgUser:i,msgUserClientIp:s,msgUserId:c}=st(n),a=u.computed(()=>{var f;return((f=e.value)==null?void 0:f.querySelector("[data-msg-bubble]"))||void 0}),l=wi(),p=se(D({},l),{contentRef:e,msgBubbleRef:a,chatMsg:n});switch(u.provide(sc,p),r.value.messageControlInteraction){case"context-menu":rm(p);break;case"hover":lm(p);break;case"bubble":Xd(p);break;case"action-sheet":qd(p);break}pe(r.value.quoteEnabled,()=>Hd({chatMsg:n,controlContext:l})),pe(o.value.deleteMsgEnabled,()=>_d({chatMsg:n,controlContext:l})),pe(o.value.banUserEnabled,()=>yi({targetUserId:c,targetUser:i,chatMsg:n,controlContext:l})),pe(o.value.banIpEnabled,()=>bi({targetIp:s,chatMsg:n,controlContext:l})),pe(o.value.kickUserEnabled,()=>xi({targetUserId:c,targetUser:i,chatMsg:n,controlContext:l})),pe(o.value.motivationLikeEnabled,()=>wd({chatMsg:n,controlContext:l})),pe(o.value.topMsgEnabled,()=>ic({chatMsg:n,controlContext:l})),pe(o.value.askUserEnabled,()=>X1({targetUser:i,chatMsg:n,controlContext:l})),pe(o.value.pushSpeakMsgToQaEnabled,()=>jd({chatMsg:n,controlContext:l}))},Nn=()=>u.inject(sc),ac=Symbol("MsgData"),pm=t=>{u.provide(ac,t)},Qe=()=>u.inject(ac),fm=t=>{const e=u.computed(()=>t.chatMsg),n=u.computed(()=>u.unref(e).id),r={chatMsg:e,msgId:n};return pm(r),r},dm=()=>{const{SocketUserType:t}=q(),{chatMsg:e}=Qe(),{msgUser:n,msgUserNick:r,msgUserAvatar:o,msgUserType:i,msgUserActor:s,msgUserQuestionLabels:c,showUserActor:a,isSelfMsg:l,isSpecialUser:p}=st(e),f={[t.Manager]:"linear-gradient(270deg, #9395FF 0%, #6F68FD 100%)",[t.Assistant]:"linear-gradient(270deg, #1CCBAF 0%, #0CBF8F 100%)",[t.Teacher]:"linear-gradient(270deg, #57B7FF 0%, #358DFF 100%)",[t.Guest]:"linear-gradient(90deg, #FF8D73 -7%, #FFB438 100%)"},h=u.computed(()=>{const d={},v=u.unref(i);if(v&&f[v]){const g=f[v];d.backgroundImage=g,d.backgroundClip="text",d["-webkit-background-clip"]="text",d.color="transparent",d.fontWeight="bold"}return d});return{msgUser:n,msgUserNick:r,msgUserAvatar:o,msgUserType:i,msgUserActor:s,msgUserQuestionLabels:c,isSelfMsg:l,isSpecialUser:p,showUserActor:a,nicknameStyle:h}},mm=u.defineComponent({__name:"msg-user-info",props:{msgLooseMode:k.bool.def(!1),conciseInfo:k.bool.def(!1)},setup(t){const{messageConfig:e}=ce(),{msgUserNick:n,msgUserActor:r,msgUserType:o,msgUserAvatar:i,isSpecialUser:s,showUserActor:c}=dm();return{__sfc:!0,messageConfig:e,msgUserNick:n,msgUserActor:r,msgUserType:o,msgUserAvatar:i,isSpecialUser:s,showUserActor:c,MsgUserActor:vi}}});var gm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-msg-user-info",class:{"plv-msg-user-info--actor":r.showUserActor,"plv-msg-user-info--special":r.isSpecialUser,"plv-msg-user-info--loose-mode":e.msgLooseMode,"is-hide-avatar":!r.messageConfig.showUserAvatar}},[r.msgUserAvatar&&r.messageConfig.showUserAvatar?n("div",{staticClass:"plv-msg-user-info__avatar",style:{backgroundImage:`url(${r.msgUserAvatar})`}}):e._e(),r.showUserActor&&!e.conciseInfo?n(r.MsgUserActor,{attrs:{actor:r.msgUserActor,"user-type":r.msgUserType}}):e._e(),n("span",{staticClass:"plv-msg-user-info__nick",class:{"plv-msg-user-info__nick--special":r.isSpecialUser,"show-colon":!e.conciseInfo}},[e._v(e._s(r.msgUserNick))])],1)},hm=[],vm=j(mm,gm,hm);const _m=vm.exports,cc=()=>({chatMsg:k.object().isRequired,showMsgTime:k.bool.def(!1)}),lc=Symbol("msgItemInjectKey"),uc=t=>{const{props:e}=t,{chatMsg:n}=ut(e),{messageConfig:r}=ce();fm(e);const o=u.computed(()=>{const a=u.unref(n).time,l=new Date().toLocaleDateString(),f=new Date(a).toLocaleDateString();let h="";return l!==f?h=cr(a,"YYYY/MM/DD hh:mm"):h=cr(a,"hh:mm"),h}),i=u.computed(()=>{const{messageHorizontalSpacing:a}=r.value;return{padding:`0 ${a.right}px 0 ${a.left}px`}}),s=u.ref(!1);function c(a){s.value=a}return u.provide(lc,{setMsgAlignRight:c}),{chatMsg:n,msgTimeText:o,msgItemStyle:i,msgAlignRight:s}},wm=()=>u.inject(lc),bm=()=>{const{chatMsg:t}=Qe(),{messageConfig:e}=ce(),n=u.computed(()=>{const o=u.unref(t).msgSource;return!!e.value.clickMsgCallback[o]});function r(){const o=u.unref(t).msgSource,i=u.unref(t),s=e.value.clickMsgCallback[o];s&&s(i)}return{hasClickCallback:n,onClickContainer:r}},ym=u.defineComponent({__name:"msg-container",props:{hideUserInfo:k.bool.def(!1),responseLayout:k.bool.def(!1),hideBubbleStyle:k.bool.def(!1),contentInnerClass:k.string,conciseInfo:k.bool.def(!1),blockUserInfo:k.bool.def(!1)},setup(t){const e=t,{messageConfig:n}=ce(),{chatMsg:r}=Qe(),{hasClickCallback:o,onClickContainer:i}=bm(),{isSpecialUser:s,isSelfMsg:c}=st(r),{getSpecialColor:a}=Pa(),l=u.computed(()=>e.responseLayout&&n.value.messageLayout==="loose"),p=u.computed(()=>l.value&&c.value&&n.value.selfMsgAlign==="right"),f=wm();return u.watch(p,()=>{f.setMsgAlignRight(p.value)},{immediate:!0}),{__sfc:!0,props:e,messageConfig:n,chatMsg:r,hasClickCallback:o,onClickContainer:i,isSpecialUser:s,isSelfMsg:c,getSpecialColor:a,msgLooseMode:l,msgAlignRight:p,msgItemInject:f,MsgUserInfo:_m}}});var xm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-msg-item__container",class:{"plv-msg-item__container--loose-mode":r.msgLooseMode,"plv-msg-item__container--align-right":r.msgAlignRight,"plv-msg-item__container--cursor":r.hasClickCallback,"is-hide-avatar":!r.messageConfig.showUserAvatar},on:{click:r.onClickContainer}},[!e.hideUserInfo&&r.msgLooseMode?n(r.MsgUserInfo,{staticClass:"plv-msg-item__container__user-info",attrs:{"msg-loose-mode":"","concise-info":e.conciseInfo}}):e._e(),n("div",{staticClass:"plv-msg-item__container__bubble-wrap"},[r.msgAlignRight?e._t("bubble-control"):e._e(),n("div",{staticClass:"plv-msg-item__container__bubble",class:[{"plv-msg-item__container__bubble--hide-bubble-style":e.hideBubbleStyle&&r.msgLooseMode}],style:{backgroundColor:r.isSpecialUser?r.getSpecialColor(.3):void 0},attrs:{"data-msg-bubble":""}},[e._t("msg-header"),n("div",{staticClass:"plv-msg-item__container__content"},[n("div",{staticClass:"plv-msg-item__container__content__inner",class:e.contentInnerClass},[!e.hideUserInfo&&!r.msgLooseMode?n(r.MsgUserInfo,{staticClass:"plv-msg-item__container__user-info",class:{"plv-msg-item__container__user-info--block":e.blockUserInfo},attrs:{"concise-info":e.conciseInfo}}):e._e(),e._t("default")],2)]),e._t("msg-footer")],2),r.msgAlignRight?e._e():e._t("bubble-control")],2)],1)},Cm=[],Qm=j(ym,xm,Cm);const Ze=Qm.exports,km=()=>{const{chatMsg:t}=Qe();return{chatMsg:t}},Sm=u.defineComponent({__name:"custom-client-msg",setup(t){const{chatMsg:e}=km();return{__sfc:!0,chatMsg:e,MsgContainer:Ze}}});var Em=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__custom-client",attrs:{"hide-user-info":""}},[e._v(" "+e._s(r.chatMsg.data)+" ")])},Tm=[],Im=j(Sm,Em,Tm);const Lm=Im.exports,pc=()=>{const{chatMsg:t}=Qe(),e=u.computed(()=>t.value.content);return{chatMsg:t,msgContent:e}},Pm=u.defineComponent({__name:"custom-server-msg",setup(t){const{msgContent:e}=pc();return{__sfc:!0,msgContent:e,MsgContainer:Ze}}});var Am=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__custom-server",attrs:{"hide-user-info":""}},[e._v(" "+e._s(r.msgContent)+" ")])},$m=[],Rm=j(Pm,Am,$m);const Om=Rm.exports,Dm=()=>{const{$t:t}=G();function e(i){const s=[],c=/\{\{(.*?)\}\}|([^{]+)/g;let a;for(;(a=c.exec(i))!==null;)a[1]?s.push({textType:a[1],text:a[1]}):a[2]&&s.push({textType:"normal",text:a[2]});return s}function n(i){return i.length>5?i.slice(0,5)+"...":i}function r(i){const s=e(i.strTemplate),c=[],a=i.nicknames.map(l=>n(l));return s.forEach(l=>{switch(l.textType){case"normal":c.push({textType:l.textType,text:l.text});break;case"nickname":c.push({textType:l.textType,text:a.join("、"),count:i.nicknameCount});break;case"productName":c.push({textType:l.textType,text:n(i.targetName)});break;case"donateName":c.push({textType:l.textType,text:n(i.targetName),image:i.targetImage});break}}),c}function o(i){return t("effect.peopleCount",{count:i})}return{parseTemplateString:e,getEffectText:r,getNicknameCountText:o}},zm=()=>{const{chatMsg:t}=Qe(),e=u.computed(()=>t.value.data);return{chatMsg:t,effectData:e}},Fm=u.defineComponent({__name:"effect-msg",setup(t){const{effectData:e}=zm(),{getEffectText:n,getNicknameCountText:r}=Dm();return{__sfc:!0,effectData:e,getEffectText:n,getNicknameCountText:r,MsgContainer:Ze,PwcIconArrowRight:$o}}});var Bm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__effect",attrs:{"hide-user-info":""}},[n("div",{staticClass:"plv-msg-item__effect__inner",class:[`plv-msg-item__effect__inner--${r.effectData.effectType}`]},[e._l(r.getEffectText(r.effectData),function(o,i){return n("span",{key:i,class:["plv-msg-item__effect__item",`plv-msg-item__effect__item--${o.textType}`]},[n("span",{staticClass:"plv-msg-item__effect__item__text"},[e._v(e._s(o.text))]),o.textType==="nickname"&&o.count&&o.count>1?n("span",{staticClass:"plv-msg-item__effect__item__nickname-count"},[e._v(" "+e._s(r.getNicknameCountText(o.count))+" ")]):e._e()])}),n(r.PwcIconArrowRight,{staticClass:"plv-msg-item__effect__icon"})],2)])},Mm=[],Nm=j(Fm,Bm,Mm);const Um=Nm.exports,fc=()=>{const{chatMsg:t}=Qe(),e=u.computed(()=>u.unref(t).emotionUrl),n=u.ref(!1);function r(){n.value=!0}const{previewImage:o}=gi();function i(){o(u.unref(e))}return{emotionUrl:e,isLoaded:n,onImgLoad:r,previewEmotion:i}},Hm=u.defineComponent({__name:"emotion-msg",setup(t){const{emotionUrl:e,isLoaded:n,onImgLoad:r,previewEmotion:o}=fc(),{messageConfig:i}=ce();function s(){i.value.imagePreviewIcon||o()}return{__sfc:!0,emotionUrl:e,isLoaded:n,onImgLoad:r,previewEmotion:o,messageConfig:i,onClickEmotion:s,MsgContainer:Ze,ChatIconZoomUp:rc}}});var jm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__emotion",attrs:{"response-layout":"","hide-bubble-style":"","block-user-info":""}},[r.isLoaded?e._e():n("div",{staticClass:"plv-msg-item__emotion__placeholder"}),n("div",{staticClass:"plv-msg-item__emotion-wrap"},[n("img",{directives:[{name:"show",rawName:"v-show",value:r.isLoaded,expression:"isLoaded"}],staticClass:"plv-msg-item__emotion__img",class:{"zoom-in-cursor":!r.messageConfig.imagePreviewIcon},attrs:{src:r.emotionUrl},on:{load:r.onImgLoad,click:r.onClickEmotion}}),r.messageConfig.imagePreviewIcon&&r.isLoaded?n("div",{staticClass:"plv-msg-item__emotion__preview",on:{click:function(o){return o.stopPropagation(),r.previewEmotion.apply(null,arguments)}}},[n(r.ChatIconZoomUp)],1):e._e()])])},qm=[],Wm=j(Hm,jm,qm);const Gm=Wm.exports,dc=()=>{const{chatMsg:t}=Qe(),{downloadFileUrl:e}=br(),n=u.computed(()=>u.unref(t).fileUrl),r=u.computed(()=>u.unref(t).fileName);function o(){return P(this,null,function*(){const i=u.unref(n),s=u.unref(r);e(i,s)})}return{chatMsg:t,fileName:r,fileUrl:n,toDownloadFile:o}},Ym=u.defineComponent({__name:"file-msg",setup(t){const{fileName:e,fileUrl:n,toDownloadFile:r}=dc();return{__sfc:!0,fileName:e,fileUrl:n,toDownloadFile:r,MsgContainer:Ze,getFileType:Gi,FileType:Ke}}});var Zm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__file",attrs:{"block-user-info":""}},[n("div",{staticClass:"plv-msg-item__file__content",on:{click:r.toDownloadFile}},[n("div",{staticClass:"plv-msg-item__file__icon",class:{"plv-msg-item__file__icon--doc":r.getFileType(r.fileUrl)===r.FileType.Word,"plv-msg-item__file__icon--ppt":r.getFileType(r.fileUrl)===r.FileType.PPT,"plv-msg-item__file__icon--pdf":r.getFileType(r.fileUrl)===r.FileType.PDF}}),n("span",[e._v(e._s(r.fileName))])])])},Km=[],Xm=j(Ym,Zm,Km);const Jm=Xm.exports,mc={},gc=()=>{var S;const{chatMsg:t}=Qe(),{isMobile:e}=ae(),{getEmitter:n}=we(),{resizeOSSImg:r}=Mo(),o=e?48:44,i=e?48:25,s=e?250:258,c=e?140:144,a=2.25,l=.14,p=u.ref(),f=u.computed(()=>hi(t.value.imageUrl,["blob"])),h=u.computed(()=>{if(t.value.isLocal&&t.value.isSended)return t.value.localImageUrl}),d=u.computed(()=>{if(t.value.isLocal&&!t.value.isSended)return f.value;let y=240,E;const T=t.value.size;return T&&T.height>T.width&&(E=y,y=void 0),r(f.value,y,E)}),v=u.ref((S=mc[d.value])!=null?S:t.value.size),g=u.computed(()=>v.value?v.value.height/v.value.width:72/128),_=u.ref({}),m=u.ref({}),w=u.ref(!1);function b(){if(!v.value)return;const{width:y,height:E}=v.value,T=E/y,I={},L={};T>1?(T>a&&(E>=i&&E<=c&&(L.height=`${E}px`),y>=o&&y<=s&&(L.width=`${y}px`)),L.maxWidth=`${s}px`,L.maxHeight=`${c}px`):T<l?(E>=i&&E<=c&&(L.height=`${E}px`),y>=o&&y<=s&&(L.width=`${y}px`),L.maxWidth=`${s}px`,L.maxHeight=`${c}px`):(L.maxWidth="100%",L.maxHeight=`${c}px`),I.maxWidth=`${s}px`,I.maxHeight=`${c}px`,L.minWidth=`${o}px`,L.minHeight=`${i}px`,_.value=I,m.value=L}b();function x(){return P(this,null,function*(){const y=u.unref(p);y&&(v.value={width:y.width,height:y.height},mc[u.unref(d)]=v.value,b(),w.value=!0,n().emit(J.CheckScrollFoot))})}const{previewImage:C}=gi();function Q(){C(u.unref(f))}return{chatMsg:t,minPicWidth:o,minPicHeight:i,maxPicWidth:s,maxPicHeight:c,wrapStyle:_,imageStyle:m,imageRef:p,imageSize:v,imageUrl:d,localImagePlaceholder:h,isLoaded:w,imageRatio:g,previewCurrentImage:Q,onImageLoad:x}},Vm=u.defineComponent({__name:"image-msg",setup(t){const{$t:e}=G(),{messageConfig:n}=ce(),{chatMsg:r,imageUrl:o,localImagePlaceholder:i,isLoaded:s,imageRef:c,onImageLoad:a,previewCurrentImage:l}=gc();function p(){n.value.imagePreviewIcon||l()}return{__sfc:!0,$t:e,messageConfig:n,chatMsg:r,imageUrl:o,localImagePlaceholder:i,isLoaded:s,imageRef:c,onImageLoad:a,previewCurrentImage:l,onClickImg:p,ChatIconForbid:Ad,ChatIconZoomUp:rc,MsgContainer:Ze}}});var eg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__image",attrs:{"response-layout":"","hide-bubble-style":"","block-user-info":""}},[r.chatMsg.isIllegal?n("div",{staticClass:"plv-msg-item__image__illegal"},[n(r.ChatIconForbid,{staticClass:"plv-msg-item__image__illegal__icon"}),n("span",[e._v(e._s(r.$t("chat.illegalImage")))])],1):[n("div",{staticClass:"plv-msg-item__image-wrap"},[r.isLoaded?e._e():[r.localImagePlaceholder?n("img",{staticClass:"plv-msg-item__image__img",class:{"zoom-in-cursor":!r.messageConfig.imagePreviewIcon},attrs:{src:r.imageUrl},on:{click:r.onClickImg}}):n("div",{staticClass:"plv-msg-item__image__placeholder"})],n("img",{directives:[{name:"show",rawName:"v-show",value:r.isLoaded,expression:"isLoaded"}],ref:"imageRef",staticClass:"plv-msg-item__image__img",class:{"zoom-in-cursor":!r.messageConfig.imagePreviewIcon},attrs:{src:r.imageUrl},on:{load:r.onImageLoad,click:r.onClickImg}}),r.messageConfig.imagePreviewIcon&&r.isLoaded?n("div",{staticClass:"plv-msg-item__image__preview",on:{click:function(o){return o.stopPropagation(),r.previewCurrentImage.apply(null,arguments)}}},[n(r.ChatIconZoomUp)],1):e._e()],2)]],2)},tg=[],ng=j(Vm,eg,tg);const rg=ng.exports,og=(t=!0)=>{const{getUserId:e}=q(),{$t:n}=G();function r(c,a){return c.slice(0,a)+"..."}function o(c){return c.motivatedId===e()}function i(c){return c.motivatorId===e()}function s(c){const f=c.motivatedNick,h=c.motivatorNick;let d=f,v=h;const g=xs(f,{enLen:.5,nonEnLen:1}),_=xs(h,{enLen:.5,nonEnLen:1});return g>7?(d=r(f,7),_>2&&(v=r(h,2))):_>=3&&(v=r(h,3)),t&&(o(c)&&(d=n("motivation.you")),i(c)&&(v=n("motivation.you"))),{motivatorNick:v,motivatedNick:d}}return{getMotivationNick:s,motivatedIsCurrent:o,motivatorIsCurrent:i}},ig=()=>{const{chatMsg:t}=Qe(),{$t:e}=G(),{getMotivationNick:n}=og(),r=u.computed(()=>{const{motivatedNick:o,motivatorNick:i}=n(t.value);return e("motivation.msgContent",{motivatedNick:o,motivatorNick:i})});return{chatMsg:t,content:r}},sg=u.defineComponent({__name:"motivation-like-msg",setup(t){const{content:e}=ig();return{__sfc:!0,content:e,MsgContainer:Ze}}});var ag=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__motivation-like",attrs:{"hide-user-info":""}},[n("div",{staticClass:"plv-msg-item__motivation-like__content",domProps:{innerHTML:e._s(r.content)}})])},cg=[],lg=j(sg,ag,cg);const ug=lg.exports,pg=()=>{const{messageConfig:t}=ce(),{chatMsg:e}=Qe(),n=u.computed(()=>t.value.customMessageRender);return{customRenderComponent:u.computed(()=>{const o=u.unref(e).msgSource;return n.value[o]})}},hc=()=>{const{chatMsg:t}=Qe(),e=u.computed(()=>t.value.content);return{chatMsg:t,redpaperContent:e}},fg=u.defineComponent({__name:"redpaper-msg",setup(t){const{chatMsg:e,redpaperContent:n}=hc(),{customRenderComponent:r}=pg();return{__sfc:!0,chatMsg:e,redpaperContent:n,customRenderComponent:r,MsgContainer:Ze}}});var dg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__redpaper",attrs:{"response-layout":"","hide-bubble-style":"","block-user-info":""}},[r.customRenderComponent?[n(r.customRenderComponent,{tag:"component",attrs:{"chat-msg":r.chatMsg}})]:[n("span",[e._v(e._s(r.redpaperContent))])]],2)},mg=[],gg=j(fg,dg,mg);const hg=gg.exports,vg=()=>{const{chatMsg:t}=Qe(),e=u.computed(()=>u.unref(t).nick),n=u.computed(()=>u.unref(t).type.includes("rain")),r=u.computed(()=>u.unref(t).type.includes("question")),o=u.computed(()=>u.unref(t).type.includes("password")),i=u.computed(()=>u.unref(t).isOver);return{receiveNick:e,isRedpaperRain:n,isRedpaperPassword:o,isOver:i,isRedpaperQuestion:r}},_g=u.defineComponent({__name:"redpaper-receive-msg",setup(t){const{$t:e}=G(),{receiveNick:n,isRedpaperRain:r,isRedpaperPassword:o,isOver:i,isRedpaperQuestion:s}=vg();return{__sfc:!0,$t:e,receiveNick:n,isRedpaperRain:r,isRedpaperPassword:o,isOver:i,isRedpaperQuestion:s,MsgContainer:Ze}}});var wg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__redpaper-receive",attrs:{"hide-user-info":""}},[n("span",{staticClass:"plv-msg-item__redpaper-receive__content"},[n("span",{staticClass:"plv-msg-item__redpaper-receive__content__nick"},[e._v(e._s(r.receiveNick)+":")]),r.isRedpaperRain?n("i",{staticClass:"plv-msg-item__redpaper-receive__icon-rain"}):n("i",{staticClass:"plv-msg-item__redpaper-receive__icon"}),n("span",[e._v(e._s(r.$t("redpack.get")))]),r.isRedpaperRain?n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.rainName")))]):r.isRedpaperPassword?n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.passwordName")))]):r.isRedpaperQuestion?n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.questionName")))]):n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.normalName")))]),r.isOver?[r.isRedpaperRain?n("span",[e._v(e._s(r.$t("redpack.rainFinish")))]):n("span",[e._v(e._s(r.$t("redpack.finish")))])]:e._e()],2)])},bg=[],yg=j(_g,wg,bg);const xg=yg.exports,Cg=()=>{const{$t:t}=G(),e=u.computed(()=>({666:t("donate.name.six"),小熊:t("donate.name.bear"),麦克风:t("donate.name.microphone"),别墅:t("donate.name.villa"),咖啡:t("donate.name.coffee"),奖杯:t("donate.name.trophy"),小星星:t("donate.name.star"),掌声:t("donate.name.applause"),游艇:t("donate.name.yacht"),火箭:t("donate.name.rocket"),点赞:t("donate.name.like"),烟火:t("donate.name.fireworks"),皇冠:t("donate.name.crown"),跑车:t("donate.name.cars"),金蛋:t("donate.name.goldenEggs"),钻石:t("donate.name.diamonds"),飞机:t("donate.name.plane"),鲜花:t("donate.name.flower")}));function n(r){const o=u.unref(e)[r];return o||r}return{goodNamesConfig:e,translateGoodName:n}},Qg=()=>{const{chatMsg:t}=Qe(),{resizeOSSImg:e}=Mo(),{translateGoodName:n}=Cg(),r=u.computed(()=>n(u.unref(t).rewardContent)),o=u.computed(()=>e(u.unref(t).gimg,20,20));return{chatMsg:t,goodName:r,goodImg:o}},kg=u.defineComponent({__name:"reward-msg",setup(t){const{goodName:e,goodImg:n}=Qg(),{$t:r}=G();return{__sfc:!0,goodName:e,goodImg:n,$t:r,MsgContainer:Ze}}});var Sg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__reward",attrs:{"concise-info":""}},[n("span",{staticClass:"plv-msg-item__reward__text"},[e._v(e._s(r.$t("donate.goodAction"))+e._s(r.goodName))]),n("div",{staticClass:"plv-msg-item__reward__img",style:{backgroundImage:`url(${r.goodImg})`}})])},Eg=[],Tg=j(kg,Sg,Eg);const Ig=Tg.exports,Lg=u.defineComponent({__name:"custom-server-simple-msg",setup(t){const{msgContent:e}=pc();return{__sfc:!0,msgContent:e}}});var Pg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__custom-server"},[e._v(e._s(r.msgContent))])},Ag=[],$g=j(Lg,Pg,Ag);const Rg=$g.exports,Og=u.defineComponent({__name:"emotion-simple-msg",setup(t){const{emotionUrl:e,previewEmotion:n}=fc();return{__sfc:!0,emotionUrl:e,previewEmotion:n}}});var Dg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("img",{staticClass:"plv-simple-msg-item__emotion",attrs:{src:r.emotionUrl},on:{click:function(o){return o.stopPropagation(),r.previewEmotion.apply(null,arguments)}}})},zg=[],Fg=j(Og,Dg,zg);const Bg=Fg.exports,Mg=u.defineComponent({__name:"file-simple-msg",setup(t){const{fileName:e}=dc();return{__sfc:!0,fileName:e}}});var Ng=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__file"},[e._v(e._s(r.fileName))])},Ug=[],Hg=j(Mg,Ng,Ug);const jg=Hg.exports,qg=u.defineComponent({__name:"image-simple-msg",setup(t){const{imageUrl:e,previewCurrentImage:n}=gc();return{__sfc:!0,imageUrl:e,previewCurrentImage:n}}});var Wg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("img",{staticClass:"plv-simple-msg-item__image",attrs:{src:r.imageUrl},on:{click:function(o){return o.stopPropagation(),r.previewCurrentImage.apply(null,arguments)}}})},Gg=[],Yg=j(qg,Wg,Gg);const Zg=Yg.exports,Kg=u.defineComponent({__name:"redpaper-simple-msg",setup(t){const{redpaperContent:e}=hc();return{__sfc:!0,redpaperContent:e}}});var Xg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__redpaper"},[e._v(e._s(r.redpaperContent))])},Jg=[],Vg=j(Kg,Xg,Jg);const eh=Vg.exports,vc=Symbol("AUTO_TRANSLATE_INJECT_KEY"),_c=(t={})=>{const{changeCallback:e,listenI18n:n=!1}=t,{chatTarget:r,PolyvChatEvent:o,TranslateLanguage:i}=q(),{messageConfig:s}=ce(),{statusInfo:c}=Fn(),{$t:a,currentLang:l}=G(),{toast:p}=xe(),f={[i.Chinese]:["zh_CN","zh_TW"],[i.English]:["en"],[i.Japanese]:["ja"],[i.Korean]:["ko"],[i.Russian]:["ru"]};function h(){for(const w in f){const b=w;if(f[b].includes(l.value))return b}}const d=u.computed(()=>s.value.autoTranslateEnabled),v=u.computed(()=>c.value.autoTranslateLanguage),g=u.computed(()=>v.value!==void 0);function _(w){return P(this,null,function*(){w&&w===v.value||(yield r.status.setAutoTranslate({language:w}))})}function m(){return P(this,null,function*(){if(g.value)yield _(void 0),p.success(a("manage.closeAutoTranslate"));else{const w=h();if(!w){p.error(a("manage.unSupportAutoTranslate"));return}yield _(w),p.success(a("manage.openAutoTranslate"))}})}if(n){function w(){return P(this,null,function*(){if(!g.value||!d.value)return;const b=h();b&&b!==v.value&&(yield _(b))})}u.watch(l,w),Ce(r.eventEmitter,{[o.ChatInitialized]:w}),u.onMounted(()=>{w()})}return Ce(r.eventEmitter,{[o.SetAutoTranslateLanguage]:()=>{e&&e()}}),u.provide(vc,{canAutoTranslate:d,currentTranslateLanguage:v,isAutoTranslating:g,toggleAutoTranslate:m}),{canAutoTranslate:d,currentTranslateLanguage:v,isAutoTranslating:g,toggleAutoTranslate:m,setAutoTranslateLanguage:_}},th=()=>u.inject(vc),nh=t=>{const{chatTarget:e}=q(),{currentTranslateLanguage:n,canAutoTranslate:r}=th(),{$t:o}=G();function i(){const m=t.value.translateResult||{};return t.value.translateLanguage&&(m[t.value.translateLanguage]=t.value.content),m}const s=u.ref((()=>{const m=i();return!(n.value&&m[n.value])})()),c=u.ref((()=>{if(!t.value.translateLanguage)return t.value.content})()),a=u.ref(i());function l(){const m=t.value.content||"";if(!m.trim()||/^\d+$/.test(m)||/^[\s\p{P}\p{S}]+$/u.test(m))return!0;const w=/[\u{1F600}-\u{1F64F}]|[\u{1F300}-\u{1F5FF}]|[\u{1F680}-\u{1F6FF}]|[\u{1F1E0}-\u{1F1FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]/u,b=m.replace(w,"");return!!(!b.trim()||/^[\s\p{P}]*$/u.test(b))}const p=u.computed(()=>!r.value||!n.value||l()?!1:!s.value),f=u.computed(()=>!r.value||!n.value||l()?!1:s.value),h=u.computed(()=>{if(!n.value||!r.value)return;if(s.value)return c.value;const m=a.value[n.value];if(m)return m}),d=u.ref(!1);function v(){return P(this,null,function*(){if(!(!n.value||d.value)){if(!a.value[n.value]){d.value=!0;try{const m=yield e.message.translateSpeak({chatMsg:t.value,language:n.value}),w=D({},a.value);w[m.language]=m.content,a.value=w,d.value=!1}catch(m){d.value=!1}}s.value=!1}})}function g(){return P(this,null,function*(){if(!d.value){if(!c.value){d.value=!0;try{const m=yield e.message.getSpeakOriginalContent({chatMsg:t.value});c.value=m,d.value=!1}catch(m){d.value=!1}}s.value=!0}})}return Nn().addControlItem({controlType:"autoTranslate",hidden:()=>!p.value&&!f.value,sort:()=>Ye.autoTranslate,text:()=>p.value?o("chat.originalContent"):o("chat.translate"),clickCallback:()=>{p.value?g():v()}}),{autoTranslating:d,isShowOriginal:s,originalContent:c,translateResult:a,autoTranslateContent:h,originalBtnVisible:p,translateBtnVisible:f,translateSpeak:v,showOriginalContent:g}};var rh=typeof global=="object"&&global&&global.Object===Object&&global,oh=typeof self=="object"&&self&&self.Object===Object&&self,wc=rh||oh||Function("return this")(),Ar=wc.Symbol,bc=Object.prototype,ih=bc.hasOwnProperty,sh=bc.toString,Un=Ar?Ar.toStringTag:void 0;function ah(t){var e=ih.call(t,Un),n=t[Un];try{t[Un]=void 0;var r=!0}catch(i){}var o=sh.call(t);return r&&(e?t[Un]=n:delete t[Un]),o}var ch=Object.prototype,lh=ch.toString;function uh(t){return lh.call(t)}var ph="[object Null]",fh="[object Undefined]",yc=Ar?Ar.toStringTag:void 0;function xc(t){return t==null?t===void 0?fh:ph:yc&&yc in Object(t)?ah(t):uh(t)}var dh=Array.isArray;function Cc(t){return t!=null&&typeof t=="object"}var mh="[object String]";function ki(t){return typeof t=="string"||!dh(t)&&Cc(t)&&xc(t)==mh}const gh=t=>{const{isSpecialUser:e}=st(t),{chatTarget:n}=q(),{getEmitter:r}=we(),{copyText:o,toastCopySuccess:i}=Zo(),{autoTranslateContent:s,autoTranslating:c}=nh(t),a=u.computed(()=>s.value?s.value:u.unref(t).content),l=u.computed(()=>{const v=a.value;return n.message.parseSpeakContent(v,{parseLink:u.unref(e),parseEmotion:!0,parseLineBreak:!0})}),p=u.computed(()=>u.unref(t).isOverLength||a.value.length>=500);function f(){return P(this,null,function*(){return u.unref(t).isOverLength?n.message.getFullMessage(u.unref(t)):a.value})}function h(){return P(this,null,function*(){const v=yield f();yield o(v),i()})}function d(){return P(this,null,function*(){const g={fullContent:yield f(),chatMsg:t.value};r().emit(J.OpenCompleteMsgPopup,g)})}return{speakContent:a,speakHtmlContent:l,isOverLength:p,autoTranslating:c,getFullSpeakContent:f,copyMsg:h,showCompleteMsg:d}},hh=t=>{const{chatTarget:e}=q(),{messageConfig:n}=ce(),{isSelfMsg:r}=st(t),o=u.computed(()=>{let l=u.unref(t).content;return l=e.message.parseSpeakContent(l,{removeEmotion:!0}),l}),i=u.computed(()=>{if(!n.value.translateEnabled||u.unref(r)||u.unref(t).isOverLength)return!1;const l=u.unref(o);return/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi.test(l)||l.search(/[a-zA-Z]+/)>=0}),s=u.ref(),c=u.ref(!1);function a(){return P(this,null,function*(){if(c.value||!i.value||ki(s.value))return;const l=u.unref(o);c.value=!0;try{const p=yield e.utils.translateText(l);s.value=p,c.value=!1}catch(p){c.value=!1}})}return{translatedContent:s,canTranslate:i,isTranslating:c,translateCurrentMsg:a}},Qc=()=>{const{chatMsg:t}=Qe(),e=u.computed(()=>u.unref(t).quote);return{chatMsg:t,msgQuote:e}},vh=u.defineComponent({__name:"speak-simple-msg",setup(t){const{chatMsg:e}=Qc(),{chatTarget:n}=q();function r(o){return n.message.parseSpeakContent(o,{parseEmotion:!0})}return{__sfc:!0,chatMsg:e,chatTarget:n,parseContent:r}}});var _h=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__speak",domProps:{innerHTML:e._s(r.parseContent(r.chatMsg.content))}})},wh=[],bh=j(vh,_h,wh);const kc=bh.exports;function Si(t,e){return{renderComponent:u.computed(()=>{var o;const r=(o=t.value)==null?void 0:o.msgSource;if(e&&r)return e[r]})}}const yh=u.defineComponent({__name:"simple-msg-item",props:se(D({},cc()),{showAvatar:k.bool.def(!1),type:k.oneOf(["quote","top"]).isRequired}),setup(t){const e=t,{ChatMsgSource:n}=q(),{messageConfig:r}=ce(),{chatMsg:o}=uc({props:e}),{msgUserAvatar:i,msgUserNick:s}=st(o),{renderComponent:c}=Si(o,{[n.Speak]:kc,[n.Image]:Zg,[n.Emotion]:Bg,[n.File]:jg,[n.Redpaper]:eh,[n.CustomServer]:Rg}),{renderComponent:a}=Si(o,{[n.Speak]:kc});return{__sfc:!0,ChatMsgSource:n,messageConfig:r,props:e,chatMsg:o,msgUserAvatar:i,msgUserNick:s,quoteRenderComponent:c,topRenderComponent:a,fitProtocol:hi}}});var xh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-simple-msg-item"},[e.showAvatar&&r.messageConfig.showUserAvatar&&r.msgUserAvatar?n("div",{staticClass:"plv-simple-msg-item__avatar",style:{backgroundImage:`url(${r.fitProtocol(r.msgUserAvatar)})`}}):e._e(),r.msgUserNick?n("span",{staticClass:"plv-simple-msg-item__nick"},[e._v(e._s(r.msgUserNick)+":")]):e._e(),n("span",{staticClass:"plv-simple-msg-item__main"},[e.type==="quote"&&r.quoteRenderComponent?[n(r.quoteRenderComponent,{tag:"component"})]:e._e(),e.type==="top"&&r.topRenderComponent?[n(r.topRenderComponent,{tag:"component"})]:e._e()],2)])},Ch=[],Qh=j(yh,xh,Ch);const $r=Qh.exports,kh=u.defineComponent({__name:"speak-msg",setup(t){const{$t:e}=G(),{getSpecialColor:n}=Pa(),r=Nn(),{chatMsg:o,msgQuote:i}=Qc(),{messageConfig:s}=ce(),{speakHtmlContent:c,isOverLength:a,copyMsg:l,showCompleteMsg:p,autoTranslating:f}=gh(o),{translatedContent:h,canTranslate:d,translateCurrentMsg:v}=hh(o);return r.addControlItem({controlType:"translate",sort:()=>Ye.translate,hidden:()=>!d.value,icon:()=>nc,text:()=>e("chat.translate"),clickCallback:v}),r.addControlItem({controlType:"copy",sort:()=>Ye.copy,hidden:()=>!s.value.copySpeakEnabled,icon:()=>Td,text:()=>e("chat.copy"),clickCallback:l}),{__sfc:!0,$t:e,getSpecialColor:n,msgControl:r,chatMsg:o,msgQuote:i,messageConfig:s,speakHtmlContent:c,isOverLength:a,copyMsg:l,showCompleteMsg:p,autoTranslating:f,translatedContent:h,canTranslate:d,translateCurrentMsg:v,ChatIconTranslate:Ud,MsgContainer:Ze,SimpleMsgItem:$r,PwcLoading:mr}}});var Sh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__speak",class:{"plv-msg-item__speak--over-style":r.isOverLength},attrs:{"content-inner-class":"plv-msg-item__speak__content__inner","response-layout":""},scopedSlots:e._u([{key:"msg-header",fn:function(){return[r.msgQuote?n("div",{staticClass:"plv-msg-item__speak__quote"},[n(r.SimpleMsgItem,{staticClass:"plv-msg-item__speak__quote__content",style:{"--special-color":r.getSpecialColor()},attrs:{"chat-msg":r.msgQuote,type:"quote"}})],1):e._e()]},proxy:!0},{key:"msg-footer",fn:function(){return[r.translatedContent?n("div",{staticClass:"plv-msg-item__speak__bottom plv-msg-item__speak__bottom--translate"},[n(r.ChatIconTranslate,{staticClass:"plv-msg-item__speak__bottom__icon"}),n("span",[e._v(e._s(r.translatedContent))])],1):e._e(),r.isOverLength?n("div",{staticClass:"plv-msg-item__speak__bottom plv-msg-item__speak__bottom--overlength"},[n("span",{staticClass:"plv-msg-item__speak__bottom__item",on:{click:function(o){return o.stopPropagation(),r.copyMsg.apply(null,arguments)}}},[e._v(" "+e._s(r.$t("chat.copy"))+" ")]),n("span",{staticClass:"plv-msg-item__speak__bottom__item",on:{click:function(o){return o.stopPropagation(),r.showCompleteMsg.apply(null,arguments)}}},[e._v(" "+e._s(r.$t("chat.more"))+" ")])]):e._e()]},proxy:!0},{key:"bubble-control",fn:function(){return[n("div",{staticClass:"plv-msg-item__speak__control"},[r.autoTranslating?n(r.PwcLoading,{attrs:{type:"circle",size:12}}):e._e()],1)]},proxy:!0}])},[n("span",{staticClass:"plv-msg-item__speak__content",domProps:{innerHTML:e._s(r.speakHtmlContent)}})])},Eh=[],Th=j(kh,Sh,Eh);const Ih=Th.exports,Lh=()=>{const{chatMsg:t}=Qe();return{chatMsg:t}},Ph=u.defineComponent({__name:"system-msg",setup(t){const{chatMsg:e}=Lh(),{$t:n}=G(),{SystemMsgType:r}=q();return{__sfc:!0,chatMsg:e,$t:n,SystemMsgType:r,MsgContainer:Ze}}});var Ah=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__system",attrs:{"hide-user-info":""}},[r.chatMsg.type===r.SystemMsgType.ChatRoomIntroduction?n("span",{staticClass:"plv-msg-item__system-prefix"},[n("span",[e._v(e._s(r.$t("chat.notice")))])]):n("span",{staticClass:"plv-msg-item__system-prefix"},[n("span",[e._v(e._s(r.$t("chat.systemMsg")))])]),n("span",{class:{"plv-msg-item__system__text":!0,"plv-msg-item__system__text--type":r.chatMsg.type}},[e._v(e._s(r.chatMsg.content))])])},$h=[],Rh=j(Ph,Ah,$h);const Oh=Rh.exports;function Sc(){const{ChatMsgSource:t,getUserLabelIds:e}=q(),{messageConfig:n}=ce(),r={[t.Redpaper]:i=>{const s=e(),c=i.userLabels;return!(c!=null&&c.length&&!c.some(l=>s.includes(l)))}};function o(i){const s=i.msgSource;if(n.value.hideSources.includes(s))return!0;if(r&&r[s]){const c=r[s];if(c(i)===!0)return!0}if(n.value.hideMessage[s]){const c=n.value.hideMessage[s];if(c(i)===!0)return!0}return!1}return{messageIsHide:o}}const Dh=u.defineComponent({__name:"msg-item",props:cc(),setup(t){const e=t,{messageConfig:n}=ce(),{ChatMsgSource:r}=q(),{chatMsg:o,msgTimeText:i,msgItemStyle:s,msgAlignRight:c}=uc({props:e}),{renderComponent:a}=Si(o,{[r.Speak]:Ih,[r.Image]:rg,[r.Emotion]:Gm,[r.File]:Jm,[r.System]:Oh,[r.Redpaper]:hg,[r.RedpaperReceive]:xg,[r.Reward]:Ig,[r.MotivationLike]:ug,[r.Effect]:Um,[r.CustomServer]:Om,[r.CustomClient]:Lm}),{messageIsHide:l}=Sc(),p=u.computed(()=>!l(o.value)),f=u.ref();return um({contentRef:f,chatMsg:o}),{__sfc:!0,props:e,messageConfig:n,ChatMsgSource:r,chatMsg:o,msgTimeText:i,msgItemStyle:s,msgAlignRight:c,renderComponent:a,messageIsHide:l,msgVisible:p,contentRef:f}}});var zh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.msgVisible,expression:"msgVisible"}],staticClass:"plv-msg-item",class:{"is-msg-hide":!r.msgVisible,"is-msg-align-right":r.msgAlignRight}},[e.showMsgTime?n("div",{staticClass:"plv-msg-item__time",style:r.msgItemStyle},[e._v(" "+e._s(r.msgTimeText)+" ")]):e._e(),n("div",{ref:"contentRef",staticClass:"plv-msg-item__content",class:{"is-hover-highlight":r.messageConfig.hoverHighlight},style:r.msgItemStyle},[r.renderComponent?n(r.renderComponent,{tag:"component"}):e._e()],1)])},Fh=[],Bh=j(Dh,zh,Fh);const Mh=Bh.exports,Nh=t=>{const{historyData:e}=t,{messageConfig:n}=ce(),{$t:r}=G(),{createVueInstance:o,getVueInstanceElem:i}=Ne(),s=f=>{const h=[];return f.forEach((d,v)=>{let g=f[v-1],_=!1;if(n.value.showMessageTime){const x=e.getHistoryData();let C=-1;g||(C=e.findHistoryIndex(d.id),C!==-1&&(g=x[C-1])),_=g&&d.time-g.time>gd}const w=o(Mh,{props:{chatMsg:d,showMsgTime:_}}),b=i(w);b.__vueVm=w,h.push(b)}),h},c=f=>{const h=e.getHistoryData();if(f===te.Head&&h.length>=at){const d=document.createElement("div");return d.className="plv-chat-message-list__tips",d.textContent=r("chat.noMore"),d}};let a;return n.value.showEmptyTips&&(a=()=>{const f=document.createElement("div");return f.className="plv-chat-message-list__tips",f.textContent=r("chat.empty"),f}),{renderItems:s,renderLoading:()=>{const f=document.createElement("div");return f.className="plv-chat-message-list__loading",f},renderError:()=>{const f=document.createElement("div");return f.className="plv-chat-message-list__tips",f.textContent=r("chat.loadError"),f},renderBoundary:c,renderEmpty:a}},Uh=t=>{let r=[];function o(){return r}function i(){r=[]}function s(d){r=d}function c(d,v){r[d]=v}function a(d){return r.findIndex(v=>v.id===d)}function l(d){const v=r,g=v.findIndex(_=>_.id===d);return v[g]}function p(d){const v=a(d);v!==-1&&r.splice(v,1)}function f(d,v){v==="header"?r=d.concat(r):r=r.concat(d)}function h(){const d=o().length;if(d<=300)return;const g=t.getVirtualListResult().getVirtualList();let _=d-200,m=d;const w=g.items.first(),b=g.items.last();if(w&&b){const Q=a(w.id),S=a(b.id);let E=200-(S-Q+1);E=E<0?0:E,_=Q-Math.round(E/2),m=S+Math.round(E/2)+1}_=_<0?0:_,m=m>d?d:m;const C=o().slice(_,m);s(C)}return{getHistoryData:o,clearHistoryData:i,resetHistoryData:s,setHistoryData:c,findHistoryIndex:a,findHistoryById:l,removeHistoryData:p,concatHistoryData:f,contractHistoryData:h}},Hh=()=>{const t=u.ref(!1);function e(){t.value=!0}function n(){t.value=!1}return{moreMsgVisible:t,showMoreMsg:e,hideMoreMsg:n}};function jh(t){return"isLocal"in t?!!t.isLocal:!1}const qh=()=>{const{plvSocket:t,getUserId:e}=q();function n(r){const o=N1(r),i=o==null?void 0:o.userType;return i?!!(o.userId===e()||t.isSpecialUserType(i)):!1}return{filterOnlySpecialMsg:n}},Ec=t=>{function e(n){const o=t.getVirtualListResult().getVirtualList(),i=o.items.length,s=[];for(let a=0;a<i;a++){const l=o.items.get(a);l&&s.push(l)}const c=[];for(let a=0;a<n.length;a++){const l=n[a],p=c.indexOf(l),f=s.findIndex(h=>h.id===l.id);p!==-1||f!==-1||c.push(l)}return c}return{filterRepeatMsg:e}},Wh=()=>{let n=[];function r(){return n}function o(){n=[]}function i(a){n.push(a)}function s(a){n=a}function c(){const a=r().length;if(a<=300)return;const l=a-200,p=a,h=r().slice(l,p);s(h)}return{getMsgQueue:r,clearMsgQueue:o,pushMsgQueue:i,resetMsgQueue:s,contractMsgQueue:c}},Gh=t=>{const{msgQueue:e,historyData:n,moreMsgBtn:r,onlySpecial:o}=t,{chatTarget:i,PolyvChatEvent:s}=q(),{filterRepeatMsg:c}=Ec(t),{filterOnlySpecialMsg:a}=qh(),{getEmitter:l}=we(),{messageIsHide:p}=Sc();function f(b=!1){const x=e.getMsgQueue(),C=x.length;let Q=u.unref(at);b?Q=C:C/2>Q&&(Q=Math.round(C/2));const S=x.splice(0,Q);return S.length&&n.concatHistoryData(S,"tail"),S}function h(b){const C=t.getVirtualListResult().getVirtualList();if(!C.reachedBoundary(te.Foot)){e.clearMsgQueue(),m(),r.showMoreMsg();return}if(e.pushMsgQueue(b),e.contractMsgQueue(),jh(b)){let S=f(!0);n.contractHistoryData(),S=c(S),C.addBoundaryItems(S,te.Foot,!0)}m()}function d(b){l().emit(J.RenderMsg,{msgList:b});const C=t.getVirtualListResult().getVirtualList();C.scrollToFoot(),C.addBoundaryItems(b,te.Foot,!0),r.hideMoreMsg()}const{startInterval:v,closeInterval:g,hasInterval:_}=yr(()=>{const b=t.getVirtualListResult();if(!b.getVirtualList().reachedBoundary(te.Foot)){e.clearMsgQueue(),m(),r.showMoreMsg();return}if(!b.isScrollBottom()){r.showMoreMsg();return}const Q=e.getMsgQueue(),S=Q.length;let y=Q.splice(0,S);y=c(y);const E=y.length;n.concatHistoryData(y,"tail"),E>0&&d(y),n.contractHistoryData(),m()},300);function m(){if(e.getMsgQueue().length===0){g();return}_()||v()}function w(b){const x=b.chatMsg;o.isOnlySpecialMsg.value&&!a(x)||p(x)||h(x)}Ce(i.eventEmitter,{[s.ChatMessage]:b=>{w(b)}}),le(J.JoinMsgQueue,w)},Yh={workWechatMyCustomerHistory:!1},Zh=()=>{const t=it();return{historyConfig:u.computed(()=>{let n={};return t.getHistoryConfig&&(n=t.getHistoryConfig()),D(D({},Yh),n)})}},Kh=t=>{const{moreMsgBtn:e,historyData:n,msgQueue:r,onlySpecial:o}=t,{chatTarget:i,ChatRequestHistoryMode:s}=q(),{messageConfig:c}=ce(),{manageConfig:a}=_e(),{historyConfig:l}=Zh(),{getEmitter:p}=we(),{filterRepeatMsg:f}=Ec(t);function h(){return P(this,arguments,function*(m={}){const{mode:w=s.Prev}=m;let b=[];return l.value.workWechatMyCustomerHistory?b=yield i.history.getChatHistoryByWorkWechatTagId({timestamp:m.timestamp,size:at,mode:w}):b=yield i.history.getChatHistoryByTime({timestamp:m.timestamp,size:at,count:m.count,mode:w,exclude:c.value.hideSources,getBanStatus:a.value.banUserEnabled,onlySpecialMsg:o.isOnlySpecialMsg.value}),p().emit(J.RequestChatHistory,{msgList:b}),b})}function d(m,w,b){const x=n.getHistoryData();let C=1;const Q=w,S=()=>{const E=b===s.Prev?x[Q-1]:x[Q+1];return E&&m.time===E.time};let y=S();for(;y;)C+=1,y=S();return C}return{loadInitialData:()=>P(this,null,function*(){n.clearHistoryData();const m=yield h();return n.resetHistoryData(m),r.clearMsgQueue(),e==null||e.hideMoreMsg(),p().emit(J.LoadInitialData),{data:m,reachedFootBoundary:!0,reachedHeadBoundary:m.length<at}}),loadNextData:m=>P(this,null,function*(){if(!ki(m))throw new Error("loadNextData fail, ref is not string");const w=n.getHistoryData(),b=w.length;if(b===0)return[];const x=m;let C=[],Q=n.findHistoryIndex(x);const S=n.findHistoryById(x);if(Q===-1)return[];let y=Q+1;y>b-1&&(y=b-1);let E=!1,T=Q+at+1;if(T>b-1&&(T=b-1,E=!0),E&&S){const I=w[b-1],L=d(I,b-1,s.Next),A=yield h({timestamp:I.time,count:L+1,mode:s.Next});n.concatHistoryData(A,"tail"),Q=n.findHistoryIndex(x)}return y=Q+1,T=Q+at+1,C=n.getHistoryData().slice(y,T),C.length===0&&(e==null||e.hideMoreMsg()),setTimeout(()=>{n.contractHistoryData()},50),C=f(C),r.resetMsgQueue([]),C}),loadPreviousData:m=>P(this,null,function*(){if(!ki(m))throw new Error("loadPreviousData fail, ref is not string");const w=m;let b=[],x=n.findHistoryIndex(w);const C=n.findHistoryById(w);if(C&&x<at){const y=d(C,x,s.Prev),E=yield h({timestamp:C.time,count:y,mode:s.Prev});n.concatHistoryData(E,"header"),x=n.findHistoryIndex(w)}const Q=x-at<0?0:x-at,S=x;return b=n.getHistoryData().slice(Q,S),setTimeout(()=>{n.contractHistoryData()},50),b=f(b),b})}},Xh=Object.prototype.hasOwnProperty;function Jh(t,e){return Xh.call(t,e)}function Ei(t,...e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(let n=0;n<e.length;n++){const r=e[n];if(r!=null)for(const o in r)o!=="__proto__"&&Jh(r,o)&&(t[o]=r[o])}return t}function Vh(t){let e;try{e=Array.prototype.slice.call(t)}catch(n){e=[];let r=t.length;for(;r;)e[--r]=t[r]}return e}function Rr(t,e){if(e==null)return t;const n=e.length;let r=t.length,o=0;for(;o<n;)t[r++]=e[o++];return t.length=r,t}function ev(t){return{all:t=t||new Map,on:function(e,n){var r=t.get(e);r?r.push(n):t.set(e,[n])},off:function(e,n){var r=t.get(e);r&&(n?r.splice(r.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var r=t.get(e);r&&r.slice().map(function(o){o(n)}),(r=t.get("*"))&&r.slice().map(function(o){o(e,n)})}}}class tv{constructor(){this._eventEmitter=ev()}on(e,n){this._eventEmitter.on(e,n)}off(e,n){this._eventEmitter.off(e,n)}}function Tc(t){let e;try{e=Array.prototype.slice.call(t)}catch(n){e=[];let r=t.length;for(;r;)e[--r]=t[r]}return e}function Or(t,e){if(e==null)return t;const n=e.length;let r=t.length,o=0;for(;o<n;)t[r++]=e[o++];return t.length=r,t}function Ti(t){return t!=null&&t!==t.window&&typeof t!="function"&&typeof t.length=="number"&&t.length%1==0&&t.length>-1}const nv="just4__query__context";function Dr(t,e=document){let n;if(e.nodeType===9||!(n=e.parentElement))return e.querySelectorAll(t);const r=e;let o=r.getAttribute("id"),i=0;o||(i=o==null?1:2,o=nv,r.setAttribute("id",o));const s="#"+o+" ";t=s+t.replace(/\s*,\s*/g,function(c){return c+s});try{return n.querySelectorAll(t)}finally{switch(i){case 1:r.removeAttribute("id");break;case 2:r.setAttribute("id","")}}}const Hn=document.documentElement,rv=Hn.matches||Hn.webkitMatchesSelector||Hn.mozMatchesSelector||Hn.oMatchesSelector||Hn.msMatchesSelector;function Ii(t,e){try{return rv.call(t,e)}catch(n){return!1}}const ov=Object.prototype.hasOwnProperty;function zr(t,e){return ov.call(t,e)}function iv(t){if(t!=null){if(Array.isArray(t))return!t.length;for(const e in t)if(zr(t,e))return!1}return!0}function wt(t){return t!=null&&t==t.window}function ke(t){return t!=null&&!wt(t)&&typeof t.nodeType=="number"}function Ic(t){return ke(t)&&t.nodeType===9}function Li(t){return t!=null&&!wt(t)&&t.nodeType===1&&"style"in t}function Rt(t){let e;return e=typeof t=="string"?t.split(/\s+/):t||[],e}function ye(t,e){if(Ti(t)){const n=t,r=n.length;for(let o=0;o<r;o++)ye(n[o],e)}else if(Li(t))return e(t)}function Ot(t,e,n,r=!1,o){if(e!=null&&typeof e=="object"){for(const s in e)zr(e,s)&&Ot(t,s,e[s],r,o);return t}const i=t.length;if(n!==void 0){r=r&&typeof n=="function";let s=-1;for(;++s<i;)o.set.call(t,t[s],e,r?n.call(t[s],t[s],o.get.call(t,t[s],e),s):n);return t}return i?o.get.call(t,t[0],e):null}let Pi=!1;function sv(t,e){if(t===e)return Pi=!0,0;let n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=t.compareDocumentPosition(e),1&n?1&t.compareDocumentPosition(document)?1:1&e.compareDocumentPosition(document)?-1:0:4&n||16&n?-1:1)}function rn(t){if(t.length<=1)return t;if(Pi=!1,t.sort(sv),Pi){let e,n=0,r=0;const o=[];for(;e=t[n++];)e===t[n]&&(r=o.push(n));for(;r--;)t.splice(o[r],1)}return t}const Fr=Object.create(null);Fr.for="htmlFor",Fr.class="className",["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable","isMap"].forEach(function(t){Fr[t.toLowerCase()]=t});const Ai=Object.create(null);function Lc(t){return Fr[t]||t}["checked","selected","async","autofocus","autoplay","controls","defer","disabled","hidden","ismap","loop","multiple","open","readonly","required","scoped"].forEach(function(t){Ai[t]=!0});function Pc(t,e){return t[Lc(e)]}function Ac(t,e,n){t[Lc(e)]=n}function av(t,e){return ye(t,function(n){e=e.toLowerCase();let r=n.getAttribute(e);return r!=null&&Ai[e]&&(r=Pc(n,e)?e:""),r})}function cv(t,e){const n=Rt(e);n.length&&ye(t,function(r){n.forEach(function(o){r.removeAttribute(o.toLowerCase())})})}function lv(t,e,n){ye(t,function(r){if(e=e.toLowerCase(),Ai[e]){if(!(n=n===!0||n==="true"||e===n))return void r.removeAttribute(e.toLowerCase());Ac(r,e,n),n=e}r.setAttribute(e,n.toString())})}const uv={OBJECT:!0,EMBED:!0,APPLET:!0};function $c(t){if(t==null)return 0;if(ke(t)){const e=t;return uv[e.nodeName]||e.nodeType===9?2:e.nodeType!==1?0:1}return 2}const Dt="_just4_nodeid_"+ +new Date+"_";let Rc=0;const Oc=Object.create(null),on=Object.create(null);function Br(t,e=!1){let n,r;switch($c(t)){case 1:r=t[Dt],r?n=r.valueOf():e||(r=t[Dt]=new Number(++Rc),Oc[n=r.valueOf()]=function(){t[Dt]});break;case 2:for(const o in on)if(on[o]===t){n=Number(o);break}n||e||(n=++Rc,on[n]=t)}return n}function pv(t){if(t[Dt]){delete Oc[t[Dt]];try{delete t[Dt]}catch(e){t[Dt]=null}}}function fv(t){switch($c(t)){case 1:pv(t);break;case 2:for(const e in on)if(on[e]===t){delete on[e];break}}}class dv{constructor(e={}){this._space=Object.create(null),this._cloneable=e.cloneable!==!1,this._onClone=e.onClone}findSpace(e){const n=Br(e,!0);if(n)return this._space[n]}keys(e){const n=this.findSpace(e);return n?Object.keys(n):[]}getData(e,n){const r=this.findSpace(e);if(r&&n in r)return r[n]}setData(e,n,r){const o=Br(e);o&&(this._space[o]||(this._space[o]=Object.create(null)),this._space[o][n]=r)}clearData(e){const n=Br(e,!0);n&&delete this._space[n]}removeData(e,n){const r=this.findSpace(e);r&&(delete r[n],iv(r)&&this.clearData(e))}cloneData(e,n){if(!this._cloneable)return;const r=this.findSpace(n);if(r){const o=Br(e);if(!o)return;const i=this._space[o]=this._space[o]||Object.create(null);for(const s in r)i[s]=r[s];this._onClone&&this._onClone(e,n)}}}const $i=function(){const t=[];return{add:function(e){return t.push(e)-1},clear:function(e){for(let n=t.length-1;n>=0;n--)t[n].clearData(e)},clone:function(e,n){for(let r=t.length-1;r>=0;r--)t[r].cloneData(e,n)}}}();function Dc(t){const e=new dv(t);return $i.add(e),e}function Ri(t){$i.clear(t),fv(t)}function zc(t,e){$i.clone(t,e)}const Mr=Dc();function mv(t,e){return Mr.getData(t,e)}function gv(t,e,n){Mr.setData(t,e,n)}function hv(t,e){Rt(e).forEach(function(n){for(let r=0;r<t.length;r++)Mr.removeData(t[r],n)})}function vv(t){for(let e=0;e<t.length;e++)Mr.clearData(t[e])}const Nr=Object.create(null);Nr.float="cssFloat";const Fc=document.documentElement,Bc=["O","Moz","ms","Webkit"];function _v(t){if(t in Fc.style)return t;const e=t.charAt(0).toUpperCase()+t.slice(1);let n;for(let r=Bc.length-1;r>=0;r--)if(n=Bc[r]+e,n in Fc.style)return n;return t}const wv=/-([a-z])/g;function Mc(t){const e=t.replace(wv,function(n,r){return r.toUpperCase()});return Nr[e]||(Nr[e]=_v(e)),Nr[e]}const bv={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0};function yv(t,e){return zr(bv,t)||e===""||isNaN(Number(e))?e.toString():e+"px"}function Nc(t,e){var n;let r="";const o=(n=t.ownerDocument)===null||n===void 0?void 0:n.defaultView;return o&&(r=o.getComputedStyle(t,null)[e]),r==null?"":String(r)}function Oi(t,e){return ye(t,function(n){if((e=Mc(e))in n.style)return Nc(n,e)})}function xv(t,e,n){ye(t,function(r){e=Mc(e),n=yv(e,n),e in r.style&&(r.style[e]=n)})}function Cv(t){t.style.display==="none"&&(t.style.display=""),Nc(t,"display")==="none"&&(t.style.display="block")}function Qv(t){ye(t,Cv)}function kv(t){t.style.display="none"}function Sv(t){ye(t,kv)}function Di(t,e){e=e.trim(),t.className!==e&&(t.className=e)}function Ev(t,e){return ye(t,function(n){return(" "+n.className+" ").indexOf(" "+e+" ")!==-1})||!1}function Tv(t,e){const n=Rt(e),r=n.length;r&&ye(t,function(o){let i=" "+o.className+" ",s=-1;for(;++s<r;)i.indexOf(" "+n[s]+" ")===-1&&(i+=n[s]+" ");Di(o,i)})}function Iv(t,e){let n,r;const o=e==null;(o||(n=Rt(e),r=n.length,r))&&ye(t,function(i){const s=i.className;if(s)if(o)i.className="";else{let c=" "+s+" ",a=-1;for(;++a<r;)c=c.replace(" "+n[a]+" "," ");Di(i,c)}})}function Lv(t,e){const n=Rt(e),r=n.length;r&&ye(t,function(o){let i,s=" "+o.className+" ",c=-1;for(;++c<r;)i=" "+n[c]+" ",s.indexOf(i)===-1?s+=n[c]+" ":s=s.replace(i," ");Di(o,s)})}function zi(t,e,n,r){return e+(n?1:-1)*(parseFloat(Oi(t,r))||0)}function sn(t,e,n=!1,r=!1,o=!1){if(t==null)return 0;if(wt(t))return t.document.documentElement["client"+e];if(Ic(t))return t.documentElement["scroll"+e];if(!t.ownerDocument||t.nodeType!==1)return 0;let i=t["offset"+e];return(e==="Width"?["Left","Right"]:["Top","Bottom"]).forEach(function(s){n||(i=zi(t,i,!1,"padding"+s)),r||Oi(t,"border"+s+"Style")==="none"||(i=zi(t,i,!1,"border"+s+"Width")),o&&(i=zi(t,i,!0,"margin"+s))}),i}const Fi=Object.create(null);Fi.scrollTop="pageYOffset",Fi.scrollLeft="pageXOffset";function an(t,e){let n=0;const r=e;return wt(t)?n=t[Fi[r]]:Li(t)&&(n=t[r]),n}function Uc(t,e,n){const r=e;if(wt(t))switch(r){case"scrollTop":window.scrollTo(an(t,"scrollLeft"),n);break;case"scrollLeft":window.scrollTo(n,an(t,"scrollTop"))}else Li(t)&&(t[r]=n)}function Pv(t){return ye(t,function(e){const n=e.ownerDocument,r=n.documentElement;if(e!==r&&r.contains(e)){const o=n.defaultView,i=e.getBoundingClientRect();return{top:i.top+an(o,"scrollTop"),left:i.left+an(o,"scrollLeft")}}})||{top:0,left:0}}function Ur(t){if(!t)return[];const e=t;return e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11?[e]:Or([e],e.querySelectorAll("*"))}function Bi(t,e){return e?t.filter(function(n){return Ii(n,e)}):t}function Hc(t,e,n){return t.length?(rn(t),e!=="parentNode"&&e!=="previousElementSibling"||t.reverse(),Bi(t,n)):t}function Mi(t,e,n,r){let o;typeof n=="string"?o=function(s){return Ii(s,n)}:ke(n)?o=function(s){return s===n}:Array.isArray(n)&&(o=function(s){return n.indexOf(s)!==-1});const i=[];return ye(t,function(s){for(;(s=s[e])&&(!o||!o(s));)i.push(s)}),Hc(i,e,r)}function cn(t,e,n,r){const o=[];return ye(t,function(i){for(;(i=i[e])&&(o.push(i),!r););}),Hc(o,e,n)}function Av(t,e){const n=[];return ye(t,function(r){let o=r.firstElementChild;for(;o;)n.push(o),o=o.nextElementSibling}),rn(n),Bi(n,e)}function $v(t,e){const n=[];return ye(t,function(r){let o=r;for(;o=o.previousElementSibling;)n.push(o);for(o=r;o=o.nextElementSibling;)n.push(o)}),Bi(rn(n),e)}function Rv(t){const e=ye(t,function(n){const r=n.parentElement;if(r){let o=r.lastElementChild,i=r.childElementCount-1;for(;o&&o!==n;)i--,o=o.previousElementSibling;return i}});return e==null?-1:e}function jc(t,e){let n=(e=e||document).createElement("div");n.innerHTML=t.trim();const r=[];for(;n.firstChild;)r.push(n.removeChild(n.firstChild));return n=null,r}function Ni(t,e=!1,n=!1){const r=t.cloneNode(!0);if(n){const o=Ur(t);if(o){const i=Ur(r);for(let s=o.length-1;s>=0;s--)zc(i[s],o[s])}}else e&&zc(r,t);return r}function qc(t,e=document){const n=t.length;if(n){const r=e.createDocumentFragment();let o=-1;for(;++o<n;)ke(t[o])&&r.appendChild(t[o]);return r}}function Ov(t,e=document){if(!t||ke(t))return t;const n=typeof t=="string"?jc(t,e):t;return n.length!==1?qc(n,e):ke(n[0])?n[0]:void 0}function jn(t,e,n,r){const o=e.length;if(!o)return;const i=Ov(t);if(i){let s=-1;for(;++s<o;)!ke(e[s])||r&&r(e[s])===!1||n(s===o-1?i:Ni(i,!0,!0),e[s])}}function Dv(t){return typeof t=="string"?Dr(t):ke(t)?[t]:Tc(t)}function qn(t,e,n,r){const o=[];if(t==null||wt(t))return o;const i=Dv(t),s=i.length;if(!s)return o;const c=qc(e);if(c){let a,l=-1;for(;++l<s;)!ke(i[l])||r&&r(i[l])===!1||(a=l===s-1?c:Ni(c,!0,!0),Or(o,a.childNodes),n(a,i[l]))}return rn(o)}function ln(t){return t.parentNode!=null}function Hr(t){return t.nodeType===1||t.nodeType===11}function Wc(t,e){e.appendChild(t)}function Gc(t,e){const n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}function Yc(t,e){e.parentNode&&e.parentNode.insertBefore(t,e)}function Zc(t,e){if(!e.parentNode)return;const n=e.nextSibling;n?e.parentNode.insertBefore(t,n):e.parentNode.appendChild(t)}function Kc(t,e){Ri(e),e.parentNode&&e.parentNode.replaceChild(t,e)}function zv(t){let e;for(let n=0;n<t.length;n++){if(!ke(t[n]))continue;e=t[n];const r=Ur(e);if(r){for(let o=r.length-1;o>=0;o--)Ri(r[o]);e.parentNode&&e.parentNode.removeChild(e)}}}function Fv(t){let e;for(let n=0;n<t.length;n++){if(!ke(t[n]))continue;e=t[n];const r=Ur(e);if(r){for(let o=r.length-1;o>=1;o--)Ri(r[o]);for(;e.firstChild;)e.removeChild(e.firstChild)}}}const Bv=/^(?:mouse|contextmenu)|click/,Mv=/^touch/,Nv=/^pointer/;class Uv{constructor(e,n){if(this.originalEvent=e,this.type=e.type,this.timeStamp=e.timeStamp,this.target=e.target,this.currentTarget=e.currentTarget||n,Bv.test(this.type)||Nv.test(this.type)){const r=e;this.clientX=r.clientX,this.clientY=r.clientY,this.pageX=r.pageX,this.pageY=r.pageY}else if(Mv.test(this.type)){const r=e.touches[0];r&&(this.clientX=r.clientX,this.clientY=r.clientY,this.pageX=r.pageX,this.pageY=r.pageY)}}preventDefault(){this.originalEvent.preventDefault()}stopPropagation(){this.originalEvent.stopPropagation()}isDefaultPrevented(){return this.originalEvent.defaultPrevented}isPropagationStopped(){return this.originalEvent.bubbles}}const Ui=function(){const t=["o","moz","ms","webkit"],e=Object.create(null),n=document.documentElement;return["TransitionEnd","AnimationStart","AnimationIteration","AnimationEnd","fullscreenchange","fullscreenerror"].forEach(function(r){const o=r.toLowerCase();"on"+o in n||t.some(function(i){if("on"+i+o in n)return e[o]=i+r,!0})}),function(r){return r!=null&&e[r]?e[r]:r}}(),Hi=function(){const t=Dc({onClone:function(n){this.keys(n).forEach(function(r){n.addEventListener(r,e,!1)})}});function e(n){const r=new Uv(n,this),o=r.type,i=t.getData(r.currentTarget,o);i&&i.forEach(function(s){let c;const a=r.target;if(s.delegator&&ke(a)){if(c=function(l,p){let f=l.target;for(;f&&f!==l.currentTarget;){if(Ii(f,p))return f;f=f.parentNode}}(r,s.delegator),!c)return}else c=r.currentTarget;s.handler.call(c,r)===!1&&r.preventDefault()})}return{add(n,r,o){let i=t.getData(n,r);i||(i=[],t.setData(n,r,i),n.addEventListener(r,e,!1)),i.push(o)},remove(n,r,o,i){if(r&&(o||i)){const s=t.getData(n,r);if(!s||(function(c,a,l){for(let p=c.length-1;p>=0;p--)l&&c[p].handler!==l||a&&a!==c[p].delegator||c.splice(p,1)}(s,o,i),s.length))return}if(r)return t.removeData(n,r),void n.removeEventListener(r,e,!1);t.keys(n).forEach(function(s){n.removeEventListener(s,e,!1)}),t.clearData(n)}}}();function jr(t,e){if(Ti(t)){const n=t;for(let r=0;r<n.length;r++)jr(n[r],e)}else t!=null&&typeof t.addEventListener=="function"&&e(t)}function Hv(t,e,n,r){const o=Rt(e).map(Ui);o.length&&r&&jr(t,function(i){o.forEach(function(s){Hi.add(i,s,{handler:r,delegator:n})})})}function jv(t,e,n,r){const o=Rt(e).map(Ui);jr(t,function(i){o.length?o.forEach(function(s){Hi.remove(i,s,n,r)}):Hi.remove(i)})}const Xc={focus:t=>/^(?:input|select|textarea|button)$/i.test(t.nodeName),blur:t=>t.ownerDocument!=null&&t.ownerDocument.activeElement===t,reset:t=>t.nodeName==="FORM",submit:t=>t.nodeName==="FORM",click:()=>!0};function qv(t,e){e=Ui(e),jr(t,function(n){if(ke(n)&&typeof n[e]=="function"&&zr(Xc,e)&&Xc[e](n))return void n[e]();let r=null;if(ke(n)?r=n.ownerDocument:wt(n)&&(r=n.document),r){const o=r.createEvent("Event");o.initEvent(e,!0,!0),n.dispatchEvent(o)}})}class fe{constructor(e){this.length=0;const n=e?e.length:-1;if(isNaN(n)||n<0)return;let r=-1;for(;++r<n;)this[r]=e[r];this.length=n}toArray(){return Tc(this)}indexOf(e){return Array.prototype.indexOf.call(this,e)}forEach(e){return Array.prototype.forEach.call(this,e)}some(e){return Array.prototype.some.call(this,e)}every(e){return Array.prototype.every.call(this,e)}filter(e){return new fe(Array.prototype.filter.call(this,e))}get(e){return(e|=0)<0?this[this.length+e]:this[e]}eq(e){const n=this.get(e);return new fe(n?[n]:[])}first(){return this.eq(0)}last(){return this.eq(this.length-1)}add(e,n=document){return new fe(rn(Or(this.toArray(),Ti(e)?e:Dr(e,n))))}each(e){for(let n=0;n<this.length&&e.call(this[n],n,this[n])!==!1;n++);return this}attr(e,n){return Ot(this,e,n,!0,{get:av,set:lv})}removeAttr(e){return cv(this,e),this}prop(e,n){return Ot(this,e,n,!0,{get:Pc,set:Ac})}data(e,n){return Ot(this,e,n,!0,{get:mv,set:gv})}removeData(e){return e!=null?hv(this,e):vv(this),this}html(e){return this.prop("innerHTML",e)}text(e){return arguments.length?this.prop("textContent",e):this.prop("textContent")}val(e){return this.prop("value",e)}css(e,n){return Ot(this,e,n,!0,{get:Oi,set:xv})}show(){return Qv(this),this}hide(){return Sv(this),this}addClass(e){return Tv(this,e),this}removeClass(e){return Iv(this,e),this}hasClass(e){return this.some(function(n){return Ev(n,e)})}toggleClass(e){return Lv(this,e),this}width(){return sn(this[0],"Width")}height(){return sn(this[0],"Height")}innerWidth(){return sn(this[0],"Width",!0)}innerHeight(){return sn(this[0],"Height",!0)}outerWidth(e){return sn(this[0],"Width",!0,!0,e)}outerHeight(e){return sn(this[0],"Height",!0,!0,e)}scrollTop(e){return Ot(this,"scrollTop",e,!0,{get:an,set:Uc})}scrollLeft(e){return Ot(this,"scrollLeft",e,!0,{get:an,set:Uc})}offset(){return Pv(this[0])}index(){return Rv(this[0])}children(e){return new fe(Av(this,e))}siblings(e){return new fe($v(this,e))}next(e){return new fe(cn(this,"nextElementSibling",e,!0))}nextAll(e){return new fe(cn(this,"nextElementSibling",e))}prev(e){return new fe(cn(this,"previousElementSibling",e,!0))}prevAll(e){return new fe(cn(this,"previousElementSibling",e))}parent(e){return new fe(cn(this,"parentNode",e,!0))}parents(e){return new fe(cn(this,"parentNode",e))}nextUntil(e,n){return new fe(Mi(this,"nextElementSibling",e,n))}prevUntil(e,n){return new fe(Mi(this,"previousElementSibling",e,n))}parentsUntil(e,n){return new fe(Mi(this,"parentNode",e,n))}append(e){return jn(e,this,Wc,Hr),this}appendTo(e){return new fe(qn(e,this,Wc,Hr))}prepend(e){return jn(e,this,Gc,Hr),this}prependTo(e){return new fe(qn(e,this,Gc,Hr))}before(e){return jn(e,this,Yc,ln),this}insertBefore(e){return new fe(qn(e,this,Yc,ln))}after(e){return jn(e,this,Zc,ln),this}insertAfter(e){return new fe(qn(e,this,Zc,ln))}replaceWith(e){return jn(e,this,Kc,ln),this}replaceAll(e){return new fe(qn(e,this,Kc,ln))}remove(){return zv(this),this}empty(){return Fv(this),this}clone(e,n){const r=[];return this.forEach(function(o){ke(o)&&r.push(Ni(o,e,n))}),new fe(r)}on(e,n,r){return typeof n=="function"&&(r=n,n=void 0),Hv(this,e,n,r),this}off(e,n,r){return typeof n=="function"&&(r=n,n=void 0),jv(this,e,n,r),this}trigger(e){return qv(this,e),this}focus(){return this.trigger("focus")}blur(){return this.trigger("blur")}click(){return this.trigger("click")}reset(){return this.trigger("reset")}submit(){return this.trigger("submit")}}function Wv(t,e){if(Array.isArray(e)){const n=[],r=e.length;let o=-1;for(;++o<r;)Or(n,Dr(t,e[o]));return rn(n)}return Dr(t,e)}function Ue(t,e=document){let n;return n=typeof t=="string"?(t=t.trim()).charAt(0)==="<"&&t.charAt(t.length-1)===">"?jc(t,Ic(e)?e:null):Wv(t,e):t==null?[]:ke(t)||wt(t)?[t]:t,new fe(n)}function Gv(t,e){let n;return()=>{n&&window.clearTimeout(n),n=window.setTimeout(t,e)}}class Yv{constructor(e,n){this._getItem=e,this._getLength=n}get length(){return this._getLength()}get(e){const n=this._getItem(e);return n?Ei({},n):void 0}first(){return this.get(0)}last(){return this.get(this._getLength()-1)}}var un=function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function s(l){try{a(r.next(l))}catch(p){i(p)}}function c(l){try{a(r.throw(l))}catch(p){i(p)}}function a(l){var p;l.done?o(l.value):(p=l.value,p instanceof n?p:new n(function(f){f(p)})).then(s,c)}a((r=r.apply(t,e||[])).next())})};class Zv extends tv{constructor(e){super(),this.__batchId=Date.now(),this.__inited=!1,this.__destroyed=!1,this._itemList=[],this._itemNodes=[],this._stateFlags={renderBoundary:[],renderEmpty:[],renderError:[],renderLoading:[]},this._stateNodes={renderBoundary:[],renderEmpty:[],renderError:[],renderLoading:[]},this.__lastCheckPositionTime=0,this._container=Ue(e.container),this._options=Ei({},e),this.items=new Yv(n=>this._itemList[n],()=>this._itemList.length),setTimeout(()=>{this._init()},0)}setOption(e,n){if(e==="container")throw new Error("Container cannot be changed.");this._options[e]=n}get inited(){return this.__inited}get _prefetchDistance(){var e;return(e=this._options.prefetchDistance)!==null&&e!==void 0?e:2}get _maxItemCount(){var e;return(e=this._options.maxItemCount)!==null&&e!==void 0?e:100}get isVisible(){return this._container.get(0).offsetParent!=null}destroy(){this._removeEventListeners(),this._eventEmitter.all.clear(),this.__checkPositionTimer&&clearTimeout(this.__checkPositionTimer),this._container.empty(),this._itemList=[],this._itemNodes=[],this.__destroyed=!0}scrollToHead(e=!1){if(!this.isVisible)return;const n=this._itemNodes[0],r=this._container.get(0).firstElementChild;e&&n&&n!==r?this._container.scrollTop(Ue(r).outerHeight()):this._container.scrollTop(0)}scrollToFoot(e=!1){if(!this.isVisible)return;const n=this._itemNodes[this._itemNodes.length-1],r=this._container.get(0),o=r.lastElementChild;let i=r.scrollHeight-r.clientHeight;e&&n&&o!==n&&(i-=Ue(o).outerHeight(!0)),this._container.scrollTop(i)}_removeEventListeners(){this._onScrollFn&&this._container.get(0).removeEventListener("scroll",this._onScrollFn,!1),this._onClickFn&&this._container.off("click",this._onClickFn)}isEmpty(){return this._stateFlags.renderEmpty[te.Main]===!0}_setInited(){this.__inited||(this.__inited=!0,this._eventEmitter.emit("inited"))}_setEmpty(e,n){this._setAndRenderState("renderEmpty",e,te.Main),e&&(this._setAndRenderState("renderBoundary",!1,te.Head),this._setAndRenderState("renderBoundary",!1,te.Foot)),n&&n(),e?this._removeEventListeners():(this._listenScroll(),this._listenClick()),this._setInited()}_init(){return un(this,void 0,void 0,function*(){if(this.__destroyed)throw new Error("This component has been destroyed.");let e,n;this._setAndRenderState("renderLoading",!0,te.Main),this.__isLoading=!0;try{e=yield this._options.dataSource.loadInitialData()}catch(s){n=s}finally{this.__isLoading=!1,this._setAndRenderState("renderLoading",!1,te.Main)}if(this.__destroyed)return;if(n)return this._setAndRenderState("renderError",!0,te.Main,n),void this._setInited();if(e==null||e.data==null||!e.data.length)return void this._setEmpty(!0);const r=e.data,o=e.reachedHeadBoundary,i=e.reachedFootBoundary;this._setEmpty(!1,()=>{Rr(this._itemList,r);const s=this._options.renderer.renderItems(r,this);Rr(this._itemNodes,s),this._container.append(s),o===!0&&this._keepView(()=>{this._setAndRenderState("renderBoundary",!0,te.Head)}),this._options.defaultView==="foot"&&this.scrollToFoot(),i===!0&&this._setAndRenderState("renderBoundary",!0,te.Foot),this._emitRenderedEvent(te.Main,r,s)})})}_reset(){let e;for(e in this.__batchId=Date.now(),this._itemList=[],this._itemNodes=[],this._stateFlags)this._stateFlags[e]=[],this._stateNodes[e]=[];this._container.empty()}refresh(){return un(this,void 0,void 0,function*(){this._removeEventListeners(),this._reset(),this._init()})}clear(){return un(this,void 0,void 0,function*(){this._reset(),this._setEmpty(!0)})}_checkPosition(){this.__lastCheckPositionTime=Date.now();const e=this._container,n=e.scrollTop(),r=e.prop("scrollHeight"),o=e.prop("clientHeight"),i=this._prefetchDistance*o;n+o+i>=r&&this._fetchNext(),n<=i&&this._fetchPrevious()}checkPosition(){if(this.__destroyed||this.__isLoading||this.isEmpty()||!this.isVisible)return;const e=Date.now()-this.__lastCheckPositionTime;if(e>=500)this._checkPosition();else{if(this.__checkPositionTimer)return;this.__checkPositionTimer=window.setTimeout(()=>{this.__checkPositionTimer=null,this._checkPosition()},500-e)}}_listenScroll(){var e;this._onScrollFn=(e=this._onScrollFn)!==null&&e!==void 0?e:Gv(this.checkPosition.bind(this),80),this._container.get(0).addEventListener("scroll",this._onScrollFn,!1),this.checkPosition()}_onClick(e){const n=e.target;if(!n)return;let r;r=n.parentElement===this._container.get(0)?n:Ue(n).parentsUntil(this._container.get(0)).get(-1);let o=-1;for(let i=this._itemNodes.length-1;i>=0;i--)if(this._itemNodes[i]===r){o=i;break}o!==-1&&this._eventEmitter.emit("item-click",{domEvent:e,itemNode:this._itemNodes[o],itemData:Ei({},this._itemList[o])})}_listenClick(){var e;this._onClickFn=(e=this._onClickFn)!==null&&e!==void 0?e:this._onClick.bind(this),this._container.on("click",this._onClickFn)}_setAndRenderState(e,n,r,o){if(this._stateFlags[e][r]===n)return;this._stateFlags[e][r]=n;const i=this._stateNodes[e];if(n){const s=this._options.renderer,c=s[e];if(c){const a=i[r]=c.call(s,r,this,o);a&&(r===te.Head?this._container.prepend(a):this._container.append(a))}}else{const s=i[r];s&&(i[r]=null,Ue(s).remove())}}_keepView(e){const n=this._container.get(0);if(!this.isVisible)return void e();const r=n.scrollTop,o=n.getBoundingClientRect().top;let i,s=0,c=-1;for(;(i=this._itemNodes[++c])&&(i=this._itemNodes[c],s=i.getBoundingClientRect().top,!(s-o>=0)););if(e(),!i)return;const a=(i.parentNode?i.getBoundingClientRect().top:0)-s;a>=1&&this._container.scrollTop(r+a)}_fetch(e,n,r){return un(this,void 0,void 0,function*(){const o=this._stateFlags;if(this.__isLoading||this.isEmpty()||this.reachedBoundary(e)||o.renderError[e])return;let i,s;this._keepView(()=>{this._setAndRenderState("renderLoading",!0,e)}),this.__isLoading=!0;const c=this.__batchId;try{i=yield n()}catch(a){s=a}finally{this.__isLoading=!1}c!==this.__batchId||this.__destroyed||(s?this._keepView(()=>{this._setAndRenderState("renderLoading",!1,e),this._setAndRenderState("renderError",!0,e,s)}):i!=null&&i.length?(r(i),setTimeout(()=>{this.checkPosition()},0)):this._keepView(()=>{this._setAndRenderState("renderLoading",!1,e),this._setAndRenderState("renderBoundary",!0,e)}))})}_emitRenderedEvent(e,n,r){this._eventEmitter.emit("rendered",{position:e,itemList:n.slice(),itemNodes:new fe(r)})}_updateAndRenderPrevious(e){e.length>this._maxItemCount&&(e=e.slice(0,this._maxItemCount));const n=this._itemList.length+e.length-this._maxItemCount;if(n>0){const o=this._itemList.splice(this._itemList.length-n,n),i=Ue(this._itemNodes.splice(this._itemNodes.length-n,n)).remove();this._eventEmitter.emit("item-remove",{itemList:o,itemNodes:i}),this._setAndRenderState("renderBoundary",!1,te.Foot)}this._itemList=e.concat(this._itemList);const r=this._options.renderer.renderItems(e,this);this._keepView(()=>{this._itemNodes.length?Ue(this._itemNodes[0]).before(r):this._container.append(r)}),this._itemNodes=Vh(r).concat(this._itemNodes),this._emitRenderedEvent(te.Head,e,r)}_fetchPrevious(){return un(this,void 0,void 0,function*(){return this._fetch(te.Head,()=>{const e=this.items.first();return e?this._options.dataSource.loadPreviousData(e[this._options.itemKey],e):Promise.resolve(void 0)},this._updateAndRenderPrevious.bind(this))})}_updateAndRenderNext(e){e.length>this._maxItemCount&&(e=e.slice(this._maxItemCount));const n=this._itemList.length+e.length-this._maxItemCount;if(n>0){const o=this._itemList.splice(0,n),i=Ue(this._itemNodes.splice(0,n));this._keepView(()=>{this._setAndRenderState("renderBoundary",!1,te.Head),i.remove()}),this._eventEmitter.emit("item-remove",{itemList:o,itemNodes:i})}Rr(this._itemList,e);const r=this._options.renderer.renderItems(e,this);this._itemNodes.length?Ue(this._itemNodes[this._itemNodes.length-1]).after(r):this._container.append(r),Rr(this._itemNodes,r),this._emitRenderedEvent(te.Foot,e,r)}_fetchNext(){return un(this,void 0,void 0,function*(){return this._fetch(te.Foot,()=>{const e=this.items.last();return e?this._options.dataSource.loadNextData(e[this._options.itemKey],e):Promise.resolve(void 0)},this._updateAndRenderNext.bind(this))})}_findItemIndex(e){const n=this._options.itemKey;let r=-1;for(let o=this._itemList.length-1;o>=0;o--)if(this._itemList[o][n]===e){r=o;break}return r}updateItem(e,n){const r=this._findItemIndex(n!=null?n:e[this._options.itemKey]);if(r===-1)return!1;const o=this._itemList[r],i=Ue(this._itemNodes[r]);this._itemList[r]=e;const s=this._options.renderer.renderItems([e],this)[0];return this._keepView(()=>{i.replaceWith(s)}),this._itemNodes[r]=s,setTimeout(()=>{this.checkPosition()},0),this._eventEmitter.emit("item-update",{oldData:o,oldNode:i,newData:e,newNode:Ue(s)}),!0}_doRemoval(e,n){e.length&&(this._keepView(()=>{n.remove()}),setTimeout(()=>{this.checkPosition()},0),this._eventEmitter.emit("item-remove",{itemList:e,itemNodes:n})),this._itemList.length?setTimeout(()=>{this.checkPosition()},0):this.refresh()}removeItem(e){const n=this._findItemIndex(e);if(n!==-1){const r=this._itemList.splice(n,1),o=Ue(this._itemNodes.splice(n,1));return this._doRemoval(r,o),r[0]}}removeItems(e){const n=[],r=[];return e.forEach(o=>{const i=this._findItemIndex(o);i!==-1&&(n.push(this._itemList.splice(i,1)[0]),r.push(this._itemNodes.splice(i,1)[0]))}),this._doRemoval(n,Ue(r)),n.length?n:void 0}_shouldKeepDefaultView(){if(!this._itemNodes.length)return!1;const e=this._container.get(0);if(!this.isVisible)return!1;const n=e.getBoundingClientRect().top,r=e.clientHeight;if(this._options.defaultView==="head"){const o=this._itemNodes[0].getBoundingClientRect().top-n;return o>=0||-o<=.1*r}if(this._options.defaultView==="foot"){const o=this._itemNodes[this._itemNodes.length-1].getBoundingClientRect().bottom-n;return o<r||o-r<=.1*r}return!1}reachedBoundary(e){return this.isEmpty()||this._stateFlags.renderBoundary[e]===!0}addBoundaryItems(e,n,r){if(!this.reachedBoundary(n))return!1;const o=this.isEmpty(),i=()=>{const s=this._shouldKeepDefaultView();if(n===te.Head)this._updateAndRenderPrevious(e);else{if(n!==te.Foot)throw new Error('"position" must be "RenderPosition.Head" or "RenderPosition.Foot".');this._updateAndRenderNext(e)}if(o&&(this._setAndRenderState("renderBoundary",!0,te.Head),this._setAndRenderState("renderBoundary",!0,te.Foot)),r&&s)switch(this._options.defaultView){case"head":this.scrollToHead(!0);break;case"foot":this.scrollToFoot(!0)}};return o?this._setEmpty(!1,i):i(),!0}resetBoundaryState(e){this.isEmpty()?this.refresh():(this._keepView(()=>{this._setAndRenderState("renderBoundary",!1,e)}),this.checkPosition())}retryFetch(e){const n=this._stateFlags;this.isEmpty()||n.renderError[te.Main]?this.refresh():(n.renderBoundary[e]||n.renderError[e])&&(this._keepView(()=>{this._setAndRenderState("renderError",!1,e),this._setAndRenderState("renderBoundary",!1,e),this._setAndRenderState("renderLoading",!0,e)}),e===te.Head?this._fetchPrevious():e===te.Foot&&this._fetchNext())}}const Kv=(t,e)=>{const{moreMsgBtn:n}=e;let r;function o(){if(!r)throw new Error("getVirtualList error");return r}function i(){return P(this,null,function*(){s();const f=t.value;f&&(r=new Zv({container:f,itemKey:e.itemKey,prefetchDistance:1,defaultView:"foot",dataSource:e.dataSource,renderer:e.renderer}),r.on("item-remove",h=>{h.itemNodes.forEach(g=>{const m=g.__vueVm;m&&m.$destroy()})}))})}function s(){r&&(r.destroy(),r=void 0)}function c(){return P(this,null,function*(){if(!r||r&&!r.inited)return;const{loadInitialData:f}=e.dataSource,h=yield f();h!=null&&h.data&&(yield r.clear(),r.addBoundaryItems(h.data,te.Foot,!0),r.scrollToFoot(),h.data.length>0&&r.resetBoundaryState(te.Head))})}function a(){return P(this,null,function*(){if(!r)return;r.reachedBoundary(te.Foot)?r.scrollToFoot():yield c(),n==null||n.hideMoreMsg()})}function l(){return P(this,null,function*(){const f=u.unref(t);if(f){const{scrollTop:h,scrollHeight:d,clientHeight:v}=f,g=h+v>=d-v*.1;yield u.nextTick(),g&&r&&r.scrollToFoot()}})}function p(){const f=u.unref(t);return f?f.scrollTop+f.clientHeight+50>=f.scrollHeight:!1}return u.watch(t,()=>{t.value&&i()},{immediate:!0}),u.onBeforeUnmount(()=>{s()}),le(J.CheckScrollFoot,()=>{l()}),{getVirtualList:o,initVirtualList:i,destroyVirtualList:s,refreshVirtualList:c,scrollToNew:a,checkScrollFoot:l,isScrollBottom:p}},Jc=()=>{const{messageConfig:t}=ce(),{getEmitter:e}=we(),n=u.computed(()=>t.value.onlySpecialMsgEnabled),r=u.ref(!1);function o(s){r.value=s,e().emit(J.ToggleOnlySpecialMsg,r.value)}function i(){o(!r.value)}return le(J.ToggleOnlySpecialMsg,s=>{s!==r.value&&(r.value=s)}),{canOnlySpecialMsg:n,isOnlySpecialMsg:r,setIsOnlySpecialMsg:o,toggleOnlySpecialMsg:i}},Xv=()=>{Y1(),Fn(!0);const t=u.ref(),e={getVirtualListResult:l},n=Hh(),r=Uh(e),o=Wh(),i=Jc();_c({listenI18n:!0,changeCallback:()=>{a.initVirtualList()}}),Gh(se(D({},e),{msgQueue:o,historyData:r,moreMsgBtn:n,onlySpecial:i})),md(se(D({},e),{historyData:r,moreMsgBtn:n,msgQueue:o}));const s=Kh(se(D({},e),{historyData:r,moreMsgBtn:n,msgQueue:o,onlySpecial:i})),c=Nh({historyData:r}),a=Kv(t,{itemKey:"id",dataSource:s,renderer:c,moreMsgBtn:n});function l(){return a}return u.watch(i.isOnlySpecialMsg,()=>{a.initVirtualList()}),le(J.ScrollToNew,a.scrollToNew),{containerRef:t,moreMsgVisible:n.moreMsgVisible,scrollToNew:a.scrollToNew,setIsOnlySpecialMsg:i.setIsOnlySpecialMsg}},Jv=u.defineComponent({__name:"chat-message-list",setup(t,{expose:e}){const{$t:n}=G(),{containerRef:r,moreMsgVisible:o,scrollToNew:i,setIsOnlySpecialMsg:s}=Xv(),{msgSizeClass:c}=Rf(),{messageConfig:a}=ce(),{isMobile:l}=ae();return e({setIsOnlySpecialMsg:s}),{__sfc:!0,$t:n,containerRef:r,moreMsgVisible:o,scrollToNew:i,setIsOnlySpecialMsg:s,msgSizeClass:c,messageConfig:a,isMobile:l,CompleteMsgPopup:ed}}});var Vv=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-chat-message-list",class:[r.msgSizeClass,{"is-mobile":r.isMobile}],style:{"--container-top-padding":r.messageConfig.messageContainerBoundaryPadding.top+"px","--container-bottom-padding":r.messageConfig.messageContainerBoundaryPadding.bottom+"px"}},[n("div",{ref:"containerRef",staticClass:"plv-chat-message-list__container"}),r.moreMsgVisible?n("div",{staticClass:"plv-chat-message-list__more-msg",on:{click:r.scrollToNew}},[e._v(" "+e._s(r.$t("chat.moreMsg"))+" ")]):e._e(),n(r.CompleteMsgPopup)],1)},e_=[],t_=j(Jv,Vv,e_);const n_=t_.exports,Vc=t=>{const e=it();return{animationVisible:u.computed(()=>e.getAnimationVisible?e.getAnimationVisible(t):!0)}},r_={getSvgaUrl:()=>{}},o_=()=>{const t=it();return{donateConfig:u.computed(()=>{let n={};return t.getDonateConfig&&(n=t.getDonateConfig()),D(D({},r_),n)})}},i_=()=>{const{animationVisible:t}=Vc("donate-svga-animation"),{chatTarget:e,ChatMsgSource:n,PolyvChatEvent:r,DonateType:o}=q(),{donateConfig:i}=o_(),s=u.ref(),{animationQueue:c,pushAnimationQueue:a,pauseAnimationQueue:l,clearAnimationQueue:p,startAnimationQueue:f,clearAnimation:h}=P3({wrapRef:s});function d(g){return P(this,null,function*(){let _;return i.value.getSvgaUrl&&(_=yield i.value.getSvgaUrl(g)),_||(_=yield e.utils.getDefaultDonateSvgaUrl(g)),_})}u.watch(()=>u.unref(t),()=>{u.unref(t)?f():(l(),p(),h())},{immediate:!0});function v(g){return g.isSelf?!0:t.value?u.unref(c).length<100:!1}return Ce(e.eventEmitter,{[r.ChatMessage]:g=>P(this,null,function*(){const _=g.chatMsg;if(_.msgSource!==n.Reward||_.donateType!==o.Good||!v(_))return;const w=_.isSelf,b=yield d(_);a({url:b||_.gimg,inHeader:w,filterRepeat:!0})})}),{donateRef:s}},s_=u.defineComponent({__name:"donate-svga-animation",setup(t){const{donateRef:e}=i_();return{__sfc:!0,donateRef:e}}});var a_=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{ref:"donateRef",staticClass:"plv-donate-svga-animation"})},c_=[],l_=j(s_,a_,c_);const u_=l_.exports,p_=()=>{const{$t:t}=G(),e=u.computed(()=>({666:t("donate.name.six"),小熊:t("donate.name.bear"),麦克风:t("donate.name.microphone"),别墅:t("donate.name.villa"),咖啡:t("donate.name.coffee"),奖杯:t("donate.name.trophy"),小星星:t("donate.name.star"),掌声:t("donate.name.applause"),游艇:t("donate.name.yacht"),火箭:t("donate.name.rocket"),点赞:t("donate.name.like"),烟火:t("donate.name.fireworks"),皇冠:t("donate.name.crown"),跑车:t("donate.name.cars"),金蛋:t("donate.name.goldenEggs"),钻石:t("donate.name.diamonds"),飞机:t("donate.name.plane"),鲜花:t("donate.name.flower")}));function n(r){const o=u.unref(e)[r];return o||r}return{translateGoodName:n}},f_=u.defineComponent({__name:"donate-animation-item",props:{animationId:k.string.isRequired,nick:k.string,pic:k.string,gimg:k.string,count:k.number.def(1),rewardContent:k.string,donateType:k.enum()},emits:{"after-leave":H()},setup(t,{emit:e}){const n=t,{$t:r}=G(),{nick:o,gimg:i,count:s}=ut(n),{resizeOSSImg:c}=Mo(),{translateGoodName:a}=p_(),{chatTarget:l}=q(),p=u.computed(()=>n.donateType===l.DonateType.Good),f=u.computed(()=>n.donateType===l.DonateType.Cash?`¥${n.rewardContent}`:a(n.rewardContent));function h(E){return E}const d=["linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 85%)","linear-gradient(90deg, rgba(91, 70, 255, 0.6) 0%, rgba(91, 70, 255, 0.1) 85%)","linear-gradient(90deg, rgba(87, 173, 255, 0.7) 9%, rgba(87, 173, 255, 0.1) 83%)","linear-gradient(90deg, rgba(45, 208, 192, 0.6) 2%, rgba(45, 208, 192, 0.1) 85%)","linear-gradient(90deg, rgba(40, 222, 122, 0.6) 0%, rgba(40, 222, 122, 0.1) 85%)","linear-gradient(90deg, rgba(255, 193, 69, 0.7) 9%, rgba(255, 193, 69, 0.1) 83%)","linear-gradient(90deg, rgba(255, 103, 194, 0.6) 4%, rgba(255, 103, 194, 0.1) 85%)","linear-gradient(90deg, rgba(255, 70, 70, 0.6) 0%, rgba(255, 70, 70, 0.1) 85%)"],v=u.ref(d[0]),g=u.ref(!1);function _(E,T){return Math.floor(Math.random()*(T-E+1))+E}function m(){const E=_(0,d.length-1);v.value=d[E],g.value=!0,x()}function w(){g.value=!1,C()}let b;function x(){C(),b=window.setTimeout(()=>{w()},2e3)}function C(){b&&(clearTimeout(b),b=void 0)}u.onMounted(()=>{m()}),u.onBeforeUnmount(()=>{C()});const Q=u.ref(!1);function S(){Q.value=!0}function y(){e("after-leave")}return{__sfc:!0,props:n,emit:e,$t:r,nick:o,gimg:i,count:s,resizeOSSImg:c,translateGoodName:a,chatTarget:l,isGoodDonate:p,content:f,translateNick:h,bgColors:d,itemBgColor:v,itemShow:g,generateRandomInteger:_,showItem:m,hideItem:w,hideTimer:b,resetHideTimer:x,clearHideTimer:C,countAnimation:Q,onAfterEnter:S,onAfterLeave:y}}});var d_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-donate-animation-item"},[n("transition",{attrs:{name:"donate-animation"},on:{"after-enter":r.onAfterEnter,"after-leave":r.onAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.itemShow,expression:"itemShow"}],staticClass:"plv-donate-animation-item__content",style:{background:r.itemBgColor}},[n("div",{staticClass:"plv-donate-animation-item__pic",style:{backgroundImage:`url(${r.resizeOSSImg(e.pic,36,36)})`}}),n("div",{staticClass:"plv-donate-animation-item__nick g-singleline"},[e._v(e._s(r.translateNick(r.nick)))]),n("div",{staticClass:"plv-donate-animation-item__bottom"},[e._v(e._s(r.$t("donate.goodAction"))+e._s(r.content))]),r.isGoodDonate?n("div",{staticClass:"plv-donate-animation-item__good-image g-img-cover",style:{backgroundImage:`url(${r.resizeOSSImg(r.gimg,36,36)})`}}):n("div",{staticClass:"plv-donate-animation-item__good-image plv-donate-animation-item__good-image--redpaper g-img-cover"}),r.count>1?n("div",{staticClass:"plv-donate-animation-item__count",class:{"plv-donate-animation-item__count--long":r.count>99,"plv-donate-animation-item__count--animation":r.countAnimation}},[n("span",[e._v("x")]),n("span",[e._v(e._s(r.count))])]):e._e()])])],1)},m_=[],g_=j(f_,d_,m_);const h_=g_.exports,v_=()=>({trackCount:k.number.def(2)}),__=t=>{const{props:e}=t,{animationVisible:n}=Vc("donate-animation"),{chatTarget:r,ChatMsgSource:o,PolyvChatEvent:i}=q(),s=u.ref([]);let c=[];u.watch(n,()=>{n.value||(s.value=[],c=[])});function a(){if(!c.length||!n.value)return;const h=r.utils.getDefaultResource();if(u.unref(s).length<e.trackCount){const d=e.trackCount-u.unref(s).length;c.splice(0,d).forEach(g=>{var _;s.value.push({animationId:g0(),nick:g.user.nick,pic:g.user.pic||h.defaultViewerAvatar,gimg:g.gimg,count:(_=g.goodNum)!=null?_:1,rewardContent:g.rewardContent,donateType:g.donateType})})}}function l(h){const d=s.value.findIndex(v=>v.animationId===h);d!==-1&&(s.value.splice(d,1),a())}function p(h){return h.isSelf?!0:n.value?c.length<100:!1}function f(h){const d=h.chatMsg;if(d.msgSource!==o.Reward)return;const v=p(d),g=d.isSelf;v&&(g?c.unshift(d):c.push(d),a())}return Ce(r.eventEmitter,{[i.ChatMessage]:f}),{trackList:s,onItemLeaved:l}},w_=u.defineComponent({__name:"donate-animation",props:v_(),setup(t){const e=t,{trackList:n,onItemLeaved:r}=__({props:e});return{__sfc:!0,props:e,trackList:n,onItemLeaved:r,DonateAnimationItem:h_}}});var b_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.trackList.length?n("div",{staticClass:"plv-donate-animation"},e._l(r.trackList,function(o){return n("div",{key:o.animationId,staticClass:"plv-donate-animation__item"},[n(r.DonateAnimationItem,{attrs:{"animation-id":o.animationId,nick:o.nick,pic:o.pic,gimg:o.gimg,count:o.count,"reward-content":o.rewardContent,"donate-type":o.donateType},on:{"after-leave":function(i){return r.onItemLeaved(o.animationId)}}})],1)}),0):e._e()},y_=[],x_=j(w_,b_,y_);const C_=x_.exports;var Q_="[object Symbol]";function k_(t){return typeof t=="symbol"||Cc(t)&&xc(t)==Q_}var S_=/\s/;function E_(t){for(var e=t.length;e--&&S_.test(t.charAt(e)););return e}var T_=/^\s+/;function I_(t){return t&&t.slice(0,E_(t)+1).replace(T_,"")}function qr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var el=NaN,L_=/^[-+]0x[0-9a-f]+$/i,P_=/^0b[01]+$/i,A_=/^0o[0-7]+$/i,$_=parseInt;function tl(t){if(typeof t=="number")return t;if(k_(t))return el;if(qr(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qr(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=I_(t);var n=P_.test(t);return n||A_.test(t)?$_(t.slice(2),n?2:8):L_.test(t)?el:+t}var ji=function(){return wc.Date.now()},R_="Expected a function",O_=Math.max,D_=Math.min;function nl(t,e,n){var r,o,i,s,c,a,l=0,p=!1,f=!1,h=!0;if(typeof t!="function")throw new TypeError(R_);e=tl(e)||0,qr(n)&&(p=!!n.leading,f="maxWait"in n,i=f?O_(tl(n.maxWait)||0,e):i,h="trailing"in n?!!n.trailing:h);function d(Q){var S=r,y=o;return r=o=void 0,l=Q,s=t.apply(y,S),s}function v(Q){return l=Q,c=setTimeout(m,e),p?d(Q):s}function g(Q){var S=Q-a,y=Q-l,E=e-S;return f?D_(E,i-y):E}function _(Q){var S=Q-a,y=Q-l;return a===void 0||S>=e||S<0||f&&y>=i}function m(){var Q=ji();if(_(Q))return w(Q);c=setTimeout(m,g(Q))}function w(Q){return c=void 0,h&&r?d(Q):(r=o=void 0,s)}function b(){c!==void 0&&clearTimeout(c),l=0,r=a=o=c=void 0}function x(){return c===void 0?s:w(ji())}function C(){var Q=ji(),S=_(Q);if(r=arguments,o=this,a=Q,S){if(c===void 0)return v(a);if(f)return clearTimeout(c),c=setTimeout(m,e),d(a)}return c===void 0&&(c=setTimeout(m,e)),s}return C.cancel=b,C.flush=x,C}var z_="Expected a function";function rl(t,e,n){var r=!0,o=!0;if(typeof t!="function")throw new TypeError(z_);return qr(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),nl(t,e,{leading:r,maxWait:e,trailing:o})}const F_=()=>({value:k.string.def(""),placeholder:k.string,maxlength:k.number.def(200),lineHeight:k.number.def(1.4),fontSize:k.number.def(14),disabled:k.bool.def(!1),isOverflow:k.bool.def(!1),background:k.string}),B_=()=>({input:H(),blur:H(),focus:H(),enter:H(),submit:H(),"multi-row":H()}),M_=t=>{const{props:e,emit:n}=t,{value:r,lineHeight:o,fontSize:i,placeholder:s}=ut(e),{isDesktopIPad:c}=ae(),a=u.ref(),l=u.ref(!1),p=u.ref(0),f=u.ref(0),h=u.computed(()=>f.value>p.value),d=u.computed(()=>u.unref(l)?"":u.unref(s)),v=u.computed(()=>{const $=u.unref(i),O=u.unref(o);return $+$*O*2.4}),g=u.computed(()=>u.unref(r)||"");function _($=!1){return P(this,null,function*(){const O=u.unref(a);if(!O)return;O.style.height="auto",yield u.nextTick();const F=O.scrollHeight,W=$?p.value:F;W&&(O.style.height=`${W}px`),f.value=O.clientHeight,n("multi-row",h.value)})}const m=rl($=>_($),300);u.watch(()=>u.unref(r),$=>{p.value||L(),m(!$)});function w(){l.value=!1,n("blur")}function b(){l.value=!0,n("focus")}function x(){if(e.disabled)return;const $=u.unref(a);if(!$)return;const O=$.value;n("input",O)}function C(){n("enter")}function Q(){n("submit",e.value)}function S(){var $;($=u.unref(a))==null||$.blur()}function y(){var $;($=u.unref(a))==null||$.focus()}function E(){n("input","")}function T(){const $=u.unref(e.value).length,O=e.value.substr(0,$-1);n("input",O)}function I(){const $=u.unref(a);return $?[{type:"text",content:$.value}]:[]}function L(){a.value&&(f.value=a.value.clientHeight,p.value=a.value.clientHeight)}return c&&Ho({autoListen:!0,autoListenCb:()=>{S()}}),{textareaPlaceholder:d,textareaRef:a,textareaMaxHeight:v,realValue:g,clientHeight:f,originHeight:p,textAreaIsMultiRow:h,onBlur:w,onFocus:b,onInput:x,onEnter:C,onSubmit:Q,blurTextarea:S,focusTextarea:y,deleteWord:T,clearTextarea:E,getContentList:I,textareaInstance:{blurTextarea:S,focusTextarea:y,deleteWord:T,clearTextarea:E,getContentList:I}}},N_=u.defineComponent({__name:"auto-textarea",props:F_(),emits:B_(),setup(t,{expose:e,emit:n}){const r=t,{maxlength:o,disabled:i,lineHeight:s,fontSize:c}=ut(r),{textareaRef:a,textAreaIsMultiRow:l,textareaPlaceholder:p,textareaMaxHeight:f,realValue:h,textareaInstance:d,onBlur:v,onFocus:g,onInput:_,onEnter:m,onSubmit:w}=M_({props:r,emit:n}),{checkIntercept:b}=_t();function x(C){return P(this,null,function*(){(yield b("focus-message-input"))&&C.preventDefault()})}return e(d),{__sfc:!0,props:r,emit:n,maxlength:o,disabled:i,lineHeight:s,fontSize:c,textareaRef:a,textAreaIsMultiRow:l,textareaPlaceholder:p,textareaMaxHeight:f,realValue:h,textareaInstance:d,onBlur:v,onFocus:g,onInput:_,onEnter:m,onSubmit:w,checkIntercept:b,checkInterceptHandler:x}}});var U_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-message-input__auto-textarea",class:{"plv-message-input__auto-textarea--multi-row":r.textAreaIsMultiRow}},[n("textarea",{ref:"textareaRef",staticClass:"plv-message-input__auto-textarea__inner",class:{"plv-message-input__auto-textarea__inner--disabled":r.disabled},style:{maxHeight:`${r.textareaMaxHeight}px`,fontSize:`${r.fontSize}px`,lineHeight:`${r.lineHeight}`},attrs:{enterkeyhint:"send",rows:"1",maxlength:r.maxlength,placeholder:r.textareaPlaceholder,disabled:r.disabled},domProps:{value:r.realValue},on:{blur:r.onBlur,focus:r.onFocus,touchstart:r.checkInterceptHandler,mousedown:r.checkInterceptHandler,input:r.onInput,keypress:[function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")||o.ctrlKey||o.shiftKey||o.altKey||o.metaKey?null:(o.preventDefault(),r.onSubmit.apply(null,arguments))},function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")||!o.shiftKey?null:r.onEnter.apply(null,arguments)}]}}),e._t("suffix")],2)},H_=[],j_=j(N_,U_,H_);const q_=j_.exports,W_=()=>({"click-face":H()}),G_=t=>{const{chatTarget:e}=q(),{emit:n}=t,r=u.ref();function o(i){const s=e.emotion.getEmotionFaceClickTarget(i);s&&n("click-face",`[${s}]`)}return u.onMounted(()=>{const i=u.unref(r);i&&i.appendChild(e.emotion.getEmotionFaceDomList())}),{containerRef:r,onClickContainer:o}},Y_=u.defineComponent({__name:"emotion-face-picker",emits:W_(),setup(t,{emit:e}){const{containerRef:n,onClickContainer:r}=G_({emit:e});return{__sfc:!0,emit:e,containerRef:n,onClickContainer:r}}});var Z_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"containerRef",staticClass:"plv-emotion-face-picker",on:{click:r.onClickContainer}})},K_=[],X_=j(Y_,Z_,K_);const J_=X_.exports,V_=()=>({"click-image":H()}),ew=t=>{const{chatTarget:e}=q(),{sendEmotionImageMsg:n}=Ir(),{emit:r}=t,o=u.ref([]);function i(s){return P(this,null,function*(){r("click-image",s),n({emotionId:s.id,emotionUrl:s.url})})}return u.onMounted(()=>P(this,null,function*(){const s=yield e.emotion.getEmotionImages();o.value=s})),{emotionList:o,onClickItem:i}},tw=u.defineComponent({__name:"emotion-image-picker",emits:V_(),setup(t,{emit:e}){const{emotionList:n,onClickItem:r}=ew({emit:e});return{__sfc:!0,emit:e,emotionList:n,onClickItem:r}}});var nw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-emotion-image-picker"},e._l(r.emotionList,function(o,i){return n("div",{key:i,staticClass:"plv-emotion-image-picker__item",on:{click:function(s){return r.onClickItem(o)}}},[n("div",{staticClass:"plv-emotion-image-picker__icon",style:{backgroundImage:`url(${o.url})`}}),n("div",{staticClass:"plv-emotion-image-picker__text"},[e._v(e._s(o.title))])])}),0)},rw=[],ow=j(tw,nw,rw);const iw=ow.exports,sw=()=>({clickToClose:k.bool.def(!1)}),aw=()=>({close:H(),"click-face":H(),"click-image":H()}),cw=t=>{const{props:e,emit:n}=t,{inputConfig:r}=pt(),o=u.ref("face");function i(l){o.value=l}function s(l){n("click-face",l),e.clickToClose&&n("close")}function c(l){n("click-image",l),e.clickToClose&&n("close")}function a(){r.value.imageEmotionEnabled&&!r.value.faceEmotionEnabled&&(o.value="image")}return u.onBeforeMount(()=>{a()}),{currentType:o,switchEmotionTab:i,onClickFace:s,onClickImage:c}},lw=u.defineComponent({__name:"emotion-picker",props:sw(),emits:aw(),setup(t,{emit:e}){const n=t,{inputConfig:r}=pt(),{currentType:o,switchEmotionTab:i,onClickFace:s,onClickImage:c}=cw({props:n,emit:e});return{__sfc:!0,props:n,emit:e,inputConfig:r,currentType:o,switchEmotionTab:i,onClickFace:s,onClickImage:c,ChatIconHeart:$d,ChatIconSmilingFace:Bd,EmotionFacePicker:J_,EmotionImagePicker:iw}}});var uw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-emotion-picker"},[n("div",{staticClass:"plv-emotion-picker__panel-wrap",class:{"plv-emotion-picker__panel-wrap--image":r.inputConfig.faceEmotionEnabled&&r.currentType==="image"}},[r.inputConfig.faceEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__panel"},[n(r.EmotionFacePicker,{on:{"click-face":r.onClickFace}})],1):e._e(),r.inputConfig.imageEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__panel"},[n(r.EmotionImagePicker,{on:{"click-image":r.onClickImage}})],1):e._e()]),n("div",{staticClass:"plv-emotion-picker__bottom"},[n("div",{staticClass:"plv-emotion-picker__tabs"},[r.inputConfig.faceEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__tabs-item",class:{"is-active":r.currentType==="face"},on:{click:function(o){return r.switchEmotionTab("face")}}},[n(r.ChatIconSmilingFace,{staticClass:"plv-emotion-picker__tabs-item__icon"})],1):e._e(),r.inputConfig.imageEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__tabs-item",class:{"is-active":r.currentType==="image"},on:{click:function(o){return r.switchEmotionTab("image")}}},[n(r.ChatIconHeart,{staticClass:"plv-emotion-picker__tabs-item__icon"})],1):e._e(),n("div",{staticClass:"plv-emotion-picker__tabs-active",class:{"plv-emotion-picker__tabs-active--image":r.currentType==="image"}})]),e._t("bottom-suffix")],2)])},pw=[],fw=j(lw,uw,pw);const ol=fw.exports,dw=t=>{const{props:e}=t,n=u.ref(),r=u.computed(()=>!!n.value),o=u.ref(0),i=u.ref(!0),s=rl(v=>{i.value=v.every(_=>_.type==="text"?!_.content.trim():!1);const g=v.filter(_=>_.type==="text").reduce((_,m)=>(_?_+=m.content.length:_=m.content.length,_),0);o.value=Math.min(g,e.maxInputTextLength)},300);u.watch(n,()=>{n.value&&n.value.$on("change",s)},{immediate:!0});const c=u.computed(()=>o.value),a=u.computed(()=>i.value);function l(){var v;(v=n.value)==null||v.focus()}function p(){console.warn("暂不支持 deleteWord")}function f(){var v;(v=n.value)==null||v.clear(),o.value=0,i.value=!0}function h(v){var g;(g=n.value)==null||g.insertEmotion(v)}function d(){var v,g;return(g=(v=n.value)==null?void 0:v.getContentList())!=null?g:[]}return{pasteImageRef:n,isCurrent:r,curInputTextLength:c,isEmptyInputContent:a,focusInput:l,deleteWord:p,clearInput:f,insertEmotion:h,getInputContentList:d}},mw=t=>{const{props:e,onInputBlur:n,onInputFocus:r}=t,o=u.ref(),i=u.ref(""),s=u.computed(()=>!!o.value),c=u.computed(()=>u.unref(i).length),a=u.computed(()=>!u.unref(i).trim());function l(){o.value&&o.value.focusTextarea()}function p(_){const m=(u.unref(i)+_).slice(0,e.maxInputTextLength);i.value=m}function f(){i.value=""}function h(){o.value&&o.value.deleteWord()}function d(){return o.value?o.value.getContentList():[]}const{chatTarget:v}=q(),{isZhCN:g}=G();return u.watch(()=>g.value,()=>{if(o.value){i.value=v.emotion.translateEmotions(i.value,g.value);return}}),u.watch(o,()=>{o.value&&(o.value.$on("focus",r),o.value.$on("blur",n))},{immediate:!0}),{autoTextareaRef:o,autoTextareaInputValue:i,isCurrent:s,curInputTextLength:c,isEmptyInputContent:a,focusInput:l,clearInput:f,deleteWord:h,insertEmotion:p,getInputContentList:d}},gw=t=>{const{props:e,onInputFocus:n,onInputBlur:r}=t,o=u.ref(),i=u.ref(""),s=u.computed(()=>!!o.value),c=u.computed(()=>u.unref(i).length),a=u.computed(()=>!u.unref(i).trim());function l(){o.value&&o.value.focus()}function p(_){const m=(u.unref(i)+_).slice(0,e.maxInputTextLength);i.value=m}function f(){i.value=""}function h(){const _=u.unref(i.value).length,m=u.unref(i).substr(0,_-1);i.value=m}function d(){return o.value?[{type:"text",content:i.value}]:[]}const{isZhCN:v}=G(),{chatTarget:g}=q();return u.watch(()=>v.value,()=>{o.value&&(i.value=g.emotion.translateEmotions(i.value,v.value))}),ne(o,"focus",n),ne(o,"blur",r),{inputElemRef:o,inputElemValue:i,isCurrent:s,curInputTextLength:c,isEmptyInputContent:a,focusInput:l,clearInput:f,deleteWord:h,insertEmotion:p,getInputContentList:d}},hw=t=>{const{props:e}=t,n=u.ref(!1);function r(){n.value=!0}function o(){setTimeout(()=>{n.value=!1},1)}const i={props:e,onInputFocus:r,onInputBlur:o},s=dw(i),c=mw(i),a=gw(i);function l(){if(s.isCurrent.value)return s;if(c.isCurrent.value)return c;if(a.isCurrent.value)return a}function p(){var m;(m=l())==null||m.focusInput()}const f=u.computed(()=>{var m,w;return(w=(m=l())==null?void 0:m.curInputTextLength.value)!=null?w:0}),h=u.computed(()=>{var m,w;return(w=(m=l())==null?void 0:m.isEmptyInputContent.value)!=null?w:!0});function d(){var m;(m=l())==null||m.deleteWord()}function v(){var m;(m=l())==null||m.clearInput()}function g(m){var w;(w=l())==null||w.insertEmotion(m)}function _(){var m,w;return(w=(m=l())==null?void 0:m.getInputContentList())!=null?w:[]}return u.watch(()=>e.disabledInput,()=>{e.disabledInput&&v()}),{pasteImageRef:s.pasteImageRef,autoTextareaRef:c.autoTextareaRef,autoTextareaInputValue:c.autoTextareaInputValue,inputElemRef:a.inputElemRef,inputElemValue:a.inputElemValue,isInputFocus:n,focusInput:p,onInputFocus:r,onInputBlur:o,curInputTextLength:f,isEmptyInputContent:h,clearInput:v,deleteWord:d,insertEmotion:g,getInputContentList:_}},il=t=>{const e=u.ref(!1);function n(){e.value=!0}function r(){e.value=!1}function o(){e.value?r():n()}function i(){r()}const{listenClickOutSide:s,removeListenClickOutSide:c}=gr(t,i,!1);return u.watch(()=>u.unref(e),()=>{u.unref(e)?s():c()},{immediate:!0}),{visible:e,showPanel:n,hidePanel:r,togglePanel:o}},vw=t=>{const{props:e,msgInputController:n}=t,{inputConfig:r}=pt(),{checkIntercept:o}=_t(),i=u.computed(()=>r.value.faceEmotionEnabled||r.value.imageEmotionEnabled),s=u.ref(),{visible:c,togglePanel:a,showPanel:l,hidePanel:p}=il([s,"[data-emotion-picker-btn]"]);function f(){return P(this,null,function*(){(yield o("emotion-picker"))||e.disabledInput||a()})}function h(d){n.insertEmotion(d)}return{emotionPickerBtnVisible:i,emotionRef:s,emotionVisible:c,showEmotionPanel:l,toggleEmotionPanel:a,hideEmotionPanel:p,onClickEmotionPickerBtn:f,onClickFace:h}},sl=()=>({placeholder:k.string,disabledInput:k.bool.def(!1),disabledSubmitBtn:k.bool.def(!1),maxInputTextLength:k.number.def(200)}),al=()=>({submit:H(),"system-msg":H(),"click-send-image":H(),resize:H()}),cl=t=>{const{props:e,emit:n}=t,r=hw({props:e}),o=vw({props:e,msgInputController:r}),{$t:i,isZhCN:s}=G(),{chatTarget:c}=q(),{checkIntercept:a}=_t(),l=u.computed(()=>e.placeholder),p=u.computed(()=>e.disabledSubmitBtn||r.isEmptyInputContent.value);let f;function h(){return P(this,null,function*(){if((yield a("click-submit"))||u.unref(p))return;const v=Date.now();if(f&&v-f<1e3){n("system-msg",{content:i("chat.fast")});return}f=v;const g=r.getInputContentList();g.forEach(_=>{_.type==="text"&&(_.content=c.emotion.translateEmotions(_.content,s.value))}),n("submit",{contentList:g}),o.hideEmotionPanel(),r.clearInput(),t.submitCallback&&t.submitCallback()})}function d(){return P(this,null,function*(){yield a("click-message-input")})}return{msgInputController:r,emotionController:o,inputPlaceholder:l,sendBtnDisabled:p,submitInput:h,onClickInputWrap:d}},_w=u.defineComponent({__name:"message-input-popup",props:sl(),emits:al(),setup(t,{expose:e,emit:n}){const r=t,{$t:o}=G(),{msgInputController:i,emotionController:s,inputPlaceholder:c,sendBtnDisabled:a,submitInput:l}=cl({props:r,emit:n,submitCallback:()=>{E()}}),{autoTextareaInputValue:p,autoTextareaRef:f,focusInput:h,clearInput:d,deleteWord:v}=i,{emotionPickerBtnVisible:g,emotionRef:_,emotionVisible:m,showEmotionPanel:w,hideEmotionPanel:b,onClickEmotionPickerBtn:x,onClickFace:C}=s;let Q=!0;const{visible:S,show:y,close:E}=vt(!1,{showCallback:()=>P(this,null,function*(){yield u.nextTick(),Q?h():Q=!0})}),T=u.ref();Vt(T),en(S,T);function I(){Q=!1,y(),w()}return e({showInputPopup:y,closeInputPopup:E,focusInput:h,clearInput:d,openEmotionFacePicker:I}),{__sfc:!0,props:r,emit:n,$t:o,msgInputController:i,emotionController:s,inputPlaceholder:c,sendBtnDisabled:a,submitInput:l,autoTextareaInputValue:p,autoTextareaRef:f,focusInput:h,clearInput:d,deleteWord:v,emotionPickerBtnVisible:g,emotionRef:_,emotionVisible:m,showEmotionPanel:w,hideEmotionPanel:b,onClickEmotionPickerBtn:x,onClickFace:C,afterEnterToFocus:Q,visible:S,showInputPopup:y,closeInputPopup:E,messageInputPopupRef:T,openEmotionFacePicker:I,ButtonSize:$n,PwcButton:Rn,ChatIconDelete:Id,ChatIconEmotion:ec,ChatIconKeyboard:Rd,AutoTextarea:q_,EmotionPicker:ol}}});var ww=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.visible,expression:"visible"}],ref:"messageInputPopupRef",staticClass:"plv-message-input-popup",on:{click:r.closeInputPopup}},[n("div",{staticClass:"plv-message-input-popup__content",on:{click:function(o){o.stopPropagation()}}},[e._t("content-suffix"),n("div",{staticClass:"plv-message-input-popup__body"},[n("div",{staticClass:"plv-message-input-popup__main"},[n(r.AutoTextarea,{ref:"autoTextareaRef",staticClass:"plv-message-input-popup__main__textarea",attrs:{placeholder:r.inputPlaceholder,maxlength:e.maxInputTextLength,disabled:e.disabledInput},on:{submit:r.submitInput},scopedSlots:e._u([{key:"suffix",fn:function(){return[r.emotionPickerBtnVisible?n("div",{directives:[{name:"show",rawName:"v-show",value:!r.emotionVisible,expression:"!emotionVisible"}],staticClass:"plv-message-input-popup__emotion-btn",class:{"is-disabled":e.disabledInput},attrs:{"data-emotion-picker-btn":""},on:{click:r.onClickEmotionPickerBtn}},[n(r.ChatIconEmotion)],1):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:r.emotionVisible,expression:"emotionVisible"}],staticClass:"plv-message-input-popup__emotion-btn",on:{click:r.focusInput}},[n(r.ChatIconKeyboard)],1)]},proxy:!0}]),model:{value:r.autoTextareaInputValue,callback:function(o){r.autoTextareaInputValue=o},expression:"autoTextareaInputValue"}}),n(r.PwcButton,{staticClass:"plv-message-input-popup__send-btn",attrs:{size:r.ButtonSize.Small,disabled:r.sendBtnDisabled},on:{click:r.submitInput}},[e._v(" "+e._s(r.$t("chat.send"))+" ")])],1),n("div",{directives:[{name:"show",rawName:"v-show",value:r.emotionVisible,expression:"emotionVisible"}],ref:"emotionRef",staticClass:"plv-message-input-popup__emotion-panel"},[n(r.EmotionPicker,{on:{"click-face":r.onClickFace,"click-image":r.closeInputPopup,close:r.hideEmotionPanel},scopedSlots:e._u([{key:"bottom-suffix",fn:function(){return[n("div",{staticClass:"plv-message-input-popup__del-btn",on:{click:r.deleteWord}},[n(r.ChatIconDelete)],1),n(r.PwcButton,{attrs:{size:r.ButtonSize.Small,disabled:r.sendBtnDisabled},on:{click:r.submitInput}},[e._v(" "+e._s(r.$t("chat.send"))+" ")])]},proxy:!0}])})],1)])],2)])},bw=[],yw=j(_w,ww,bw);const xw=yw.exports,Cw=(t={})=>{const{currentQuoteMsg:e}=t,{currentMaskText:n}=Tr(),{inputConfig:r}=pt(),{statusInfo:o}=Fn(),{selfIsSpecialUser:i}=q(),{$t:s}=G();return{chatInputPlaceholder:u.computed(()=>{if(n.value)return s("input.noSupportSendMsg");const a=o.value.chatRoomIsClosed;return!i()&&a?s("chat.roomClosed"):e&&e.value?`@${e.value.user.nick}`:r.value.inputPlaceholder})}},Wr=(t={})=>{const{quoteMsgCallback:e,quotePlaceholder:n=!0}=t,{chatTarget:r,selfIsSpecialUser:o}=q(),{sendContentList:i,sendSystemMsg:s,choiceImageFileSend:c}=Ir(),{currentMaskText:a}=Tr(),l=u.ref(),{chatInputDisabled:p}=K1(),{chatInputPlaceholder:f}=Cw({currentQuoteMsg:n?l:void 0});function h(){l.value=void 0}le(J.QuoteMsg,m=>P(this,null,function*(){p.value||r.message.canQuoteMsg(m.chatMsg)&&(l.value=m.chatMsg,yield u.nextTick(),e==null||e())}));const d=u.computed(()=>o()?hd:vd);function v(m){i(m.contentList,l.value),h()}function g(m){s(m.content)}function _(){c()}return{currentMaskText:a,maxInputTextLength:d,chatInputDisabled:p,chatInputPlaceholder:f,currentQuoteMsg:l,clearCurrentQuoteMsg:h,onSubmitMessage:v,onSystemMsg:g,onClickSendImage:_}},Qw=u.defineComponent({__name:"chat-message-input-popup",setup(t,{expose:e}){const n=u.ref();function r(){var _;(_=n.value)==null||_.showInputPopup()}function o(){var _;(_=n.value)==null||_.closeInputPopup()}function i(){var _;f(),(_=n.value)==null||_.clearInput(),o()}const{currentMaskText:s,chatInputDisabled:c,chatInputPlaceholder:a,maxInputTextLength:l,currentQuoteMsg:p,clearCurrentQuoteMsg:f,onSubmitMessage:h,onSystemMsg:d}=Wr({quoteMsgCallback:()=>{r()}}),{checkIntercept:v}=_t(),{toast:g}=xe();return le(J.FocusInput,()=>P(this,null,function*(){if(!(yield v("focus-message-input"))){if(c.value){s.value&&g.info(s.value);return}r()}})),le(J.OpenEmotionFacePicker,()=>P(this,null,function*(){var _;(yield v("emotion-picker"))||c.value||(_=n.value)==null||_.openEmotionFacePicker()})),e({showInputPopup:r,closeInputPopup:o}),{__sfc:!0,inputPopupRef:n,showInputPopup:r,closeInputPopup:o,onClickClearQuote:i,currentMaskText:s,chatInputDisabled:c,chatInputPlaceholder:a,maxInputTextLength:l,currentQuoteMsg:p,clearCurrentQuoteMsg:f,onSubmitMessage:h,onSystemMsg:d,checkIntercept:v,toast:g,PwcIconClose:En,SimpleMsgItem:$r,MessageInputPopup:xw}}});var kw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MessageInputPopup,{ref:"inputPopupRef",staticClass:"plv-chat-message-input-popup",attrs:{"disabled-input":r.chatInputDisabled,placeholder:r.chatInputPlaceholder,"max-input-text-length":r.maxInputTextLength},on:{submit:r.onSubmitMessage,"system-msg":r.onSystemMsg},scopedSlots:e._u([r.currentQuoteMsg?{key:"content-suffix",fn:function(){return[n("div",{staticClass:"plv-chat-message-input-popup__quote"},[n(r.SimpleMsgItem,{staticClass:"plv-chat-message-input-popup__quote__content",attrs:{"chat-msg":r.currentQuoteMsg,"show-avatar":"",type:"quote"}}),n(r.PwcIconClose,{staticClass:"plv-chat-message-input-popup__quote__close",on:{click:r.onClickClearQuote}})],1)]},proxy:!0}:null],null,!0)})},Sw=[],Ew=j(Qw,kw,Sw);const Tw=Ew.exports,ll=()=>{const{chatTarget:t}=q(),{statusInfo:e}=Fn(),{manageConfig:n}=_e(),r=u.computed(()=>n.value.chatSwitchEnabled),o=u.computed(()=>e.value.chatRoomIsClosed);function i(){return P(this,null,function*(){yield t.manage.setChatSwitch({enabled:o.value})})}return{canChatSwitch:r,chatRoomIsClosed:o,toggleChatSwitch:i}};var Iw=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(r,o,i){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var s in r)n.d(i,s,function(c){return r[c]}.bind(null,s));return i},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=506)}({0:function(t,e,n){function r(o,i,s,c,a,l,p,f){var h,d=typeof o=="function"?o.options:o;if(i&&(d.render=i,d.staticRenderFns=s,d._compiled=!0),c&&(d.functional=!0),l&&(d._scopeId="data-v-"+l),p?(h=function(_){(_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__=="undefined"||(_=__VUE_SSR_CONTEXT__),a&&a.call(this,_),_&&_._registeredComponents&&_._registeredComponents.add(p)},d._ssrRegister=h):a&&(h=f?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),h)if(d.functional){d._injectStyles=h;var v=d.render;d.render=function(_,m){return h.call(m),v(_,m)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,h):[h]}return{exports:o,options:d}}n.d(e,"a",function(){return r})},235:function(t,e,n){var r=n(613),o=n(614),i=o;i.v1=r,i.v4=o,t.exports=i},3:function(t,e){function n(r){return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},376:function(t,e){var n=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var o=new Array(16);t.exports=function(){for(var i,s=0;s<16;s++)!(3&s)&&(i=4294967296*Math.random()),o[s]=i>>>((3&s)<<3)&255;return o}}},377:function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(o,i){var s=i||0,c=n;return[c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]]].join("")}},378:function(t,e,n){},438:function(t,e,n){var r=n(3);t.exports=function(o){var i={};function s(c){if(i[c])return i[c].exports;var a=i[c]={i:c,l:!1,exports:{}};return o[c].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=o,s.c=i,s.d=function(c,a,l){s.o(c,a)||Object.defineProperty(c,a,{enumerable:!0,get:l})},s.r=function(c){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},s.t=function(c,a){if(1&a&&(c=s(c)),8&a||4&a&&r(c)=="object"&&c&&c.__esModule)return c;var l=Object.create(null);if(s.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:c}),2&a&&typeof c!="string")for(var p in c)s.d(l,p,function(f){return c[f]}.bind(null,p));return l},s.n=function(c){var a=c&&c.__esModule?function(){return c.default}:function(){return c};return s.d(a,"a",a),a},s.o=function(c,a){return Object.prototype.hasOwnProperty.call(c,a)},s.p="",s(s.s=128)}([function(o,i,s){(function(c){var a=function(l){return l&&l.Math==Math&&l};o.exports=a((typeof globalThis=="undefined"?"undefined":r(globalThis))=="object"&&globalThis)||a((typeof window=="undefined"?"undefined":r(window))=="object"&&window)||a((typeof self=="undefined"?"undefined":r(self))=="object"&&self)||a(r(c)=="object"&&c)||function(){return this}()||Function("return this")()}).call(this,s(30))},function(o,i){o.exports=function(s){try{return!!s()}catch(c){return!0}}},function(o,i){var s={}.hasOwnProperty;o.exports=function(c,a){return s.call(c,a)}},function(o,i){o.exports=function(s){return r(s)=="object"?s!==null:typeof s=="function"}},function(o,i,s){var c=s(3);o.exports=function(a){if(!c(a))throw TypeError(String(a)+" is not an object");return a}},function(o,i,s){var c=s(1);o.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(o,i,s){var c=s(5),a=s(12),l=s(21);o.exports=c?function(p,f,h){return a.f(p,f,l(1,h))}:function(p,f,h){return p[f]=h,p}},function(o,i,s){var c=s(0),a=s(23),l=s(2),p=s(24),f=s(25),h=s(48),d=a("wks"),v=c.Symbol,g=h?v:v&&v.withoutSetter||p;o.exports=function(_){return l(d,_)||(f&&l(v,_)?d[_]=v[_]:d[_]=g("Symbol."+_)),d[_]}},function(o,i){o.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},function(o,i,s){var c=s(31),a=s(8);o.exports=function(l){return c(a(l))}},function(o,i,s){var c=s(0),a=s(6),l=s(2),p=s(14),f=s(27),h=s(33),d=h.get,v=h.enforce,g=String(String).split("String");(o.exports=function(_,m,w,b){var x,C=!!b&&!!b.unsafe,Q=!!b&&!!b.enumerable,S=!!b&&!!b.noTargetGet;typeof w=="function"&&(typeof m!="string"||l(w,"name")||a(w,"name",m),(x=v(w)).source||(x.source=g.join(typeof m=="string"?m:""))),_!==c?(C?!S&&_[m]&&(Q=!0):delete _[m],Q?_[m]=w:a(_,m,w)):Q?_[m]=w:p(m,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||f(this)})},function(o,i){var s={}.toString;o.exports=function(c){return s.call(c).slice(8,-1)}},function(o,i,s){var c=s(5),a=s(26),l=s(4),p=s(18),f=Object.defineProperty;i.f=c?f:function(h,d,v){if(l(h),d=p(d,!0),l(v),a)try{return f(h,d,v)}catch(g){}if("get"in v||"set"in v)throw TypeError("Accessors not supported");return"value"in v&&(h[d]=v.value),h}},function(o,i){var s=Math.ceil,c=Math.floor;o.exports=function(a){return isNaN(a=+a)?0:(a>0?c:s)(a)}},function(o,i,s){var c=s(0),a=s(6);o.exports=function(l,p){try{a(c,l,p)}catch(f){c[l]=p}return p}},function(o,i,s){var c=s(0),a=s(14),l=c["__core-js_shared__"]||a("__core-js_shared__",{});o.exports=l},function(o,i,s){(function(c){s.d(i,"b",function(){return l}),s.d(i,"a",function(){return p}),s.d(i,"d",function(){return d}),s.d(i,"c",function(){return v}),s.d(i,"e",function(){return f}),s(60),s(54);var a=Object.prototype.hasOwnProperty;function l(g,_){return a.call(g,_)}function p(g,_){var m,w;if(_!=null)for(m in _)w=_[m],m!=="__proto__"&&g!==w&&l(_,m)&&(g[m]=w)}var f,h=Object.prototype.toString;function d(g){return h.call(g)==="[object Object]"}function v(g){return h.call(g)==="[object Date]"}f=typeof window!="undefined"?window:c!==void 0?c:null}).call(this,s(30))},function(o,i,s){var c=s(0),a=s(20).f,l=s(6),p=s(10),f=s(14),h=s(44),d=s(36);o.exports=function(v,g){var _,m,w,b,x,C=v.target,Q=v.global,S=v.stat;if(_=Q?c:S?c[C]||f(C,{}):(c[C]||{}).prototype)for(m in g){if(b=g[m],w=v.noTargetGet?(x=a(_,m))&&x.value:_[m],!d(Q?m:C+(S?".":"#")+m,v.forced)&&w!==void 0){if(r(b)==r(w))continue;h(b,w)}(v.sham||w&&w.sham)&&l(b,"sham",!0),p(_,m,b,v)}}},function(o,i,s){var c=s(3);o.exports=function(a,l){if(!c(a))return a;var p,f;if(l&&typeof(p=a.toString)=="function"&&!c(f=p.call(a))||typeof(p=a.valueOf)=="function"&&!c(f=p.call(a))||!l&&typeof(p=a.toString)=="function"&&!c(f=p.call(a)))return f;throw TypeError("Can't convert object to primitive value")}},function(o,i,s){var c=s(13),a=Math.min;o.exports=function(l){return l>0?a(c(l),9007199254740991):0}},function(o,i,s){var c=s(5),a=s(43),l=s(21),p=s(9),f=s(18),h=s(2),d=s(26),v=Object.getOwnPropertyDescriptor;i.f=c?v:function(g,_){if(g=p(g),_=f(_,!0),d)try{return v(g,_)}catch(m){}if(h(g,_))return l(!a.f.call(g,_),g[_])}},function(o,i){o.exports=function(s,c){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:c}}},function(o,i){o.exports={}},function(o,i,s){var c=s(39),a=s(15);(o.exports=function(l,p){return a[l]||(a[l]=p!==void 0?p:{})})("versions",[]).push({version:"3.8.1",mode:c?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(o,i){var s=0,c=Math.random();o.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++s+c).toString(36)}},function(o,i,s){var c=s(1);o.exports=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())})},function(o,i,s){var c=s(5),a=s(1),l=s(41);o.exports=!c&&!a(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},function(o,i,s){var c=s(15),a=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(l){return a.call(l)}),o.exports=c.inspectSource},function(o,i,s){var c=s(45),a=s(0),l=function(p){return typeof p=="function"?p:void 0};o.exports=function(p,f){return arguments.length<2?l(c[p])||l(a[p]):c[p]&&c[p][f]||a[p]&&a[p][f]}},function(o,i,s){var c,a,l=s(37),p=s(59),f=RegExp.prototype.exec,h=String.prototype.replace,d=f,v=(c=/a/,a=/b*/g,f.call(c,"a"),f.call(a,"a"),c.lastIndex!==0||a.lastIndex!==0),g=p.UNSUPPORTED_Y||p.BROKEN_CARET,_=/()??/.exec("")[1]!==void 0;(v||_||g)&&(d=function(m){var w,b,x,C,Q=this,S=g&&Q.sticky,y=l.call(Q),E=Q.source,T=0,I=m;return S&&((y=y.replace("y","")).indexOf("g")===-1&&(y+="g"),I=String(m).slice(Q.lastIndex),Q.lastIndex>0&&(!Q.multiline||Q.multiline&&m[Q.lastIndex-1]!==`
|
|
1004
|
-
|
|
1005
|
-
\v\f\r \u2028\u2029\uFEFF`},function(o,i,s){var c=s(10),a=s(4),l=s(1),p=s(37),f=RegExp.prototype,h=f.toString,d=l(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),v=h.name!="toString";(d||v)&&c(RegExp.prototype,"toString",function(){var g=a(this),_=String(g.source),m=g.flags;return"/"+_+"/"+String(m===void 0&&g instanceof RegExp&&!("flags"in f)?p.call(g):m)},{unsafe:!0})},function(o,i,s){s.r(i),s.d(i,"isArrayLike",function(){return a}),s.d(i,"isEmptyData",function(){return l}),s.d(i,"extend",function(){return p}),s.d(i,"cloneJSON",function(){return f}),s.d(i,"tryParseJSON",function(){return h}),s(69);var c=s(16);function a(d){return d!=null&&typeof d!="function"&&typeof d.length=="number"&&d.length>=0&&d.length%1==0}function l(d){if(d==null)return!0;if(typeof d=="string")return d.trim()==="";if(Array.isArray(d))return!d.length;if(Object(c.d)(d)){for(var v in d)if(Object(c.b)(d,v))return!1;return!0}return!1}function p(d){if(d==null)throw new Error("The target argument cannot be null or undefined");for(var v=arguments.length,g=0;++g<v;)Object(c.a)(d,arguments[g]);return d}function f(d){return d==null?d:JSON.parse(JSON.stringify(d))}function h(d,v){var g;try{g=JSON.parse(d)}catch(_){v&&v(_)}return g}s.d(i,"hasOwnProp",function(){return c.b})},function(o,i,s){s(52);var c=s(10),a=s(1),l=s(7),p=s(29),f=s(6),h=l("species"),d=!a(function(){var w=/./;return w.exec=function(){var b=[];return b.groups={a:"7"},b},"".replace(w,"$<a>")!=="7"}),v="a".replace(/./,"$0")==="$0",g=l("replace"),_=!!/./[g]&&/./[g]("a","$0")==="",m=!a(function(){var w=/(?:)/,b=w.exec;w.exec=function(){return b.apply(this,arguments)};var x="ab".split(w);return x.length!==2||x[0]!=="a"||x[1]!=="b"});o.exports=function(w,b,x,C){var Q=l(w),S=!a(function(){var A={};return A[Q]=function(){return 7},""[w](A)!=7}),y=S&&!a(function(){var A=!1,$=/a/;return w==="split"&&(($={}).constructor={},$.constructor[h]=function(){return $},$.flags="",$[Q]=/./[Q]),$.exec=function(){return A=!0,null},$[Q](""),!A});if(!S||!y||w==="replace"&&(!d||!v||_)||w==="split"&&!m){var E=/./[Q],T=x(Q,""[w],function(A,$,O,F,W){return $.exec===p?S&&!W?{done:!0,value:E.call($,O,F)}:{done:!0,value:A.call(O,$,F)}:{done:!1}},{REPLACE_KEEPS_$0:v,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),I=T[0],L=T[1];c(String.prototype,w,I),c(RegExp.prototype,Q,b==2?function(A,$){return L.call(A,this,$)}:function(A){return L.call(A,this)})}C&&f(RegExp.prototype[Q],"sham",!0)}},function(o,i,s){var c=s(63).charAt;o.exports=function(a,l,p){return l+(p?c(a,l).length:1)}},function(o,i,s){var c=s(11),a=s(29);o.exports=function(l,p){var f=l.exec;if(typeof f=="function"){var h=f.call(l,p);if(r(h)!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(c(l)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return a.call(l,p)}},function(o,i,s){var c=s(1);function a(l,p){return RegExp(l,p)}i.UNSUPPORTED_Y=c(function(){var l=a("a","y");return l.lastIndex=2,l.exec("abcd")!=null}),i.BROKEN_CARET=c(function(){var l=a("^r","gy");return l.lastIndex=2,l.exec("str")!=null})},function(o,i,s){var c=s(38),a=s(10),l=s(67);c||a(Object.prototype,"toString",l,{unsafe:!0})},function(o,i,s){var c=s(8),a="["+s(53)+"]",l=RegExp("^"+a+a+"*"),p=RegExp(a+a+"*$"),f=function(h){return function(d){var v=String(c(d));return 1&h&&(v=v.replace(l,"")),2&h&&(v=v.replace(p,"")),v}};o.exports={start:f(1),end:f(2),trim:f(3)}},function(o,i){o.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},function(o,i,s){var c=s(13),a=s(8),l=function(p){return function(f,h){var d,v,g=String(a(f)),_=c(h),m=g.length;return _<0||_>=m?p?"":void 0:(d=g.charCodeAt(_))<55296||d>56319||_+1===m||(v=g.charCodeAt(_+1))<56320||v>57343?p?g.charAt(_):d:p?g.slice(_,_+2):v-56320+(d-55296<<10)+65536}};o.exports={codeAt:l(!1),charAt:l(!0)}},,,function(o,i,s){var c=s(56),a=s(4),l=s(51),p=s(19),f=s(13),h=s(8),d=s(57),v=s(58),g=Math.max,_=Math.min,m=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g;c("replace",2,function(x,C,Q,S){var y=S.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=S.REPLACE_KEEPS_$0,T=y?"$":"$0";return[function(L,A){var $=h(this),O=L==null?void 0:L[x];return O!==void 0?O.call(L,$,A):C.call(String($),L,A)},function(L,A){if(!y&&E||typeof A=="string"&&A.indexOf(T)===-1){var $=Q(C,L,this,A);if($.done)return $.value}var O=a(L),F=String(this),W=typeof A=="function";W||(A=String(A));var N=O.global;if(N){var Z=O.unicode;O.lastIndex=0}for(var X=[];;){var B=v(O,F);if(B===null||(X.push(B),!N))break;String(B[0])===""&&(O.lastIndex=d(F,p(O.lastIndex),Z))}for(var R,z="",U=0,M=0;M<X.length;M++){B=X[M];for(var Y=String(B[0]),ie=g(_(f(B.index),F.length),0),ge=[],$e=1;$e<B.length;$e++)ge.push((R=B[$e])===void 0?R:String(R));var zt=B.groups;if(W){var pn=[Y].concat(ge,ie,F);zt!==void 0&&pn.push(zt);var Gr=String(A.apply(void 0,pn))}else Gr=I(Y,F,ie,ge,zt,A);ie>=U&&(z+=F.slice(U,ie)+Gr,U=ie+Y.length)}return z+F.slice(U)}];function I(L,A,$,O,F,W){var N=$+L.length,Z=O.length,X=b;return F!==void 0&&(F=l(F),X=w),C.call(W,X,function(B,R){var z;switch(R.charAt(0)){case"$":return"$";case"&":return L;case"`":return A.slice(0,$);case"'":return A.slice(N);case"<":z=F[R.slice(1,-1)];break;default:var U=+R;if(U===0)return B;if(U>Z){var M=m(U/10);return M===0?B:M<=Z?O[M-1]===void 0?R.charAt(1):O[M-1]+R.charAt(1):B}z=O[U-1]}return z===void 0?"":z})}})},function(o,i,s){var c=s(38),a=s(68);o.exports=c?{}.toString:function(){return"[object "+a(this)+"]"}},function(o,i,s){var c=s(38),a=s(11),l=s(7)("toStringTag"),p=a(function(){return arguments}())=="Arguments";o.exports=c?a:function(f){var h,d,v;return f===void 0?"Undefined":f===null?"Null":typeof(d=function(g,_){try{return g[_]}catch(m){}}(h=Object(f),l))=="string"?d:p?a(h):(v=a(h))=="Object"&&typeof h.callee=="function"?"Arguments":v}},function(o,i,s){var c=s(17),a=s(61).trim;c({target:"String",proto:!0,forced:s(70)("trim")},{trim:function(){return a(this)}})},function(o,i,s){var c=s(1),a=s(53);o.exports=function(l){return c(function(){return!!a[l]()||"
"[l]()!="
"||a[l].name!==l})}},function(o,i,s){var c=s(3),a=s(11),l=s(7)("match");o.exports=function(p){var f;return c(p)&&((f=p[l])!==void 0?!!f:a(p)=="RegExp")}},,,,,,,,function(o,i,s){var c=s(56),a=s(71),l=s(4),p=s(8),f=s(80),h=s(57),d=s(19),v=s(58),g=s(29),_=s(1),m=[].push,w=Math.min,b=!_(function(){return!RegExp(4294967295,"y")});c("split",2,function(x,C,Q){var S;return S="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(y,E){var T=String(p(this)),I=E===void 0?4294967295:E>>>0;if(I===0)return[];if(y===void 0)return[T];if(!a(y))return C.call(T,y,I);for(var L,A,$,O=[],F=(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")+(y.sticky?"y":""),W=0,N=new RegExp(y.source,F+"g");(L=g.call(N,T))&&!((A=N.lastIndex)>W&&(O.push(T.slice(W,L.index)),L.length>1&&L.index<T.length&&m.apply(O,L.slice(1)),$=L[0].length,W=A,O.length>=I));)N.lastIndex===L.index&&N.lastIndex++;return W===T.length?!$&&N.test("")||O.push(""):O.push(T.slice(W)),O.length>I?O.slice(0,I):O}:"0".split(void 0,0).length?function(y,E){return y===void 0&&E===0?[]:C.call(this,y,E)}:C,[function(y,E){var T=p(this),I=y==null?void 0:y[x];return I!==void 0?I.call(y,T,E):S.call(String(T),y,E)},function(y,E){var T=Q(S,y,this,E,S!==C);if(T.done)return T.value;var I=l(y),L=String(this),A=f(I,RegExp),$=I.unicode,O=(I.ignoreCase?"i":"")+(I.multiline?"m":"")+(I.unicode?"u":"")+(b?"y":"g"),F=new A(b?I:"^(?:"+I.source+")",O),W=E===void 0?4294967295:E>>>0;if(W===0)return[];if(L.length===0)return v(F,L)===null?[L]:[];for(var N=0,Z=0,X=[];Z<L.length;){F.lastIndex=b?Z:0;var B,R=v(F,b?L:L.slice(Z));if(R===null||(B=w(d(F.lastIndex+(b?0:Z)),L.length))===N)Z=h(L,Z,$);else{if(X.push(L.slice(N,Z)),X.length===W)return X;for(var z=1;z<=R.length-1;z++)if(X.push(R[z]),X.length===W)return X;Z=N=B}}return X.push(L.slice(N)),X}]},!b)},function(o,i,s){var c=s(4),a=s(62),l=s(7)("species");o.exports=function(p,f){var h,d=c(p).constructor;return d===void 0||(h=c(d)[l])==null?f:a(h)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(o,i,s){s.r(i),s.d(i,"strLen",function(){return a}),s.d(i,"cutStr",function(){return l}),s.d(i,"escapeHTML",function(){return p}),s.d(i,"removeTags",function(){return f}),s.d(i,"nl2br",function(){return h}),s.d(i,"randomStr",function(){return d}),s.d(i,"compareVersions",function(){return v}),s(60),s(52),s(54),s(66),s(79);var c=s(55);function a(g,_){_==null&&(_=2),_=typeof _=="number"?{enLen:1,nonEnLen:_}:Object(c.extend)({enLen:1,nonEnLen:2},_);for(var m=0,w=g.length-1;w>=0;w--)m+=g.charCodeAt(w)>255?_.nonEnLen:_.enLen;return m}function l(g,_,m){(m=Object(c.extend)({ellipsis:"...",enLen:1},m)).nonEnLen==null&&(m.nonEnLen=m.mode==null?2:m.mode);var w=a(g=String(g),m);if(w<=_)return g;_-=a(m.ellipsis,m);for(var b="",x=-1;_>0&&++x<w;)(_-=g.charCodeAt(x)>255?m.nonEnLen:m.enLen)>=0&&(b+=g.charAt(x));return b+m.ellipsis}function p(g){if(g==null)return g;var _={'"':""","'":"'","&":"&","<":"<",">":">"};return String(g).replace(/["'&<>]/g,function(m){return _[m]})}function f(g){return g==null?g:String(g).replace(/<.+?>/g,"")}function h(g){return g==null?g:String(g).replace(/\r?\n/g,"<br />")}function d(g,_){if(!(g=parseInt(g))||g<0)throw new Error('"length" must be a number greater than 0');var m="";do m+=Math.random().toString(36).substr(2);while(m.length<g);return m=m.substr(0,g),_!=null&&(m=_+m),m}function v(g,_){if(!g||!_)throw new Error("Please specify both version-a and verson-b");var m=/(\.0+)+$/;g=String(g).replace(m,"").split("."),_=String(_).replace(m,"").split(".");for(var w=Math.min(g.length,_.length),b=0;b<w;b++){var x=parseInt(g[b])-parseInt(_[b]);if(x)return x}return g.length-_.length}}])},506:function(t,e,n){n.r(e);var r=n(235),o=n(438),i={name:"plv-input-paste-image",props:{width:{type:[Number,String],default:200},fontSize:{type:Number,default:14},lineHeight:{type:Number,default:1.6},minLineCount:{type:Number,default:1,validator:function(a){return a>0}},maxLineCount:{type:Number,default:3,validator:function(a){return a>0}},background:{type:String},placeholder:{type:String,default:""},maxImageCount:{type:Number,default:9,validator:function(a){return a>0}},maxlength:{type:Number,default:200,validator:function(a){return a>0}},disabled:{type:Boolean,default:!1}},data:function(){return{focused:!1,inputFiles:[],lastIptRange:null,iptScrollTop:0,isCompostioning:!1}},computed:{finalWidth:function(){return typeof this.width=="number"?this.width>0?this.width+"px":"200px":this.width},minHeight:function(){return this.fontSize*this.lineHeight*this.minLineCount},maxHeight:function(){return this.fontSize*this.lineHeight*this.maxLineCount}},watch:{inputFiles:function(a){this.$emit("input-files",a)}},mounted:function(){this.deletePasteImg()},methods:{handleCompositionStart:function(){this.isCompostioning=!0},handleCompositionEnd:function(){this.isCompostioning=!1,this.afterHandleInput()},handleInput:function(a){a.stopPropagation();var l=this.$refs.input;l.innerHTML==="<br>"&&(l.innerHTML=""),a.data||a.inputType==="deleteContentBackward"||a.inputType==="insertLineBreak"?this.afterHandleInput():this.resetHeight()},afterHandleInput:function(){var a=this.$refs.input,l=a.innerText,p=!1;l&&l.length>this.maxlength&&!this.isCompostioning&&(p=!0,l=l.substring(0,this.maxlength),a.innerText=l,this.moveToEnd(a),this.$emit("over-maxlength",l.length)),!p&&this.$emit("change",this.getContentList()),this.resetHeight()},moveToEnd:function(a){a.focus();var l=window.getSelection();l.selectAllChildren(a),l.collapseToEnd()},resetHeight:function(){var a=this,l=this.$refs.input;l.style.height="auto",this.$nextTick(function(){l.scrollHeight&&(l.style.height="".concat(l.scrollHeight,"px")),a.$emit("is-overflow",l.scrollHeight>l.clientHeight)})},handlePaste:function(a){var l=this,p=a.clipboardData||window.clipboardData;if(p)if(this.focus(),p.items.length>0){for(var f=p.items,h=[],d=!0,v=0;v<f.length;v++)if(f[v].kind==="file"&&f[v].type.includes("image")){if(this.inputFiles.length>=this.maxImageCount){this.$emit("over-max-image-count",this.inputFiles.length);continue}var g=f[v].getAsFile(),_="plv-input-paste-image__file-".concat(Object(r.v4)());g.fileId=_,this.inputFiles.push({id:_,file:g}),h.push({id:_,file:g})}else f[v].type.includes("text/plain")&&(d=!1,this.handlePasteText(p));Promise.all(h.map(function(m){var w=m.id,b=m.file;return l.loadPasteImg(w,b)})).then(function(m){m.forEach(function(w){l.insertAtSelection(w)})}).finally(function(){l.$nextTick(function(){l.resetHeight()}),d&&l.$emit("change",l.getContentList())}),a.preventDefault()}else this.getLocalImg()},deletePasteImg:function(){var a=this,l=this.$refs.input;new MutationObserver(function(p){p.forEach(function(f){f.removedNodes.forEach(function(h){if(h.tagName==="IMG"){var d=h.id,v=a.inputFiles.findIndex(function(g){return g.id===d});v>=0&&a.inputFiles.splice(v,1)}})})}).observe(l,{childList:!0})},focus:function(){this.$refs.input.focus()},handlePasteText:function(a){var l=a.getData("text/plain"),p=this.$refs.input.innerText;if(p&&p.length>=this.maxlength)this.$emit("over-maxlength",p.length);else{if((p+l).length>this.maxlength&&(l=l.substring(0,this.maxlength-p.length)),l=Object(o.escapeHTML)(l),document.execCommand("insertHTML"))document.execCommand("insertHTML",!1,l);else{var f=document.createTextNode(l);this.insertAtSelection(f)}this.$emit("change",this.getContentList())}},loadPasteImg:function(a,l){var p=this;return new Promise(function(f){var h=new FileReader;h.onload=function(d){var v=d.target.result,g=document.createElement("img");g.src=v,g.id=a,g.addEventListener("dblclick",function(){p.$emit("preview",v)}),f(g)},h.readAsDataURL(l)})},insertAtSelection:function(a){try{var l=window.getSelection(),p=l.getRangeAt(0);p.deleteContents();var f=document.createDocumentFragment(),h=f.appendChild(a);p.insertNode(f),p.setStartAfter(h),p.collapse(!1),l.removeAllRanges(),l.addRange(p)}catch(d){}},getLocalImg:function(){var a=this,l=this.$refs.input;if(this.inputFiles=[],l.getElementsByTagName("img").length>=this.maxImageCount)return event.preventDefault(),void this.$emit("over-max-image-count",this.inputFiles.length);setTimeout(function(){l.childNodes.forEach(function(p){if(p.tagName==="IMG"){var f=p.src,h=a.base64toFile(f,"plv-input-paste-image__file-".concat(Object(r.v4)(),".jpg")),d=a.insertImgFile(h).fileId;p.id=d}})},1)},base64toFile:function(a,l){for(var p=a.split(","),f=window.atob(p[1]),h=f.length,d=new Uint8Array(h);h--;)d[h]=f.charCodeAt(h);return new File([d],l,{type:"image/jpeg"})},insertImgFile:function(a){var l="plv-input-paste-image__file-".concat(Object(r.v4)());return this.inputFiles.push({id:l,file:a}),{fileId:l}},getCursorRange:function(){var a=window.getSelection();try{this.lastIptRange=a.getRangeAt(0)}catch(l){}},insertEmotion:function(a){var l=this.$refs.input,p=l.innerText;if(p.length>=this.maxlength)this.$emit("over-maxlength",p.length);else{var f=a.substring(0,this.maxlength-p.length);this.focus();var h=window.getSelection();this.lastIptRange&&(h.removeAllRanges(),h.addRange(this.lastIptRange)),this.moveToEnd(l);var d=document.createTextNode(f);this.insertAtSelection(d),this.getCursorRange(),this.$refs.input.scrollTo(0,this.iptScrollTop),this.$emit("change",this.getContentList()),this.resetHeight()}},insertText:function(a){this.insertEmotion(a)},onScroll:function(a){this.iptScrollTop=a.target.scrollTop},clear:function(){this.$refs.input.innerHTML="",this.resetHeight()},handleFocus:function(a){this.focused=!0,this.$emit("focus",a)},handleBlur:function(a){this.getCursorRange(),this.focused=!1,this.$emit("blur",a)},onMousedown:function(a){this.$emit("mousedown",a)},getContentList:function(){for(var a=[],l=this.$refs.input.cloneNode(!0),p=l.querySelectorAll("img"),f=l.querySelectorAll("br"),h=p.length-1;h>=0;h--){var d=document.createTextNode("[{"+p[h].id+"}]");p[h].parentNode.replaceChild(d,p[h])}for(var v=f.length-1;v>=0;v--){var g=document.createTextNode(`
|
|
1006
|
-
|
|
1007
|
+
`),Jd=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=W(),{chatTarget:o,selfIsSpecialUser:i}=j(),{messageConfig:s}=ae(),{statusInfo:c}=jn(),{getEmitter:a}=Ee(),{checkIntercept:l}=xt(),u=p.computed(()=>!(!s.value.quoteEnabled||!o.message.canQuoteMsg(e.value)||!i()&&c.value.chatRoomIsClosed));function f(){return P(this,null,function*(){u.value&&((yield l("chat-quote"))||a().emit(ne.QuoteMsg,{chatMsg:e.value}))})}return n&&s.value.quoteEnabled&&n.addControlItem({controlType:"quote",icon:()=>Wd,sort:()=>Ze.quote,hidden:()=>!u.value,text:()=>r("chat.reply"),clickCallback:f}),{canQuote:u,quoteMsg:f}},Vd=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=W(),{manageConfig:o}=me(),{chatTarget:i,ChatMsgSource:s}=j(),c=Bt({chatMsg:e,enabledSources:[s.Speak]}),{isSpecialUser:a}=at(e),{toast:l}=ye(),u=p.computed(()=>o.value.pushSpeakMsgToQaEnabled&&c.checkPermission()&&!a.value);function f(){return P(this,null,function*(){!u.value||e.value.msgSource!==s.Speak||(yield i.manage.pushMsgToQa({chatMsg:e.value}),l.success(r("manage.pushQaSuccess")))})}return n&&o.value.pushSpeakMsgToQaEnabled&&n.addControlItem({controlType:"pushQa",sort:()=>Ze.pushQa,hidden:()=>!u.value,text:()=>r("manage.pushQa"),clickCallback:f}),{canPushQa:u,pushQa:f}},m1=()=>{const t=tt();return{liveStatus:p.computed(()=>{var n;return(n=t.getLiveStatus)==null?void 0:n.call(t)})}},g1=bt("top-msg",()=>{const{chatTarget:t,PolyvChatEvent:e}=j(),n=p.ref([]);function r(s){return n.value.some(c=>c.chatMsg.id===s)}function o(s){var c;return(c=n.value.find(a=>a.chatMsg.id===s.id))==null?void 0:c.id}function i(){n.value=t.message.topingMsgs}return i(),t.eventEmitter.on(e.TopMsg,s=>{n.value=s.topingMsgs}),{topingMsgs:n,msgIdIsTop:r,getTopId:o}}),h1=t=>{const{chatMsg:e,controlContext:n}=t,{$t:r}=W(),{liveStatus:o}=m1(),{manageConfig:i}=me(),{chatTarget:s}=j(),{toast:c}=ye(),a=g1(),l=p.computed(()=>i.value.topMsgEnabled&&s.message.canTopMsg(e.value)),u=p.computed(()=>a.msgIdIsTop(e.value.id)),f=p.computed(()=>!u.value&&o.value!=="live"),h=p.computed(()=>f.value?r("chat.needLive"):"");function d(){return P(this,null,function*(){if(!l.value)return;if(f.value){c.error(h.value);return}const w=e.value.id;yield s.manage.topMsg({msgId:w})})}function _(){return P(this,null,function*(){if(!l.value)return;const w=a.getTopId(e.value);w&&(yield s.manage.cancelTopMsg({id:w}))})}function m(){return P(this,null,function*(){u.value?yield _():yield d()})}return n&&i.value.topMsgEnabled&&n.addControlItem({controlType:"topMsg",sort:()=>Ze.topMsg,hidden:()=>!l.value,disabled:()=>f.value,disabledTip:()=>h.value,text:()=>u.value?r("manage.cancelTop"):r("manage.top"),clickCallback:m}),{canTopMsg:l,isTopMsg:u,topMsg:d,cancelTopMsg:_,toggleTopMsg:m}},em=t=>{const{controlItems:e,msgBubbleRef:n}=t,{actionSheet:r}=Ya();te(n,"click",()=>P(this,null,function*(){if(e.value.length===0)return;const o=yield r({actions:e.value.map(i=>{var s,c;return ie(O({},i),{hidden:!1,disabled:(s=i.disabled)==null?void 0:s.call(i),disabledTip:(c=i.disabledTip)==null?void 0:c.call(i),name:i.text(),value:i.controlType})})});o&&o.clickCallback()}))},tm=p.defineComponent({__name:"bubble-control",setup(t){const{destroyCurrentInstance:e}=qe(),{controlItems:n,msgBubbleRef:r}=Zn(),o=p.ref({x:0,y:0});function i(){const l=r.value;if(!l){e();return}const u=l.getBoundingClientRect();o.value={x:u.x,y:u.y}}i();const s=p.computed(()=>({top:`${o.value.y+0}px`,left:`${o.value.x+0}px`}));function c(l){l.clickCallback(),p.nextTick(()=>{e()})}const a=p.ref();return on(a),he(ne.CloseMsgControl,e),te(document,"scroll",e,!0),Tr(a,e),rn(a,{visible:!0}),{__sfc:!0,destroyCurrentInstance:e,controlItems:n,msgBubbleRef:r,memuPosition:o,setMenuPosition:i,bubbleStyle:s,onMenuClick:c,bubbleRef:a}}});var nm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"bubbleRef",staticClass:"plv-msg-item__bubble-control",style:r.bubbleStyle},[n("div",{staticClass:"plv-msg-item__bubble-control__list"},e._l(r.controlItems,function(o){return n("div",{key:o.controlType,staticClass:"plv-msg-item__bubble-control__item",on:{click:function(i){return r.onMenuClick(o)}}},[n("span",{domProps:{innerHTML:e._s(o.text())}})])}),0)])},rm=[],om=q(tm,nm,rm);const im=om.exports,sm=t=>{const{msgBubbleRef:e,controlItems:n}=t,{getEmitter:r}=Ee(),{createVueInstance:o,destroyVueInstance:i}=qe();let s;function c(){s&&(i(s),s=void 0)}te(e,"click",()=>{c(),r().emit(ne.CloseMsgControl),n.value.length!==0&&(s=o(im))}),p.onBeforeUnmount(()=>{c()})},am=p.defineComponent({__name:"context-menu",setup(t,{expose:e}){const{destroyCurrentInstance:n}=qe(),{controlItems:r}=Zn(),o=p.ref({x:0,y:0});function i(l){o.value=l}const s=p.computed(()=>({top:`${o.value.y+-10}px`,left:`${o.value.x+10}px`}));function c(l){l.clickCallback(),p.nextTick(()=>{n()})}const a=p.ref();return on(a),he(ne.CloseMsgControl,n),te(document,"scroll",n,!0),Tr(a,n),rn(a,{visible:!0}),e({setMenuPosition:i}),{__sfc:!0,destroyCurrentInstance:n,controlItems:r,memuPosition:o,setMenuPosition:i,contextMenuStyle:s,onMenuClick:c,contextMenuRef:a}}});var cm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"contextMenuRef",staticClass:"plv-msg-item__context-menu",style:r.contextMenuStyle},e._l(r.controlItems,function(o){return n("div",{key:o.controlType,staticClass:"plv-msg-item__context-menu__item",on:{click:function(i){return r.onMenuClick(o)}}},[o.icon?n(o.icon(),{tag:"component",staticClass:"plv-msg-item__context-menu__item__icon"}):e._e(),n("span",{domProps:{innerHTML:e._s(o.text())}})],1)}),0)},lm=[],um=q(am,cm,lm);const pm=um.exports,fm=t=>{const{controlItems:e,msgBubbleRef:n}=t,{createVueInstance:r,destroyVueInstance:o}=qe(),{getEmitter:i}=Ee();let s;function c(){s&&(o(s),s=void 0)}te(n,"contextmenu",a=>{c(),i().emit(ne.CloseMsgControl),e.value.length!==0&&(a.preventDefault(),s=r(pm),s.setMenuPosition({x:a.pageX,y:a.pageY}))}),p.onBeforeUnmount(()=>{c()})},dm=p.defineComponent({__name:"hover-control",setup(t){const e=p.ref(),{$t:n}=W(),{contentRef:r,controlItems:o,chatMsg:i}=Zn(),{referenceRef:s,popperRef:c,popperVisible:a,hidePopper:l}=Hn({placement:"bottom-end",trigger:"click"}),u=p.computed(()=>o.value.length<=3?o.value:o.value.slice(0,2)),f=p.computed(()=>o.value.length<=3?[]:o.value.slice(2));function h(d){l(),d.clickCallback()}return on(e,r),{__sfc:!0,hoverControlRef:e,$t:n,contentRef:r,controlItems:o,chatMsg:i,referenceRef:s,popperRef:c,popperVisible:a,hidePopper:l,firstTwoItems:u,moreItems:f,onItemClick:h}}});var mm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"hoverControlRef",staticClass:"plv-msg-item__hover-control"},[n("div",{staticClass:"plv-msg-item__hover-control__list"},[e._l(r.firstTwoItems,function(o){var i;return n("div",{key:o.controlType,staticClass:"plv-msg-item__hover-control__list__item",class:{"is-disabled":(i=o.disabled)==null?void 0:i.call(o)},domProps:{innerHTML:e._s(o.text())},on:{click:function(s){return r.onItemClick(o)}}})}),r.moreItems.length>0?n("div",{ref:"referenceRef",staticClass:"plv-msg-item__hover-control__list__item"},[e._v(e._s(r.$t("chat.more")))]):e._e()],2),r.moreItems.length>0?n("div",{directives:[{name:"show",rawName:"v-show",value:r.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"plv-msg-item__hover-control__more",attrs:{"data-control-more-popper":r.chatMsg.id}},e._l(r.moreItems,function(o){var i;return n("div",{key:o.controlType,staticClass:"plv-msg-item__hover-control__more__item",class:{"is-disabled":(i=o.disabled)==null?void 0:i.call(o)},domProps:{innerHTML:e._s(o.text())},on:{click:function(s){return r.onItemClick(o)}}})}),0):e._e()])},gm=[],hm=q(dm,mm,gm);const vm=hm.exports,Oi="__create-hover-instance",_m=t=>{const{contentRef:e,controlItems:n,chatMsg:r}=t,{getEmitter:o}=Ee(),{createVueInstance:i,destroyVueInstance:s}=qe();let c;const{listenOutSideEvent:a,removeOutSideEvent:l}=A8([e,`[data-control-more-popper="${r.value.id}"]`],h=>{var d;u(),(d=e.value)==null||d.classList.remove("show-hover-control"),h.removeOutSideEvent()},!1);function u(){c&&(s(c),c=void 0),l(),o().off(Oi,u)}function f(){var h;u(),o().emit(Oi),!(n.value.length===0||!e.value)&&((h=e.value)==null||h.classList.add("show-hover-control"),c=i(vm),a(),o().once(Oi,u))}te(e,"mouseenter",f),p.onBeforeUnmount(()=>{u()})},v1=Symbol("MsgContextOptions"),wm=t=>{const{contentRef:e,chatMsg:n}=t,{messageConfig:r}=ae(),{manageConfig:o}=me(),{msgUser:i,msgUserClientIp:s,msgUserId:c}=at(n),a=p.computed(()=>{var f;return((f=e.value)==null?void 0:f.querySelector("[data-msg-bubble]"))||void 0}),l=Ti(),u=ie(O({},l),{contentRef:e,msgBubbleRef:a,chatMsg:n});switch(p.provide(v1,u),r.value.messageControlInteraction){case"context-menu":fm(u);break;case"hover":_m(u);break;case"bubble":sm(u);break;case"action-sheet":em(u);break}ge(r.value.quoteEnabled,()=>Jd({chatMsg:n,controlContext:l})),ge(o.value.deleteMsgEnabled,()=>Ed({chatMsg:n,controlContext:l})),ge(o.value.banUserEnabled,()=>Ai({targetUserId:c,targetUser:i,chatMsg:n,controlContext:l})),ge(o.value.banIpEnabled,()=>Pi({targetIp:s,chatMsg:n,controlContext:l})),ge(o.value.kickUserEnabled,()=>$i({targetUserId:c,targetUser:i,chatMsg:n,controlContext:l})),ge(o.value.motivationLikeEnabled,()=>Td({chatMsg:n,controlContext:l})),ge(o.value.topMsgEnabled,()=>h1({chatMsg:n,controlContext:l})),ge(o.value.askUserEnabled,()=>s1({targetUser:i,chatMsg:n,controlContext:l})),ge(o.value.pushSpeakMsgToQaEnabled,()=>Vd({chatMsg:n,controlContext:l}))},Zn=()=>p.inject(v1),_1=Symbol("MsgData"),bm=t=>{p.provide(_1,t)},xe=()=>p.inject(_1),ym=t=>{const e=p.computed(()=>t.chatMsg),n=p.computed(()=>p.unref(e).id),r={chatMsg:e,msgId:n};return bm(r),r},xm=()=>{const{SocketUserType:t}=j(),{chatMsg:e}=xe(),{msgUser:n,msgUserNick:r,msgUserAvatar:o,msgUserType:i,msgUserActor:s,msgUserQuestionLabels:c,showUserActor:a,isSelfMsg:l,isSpecialUser:u}=at(e),f={[t.Manager]:"linear-gradient(270deg, #9395FF 0%, #6F68FD 100%)",[t.Assistant]:"linear-gradient(270deg, #1CCBAF 0%, #0CBF8F 100%)",[t.Teacher]:"linear-gradient(270deg, #57B7FF 0%, #358DFF 100%)",[t.Guest]:"linear-gradient(90deg, #FF8D73 -7%, #FFB438 100%)"},h=p.computed(()=>{const d={},_=p.unref(i);if(_&&f[_]){const m=f[_];d.backgroundImage=m,d.backgroundClip="text",d["-webkit-background-clip"]="text",d.color="transparent",d.fontWeight="bold"}return d});return{msgUser:n,msgUserNick:r,msgUserAvatar:o,msgUserType:i,msgUserActor:s,msgUserQuestionLabels:c,isSelfMsg:l,isSpecialUser:u,showUserActor:a,nicknameStyle:h}},Cm=p.defineComponent({__name:"msg-user-info",props:{msgLooseMode:k.bool.def(!1),conciseInfo:k.bool.def(!1)},setup(t){const{messageConfig:e}=ae(),{msgUserNick:n,msgUserActor:r,msgUserType:o,msgUserAvatar:i,isSpecialUser:s,showUserActor:c}=xm();return{__sfc:!0,messageConfig:e,msgUserNick:n,msgUserActor:r,msgUserType:o,msgUserAvatar:i,isSpecialUser:s,showUserActor:c,MsgUserActor:Ii}}});var Qm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-msg-user-info",class:{"plv-msg-user-info--actor":r.showUserActor,"plv-msg-user-info--special":r.isSpecialUser,"plv-msg-user-info--loose-mode":e.msgLooseMode,"is-hide-avatar":!r.messageConfig.showUserAvatar}},[r.msgUserAvatar&&r.messageConfig.showUserAvatar?n("div",{staticClass:"plv-msg-user-info__avatar",style:{backgroundImage:`url(${r.msgUserAvatar})`}}):e._e(),r.showUserActor&&!e.conciseInfo?n(r.MsgUserActor,{attrs:{actor:r.msgUserActor,"user-type":r.msgUserType}}):e._e(),n("span",{staticClass:"plv-msg-user-info__nick",class:{"plv-msg-user-info__nick--special":r.isSpecialUser,"show-colon":!e.conciseInfo}},[e._v(e._s(r.msgUserNick))])],1)},km=[],Em=q(Cm,Qm,km);const Sm=Em.exports,w1=()=>({chatMsg:k.object().isRequired,showMsgTime:k.bool.def(!1)}),b1=Symbol("msgItemInjectKey"),y1=t=>{const{props:e}=t,{chatMsg:n}=ft(e),{messageConfig:r}=ae();ym(e);const o=p.computed(()=>{const a=p.unref(n).time,l=new Date().toLocaleDateString(),f=new Date(a).toLocaleDateString();let h="";return l!==f?h=hr(a,"YYYY/MM/DD hh:mm"):h=hr(a,"hh:mm"),h}),i=p.computed(()=>{const{messageHorizontalSpacing:a}=r.value;return{padding:`0 ${a.right}px 0 ${a.left}px`}}),s=p.ref(!1);function c(a){s.value=a}return p.provide(b1,{setMsgAlignRight:c}),{chatMsg:n,msgTimeText:o,msgItemStyle:i,msgAlignRight:s}},Im=()=>p.inject(b1),Tm=()=>{const{chatMsg:t}=xe(),{messageConfig:e}=ae(),n=p.computed(()=>{const o=p.unref(t).msgSource;return!!e.value.clickMsgCallback[o]});function r(){const o=p.unref(t).msgSource,i=p.unref(t),s=e.value.clickMsgCallback[o];s&&s(i)}return{hasClickCallback:n,onClickContainer:r}},Lm=p.defineComponent({__name:"msg-container",props:{hideUserInfo:k.bool.def(!1),responseLayout:k.bool.def(!1),hideBubbleStyle:k.bool.def(!1),contentInnerClass:k.string,conciseInfo:k.bool.def(!1),blockUserInfo:k.bool.def(!1)},setup(t){const e=t,{messageConfig:n}=ae(),{chatMsg:r}=xe(),{hasClickCallback:o,onClickContainer:i}=Tm(),{isSpecialUser:s,isSelfMsg:c}=at(r),{getSpecialColor:a}=Ba(),l=p.computed(()=>e.responseLayout&&n.value.messageLayout==="loose"),u=p.computed(()=>l.value&&c.value&&n.value.selfMsgAlign==="right"),f=Im();return p.watch(u,()=>{f.setMsgAlignRight(u.value)},{immediate:!0}),{__sfc:!0,props:e,messageConfig:n,chatMsg:r,hasClickCallback:o,onClickContainer:i,isSpecialUser:s,isSelfMsg:c,getSpecialColor:a,msgLooseMode:l,msgAlignRight:u,msgItemInject:f,MsgUserInfo:Sm}}});var Pm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-msg-item__container",class:{"plv-msg-item__container--loose-mode":r.msgLooseMode,"plv-msg-item__container--align-right":r.msgAlignRight,"plv-msg-item__container--cursor":r.hasClickCallback,"is-hide-avatar":!r.messageConfig.showUserAvatar},on:{click:r.onClickContainer}},[!e.hideUserInfo&&r.msgLooseMode?n(r.MsgUserInfo,{staticClass:"plv-msg-item__container__user-info",attrs:{"msg-loose-mode":"","concise-info":e.conciseInfo}}):e._e(),n("div",{staticClass:"plv-msg-item__container__bubble-wrap"},[r.msgAlignRight?e._t("bubble-control"):e._e(),n("div",{staticClass:"plv-msg-item__container__bubble",class:[{"plv-msg-item__container__bubble--hide-bubble-style":e.hideBubbleStyle&&r.msgLooseMode}],style:{backgroundColor:r.isSpecialUser?r.getSpecialColor(.3):void 0},attrs:{"data-msg-bubble":""}},[e._t("msg-header"),n("div",{staticClass:"plv-msg-item__container__content"},[n("div",{staticClass:"plv-msg-item__container__content__inner",class:e.contentInnerClass},[!e.hideUserInfo&&!r.msgLooseMode?n(r.MsgUserInfo,{staticClass:"plv-msg-item__container__user-info",class:{"plv-msg-item__container__user-info--block":e.blockUserInfo},attrs:{"concise-info":e.conciseInfo}}):e._e(),e._t("default")],2)]),e._t("msg-footer")],2),r.msgAlignRight?e._e():e._t("bubble-control")],2)],1)},Am=[],$m=q(Lm,Pm,Am);const Ye=$m.exports,Rm=()=>{const{chatMsg:t}=xe();return{chatMsg:t}},Om=p.defineComponent({__name:"custom-client-msg",setup(t){const{chatMsg:e}=Rm();return{__sfc:!0,chatMsg:e,MsgContainer:Ye}}});var Dm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__custom-client",attrs:{"hide-user-info":""}},[e._v(" "+e._s(r.chatMsg.data)+" ")])},zm=[],Fm=q(Om,Dm,zm);const Bm=Fm.exports,x1=()=>{const{chatMsg:t}=xe(),e=p.computed(()=>t.value.content);return{chatMsg:t,msgContent:e}},Mm=p.defineComponent({__name:"custom-server-msg",setup(t){const{msgContent:e}=x1();return{__sfc:!0,msgContent:e,MsgContainer:Ye}}});var Nm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__custom-server",attrs:{"hide-user-info":""}},[e._v(" "+e._s(r.msgContent)+" ")])},Hm=[],Um=q(Mm,Nm,Hm);const jm=Um.exports,C1=()=>{const{$t:t}=W();function e(i){const s=[],c=/\{\{(.*?)\}\}|([^{]+)/g;let a;for(;(a=c.exec(i))!==null;)a[1]?s.push({textType:a[1],text:a[1]}):a[2]&&s.push({textType:"normal",text:a[2]});return s}function n(i){return i.length>5?i.slice(0,5)+"...":i}function r(i){const s=e(i.strTemplate),c=[],a=i.nicknames.map(l=>n(l));return s.forEach(l=>{switch(l.textType){case"normal":c.push({textType:l.textType,text:l.text});break;case"nickname":c.push({textType:l.textType,text:a.join("、"),count:i.nicknameCount});break;case"productName":c.push({textType:l.textType,text:n(i.targetName)});break;case"donateName":c.push({textType:l.textType,text:n(i.targetName),image:i.targetImage});break}}),c}function o(i){return t("effect.peopleCount",{count:i})}return{parseTemplateString:e,getEffectText:r,getNicknameCountText:o}},qm=()=>{const{chatMsg:t}=xe(),e=p.computed(()=>t.value.data);return{chatMsg:t,effectData:e}},Wm=p.defineComponent({__name:"effect-msg",setup(t){const{effectData:e}=qm(),{getEffectText:n,getNicknameCountText:r}=C1();return{__sfc:!0,effectData:e,getEffectText:n,getNicknameCountText:r,MsgContainer:Ye,PwcIconArrowRight:qo}}});var Gm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__effect",attrs:{"hide-user-info":""}},[n("div",{staticClass:"plv-msg-item__effect__inner",class:[`plv-msg-item__effect__inner--${r.effectData.effectType}`]},[e._l(r.getEffectText(r.effectData),function(o,i){return n("span",{key:i,class:["plv-msg-item__effect__item",`plv-msg-item__effect__item--${o.textType}`]},[n("span",{staticClass:"plv-msg-item__effect__item__text"},[e._v(e._s(o.text))]),o.textType==="nickname"&&o.count&&o.count>1?n("span",{staticClass:"plv-msg-item__effect__item__nickname-count"},[e._v(" "+e._s(r.getNicknameCountText(o.count))+" ")]):e._e()])}),n(r.PwcIconArrowRight,{staticClass:"plv-msg-item__effect__icon"})],2)])},Zm=[],Ym=q(Wm,Gm,Zm);const Km=Ym.exports,Q1=()=>{const{chatMsg:t}=xe(),e=p.computed(()=>p.unref(t).emotionUrl),n=p.ref(!1);function r(){n.value=!0}const{previewImage:o}=Ei();function i(){o(p.unref(e))}return{emotionUrl:e,isLoaded:n,onImgLoad:r,previewEmotion:i}},Xm=p.defineComponent({__name:"emotion-msg",setup(t){const{emotionUrl:e,isLoaded:n,onImgLoad:r,previewEmotion:o}=Q1(),{messageConfig:i}=ae();function s(){i.value.imagePreviewIcon||o()}return{__sfc:!0,emotionUrl:e,isLoaded:n,onImgLoad:r,previewEmotion:o,messageConfig:i,onClickEmotion:s,MsgContainer:Ye,ChatIconZoomUp:d1}}});var Jm=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__emotion",attrs:{"response-layout":"","hide-bubble-style":"","block-user-info":""}},[r.isLoaded?e._e():n("div",{staticClass:"plv-msg-item__emotion__placeholder"}),n("div",{staticClass:"plv-msg-item__emotion-wrap"},[n("img",{directives:[{name:"show",rawName:"v-show",value:r.isLoaded,expression:"isLoaded"}],staticClass:"plv-msg-item__emotion__img",class:{"zoom-in-cursor":!r.messageConfig.imagePreviewIcon},attrs:{src:r.emotionUrl},on:{load:r.onImgLoad,click:r.onClickEmotion}}),r.messageConfig.imagePreviewIcon&&r.isLoaded?n("div",{staticClass:"plv-msg-item__emotion__preview",on:{click:function(o){return o.stopPropagation(),r.previewEmotion.apply(null,arguments)}}},[n(r.ChatIconZoomUp)],1):e._e()])])},Vm=[],eg=q(Xm,Jm,Vm);const tg=eg.exports,k1=()=>{const{chatMsg:t}=xe(),{downloadFileUrl:e}=$r(),n=p.computed(()=>p.unref(t).fileUrl),r=p.computed(()=>p.unref(t).fileName);function o(){return P(this,null,function*(){const i=p.unref(n),s=p.unref(r);e(i,s)})}return{chatMsg:t,fileName:r,fileUrl:n,toDownloadFile:o}},ng=p.defineComponent({__name:"file-msg",setup(t){const{fileName:e,fileUrl:n,toDownloadFile:r}=k1();return{__sfc:!0,fileName:e,fileUrl:n,toDownloadFile:r,MsgContainer:Ye,getFileType:zs,FileType:Ke}}});var rg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__file",attrs:{"block-user-info":""}},[n("div",{staticClass:"plv-msg-item__file__content",on:{click:r.toDownloadFile}},[n("div",{staticClass:"plv-msg-item__file__icon",class:{"plv-msg-item__file__icon--doc":r.getFileType(r.fileUrl)===r.FileType.Word,"plv-msg-item__file__icon--ppt":r.getFileType(r.fileUrl)===r.FileType.PPT,"plv-msg-item__file__icon--pdf":r.getFileType(r.fileUrl)===r.FileType.PDF}}),n("span",[e._v(e._s(r.fileName))])])])},og=[],ig=q(ng,rg,og);const sg=ig.exports,E1={},S1=()=>{var w;const{chatMsg:t}=xe(),{getEmitter:e}=Ee(),{resizeOSSImg:n}=ei(),r=p.ref(),o=p.ref(t.value.imageId),i=p.computed(()=>Si(t.value.imageUrl,["blob"])),s=p.ref((w=E1[o.value])!=null?w:t.value.size),c=p.computed(()=>!!s.value&&s.value.height/s.value.width>=3),a=p.computed(()=>{let g=50;const v=50,b=150,y=200;return c.value&&(g=80),{minWidth:g,minHeight:v,maxWidth:b,maxHeight:y}}),l=p.computed(()=>{if(!s.value)return;let g=s.value.width,v=s.value.height;const{minWidth:b,minHeight:y,maxWidth:x,maxHeight:C}=a.value;if(g>x||v>C){const E=Math.min(x/g,C/v);g*=E,v*=E}return g<b&&(g=b),v<y&&(v=y),{width:parseInt(g.toString()),height:parseInt(v.toString())}}),u=p.computed(()=>l.value?n(i.value,{width:l.value.width*2,height:l.value.height*2,mode:wo.Fill}):i.value),f=p.ref(!1),h=p.computed(()=>{if(l.value&&f.value)return{width:l.value.width+"px",height:l.value.height+"px"}});function d(){return P(this,null,function*(){if(f.value)return;const g=p.unref(r);g&&(s.value||(s.value={width:g.width,height:g.height},E1[p.unref(o)]=s.value),f.value=!0,e().emit(ne.CheckScrollFoot))})}const{previewImage:_}=Ei();function m(){_(p.unref(i))}return{chatMsg:t,imageRef:r,imageUrl:u,renderSize:l,imageStyle:h,isLoaded:f,isLargeImage:c,previewCurrentImage:m,onImageLoad:d}},ag=p.defineComponent({__name:"image-msg",setup(t){const{$t:e}=W(),{messageConfig:n}=ae(),{chatMsg:r,imageUrl:o,isLoaded:i,imageRef:s,renderSize:c,imageStyle:a,isLargeImage:l,onImageLoad:u,previewCurrentImage:f}=S1();function h(){n.value.imagePreviewIcon||f()}return{__sfc:!0,$t:e,messageConfig:n,chatMsg:r,imageUrl:o,isLoaded:i,imageRef:s,renderSize:c,imageStyle:a,isLargeImage:l,onImageLoad:u,previewCurrentImage:f,onClickImg:h,ChatIconForbid:Hd,ChatIconZoomUp:d1,MsgContainer:Ye,ChatIconSendImageTwo:p1}}});var cg=function(){var o,i,s,c,a,l;var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__image",attrs:{"response-layout":"","hide-bubble-style":"","block-user-info":""}},[r.chatMsg.isIllegal?n("div",{staticClass:"plv-msg-item__image__illegal"},[n(r.ChatIconForbid,{staticClass:"plv-msg-item__image__illegal__icon"}),n("span",[e._v(e._s(r.$t("chat.illegalImage")))])],1):[n("div",{staticClass:"plv-msg-item__image-wrap"},[r.isLoaded?e._e():[n("div",{staticClass:"plv-msg-item__image__placeholder",style:{width:((o=r.renderSize)==null?void 0:o.width)+"px",height:((i=r.renderSize)==null?void 0:i.height)+"px",fontSize:Math.min((c=(s=r.renderSize)==null?void 0:s.width)!=null?c:48,(l=(a=r.renderSize)==null?void 0:a.height)!=null?l:48)/2.5+"px"}},[n(r.ChatIconSendImageTwo)],1)],n("img",{directives:[{name:"show",rawName:"v-show",value:r.isLoaded,expression:"isLoaded"}],ref:"imageRef",staticClass:"plv-msg-item__image__img",class:{"zoom-in-cursor":!r.messageConfig.imagePreviewIcon},style:r.imageStyle,attrs:{src:r.imageUrl},on:{load:r.onImageLoad,click:r.onClickImg}}),r.isLoaded?[r.messageConfig.imagePreviewIcon?n("div",{staticClass:"plv-msg-item__image__preview",on:{click:function(u){return u.stopPropagation(),r.previewCurrentImage.apply(null,arguments)}}},[n(r.ChatIconZoomUp)],1):r.isLargeImage?n("div",{staticClass:"plv-msg-item__image__large"},[e._v(" "+e._s(r.$t("chat.longImage"))+" ")]):e._e()]:e._e()],2)]],2)},lg=[],ug=q(ag,cg,lg);const pg=ug.exports,fg=(t=!0)=>{const{getUserId:e}=j(),{$t:n}=W();function r(c,a){return c.slice(0,a)+"..."}function o(c){return c.motivatedId===e()}function i(c){return c.motivatorId===e()}function s(c){const f=c.motivatedNick,h=c.motivatorNick;let d=f,_=h;const m=vs(f,{enLen:.5,nonEnLen:1}),w=vs(h,{enLen:.5,nonEnLen:1});return m>7?(d=r(f,7),w>2&&(_=r(h,2))):w>=3&&(_=r(h,3)),t&&(o(c)&&(d=n("motivation.you")),i(c)&&(_=n("motivation.you"))),{motivatorNick:_,motivatedNick:d}}return{getMotivationNick:s,motivatedIsCurrent:o,motivatorIsCurrent:i}},dg=()=>{const{chatMsg:t}=xe(),{$t:e}=W(),{getMotivationNick:n}=fg(),r=p.computed(()=>{const{motivatedNick:o,motivatorNick:i}=n(t.value);return e("motivation.msgContent",{motivatedNick:o,motivatorNick:i})});return{chatMsg:t,content:r}},mg=p.defineComponent({__name:"motivation-like-msg",setup(t){const{content:e}=dg();return{__sfc:!0,content:e,MsgContainer:Ye}}});var gg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__motivation-like",attrs:{"hide-user-info":""}},[n("div",{staticClass:"plv-msg-item__motivation-like__content",domProps:{innerHTML:e._s(r.content)}})])},hg=[],vg=q(mg,gg,hg);const _g=vg.exports,wg=()=>{const{messageConfig:t}=ae(),{chatMsg:e}=xe(),n=p.computed(()=>t.value.customMessageRender);return{customRenderComponent:p.computed(()=>{const o=p.unref(e).msgSource;return n.value[o]})}},I1=()=>{const{chatMsg:t}=xe(),e=p.computed(()=>t.value.content);return{chatMsg:t,redpaperContent:e}},bg=p.defineComponent({__name:"redpaper-msg",setup(t){const{chatMsg:e,redpaperContent:n}=I1(),{customRenderComponent:r}=wg();return{__sfc:!0,chatMsg:e,redpaperContent:n,customRenderComponent:r,MsgContainer:Ye}}});var yg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__redpaper",attrs:{"response-layout":"","hide-bubble-style":"","block-user-info":""}},[r.customRenderComponent?[n(r.customRenderComponent,{tag:"component",attrs:{"chat-msg":r.chatMsg}})]:[n("span",[e._v(e._s(r.redpaperContent))])]],2)},xg=[],Cg=q(bg,yg,xg);const Qg=Cg.exports,kg=()=>{const{chatMsg:t}=xe(),e=p.computed(()=>p.unref(t).nick),n=p.computed(()=>p.unref(t).type.includes("rain")),r=p.computed(()=>p.unref(t).type.includes("question")),o=p.computed(()=>p.unref(t).type.includes("password")),i=p.computed(()=>p.unref(t).isOver);return{receiveNick:e,isRedpaperRain:n,isRedpaperPassword:o,isOver:i,isRedpaperQuestion:r}},Eg=p.defineComponent({__name:"redpaper-receive-msg",setup(t){const{$t:e}=W(),{receiveNick:n,isRedpaperRain:r,isRedpaperPassword:o,isOver:i,isRedpaperQuestion:s}=kg();return{__sfc:!0,$t:e,receiveNick:n,isRedpaperRain:r,isRedpaperPassword:o,isOver:i,isRedpaperQuestion:s,MsgContainer:Ye}}});var Sg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__redpaper-receive",attrs:{"hide-user-info":""}},[n("span",{staticClass:"plv-msg-item__redpaper-receive__content"},[n("span",{staticClass:"plv-msg-item__redpaper-receive__content__nick"},[e._v(e._s(r.receiveNick)+":")]),r.isRedpaperRain?n("i",{staticClass:"plv-msg-item__redpaper-receive__icon-rain"}):n("i",{staticClass:"plv-msg-item__redpaper-receive__icon"}),n("span",[e._v(e._s(r.$t("redpack.get")))]),r.isRedpaperRain?n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.rainName")))]):r.isRedpaperPassword?n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.passwordName")))]):r.isRedpaperQuestion?n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.questionName")))]):n("span",{staticClass:"plv-msg-item__redpaper-receive__highlight"},[e._v(e._s(r.$t("redpack.normalName")))]),r.isOver?[r.isRedpaperRain?n("span",[e._v(e._s(r.$t("redpack.rainFinish")))]):n("span",[e._v(e._s(r.$t("redpack.finish")))])]:e._e()],2)])},Ig=[],Tg=q(Eg,Sg,Ig);const Lg=Tg.exports,Pg=()=>{const{$t:t}=W(),e=p.computed(()=>({666:t("donate.name.six"),小熊:t("donate.name.bear"),麦克风:t("donate.name.microphone"),别墅:t("donate.name.villa"),咖啡:t("donate.name.coffee"),奖杯:t("donate.name.trophy"),小星星:t("donate.name.star"),掌声:t("donate.name.applause"),游艇:t("donate.name.yacht"),火箭:t("donate.name.rocket"),点赞:t("donate.name.like"),烟火:t("donate.name.fireworks"),皇冠:t("donate.name.crown"),跑车:t("donate.name.cars"),金蛋:t("donate.name.goldenEggs"),钻石:t("donate.name.diamonds"),飞机:t("donate.name.plane"),鲜花:t("donate.name.flower")}));function n(r){const o=p.unref(e)[r];return o||r}return{goodNamesConfig:e,translateGoodName:n}},Ag=()=>{const{chatMsg:t}=xe(),{resizeOSSImg:e}=ei(),{translateGoodName:n}=Pg(),r=p.computed(()=>n(p.unref(t).rewardContent)),o=p.computed(()=>e(p.unref(t).gimg,20));return{chatMsg:t,goodName:r,goodImg:o}},$g=p.defineComponent({__name:"reward-msg",setup(t){const{goodName:e,goodImg:n}=Ag(),{$t:r}=W();return{__sfc:!0,goodName:e,goodImg:n,$t:r,MsgContainer:Ye}}});var Rg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__reward",attrs:{"concise-info":""}},[n("span",{staticClass:"plv-msg-item__reward__text"},[e._v(e._s(r.$t("donate.goodAction"))+e._s(r.goodName))]),n("div",{staticClass:"plv-msg-item__reward__img",style:{backgroundImage:`url(${r.goodImg})`}})])},Og=[],Dg=q($g,Rg,Og);const zg=Dg.exports,Fg=p.defineComponent({__name:"custom-server-simple-msg",setup(t){const{msgContent:e}=x1();return{__sfc:!0,msgContent:e}}});var Bg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__custom-server"},[e._v(e._s(r.msgContent))])},Mg=[],Ng=q(Fg,Bg,Mg);const Hg=Ng.exports,Ug=p.defineComponent({__name:"emotion-simple-msg",setup(t){const{emotionUrl:e,previewEmotion:n}=Q1();return{__sfc:!0,emotionUrl:e,previewEmotion:n}}});var jg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("img",{staticClass:"plv-simple-msg-item__emotion",attrs:{src:r.emotionUrl},on:{click:function(o){return o.stopPropagation(),r.previewEmotion.apply(null,arguments)}}})},qg=[],Wg=q(Ug,jg,qg);const Gg=Wg.exports,Zg=p.defineComponent({__name:"file-simple-msg",setup(t){const{fileName:e}=k1();return{__sfc:!0,fileName:e}}});var Yg=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__file"},[e._v(e._s(r.fileName))])},Kg=[],Xg=q(Zg,Yg,Kg);const Jg=Xg.exports,Vg=p.defineComponent({__name:"image-simple-msg",setup(t){const{imageUrl:e,previewCurrentImage:n}=S1();return{__sfc:!0,imageUrl:e,previewCurrentImage:n}}});var eh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("img",{staticClass:"plv-simple-msg-item__image",attrs:{src:r.imageUrl},on:{click:function(o){return o.stopPropagation(),r.previewCurrentImage.apply(null,arguments)}}})},th=[],nh=q(Vg,eh,th);const rh=nh.exports,oh=p.defineComponent({__name:"redpaper-simple-msg",setup(t){const{redpaperContent:e}=I1();return{__sfc:!0,redpaperContent:e}}});var ih=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__redpaper"},[e._v(e._s(r.redpaperContent))])},sh=[],ah=q(oh,ih,sh);const ch=ah.exports,lh=t=>{const{chatTarget:e}=j(),{currentTranslateLanguage:n,canAutoTranslate:r}=_d(),{$t:o}=W();function i(){const g=t.value.translateResult||{};return t.value.translateLanguage&&(g[t.value.translateLanguage]=t.value.content),g}const s=p.ref((()=>{const g=i();return!(n.value&&g[n.value])})()),c=p.ref((()=>{if(!t.value.translateLanguage)return t.value.content})()),a=p.ref(i());function l(){const g=t.value.content||"";if(!g.trim()||/^\d+$/.test(g)||/^[\s\p{P}\p{S}]+$/u.test(g))return!0;const v=/[\u{1F600}-\u{1F64F}]|[\u{1F300}-\u{1F5FF}]|[\u{1F680}-\u{1F6FF}]|[\u{1F1E0}-\u{1F1FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]/u,b=g.replace(v,"");return!!(!b.trim()||/^[\s\p{P}]*$/u.test(b))}const u=p.computed(()=>!r.value||!n.value||l()?!1:!s.value),f=p.computed(()=>!r.value||!n.value||l()?!1:s.value),h=p.computed(()=>{if(!n.value||!r.value)return;if(s.value)return c.value;const g=a.value[n.value];if(g)return g}),d=p.ref(!1);function _(){return P(this,null,function*(){if(!(!n.value||d.value)){if(!a.value[n.value]){d.value=!0;try{const g=yield e.message.translateSpeak({chatMsg:t.value,language:n.value}),v=O({},a.value);v[g.language]=g.content,a.value=v,d.value=!1}catch(g){d.value=!1}}s.value=!1}})}function m(){return P(this,null,function*(){if(!d.value){if(!c.value){d.value=!0;try{const g=yield e.message.getSpeakOriginalContent({chatMsg:t.value});c.value=g,d.value=!1}catch(g){d.value=!1}}s.value=!0}})}return Zn().addControlItem({controlType:"autoTranslate",hidden:()=>!u.value&&!f.value,sort:()=>Ze.autoTranslate,text:()=>u.value?o("chat.originalContent"):o("chat.translate"),clickCallback:()=>{u.value?m():_()}}),{autoTranslating:d,isShowOriginal:s,originalContent:c,translateResult:a,autoTranslateContent:h,originalBtnVisible:u,translateBtnVisible:f,translateSpeak:_,showOriginalContent:m}},uh=t=>{const{isSpecialUser:e}=at(t),{chatTarget:n}=j(),{getEmitter:r}=Ee(),{copyText:o,toastCopySuccess:i}=mi(),{autoTranslateContent:s,autoTranslating:c}=lh(t),a=p.computed(()=>s.value?s.value:p.unref(t).content),l=p.computed(()=>{const _=a.value;return n.message.parseSpeakContent(_,{parseLink:p.unref(e),parseEmotion:!0,parseLineBreak:!0})}),u=p.computed(()=>p.unref(t).isOverLength||a.value.length>=500);function f(){return P(this,null,function*(){return p.unref(t).isOverLength?n.message.getFullMessage(p.unref(t)):a.value})}function h(){return P(this,null,function*(){const _=yield f();yield o(_),i()})}function d(){return P(this,null,function*(){const m={fullContent:yield f(),chatMsg:t.value};r().emit(ne.OpenCompleteMsgPopup,m)})}return{speakContent:a,speakHtmlContent:l,isOverLength:u,autoTranslating:c,getFullSpeakContent:f,copyMsg:h,showCompleteMsg:d}},T1=()=>{const{chatMsg:t}=xe(),e=p.computed(()=>p.unref(t).quote);return{chatMsg:t,msgQuote:e}},ph=p.defineComponent({__name:"speak-simple-msg",setup(t){const{chatMsg:e}=T1(),{chatTarget:n}=j();function r(o){return n.message.parseSpeakContent(o,{parseEmotion:!0})}return{__sfc:!0,chatMsg:e,chatTarget:n,parseContent:r}}});var fh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("span",{staticClass:"plv-simple-msg-item__speak",domProps:{innerHTML:e._s(r.parseContent(r.chatMsg.content))}})},dh=[],mh=q(ph,fh,dh);const L1=mh.exports;function Di(t,e){return{renderComponent:p.computed(()=>{var o;const r=(o=t.value)==null?void 0:o.msgSource;if(e&&r)return e[r]})}}const gh=p.defineComponent({__name:"simple-msg-item",props:ie(O({},w1()),{showAvatar:k.bool.def(!1),type:k.oneOf(["quote","top"]).isRequired}),setup(t){const e=t,{ChatMsgSource:n}=j(),{messageConfig:r}=ae(),{chatMsg:o}=y1({props:e}),{msgUserAvatar:i,msgUserNick:s}=at(o),{renderComponent:c}=Di(o,{[n.Speak]:L1,[n.Image]:rh,[n.Emotion]:Gg,[n.File]:Jg,[n.Redpaper]:ch,[n.CustomServer]:Hg}),{renderComponent:a}=Di(o,{[n.Speak]:L1});return{__sfc:!0,ChatMsgSource:n,messageConfig:r,props:e,chatMsg:o,msgUserAvatar:i,msgUserNick:s,quoteRenderComponent:c,topRenderComponent:a,fitProtocol:Si}}});var hh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-simple-msg-item"},[e.showAvatar&&r.messageConfig.showUserAvatar&&r.msgUserAvatar?n("div",{staticClass:"plv-simple-msg-item__avatar",style:{backgroundImage:`url(${r.fitProtocol(r.msgUserAvatar)})`}}):e._e(),r.msgUserNick?n("span",{staticClass:"plv-simple-msg-item__nick"},[e._v(e._s(r.msgUserNick)+":")]):e._e(),n("span",{staticClass:"plv-simple-msg-item__main"},[e.type==="quote"&&r.quoteRenderComponent?[n(r.quoteRenderComponent,{tag:"component"})]:e._e(),e.type==="top"&&r.topRenderComponent?[n(r.topRenderComponent,{tag:"component"})]:e._e()],2)])},vh=[],_h=q(gh,hh,vh);const Hr=_h.exports;var wh=typeof global=="object"&&global&&global.Object===Object&&global,bh=typeof self=="object"&&self&&self.Object===Object&&self,P1=wh||bh||Function("return this")(),Ur=P1.Symbol,A1=Object.prototype,yh=A1.hasOwnProperty,xh=A1.toString,Yn=Ur?Ur.toStringTag:void 0;function Ch(t){var e=yh.call(t,Yn),n=t[Yn];try{t[Yn]=void 0;var r=!0}catch(i){}var o=xh.call(t);return r&&(e?t[Yn]=n:delete t[Yn]),o}var Qh=Object.prototype,kh=Qh.toString;function Eh(t){return kh.call(t)}var Sh="[object Null]",Ih="[object Undefined]",$1=Ur?Ur.toStringTag:void 0;function R1(t){return t==null?t===void 0?Ih:Sh:$1&&$1 in Object(t)?Ch(t):Eh(t)}function O1(t){return t!=null&&typeof t=="object"}var Th="[object Symbol]";function Lh(t){return typeof t=="symbol"||O1(t)&&R1(t)==Th}var Ph=Array.isArray,Ah=/\s/;function $h(t){for(var e=t.length;e--&&Ah.test(t.charAt(e)););return e}var Rh=/^\s+/;function Oh(t){return t&&t.slice(0,$h(t)+1).replace(Rh,"")}function jr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var D1=NaN,Dh=/^[-+]0x[0-9a-f]+$/i,zh=/^0b[01]+$/i,Fh=/^0o[0-7]+$/i,Bh=parseInt;function z1(t){if(typeof t=="number")return t;if(Lh(t))return D1;if(jr(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=jr(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Oh(t);var n=zh.test(t);return n||Fh.test(t)?Bh(t.slice(2),n?2:8):Dh.test(t)?D1:+t}var zi=function(){return P1.Date.now()},Mh="Expected a function",Nh=Math.max,Hh=Math.min;function F1(t,e,n){var r,o,i,s,c,a,l=0,u=!1,f=!1,h=!0;if(typeof t!="function")throw new TypeError(Mh);e=z1(e)||0,jr(n)&&(u=!!n.leading,f="maxWait"in n,i=f?Nh(z1(n.maxWait)||0,e):i,h="trailing"in n?!!n.trailing:h);function d(C){var E=r,Q=o;return r=o=void 0,l=C,s=t.apply(Q,E),s}function _(C){return l=C,c=setTimeout(g,e),u?d(C):s}function m(C){var E=C-a,Q=C-l,S=e-E;return f?Hh(S,i-Q):S}function w(C){var E=C-a,Q=C-l;return a===void 0||E>=e||E<0||f&&Q>=i}function g(){var C=zi();if(w(C))return v(C);c=setTimeout(g,m(C))}function v(C){return c=void 0,h&&r?d(C):(r=o=void 0,s)}function b(){c!==void 0&&clearTimeout(c),l=0,r=a=o=c=void 0}function y(){return c===void 0?s:v(zi())}function x(){var C=zi(),E=w(C);if(r=arguments,o=this,a=C,E){if(c===void 0)return _(a);if(f)return clearTimeout(c),c=setTimeout(g,e),d(a)}return c===void 0&&(c=setTimeout(g,e)),s}return x.cancel=b,x.flush=y,x}var Uh="[object String]";function Fi(t){return typeof t=="string"||!Ph(t)&&O1(t)&&R1(t)==Uh}var jh="Expected a function";function B1(t,e,n){var r=!0,o=!0;if(typeof t!="function")throw new TypeError(jh);return jr(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),F1(t,e,{leading:r,maxWait:e,trailing:o})}const qh=(t,e={})=>{const{msgControl:n}=e,{chatTarget:r}=j(),{messageConfig:o}=ae(),{isSelfMsg:i}=at(t),s=p.computed(()=>{let f=p.unref(t).content;return f=r.message.parseSpeakContent(f,{removeEmotion:!0}),f}),c=p.computed(()=>{if(!o.value.translateEnabled||p.unref(i)||p.unref(t).isOverLength)return!1;const f=p.unref(s);return/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi.test(f)||f.search(/[a-zA-Z]+/)>=0}),a=p.ref(),l=p.ref(!1);function u(){return P(this,null,function*(){if(l.value||!c.value||Fi(a.value))return;const f=p.unref(s);l.value=!0;try{const h=yield r.utils.translateText(f);a.value=h,l.value=!1}catch(h){l.value=!1}})}if(n){const{$t:f}=W();n.addControlItem({controlType:"translate",sort:()=>Ze.translate,hidden:()=>!c.value,icon:()=>f1,text:()=>f("chat.translate"),clickCallback:u})}return{translatedContent:a,canTranslate:c,isTranslating:l,translateCurrentMsg:u}},Wh=p.defineComponent({__name:"speak-msg",setup(t){const{$t:e}=W(),{getSpecialColor:n}=Ba(),r=Zn(),{chatMsg:o,msgQuote:i}=T1(),{messageConfig:s}=ae(),{speakHtmlContent:c,isOverLength:a,copyMsg:l,showCompleteMsg:u,autoTranslating:f}=uh(o),{translatedContent:h}=qh(o,{msgControl:r});return r.addControlItem({controlType:"copy",sort:()=>Ze.copy,hidden:()=>!s.value.copySpeakEnabled,icon:()=>Fd,text:()=>e("chat.copy"),clickCallback:l}),{__sfc:!0,$t:e,getSpecialColor:n,msgControl:r,chatMsg:o,msgQuote:i,messageConfig:s,speakHtmlContent:c,isOverLength:a,copyMsg:l,showCompleteMsg:u,autoTranslating:f,translatedContent:h,PwcLoading:Qr,ChatIconTranslate:Xd,MsgContainer:Ye,SimpleMsgItem:Hr}}});var Gh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__speak",class:{"plv-msg-item__speak--over-style":r.isOverLength},attrs:{"content-inner-class":"plv-msg-item__speak__content__inner","response-layout":""},scopedSlots:e._u([{key:"msg-header",fn:function(){return[r.msgQuote?n("div",{staticClass:"plv-msg-item__speak__quote"},[n(r.SimpleMsgItem,{staticClass:"plv-msg-item__speak__quote__content",style:{"--special-color":r.getSpecialColor()},attrs:{"chat-msg":r.msgQuote,type:"quote"}})],1):e._e()]},proxy:!0},{key:"msg-footer",fn:function(){return[r.translatedContent?n("div",{staticClass:"plv-msg-item__speak__bottom plv-msg-item__speak__bottom--translate"},[n(r.ChatIconTranslate,{staticClass:"plv-msg-item__speak__bottom__icon"}),n("span",[e._v(e._s(r.translatedContent))])],1):e._e(),r.isOverLength?n("div",{staticClass:"plv-msg-item__speak__bottom plv-msg-item__speak__bottom--overlength"},[n("span",{staticClass:"plv-msg-item__speak__bottom__item",on:{click:function(o){return o.stopPropagation(),r.copyMsg.apply(null,arguments)}}},[e._v(" "+e._s(r.$t("chat.copy"))+" ")]),n("span",{staticClass:"plv-msg-item__speak__bottom__item",on:{click:function(o){return o.stopPropagation(),r.showCompleteMsg.apply(null,arguments)}}},[e._v(" "+e._s(r.$t("chat.more"))+" ")])]):e._e()]},proxy:!0},{key:"bubble-control",fn:function(){return[n("div",{staticClass:"plv-msg-item__speak__control"},[r.autoTranslating?n(r.PwcLoading,{attrs:{type:"circle",size:12}}):e._e()],1)]},proxy:!0}])},[n("span",{staticClass:"plv-msg-item__speak__content",domProps:{innerHTML:e._s(r.speakHtmlContent)}})])},Zh=[],Yh=q(Wh,Gh,Zh);const Kh=Yh.exports,Xh=()=>{const{chatMsg:t}=xe();return{chatMsg:t}},Jh=p.defineComponent({__name:"system-msg",setup(t){const{chatMsg:e}=Xh(),{$t:n}=W(),{SystemMsgType:r}=j();return{__sfc:!0,chatMsg:e,$t:n,SystemMsgType:r,MsgContainer:Ye}}});var Vh=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MsgContainer,{staticClass:"plv-msg-item__system",attrs:{"hide-user-info":""}},[r.chatMsg.type===r.SystemMsgType.ChatRoomIntroduction?n("span",{staticClass:"plv-msg-item__system-prefix"},[n("span",[e._v(e._s(r.$t("chat.notice")))])]):n("span",{staticClass:"plv-msg-item__system-prefix"},[n("span",[e._v(e._s(r.$t("chat.systemMsg")))])]),n("span",{class:{"plv-msg-item__system__text":!0,"plv-msg-item__system__text--type":r.chatMsg.type}},[e._v(e._s(r.chatMsg.content))])])},ev=[],tv=q(Jh,Vh,ev);const nv=tv.exports;function M1(){const{ChatMsgSource:t,getUserLabelIds:e}=j(),{messageConfig:n}=ae(),r={[t.Redpaper]:i=>{const s=e(),c=i.userLabels;return!!(c!=null&&c.length&&!c.some(l=>s.includes(l)))}};function o(i){const s=i.msgSource;if(n.value.hideSources.includes(s))return!0;if(r&&r[s]){const c=r[s];if(c(i)===!0)return!0}if(n.value.hideMessage[s]){const c=n.value.hideMessage[s];if(c(i)===!0)return!0}return!1}return{messageIsHide:o}}const rv=p.defineComponent({__name:"msg-item",props:w1(),setup(t){const e=t,{messageConfig:n}=ae(),{ChatMsgSource:r}=j(),{chatMsg:o,msgTimeText:i,msgItemStyle:s,msgAlignRight:c}=y1({props:e}),{renderComponent:a}=Di(o,{[r.Speak]:Kh,[r.Image]:pg,[r.Emotion]:tg,[r.File]:sg,[r.System]:nv,[r.Redpaper]:Qg,[r.RedpaperReceive]:Lg,[r.Reward]:zg,[r.MotivationLike]:_g,[r.Effect]:Km,[r.CustomServer]:jm,[r.CustomClient]:Bm}),{messageIsHide:l}=M1(),u=p.computed(()=>!l(o.value)),f=p.ref();return wm({contentRef:f,chatMsg:o}),{__sfc:!0,props:e,messageConfig:n,ChatMsgSource:r,chatMsg:o,msgTimeText:i,msgItemStyle:s,msgAlignRight:c,renderComponent:a,messageIsHide:l,msgVisible:u,contentRef:f}}});var ov=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.msgVisible,expression:"msgVisible"}],staticClass:"plv-msg-item",class:{"is-msg-hide":!r.msgVisible,"is-msg-align-right":r.msgAlignRight}},[e.showMsgTime?n("div",{staticClass:"plv-msg-item__time",style:r.msgItemStyle},[e._v(" "+e._s(r.msgTimeText)+" ")]):e._e(),n("div",{ref:"contentRef",staticClass:"plv-msg-item__content",class:{"is-hover-highlight":r.messageConfig.hoverHighlight},style:r.msgItemStyle},[r.renderComponent?n(r.renderComponent,{tag:"component"}):e._e()],1)])},iv=[],sv=q(rv,ov,iv);const av=sv.exports,cv=t=>{const{historyData:e}=t,{messageConfig:n}=ae(),{$t:r}=W(),{createVueInstance:o,getVueInstanceElem:i}=qe(),s=f=>{const h=[];return f.forEach((d,_)=>{let m=f[_-1],w=!1;if(n.value.showMessageTime){const y=e.getHistoryData();let x=-1;m||(x=e.findHistoryIndex(d.id),x!==-1&&(m=y[x-1])),w=m&&d.time-m.time>xd}const v=o(av,{props:{chatMsg:d,showMsgTime:w}}),b=i(v);b.__vueVm=v,h.push(b)}),h},c=f=>{const h=e.getHistoryData();if(f===ee.Head&&h.length>=ct){const d=document.createElement("div");return d.className="plv-chat-message-list__tips",d.textContent=r("chat.noMore"),d}};let a;return n.value.showEmptyTips&&(a=()=>{const f=document.createElement("div");return f.className="plv-chat-message-list__tips",f.textContent=r("chat.empty"),f}),{renderItems:s,renderLoading:()=>{const f=document.createElement("div");return f.className="plv-chat-message-list__loading",f},renderError:()=>{const f=document.createElement("div");return f.className="plv-chat-message-list__tips",f.textContent=r("chat.loadError"),f},renderBoundary:c,renderEmpty:a}},lv=t=>{let r=[];function o(){return r}function i(){r=[]}function s(d){r=d}function c(d,_){r[d]=_}function a(d){return r.findIndex(_=>_.id===d)}function l(d){const _=r,m=_.findIndex(w=>w.id===d);return _[m]}function u(d){const _=a(d);_!==-1&&r.splice(_,1)}function f(d,_){_==="header"?r=d.concat(r):r=r.concat(d)}function h(){const d=o().length;if(d<=300)return;const m=t.getVirtualListResult().getVirtualList();let w=d-200,g=d;const v=m.items.first(),b=m.items.last();if(v&&b){const C=a(v.id),E=a(b.id);let S=200-(E-C+1);S=S<0?0:S,w=C-Math.round(S/2),g=E+Math.round(S/2)+1}w=w<0?0:w,g=g>d?d:g;const x=o().slice(w,g);s(x)}return{getHistoryData:o,clearHistoryData:i,resetHistoryData:s,setHistoryData:c,findHistoryIndex:a,findHistoryById:l,removeHistoryData:u,concatHistoryData:f,contractHistoryData:h}},uv=()=>{const t=p.ref(!1);function e(){t.value=!0}function n(){t.value=!1}return{moreMsgVisible:t,showMoreMsg:e,hideMoreMsg:n}};function pv(t){return"isLocal"in t?!!t.isLocal:!1}const fv=()=>{const{plvSocket:t,getUserId:e}=j();function n(r){const o=n1(r),i=o==null?void 0:o.userType;return i?!!(o.userId===e()||t.isSpecialUserType(i)):!1}return{filterOnlySpecialMsg:n}},N1=t=>{function e(n){const o=t.getVirtualListResult().getVirtualList(),i=o.items.length,s=[];for(let a=0;a<i;a++){const l=o.items.get(a);l&&s.push(l)}const c=[];for(let a=0;a<n.length;a++){const l=n[a],u=c.indexOf(l),f=s.findIndex(h=>h.id===l.id);u!==-1||f!==-1||c.push(l)}return c}return{filterRepeatMsg:e}},dv=()=>{let n=[];function r(){return n}function o(){n=[]}function i(a){n.push(a)}function s(a){n=a}function c(){const a=r().length;if(a<=300)return;const l=a-200,u=a,h=r().slice(l,u);s(h)}return{getMsgQueue:r,clearMsgQueue:o,pushMsgQueue:i,resetMsgQueue:s,contractMsgQueue:c}},mv=t=>{const{msgQueue:e,historyData:n,moreMsgBtn:r}=t,{chatTarget:o,PolyvChatEvent:i}=j(),{filterRepeatMsg:s}=N1(t),{filterOnlySpecialMsg:c}=fv(),{messageIsHide:a}=M1(),{isOnlySpecialMsg:l}=qn(),u=Mr();function f(b=!1){const y=e.getMsgQueue(),x=y.length;let C=p.unref(ct);b?C=x:x/2>C&&(C=Math.round(x/2));const E=y.splice(0,C);return E.length&&n.concatHistoryData(E,"tail"),E}function h(b){const x=t.getVirtualListResult().getVirtualList();if(!x.reachedBoundary(ee.Foot)){e.clearMsgQueue(),g(),r.showMoreMsg();return}if(e.pushMsgQueue(b),e.contractMsgQueue(),pv(b)){let E=f(!0);n.contractHistoryData(),E=s(E),x.addBoundaryItems(E,ee.Foot,!0)}g()}function d(b){u.processMsgBanned(b);const x=t.getVirtualListResult().getVirtualList();x.addBoundaryItems(b,ee.Foot,!0),x.scrollToFoot(),r.hideMoreMsg()}const{startInterval:_,closeInterval:m,hasInterval:w}=kr(()=>{const b=t.getVirtualListResult();if(!b.getVirtualList().reachedBoundary(ee.Foot)){e.clearMsgQueue(),g(),r.showMoreMsg();return}if(!b.isScrollBottom()){r.showMoreMsg();return}const C=e.getMsgQueue(),E=C.length;let Q=C.splice(0,E);Q=s(Q);const S=Q.length;n.concatHistoryData(Q,"tail"),S>0&&d(Q),n.contractHistoryData(),g()},300);function g(){if(e.getMsgQueue().length===0){m();return}w()||_()}function v(b){const y=b.chatMsg;l.value&&!c(y)||a(y)||h(y)}$e(o.eventEmitter,{[i.ChatMessage]:b=>{v(b)}}),he(ne.JoinMsgQueue,v)},gv={workWechatMyCustomerHistory:!1},hv=()=>{const t=tt();return{historyConfig:p.computed(()=>{let n={};return t.getHistoryConfig&&(n=t.getHistoryConfig()),O(O({},gv),n)})}},vv=t=>{const{moreMsgBtn:e,historyData:n,msgQueue:r}=t,{chatTarget:o,ChatRequestHistoryMode:i}=j(),{messageConfig:s}=ae(),{manageConfig:c}=me(),{historyConfig:a}=hv(),{getEmitter:l}=Ee(),{isOnlySpecialMsg:u}=qn(),f=Mr(),{filterRepeatMsg:h}=N1(t);function d(){return P(this,arguments,function*(v={}){const{mode:b=i.Prev}=v;let y=[];return a.value.workWechatMyCustomerHistory?y=yield o.history.getChatHistoryByWorkWechatTagId({timestamp:v.timestamp,size:ct,mode:b}):y=yield o.history.getChatHistoryByTime({timestamp:v.timestamp,size:ct,count:v.count,mode:b,exclude:s.value.hideSources,getBanStatus:c.value.banUserEnabled,onlySpecialMsg:u.value}),f.processMsgBanned(y),y})}function _(v,b,y){const x=n.getHistoryData();let C=1;const E=b,Q=()=>{const I=y===i.Prev?x[E-1]:x[E+1];return I&&v.time===I.time};let S=Q();for(;S;)C+=1,S=Q();return C}return{loadInitialData:()=>P(this,null,function*(){n.clearHistoryData();const v=yield d();return n.resetHistoryData(v),r.clearMsgQueue(),e==null||e.hideMoreMsg(),l().emit(ne.LoadInitialData),{data:v,reachedFootBoundary:!0,reachedHeadBoundary:v.length<ct}}),loadNextData:v=>P(this,null,function*(){if(!Fi(v))throw new Error("loadNextData fail, ref is not string");const b=n.getHistoryData(),y=b.length;if(y===0)return[];const x=v;let C=[],E=n.findHistoryIndex(x);const Q=n.findHistoryById(x);if(E===-1)return[];let S=E+1;S>y-1&&(S=y-1);let I=!1,T=E+ct+1;if(T>y-1&&(T=y-1,I=!0),I&&Q){const L=b[y-1],A=_(L,y-1,i.Next),$=yield d({timestamp:L.time,count:A+1,mode:i.Next});n.concatHistoryData($,"tail"),E=n.findHistoryIndex(x)}return S=E+1,T=E+ct+1,C=n.getHistoryData().slice(S,T),C.length===0&&(e==null||e.hideMoreMsg()),setTimeout(()=>{n.contractHistoryData()},50),C=h(C),r.resetMsgQueue([]),C}),loadPreviousData:v=>P(this,null,function*(){if(!Fi(v))throw new Error("loadPreviousData fail, ref is not string");const b=v;let y=[],x=n.findHistoryIndex(b);const C=n.findHistoryById(b);if(C&&x<ct){const S=_(C,x,i.Prev),I=yield d({timestamp:C.time,count:S,mode:i.Prev});n.concatHistoryData(I,"header"),x=n.findHistoryIndex(b)}const E=x-ct<0?0:x-ct,Q=x;return y=n.getHistoryData().slice(E,Q),setTimeout(()=>{n.contractHistoryData()},50),y=h(y),y})}},_v=Object.prototype.hasOwnProperty;function wv(t,e){return _v.call(t,e)}function Bi(t,...e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(let n=0;n<e.length;n++){const r=e[n];if(r!=null)for(const o in r)o!=="__proto__"&&wv(r,o)&&(t[o]=r[o])}return t}function bv(t){let e;try{e=Array.prototype.slice.call(t)}catch(n){e=[];let r=t.length;for(;r;)e[--r]=t[r]}return e}function qr(t,e){if(e==null)return t;const n=e.length;let r=t.length,o=0;for(;o<n;)t[r++]=e[o++];return t.length=r,t}function yv(t){return{all:t=t||new Map,on:function(e,n){var r=t.get(e);r?r.push(n):t.set(e,[n])},off:function(e,n){var r=t.get(e);r&&(n?r.splice(r.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var r=t.get(e);r&&r.slice().map(function(o){o(n)}),(r=t.get("*"))&&r.slice().map(function(o){o(e,n)})}}}class xv{constructor(){this._eventEmitter=yv()}on(e,n){this._eventEmitter.on(e,n)}off(e,n){this._eventEmitter.off(e,n)}}function H1(t){let e;try{e=Array.prototype.slice.call(t)}catch(n){e=[];let r=t.length;for(;r;)e[--r]=t[r]}return e}function Wr(t,e){if(e==null)return t;const n=e.length;let r=t.length,o=0;for(;o<n;)t[r++]=e[o++];return t.length=r,t}function Mi(t){return t!=null&&t!==t.window&&typeof t!="function"&&typeof t.length=="number"&&t.length%1==0&&t.length>-1}const Cv="just4__query__context";function Gr(t,e=document){let n;if(e.nodeType===9||!(n=e.parentElement))return e.querySelectorAll(t);const r=e;let o=r.getAttribute("id"),i=0;o||(i=o==null?1:2,o=Cv,r.setAttribute("id",o));const s="#"+o+" ";t=s+t.replace(/\s*,\s*/g,function(c){return c+s});try{return n.querySelectorAll(t)}finally{switch(i){case 1:r.removeAttribute("id");break;case 2:r.setAttribute("id","")}}}const Kn=document.documentElement,Qv=Kn.matches||Kn.webkitMatchesSelector||Kn.mozMatchesSelector||Kn.oMatchesSelector||Kn.msMatchesSelector;function Ni(t,e){try{return Qv.call(t,e)}catch(n){return!1}}const kv=Object.prototype.hasOwnProperty;function Zr(t,e){return kv.call(t,e)}function Ev(t){if(t!=null){if(Array.isArray(t))return!t.length;for(const e in t)if(Zr(t,e))return!1}return!0}function Ct(t){return t!=null&&t==t.window}function Ce(t){return t!=null&&!Ct(t)&&typeof t.nodeType=="number"}function U1(t){return Ce(t)&&t.nodeType===9}function Hi(t){return t!=null&&!Ct(t)&&t.nodeType===1&&"style"in t}function Mt(t){let e;return e=typeof t=="string"?t.split(/\s+/):t||[],e}function we(t,e){if(Mi(t)){const n=t,r=n.length;for(let o=0;o<r;o++)we(n[o],e)}else if(Hi(t))return e(t)}function Nt(t,e,n,r=!1,o){if(e!=null&&typeof e=="object"){for(const s in e)Zr(e,s)&&Nt(t,s,e[s],r,o);return t}const i=t.length;if(n!==void 0){r=r&&typeof n=="function";let s=-1;for(;++s<i;)o.set.call(t,t[s],e,r?n.call(t[s],t[s],o.get.call(t,t[s],e),s):n);return t}return i?o.get.call(t,t[0],e):null}let Ui=!1;function Sv(t,e){if(t===e)return Ui=!0,0;let n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=t.compareDocumentPosition(e),1&n?1&t.compareDocumentPosition(document)?1:1&e.compareDocumentPosition(document)?-1:0:4&n||16&n?-1:1)}function pn(t){if(t.length<=1)return t;if(Ui=!1,t.sort(Sv),Ui){let e,n=0,r=0;const o=[];for(;e=t[n++];)e===t[n]&&(r=o.push(n));for(;r--;)t.splice(o[r],1)}return t}const Yr=Object.create(null);Yr.for="htmlFor",Yr.class="className",["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable","isMap"].forEach(function(t){Yr[t.toLowerCase()]=t});const ji=Object.create(null);function j1(t){return Yr[t]||t}["checked","selected","async","autofocus","autoplay","controls","defer","disabled","hidden","ismap","loop","multiple","open","readonly","required","scoped"].forEach(function(t){ji[t]=!0});function q1(t,e){return t[j1(e)]}function W1(t,e,n){t[j1(e)]=n}function Iv(t,e){return we(t,function(n){e=e.toLowerCase();let r=n.getAttribute(e);return r!=null&&ji[e]&&(r=q1(n,e)?e:""),r})}function Tv(t,e){const n=Mt(e);n.length&&we(t,function(r){n.forEach(function(o){r.removeAttribute(o.toLowerCase())})})}function Lv(t,e,n){we(t,function(r){if(e=e.toLowerCase(),ji[e]){if(!(n=n===!0||n==="true"||e===n))return void r.removeAttribute(e.toLowerCase());W1(r,e,n),n=e}r.setAttribute(e,n.toString())})}const Pv={OBJECT:!0,EMBED:!0,APPLET:!0};function G1(t){if(t==null)return 0;if(Ce(t)){const e=t;return Pv[e.nodeName]||e.nodeType===9?2:e.nodeType!==1?0:1}return 2}const Ht="_just4_nodeid_"+ +new Date+"_";let Z1=0;const Y1=Object.create(null),fn=Object.create(null);function Kr(t,e=!1){let n,r;switch(G1(t)){case 1:r=t[Ht],r?n=r.valueOf():e||(r=t[Ht]=new Number(++Z1),Y1[n=r.valueOf()]=function(){t[Ht]});break;case 2:for(const o in fn)if(fn[o]===t){n=Number(o);break}n||e||(n=++Z1,fn[n]=t)}return n}function Av(t){if(t[Ht]){delete Y1[t[Ht]];try{delete t[Ht]}catch(e){t[Ht]=null}}}function $v(t){switch(G1(t)){case 1:Av(t);break;case 2:for(const e in fn)if(fn[e]===t){delete fn[e];break}}}class Rv{constructor(e={}){this._space=Object.create(null),this._cloneable=e.cloneable!==!1,this._onClone=e.onClone}findSpace(e){const n=Kr(e,!0);if(n)return this._space[n]}keys(e){const n=this.findSpace(e);return n?Object.keys(n):[]}getData(e,n){const r=this.findSpace(e);if(r&&n in r)return r[n]}setData(e,n,r){const o=Kr(e);o&&(this._space[o]||(this._space[o]=Object.create(null)),this._space[o][n]=r)}clearData(e){const n=Kr(e,!0);n&&delete this._space[n]}removeData(e,n){const r=this.findSpace(e);r&&(delete r[n],Ev(r)&&this.clearData(e))}cloneData(e,n){if(!this._cloneable)return;const r=this.findSpace(n);if(r){const o=Kr(e);if(!o)return;const i=this._space[o]=this._space[o]||Object.create(null);for(const s in r)i[s]=r[s];this._onClone&&this._onClone(e,n)}}}const qi=function(){const t=[];return{add:function(e){return t.push(e)-1},clear:function(e){for(let n=t.length-1;n>=0;n--)t[n].clearData(e)},clone:function(e,n){for(let r=t.length-1;r>=0;r--)t[r].cloneData(e,n)}}}();function K1(t){const e=new Rv(t);return qi.add(e),e}function Wi(t){qi.clear(t),$v(t)}function X1(t,e){qi.clone(t,e)}const Xr=K1();function Ov(t,e){return Xr.getData(t,e)}function Dv(t,e,n){Xr.setData(t,e,n)}function zv(t,e){Mt(e).forEach(function(n){for(let r=0;r<t.length;r++)Xr.removeData(t[r],n)})}function Fv(t){for(let e=0;e<t.length;e++)Xr.clearData(t[e])}const Jr=Object.create(null);Jr.float="cssFloat";const J1=document.documentElement,V1=["O","Moz","ms","Webkit"];function Bv(t){if(t in J1.style)return t;const e=t.charAt(0).toUpperCase()+t.slice(1);let n;for(let r=V1.length-1;r>=0;r--)if(n=V1[r]+e,n in J1.style)return n;return t}const Mv=/-([a-z])/g;function el(t){const e=t.replace(Mv,function(n,r){return r.toUpperCase()});return Jr[e]||(Jr[e]=Bv(e)),Jr[e]}const Nv={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0};function Hv(t,e){return Zr(Nv,t)||e===""||isNaN(Number(e))?e.toString():e+"px"}function tl(t,e){var n;let r="";const o=(n=t.ownerDocument)===null||n===void 0?void 0:n.defaultView;return o&&(r=o.getComputedStyle(t,null)[e]),r==null?"":String(r)}function Gi(t,e){return we(t,function(n){if((e=el(e))in n.style)return tl(n,e)})}function Uv(t,e,n){we(t,function(r){e=el(e),n=Hv(e,n),e in r.style&&(r.style[e]=n)})}function jv(t){t.style.display==="none"&&(t.style.display=""),tl(t,"display")==="none"&&(t.style.display="block")}function qv(t){we(t,jv)}function Wv(t){t.style.display="none"}function Gv(t){we(t,Wv)}function Zi(t,e){e=e.trim(),t.className!==e&&(t.className=e)}function Zv(t,e){return we(t,function(n){return(" "+n.className+" ").indexOf(" "+e+" ")!==-1})||!1}function Yv(t,e){const n=Mt(e),r=n.length;r&&we(t,function(o){let i=" "+o.className+" ",s=-1;for(;++s<r;)i.indexOf(" "+n[s]+" ")===-1&&(i+=n[s]+" ");Zi(o,i)})}function Kv(t,e){let n,r;const o=e==null;(o||(n=Mt(e),r=n.length,r))&&we(t,function(i){const s=i.className;if(s)if(o)i.className="";else{let c=" "+s+" ",a=-1;for(;++a<r;)c=c.replace(" "+n[a]+" "," ");Zi(i,c)}})}function Xv(t,e){const n=Mt(e),r=n.length;r&&we(t,function(o){let i,s=" "+o.className+" ",c=-1;for(;++c<r;)i=" "+n[c]+" ",s.indexOf(i)===-1?s+=n[c]+" ":s=s.replace(i," ");Zi(o,s)})}function Yi(t,e,n,r){return e+(n?1:-1)*(parseFloat(Gi(t,r))||0)}function dn(t,e,n=!1,r=!1,o=!1){if(t==null)return 0;if(Ct(t))return t.document.documentElement["client"+e];if(U1(t))return t.documentElement["scroll"+e];if(!t.ownerDocument||t.nodeType!==1)return 0;let i=t["offset"+e];return(e==="Width"?["Left","Right"]:["Top","Bottom"]).forEach(function(s){n||(i=Yi(t,i,!1,"padding"+s)),r||Gi(t,"border"+s+"Style")==="none"||(i=Yi(t,i,!1,"border"+s+"Width")),o&&(i=Yi(t,i,!0,"margin"+s))}),i}const Ki=Object.create(null);Ki.scrollTop="pageYOffset",Ki.scrollLeft="pageXOffset";function mn(t,e){let n=0;const r=e;return Ct(t)?n=t[Ki[r]]:Hi(t)&&(n=t[r]),n}function nl(t,e,n){const r=e;if(Ct(t))switch(r){case"scrollTop":window.scrollTo(mn(t,"scrollLeft"),n);break;case"scrollLeft":window.scrollTo(n,mn(t,"scrollTop"))}else Hi(t)&&(t[r]=n)}function Jv(t){return we(t,function(e){const n=e.ownerDocument,r=n.documentElement;if(e!==r&&r.contains(e)){const o=n.defaultView,i=e.getBoundingClientRect();return{top:i.top+mn(o,"scrollTop"),left:i.left+mn(o,"scrollLeft")}}})||{top:0,left:0}}function Vr(t){if(!t)return[];const e=t;return e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11?[e]:Wr([e],e.querySelectorAll("*"))}function Xi(t,e){return e?t.filter(function(n){return Ni(n,e)}):t}function rl(t,e,n){return t.length?(pn(t),e!=="parentNode"&&e!=="previousElementSibling"||t.reverse(),Xi(t,n)):t}function Ji(t,e,n,r){let o;typeof n=="string"?o=function(s){return Ni(s,n)}:Ce(n)?o=function(s){return s===n}:Array.isArray(n)&&(o=function(s){return n.indexOf(s)!==-1});const i=[];return we(t,function(s){for(;(s=s[e])&&(!o||!o(s));)i.push(s)}),rl(i,e,r)}function gn(t,e,n,r){const o=[];return we(t,function(i){for(;(i=i[e])&&(o.push(i),!r););}),rl(o,e,n)}function Vv(t,e){const n=[];return we(t,function(r){let o=r.firstElementChild;for(;o;)n.push(o),o=o.nextElementSibling}),pn(n),Xi(n,e)}function e_(t,e){const n=[];return we(t,function(r){let o=r;for(;o=o.previousElementSibling;)n.push(o);for(o=r;o=o.nextElementSibling;)n.push(o)}),Xi(pn(n),e)}function t_(t){const e=we(t,function(n){const r=n.parentElement;if(r){let o=r.lastElementChild,i=r.childElementCount-1;for(;o&&o!==n;)i--,o=o.previousElementSibling;return i}});return e==null?-1:e}function ol(t,e){let n=(e=e||document).createElement("div");n.innerHTML=t.trim();const r=[];for(;n.firstChild;)r.push(n.removeChild(n.firstChild));return n=null,r}function Vi(t,e=!1,n=!1){const r=t.cloneNode(!0);if(n){const o=Vr(t);if(o){const i=Vr(r);for(let s=o.length-1;s>=0;s--)X1(i[s],o[s])}}else e&&X1(r,t);return r}function il(t,e=document){const n=t.length;if(n){const r=e.createDocumentFragment();let o=-1;for(;++o<n;)Ce(t[o])&&r.appendChild(t[o]);return r}}function n_(t,e=document){if(!t||Ce(t))return t;const n=typeof t=="string"?ol(t,e):t;return n.length!==1?il(n,e):Ce(n[0])?n[0]:void 0}function Xn(t,e,n,r){const o=e.length;if(!o)return;const i=n_(t);if(i){let s=-1;for(;++s<o;)!Ce(e[s])||r&&r(e[s])===!1||n(s===o-1?i:Vi(i,!0,!0),e[s])}}function r_(t){return typeof t=="string"?Gr(t):Ce(t)?[t]:H1(t)}function Jn(t,e,n,r){const o=[];if(t==null||Ct(t))return o;const i=r_(t),s=i.length;if(!s)return o;const c=il(e);if(c){let a,l=-1;for(;++l<s;)!Ce(i[l])||r&&r(i[l])===!1||(a=l===s-1?c:Vi(c,!0,!0),Wr(o,a.childNodes),n(a,i[l]))}return pn(o)}function hn(t){return t.parentNode!=null}function eo(t){return t.nodeType===1||t.nodeType===11}function sl(t,e){e.appendChild(t)}function al(t,e){const n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}function cl(t,e){e.parentNode&&e.parentNode.insertBefore(t,e)}function ll(t,e){if(!e.parentNode)return;const n=e.nextSibling;n?e.parentNode.insertBefore(t,n):e.parentNode.appendChild(t)}function ul(t,e){Wi(e),e.parentNode&&e.parentNode.replaceChild(t,e)}function o_(t){let e;for(let n=0;n<t.length;n++){if(!Ce(t[n]))continue;e=t[n];const r=Vr(e);if(r){for(let o=r.length-1;o>=0;o--)Wi(r[o]);e.parentNode&&e.parentNode.removeChild(e)}}}function i_(t){let e;for(let n=0;n<t.length;n++){if(!Ce(t[n]))continue;e=t[n];const r=Vr(e);if(r){for(let o=r.length-1;o>=1;o--)Wi(r[o]);for(;e.firstChild;)e.removeChild(e.firstChild)}}}const s_=/^(?:mouse|contextmenu)|click/,a_=/^touch/,c_=/^pointer/;class l_{constructor(e,n){if(this.originalEvent=e,this.type=e.type,this.timeStamp=e.timeStamp,this.target=e.target,this.currentTarget=e.currentTarget||n,s_.test(this.type)||c_.test(this.type)){const r=e;this.clientX=r.clientX,this.clientY=r.clientY,this.pageX=r.pageX,this.pageY=r.pageY}else if(a_.test(this.type)){const r=e.touches[0];r&&(this.clientX=r.clientX,this.clientY=r.clientY,this.pageX=r.pageX,this.pageY=r.pageY)}}preventDefault(){this.originalEvent.preventDefault()}stopPropagation(){this.originalEvent.stopPropagation()}isDefaultPrevented(){return this.originalEvent.defaultPrevented}isPropagationStopped(){return this.originalEvent.bubbles}}const es=function(){const t=["o","moz","ms","webkit"],e=Object.create(null),n=document.documentElement;return["TransitionEnd","AnimationStart","AnimationIteration","AnimationEnd","fullscreenchange","fullscreenerror"].forEach(function(r){const o=r.toLowerCase();"on"+o in n||t.some(function(i){if("on"+i+o in n)return e[o]=i+r,!0})}),function(r){return r!=null&&e[r]?e[r]:r}}(),ts=function(){const t=K1({onClone:function(n){this.keys(n).forEach(function(r){n.addEventListener(r,e,!1)})}});function e(n){const r=new l_(n,this),o=r.type,i=t.getData(r.currentTarget,o);i&&i.forEach(function(s){let c;const a=r.target;if(s.delegator&&Ce(a)){if(c=function(l,u){let f=l.target;for(;f&&f!==l.currentTarget;){if(Ni(f,u))return f;f=f.parentNode}}(r,s.delegator),!c)return}else c=r.currentTarget;s.handler.call(c,r)===!1&&r.preventDefault()})}return{add(n,r,o){let i=t.getData(n,r);i||(i=[],t.setData(n,r,i),n.addEventListener(r,e,!1)),i.push(o)},remove(n,r,o,i){if(r&&(o||i)){const s=t.getData(n,r);if(!s||(function(c,a,l){for(let u=c.length-1;u>=0;u--)l&&c[u].handler!==l||a&&a!==c[u].delegator||c.splice(u,1)}(s,o,i),s.length))return}if(r)return t.removeData(n,r),void n.removeEventListener(r,e,!1);t.keys(n).forEach(function(s){n.removeEventListener(s,e,!1)}),t.clearData(n)}}}();function to(t,e){if(Mi(t)){const n=t;for(let r=0;r<n.length;r++)to(n[r],e)}else t!=null&&typeof t.addEventListener=="function"&&e(t)}function u_(t,e,n,r){const o=Mt(e).map(es);o.length&&r&&to(t,function(i){o.forEach(function(s){ts.add(i,s,{handler:r,delegator:n})})})}function p_(t,e,n,r){const o=Mt(e).map(es);to(t,function(i){o.length?o.forEach(function(s){ts.remove(i,s,n,r)}):ts.remove(i)})}const pl={focus:t=>/^(?:input|select|textarea|button)$/i.test(t.nodeName),blur:t=>t.ownerDocument!=null&&t.ownerDocument.activeElement===t,reset:t=>t.nodeName==="FORM",submit:t=>t.nodeName==="FORM",click:()=>!0};function f_(t,e){e=es(e),to(t,function(n){if(Ce(n)&&typeof n[e]=="function"&&Zr(pl,e)&&pl[e](n))return void n[e]();let r=null;if(Ce(n)?r=n.ownerDocument:Ct(n)&&(r=n.document),r){const o=r.createEvent("Event");o.initEvent(e,!0,!0),n.dispatchEvent(o)}})}class ue{constructor(e){this.length=0;const n=e?e.length:-1;if(isNaN(n)||n<0)return;let r=-1;for(;++r<n;)this[r]=e[r];this.length=n}toArray(){return H1(this)}indexOf(e){return Array.prototype.indexOf.call(this,e)}forEach(e){return Array.prototype.forEach.call(this,e)}some(e){return Array.prototype.some.call(this,e)}every(e){return Array.prototype.every.call(this,e)}filter(e){return new ue(Array.prototype.filter.call(this,e))}get(e){return(e|=0)<0?this[this.length+e]:this[e]}eq(e){const n=this.get(e);return new ue(n?[n]:[])}first(){return this.eq(0)}last(){return this.eq(this.length-1)}add(e,n=document){return new ue(pn(Wr(this.toArray(),Mi(e)?e:Gr(e,n))))}each(e){for(let n=0;n<this.length&&e.call(this[n],n,this[n])!==!1;n++);return this}attr(e,n){return Nt(this,e,n,!0,{get:Iv,set:Lv})}removeAttr(e){return Tv(this,e),this}prop(e,n){return Nt(this,e,n,!0,{get:q1,set:W1})}data(e,n){return Nt(this,e,n,!0,{get:Ov,set:Dv})}removeData(e){return e!=null?zv(this,e):Fv(this),this}html(e){return this.prop("innerHTML",e)}text(e){return arguments.length?this.prop("textContent",e):this.prop("textContent")}val(e){return this.prop("value",e)}css(e,n){return Nt(this,e,n,!0,{get:Gi,set:Uv})}show(){return qv(this),this}hide(){return Gv(this),this}addClass(e){return Yv(this,e),this}removeClass(e){return Kv(this,e),this}hasClass(e){return this.some(function(n){return Zv(n,e)})}toggleClass(e){return Xv(this,e),this}width(){return dn(this[0],"Width")}height(){return dn(this[0],"Height")}innerWidth(){return dn(this[0],"Width",!0)}innerHeight(){return dn(this[0],"Height",!0)}outerWidth(e){return dn(this[0],"Width",!0,!0,e)}outerHeight(e){return dn(this[0],"Height",!0,!0,e)}scrollTop(e){return Nt(this,"scrollTop",e,!0,{get:mn,set:nl})}scrollLeft(e){return Nt(this,"scrollLeft",e,!0,{get:mn,set:nl})}offset(){return Jv(this[0])}index(){return t_(this[0])}children(e){return new ue(Vv(this,e))}siblings(e){return new ue(e_(this,e))}next(e){return new ue(gn(this,"nextElementSibling",e,!0))}nextAll(e){return new ue(gn(this,"nextElementSibling",e))}prev(e){return new ue(gn(this,"previousElementSibling",e,!0))}prevAll(e){return new ue(gn(this,"previousElementSibling",e))}parent(e){return new ue(gn(this,"parentNode",e,!0))}parents(e){return new ue(gn(this,"parentNode",e))}nextUntil(e,n){return new ue(Ji(this,"nextElementSibling",e,n))}prevUntil(e,n){return new ue(Ji(this,"previousElementSibling",e,n))}parentsUntil(e,n){return new ue(Ji(this,"parentNode",e,n))}append(e){return Xn(e,this,sl,eo),this}appendTo(e){return new ue(Jn(e,this,sl,eo))}prepend(e){return Xn(e,this,al,eo),this}prependTo(e){return new ue(Jn(e,this,al,eo))}before(e){return Xn(e,this,cl,hn),this}insertBefore(e){return new ue(Jn(e,this,cl,hn))}after(e){return Xn(e,this,ll,hn),this}insertAfter(e){return new ue(Jn(e,this,ll,hn))}replaceWith(e){return Xn(e,this,ul,hn),this}replaceAll(e){return new ue(Jn(e,this,ul,hn))}remove(){return o_(this),this}empty(){return i_(this),this}clone(e,n){const r=[];return this.forEach(function(o){Ce(o)&&r.push(Vi(o,e,n))}),new ue(r)}on(e,n,r){return typeof n=="function"&&(r=n,n=void 0),u_(this,e,n,r),this}off(e,n,r){return typeof n=="function"&&(r=n,n=void 0),p_(this,e,n,r),this}trigger(e){return f_(this,e),this}focus(){return this.trigger("focus")}blur(){return this.trigger("blur")}click(){return this.trigger("click")}reset(){return this.trigger("reset")}submit(){return this.trigger("submit")}}function d_(t,e){if(Array.isArray(e)){const n=[],r=e.length;let o=-1;for(;++o<r;)Wr(n,Gr(t,e[o]));return pn(n)}return Gr(t,e)}function Ne(t,e=document){let n;return n=typeof t=="string"?(t=t.trim()).charAt(0)==="<"&&t.charAt(t.length-1)===">"?ol(t,U1(e)?e:null):d_(t,e):t==null?[]:Ce(t)||Ct(t)?[t]:t,new ue(n)}function m_(t,e){let n;return()=>{n&&window.clearTimeout(n),n=window.setTimeout(t,e)}}class g_{constructor(e,n){this._getItem=e,this._getLength=n}get length(){return this._getLength()}get(e){const n=this._getItem(e);return n?Bi({},n):void 0}first(){return this.get(0)}last(){return this.get(this._getLength()-1)}}var vn=function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function s(l){try{a(r.next(l))}catch(u){i(u)}}function c(l){try{a(r.throw(l))}catch(u){i(u)}}function a(l){var u;l.done?o(l.value):(u=l.value,u instanceof n?u:new n(function(f){f(u)})).then(s,c)}a((r=r.apply(t,e||[])).next())})};class h_ extends xv{constructor(e){super(),this.__batchId=Date.now(),this.__inited=!1,this.__destroyed=!1,this._itemList=[],this._itemNodes=[],this._stateFlags={renderBoundary:[],renderEmpty:[],renderError:[],renderLoading:[]},this._stateNodes={renderBoundary:[],renderEmpty:[],renderError:[],renderLoading:[]},this.__lastCheckPositionTime=0,this._container=Ne(e.container),this._options=Bi({},e),this.items=new g_(n=>this._itemList[n],()=>this._itemList.length),setTimeout(()=>{this._init()},0)}setOption(e,n){if(e==="container")throw new Error("Container cannot be changed.");this._options[e]=n}get inited(){return this.__inited}get _prefetchDistance(){var e;return(e=this._options.prefetchDistance)!==null&&e!==void 0?e:2}get _maxItemCount(){var e;return(e=this._options.maxItemCount)!==null&&e!==void 0?e:100}get isVisible(){return this._container.get(0).offsetParent!=null}destroy(){this._removeEventListeners(),this._eventEmitter.all.clear(),this.__checkPositionTimer&&clearTimeout(this.__checkPositionTimer),this._container.empty(),this._itemList=[],this._itemNodes=[],this.__destroyed=!0}scrollToHead(e=!1){if(!this.isVisible)return;const n=this._itemNodes[0],r=this._container.get(0).firstElementChild;e&&n&&n!==r?this._container.scrollTop(Ne(r).outerHeight()):this._container.scrollTop(0)}scrollToFoot(e=!1){if(!this.isVisible)return;const n=this._itemNodes[this._itemNodes.length-1],r=this._container.get(0),o=r.lastElementChild;let i=r.scrollHeight-r.clientHeight;e&&n&&o!==n&&(i-=Ne(o).outerHeight(!0)),this._container.scrollTop(i)}_removeEventListeners(){this._onScrollFn&&this._container.get(0).removeEventListener("scroll",this._onScrollFn,!1),this._onClickFn&&this._container.off("click",this._onClickFn)}isEmpty(){return this._stateFlags.renderEmpty[ee.Main]===!0}_setInited(){this.__inited||(this.__inited=!0,this._eventEmitter.emit("inited"))}_setEmpty(e,n){this._setAndRenderState("renderEmpty",e,ee.Main),e&&(this._setAndRenderState("renderBoundary",!1,ee.Head),this._setAndRenderState("renderBoundary",!1,ee.Foot)),n&&n(),e?this._removeEventListeners():(this._listenScroll(),this._listenClick()),this._setInited()}_init(){return vn(this,void 0,void 0,function*(){if(this.__destroyed)throw new Error("This component has been destroyed.");let e,n;this._setAndRenderState("renderLoading",!0,ee.Main),this.__isLoading=!0;try{e=yield this._options.dataSource.loadInitialData()}catch(s){n=s}finally{this.__isLoading=!1,this._setAndRenderState("renderLoading",!1,ee.Main)}if(this.__destroyed)return;if(n)return this._setAndRenderState("renderError",!0,ee.Main,n),void this._setInited();if(e==null||e.data==null||!e.data.length)return void this._setEmpty(!0);const r=e.data,o=e.reachedHeadBoundary,i=e.reachedFootBoundary;this._setEmpty(!1,()=>{qr(this._itemList,r);const s=this._options.renderer.renderItems(r,this);qr(this._itemNodes,s),this._container.append(s),o===!0&&this._keepView(()=>{this._setAndRenderState("renderBoundary",!0,ee.Head)}),this._options.defaultView==="foot"&&this.scrollToFoot(),i===!0&&this._setAndRenderState("renderBoundary",!0,ee.Foot),this._emitRenderedEvent(ee.Main,r,s)})})}_reset(){let e;for(e in this.__batchId=Date.now(),this._itemList=[],this._itemNodes=[],this._stateFlags)this._stateFlags[e]=[],this._stateNodes[e]=[];this._container.empty()}refresh(){return vn(this,void 0,void 0,function*(){this._removeEventListeners(),this._reset(),this._init()})}clear(){return vn(this,void 0,void 0,function*(){this._reset(),this._setEmpty(!0)})}_checkPosition(){this.__lastCheckPositionTime=Date.now();const e=this._container,n=e.scrollTop(),r=e.prop("scrollHeight"),o=e.prop("clientHeight"),i=this._prefetchDistance*o;n+o+i>=r&&this._fetchNext(),n<=i&&this._fetchPrevious()}checkPosition(){if(this.__destroyed||this.__isLoading||this.isEmpty()||!this.isVisible)return;const e=Date.now()-this.__lastCheckPositionTime;if(e>=500)this._checkPosition();else{if(this.__checkPositionTimer)return;this.__checkPositionTimer=window.setTimeout(()=>{this.__checkPositionTimer=null,this._checkPosition()},500-e)}}_listenScroll(){var e;this._onScrollFn=(e=this._onScrollFn)!==null&&e!==void 0?e:m_(this.checkPosition.bind(this),80),this._container.get(0).addEventListener("scroll",this._onScrollFn,!1),this.checkPosition()}_onClick(e){const n=e.target;if(!n)return;let r;r=n.parentElement===this._container.get(0)?n:Ne(n).parentsUntil(this._container.get(0)).get(-1);let o=-1;for(let i=this._itemNodes.length-1;i>=0;i--)if(this._itemNodes[i]===r){o=i;break}o!==-1&&this._eventEmitter.emit("item-click",{domEvent:e,itemNode:this._itemNodes[o],itemData:Bi({},this._itemList[o])})}_listenClick(){var e;this._onClickFn=(e=this._onClickFn)!==null&&e!==void 0?e:this._onClick.bind(this),this._container.on("click",this._onClickFn)}_setAndRenderState(e,n,r,o){if(this._stateFlags[e][r]===n)return;this._stateFlags[e][r]=n;const i=this._stateNodes[e];if(n){const s=this._options.renderer,c=s[e];if(c){const a=i[r]=c.call(s,r,this,o);a&&(r===ee.Head?this._container.prepend(a):this._container.append(a))}}else{const s=i[r];s&&(i[r]=null,Ne(s).remove())}}_keepView(e){const n=this._container.get(0);if(!this.isVisible)return void e();const r=n.scrollTop,o=n.getBoundingClientRect().top;let i,s=0,c=-1;for(;(i=this._itemNodes[++c])&&(i=this._itemNodes[c],s=i.getBoundingClientRect().top,!(s-o>=0)););if(e(),!i)return;const a=(i.parentNode?i.getBoundingClientRect().top:0)-s;a>=1&&this._container.scrollTop(r+a)}_fetch(e,n,r){return vn(this,void 0,void 0,function*(){const o=this._stateFlags;if(this.__isLoading||this.isEmpty()||this.reachedBoundary(e)||o.renderError[e])return;let i,s;this._keepView(()=>{this._setAndRenderState("renderLoading",!0,e)}),this.__isLoading=!0;const c=this.__batchId;try{i=yield n()}catch(a){s=a}finally{this.__isLoading=!1}c!==this.__batchId||this.__destroyed||(s?this._keepView(()=>{this._setAndRenderState("renderLoading",!1,e),this._setAndRenderState("renderError",!0,e,s)}):i!=null&&i.length?(r(i),setTimeout(()=>{this.checkPosition()},0)):this._keepView(()=>{this._setAndRenderState("renderLoading",!1,e),this._setAndRenderState("renderBoundary",!0,e)}))})}_emitRenderedEvent(e,n,r){this._eventEmitter.emit("rendered",{position:e,itemList:n.slice(),itemNodes:new ue(r)})}_updateAndRenderPrevious(e){e.length>this._maxItemCount&&(e=e.slice(0,this._maxItemCount));const n=this._itemList.length+e.length-this._maxItemCount;if(n>0){const o=this._itemList.splice(this._itemList.length-n,n),i=Ne(this._itemNodes.splice(this._itemNodes.length-n,n)).remove();this._eventEmitter.emit("item-remove",{itemList:o,itemNodes:i}),this._setAndRenderState("renderBoundary",!1,ee.Foot)}this._itemList=e.concat(this._itemList);const r=this._options.renderer.renderItems(e,this);this._keepView(()=>{this._itemNodes.length?Ne(this._itemNodes[0]).before(r):this._container.append(r)}),this._itemNodes=bv(r).concat(this._itemNodes),this._emitRenderedEvent(ee.Head,e,r)}_fetchPrevious(){return vn(this,void 0,void 0,function*(){return this._fetch(ee.Head,()=>{const e=this.items.first();return e?this._options.dataSource.loadPreviousData(e[this._options.itemKey],e):Promise.resolve(void 0)},this._updateAndRenderPrevious.bind(this))})}_updateAndRenderNext(e){e.length>this._maxItemCount&&(e=e.slice(this._maxItemCount));const n=this._itemList.length+e.length-this._maxItemCount;if(n>0){const o=this._itemList.splice(0,n),i=Ne(this._itemNodes.splice(0,n));this._keepView(()=>{this._setAndRenderState("renderBoundary",!1,ee.Head),i.remove()}),this._eventEmitter.emit("item-remove",{itemList:o,itemNodes:i})}qr(this._itemList,e);const r=this._options.renderer.renderItems(e,this);this._itemNodes.length?Ne(this._itemNodes[this._itemNodes.length-1]).after(r):this._container.append(r),qr(this._itemNodes,r),this._emitRenderedEvent(ee.Foot,e,r)}_fetchNext(){return vn(this,void 0,void 0,function*(){return this._fetch(ee.Foot,()=>{const e=this.items.last();return e?this._options.dataSource.loadNextData(e[this._options.itemKey],e):Promise.resolve(void 0)},this._updateAndRenderNext.bind(this))})}_findItemIndex(e){const n=this._options.itemKey;let r=-1;for(let o=this._itemList.length-1;o>=0;o--)if(this._itemList[o][n]===e){r=o;break}return r}updateItem(e,n){const r=this._findItemIndex(n!=null?n:e[this._options.itemKey]);if(r===-1)return!1;const o=this._itemList[r],i=Ne(this._itemNodes[r]);this._itemList[r]=e;const s=this._options.renderer.renderItems([e],this)[0];return this._keepView(()=>{i.replaceWith(s)}),this._itemNodes[r]=s,setTimeout(()=>{this.checkPosition()},0),this._eventEmitter.emit("item-update",{oldData:o,oldNode:i,newData:e,newNode:Ne(s)}),!0}_doRemoval(e,n){e.length&&(this._keepView(()=>{n.remove()}),setTimeout(()=>{this.checkPosition()},0),this._eventEmitter.emit("item-remove",{itemList:e,itemNodes:n})),this._itemList.length?setTimeout(()=>{this.checkPosition()},0):this.refresh()}removeItem(e){const n=this._findItemIndex(e);if(n!==-1){const r=this._itemList.splice(n,1),o=Ne(this._itemNodes.splice(n,1));return this._doRemoval(r,o),r[0]}}removeItems(e){const n=[],r=[];return e.forEach(o=>{const i=this._findItemIndex(o);i!==-1&&(n.push(this._itemList.splice(i,1)[0]),r.push(this._itemNodes.splice(i,1)[0]))}),this._doRemoval(n,Ne(r)),n.length?n:void 0}_shouldKeepDefaultView(){if(!this._itemNodes.length)return!1;const e=this._container.get(0);if(!this.isVisible)return!1;const n=e.getBoundingClientRect(),r=n.top,o=n.height;if(this._options.defaultView==="head"){const i=this._itemNodes[0].getBoundingClientRect().top-r;return i>=0||-i<=.1*o}if(this._options.defaultView==="foot"){const i=this._itemNodes[this._itemNodes.length-1].getBoundingClientRect().bottom-r;return i<o||i-o<=.1*o}return!1}reachedBoundary(e){return this.isEmpty()||this._stateFlags.renderBoundary[e]===!0}addBoundaryItems(e,n,r){if(!this.reachedBoundary(n))return!1;const o=this.isEmpty(),i=()=>{const s=this._shouldKeepDefaultView();if(n===ee.Head)this._updateAndRenderPrevious(e);else{if(n!==ee.Foot)throw new Error('"position" must be "RenderPosition.Head" or "RenderPosition.Foot".');this._updateAndRenderNext(e)}if(o&&(this._setAndRenderState("renderBoundary",!0,ee.Head),this._setAndRenderState("renderBoundary",!0,ee.Foot)),r&&s)switch(this._options.defaultView){case"head":this.scrollToHead(!0);break;case"foot":this.scrollToFoot(!0)}};return o?this._setEmpty(!1,i):i(),!0}resetBoundaryState(e){this.isEmpty()?this.refresh():(this._keepView(()=>{this._setAndRenderState("renderBoundary",!1,e)}),this.checkPosition())}retryFetch(e){const n=this._stateFlags;this.isEmpty()||n.renderError[ee.Main]?this.refresh():(n.renderBoundary[e]||n.renderError[e])&&(this._keepView(()=>{this._setAndRenderState("renderError",!1,e),this._setAndRenderState("renderBoundary",!1,e),this._setAndRenderState("renderLoading",!0,e)}),e===ee.Head?this._fetchPrevious():e===ee.Foot&&this._fetchNext())}}const v_=(t,e)=>{const{moreMsgBtn:n}=e;let r;function o(){if(!r)throw new Error("getVirtualList error");return r}function i(){return P(this,null,function*(){s();const f=t.value;f&&(r=new h_({container:f,itemKey:e.itemKey,prefetchDistance:1,defaultView:"foot",dataSource:e.dataSource,renderer:e.renderer}),r.on("item-remove",h=>{h.itemNodes.forEach(m=>{const g=m.__vueVm;g&&g.$destroy()})}))})}function s(){r&&(r.destroy(),r=void 0)}function c(){return P(this,null,function*(){if(!r||r&&!r.inited)return;const{loadInitialData:f}=e.dataSource,h=yield f();h!=null&&h.data&&(yield r.clear(),r.addBoundaryItems(h.data,ee.Foot,!0),r.scrollToFoot(),h.data.length>0&&r.resetBoundaryState(ee.Head))})}function a(){return P(this,null,function*(){if(!r)return;r.reachedBoundary(ee.Foot)?r.scrollToFoot():yield c(),n==null||n.hideMoreMsg()})}function l(){return P(this,null,function*(){const f=p.unref(t);if(f){const{scrollTop:h,scrollHeight:d,clientHeight:_}=f,m=h+_>=d-_*.1;yield p.nextTick(),m&&r&&r.scrollToFoot()}})}function u(){const f=p.unref(t);return f?f.scrollTop+f.clientHeight+50>=f.scrollHeight:!1}return p.watch(t,()=>{t.value&&i()},{immediate:!0}),p.onBeforeUnmount(()=>{s()}),he(ne.CheckScrollFoot,()=>{l()}),{getVirtualList:o,initVirtualList:i,destroyVirtualList:s,refreshVirtualList:c,scrollToNew:a,checkScrollFoot:l,isScrollBottom:u}},__=()=>{const t=p.ref(),e={getVirtualListResult:u},n=uv(),r=lv(e),o=dv(),{isOnlySpecialMsg:i,setIsOnlySpecialMsg:s}=qn();o1({listenI18n:!0,changeCallback:()=>{l.initVirtualList()}}),mv(ie(O({},e),{msgQueue:o,historyData:r,moreMsgBtn:n})),yd(ie(O({},e),{historyData:r,moreMsgBtn:n,msgQueue:o}));const c=vv(ie(O({},e),{historyData:r,moreMsgBtn:n,msgQueue:o})),a=cv({historyData:r}),l=v_(t,{itemKey:"id",dataSource:c,renderer:a,moreMsgBtn:n});function u(){return l}return p.watch(i,()=>{l.initVirtualList()}),he(ne.ScrollToNew,l.scrollToNew),{containerRef:t,moreMsgVisible:n.moreMsgVisible,scrollToNew:l.scrollToNew,setIsOnlySpecialMsg:s}},w_=t=>{const{height:e}=Zo(t),{messageConfig:n}=ae(),r=p.computed(()=>{var i,s;return(s=(i=n.value.messageContainerBoundaryShadow.topHeight)!=null?i:e1.messageContainerBoundaryShadow.topHeight)!=null?s:0});return{shadowStyle:p.computed(()=>{let i=0;return e.value&&(i=r.value/e.value),i=Number(i.toFixed(3)),{maskImage:`-webkit-gradient(
|
|
1008
|
+
linear,
|
|
1009
|
+
center top,
|
|
1010
|
+
center bottom,
|
|
1011
|
+
color-stop(${i}, transparent),
|
|
1012
|
+
color-stop(${i+.05}, #000)
|
|
1013
|
+
)`}})}},b_=p.defineComponent({__name:"chat-message-list",setup(t,{expose:e}){const{$t:n}=W(),{containerRef:r,moreMsgVisible:o,scrollToNew:i,setIsOnlySpecialMsg:s}=__(),{msgSizeClass:c}=Xf(),{messageConfig:a}=ae(),{shadowStyle:l}=w_(r),{isMobile:u}=se();return e({setIsOnlySpecialMsg:s}),{__sfc:!0,$t:n,containerRef:r,moreMsgVisible:o,scrollToNew:i,setIsOnlySpecialMsg:s,msgSizeClass:c,messageConfig:a,shadowStyle:l,isMobile:u,CompleteMsgPopup:vd}}});var y_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-chat-message-list",class:[r.msgSizeClass,{"is-mobile":r.isMobile}],style:{"--container-top-padding":r.messageConfig.messageContainerBoundaryPadding.top+"px","--container-bottom-padding":r.messageConfig.messageContainerBoundaryPadding.bottom+"px"}},[n("div",{ref:"containerRef",staticClass:"plv-chat-message-list__container",class:{"is-hide-scrollbar":r.messageConfig.hideScrollbar},style:r.shadowStyle}),r.moreMsgVisible?n("div",{staticClass:"plv-chat-message-list__more-msg",on:{click:r.scrollToNew}},[e._v(" "+e._s(r.$t("chat.moreMsg"))+" ")]):e._e(),n(r.CompleteMsgPopup)],1)},x_=[],C_=q(b_,y_,x_);const Q_=C_.exports,k_=()=>{const{$t:t}=W(),e=p.computed(()=>({666:t("donate.name.six"),小熊:t("donate.name.bear"),麦克风:t("donate.name.microphone"),别墅:t("donate.name.villa"),咖啡:t("donate.name.coffee"),奖杯:t("donate.name.trophy"),小星星:t("donate.name.star"),掌声:t("donate.name.applause"),游艇:t("donate.name.yacht"),火箭:t("donate.name.rocket"),点赞:t("donate.name.like"),烟火:t("donate.name.fireworks"),皇冠:t("donate.name.crown"),跑车:t("donate.name.cars"),金蛋:t("donate.name.goldenEggs"),钻石:t("donate.name.diamonds"),飞机:t("donate.name.plane"),鲜花:t("donate.name.flower")}));function n(r){const o=p.unref(e)[r];return o||r}return{translateGoodName:n}},E_=p.defineComponent({__name:"donate-animation-item",props:{animationId:k.string.isRequired,nick:k.string,pic:k.string,gimg:k.string,count:k.number.def(1),rewardContent:k.string,donateType:k.enum()},emits:{"after-leave":M()},setup(t,{emit:e}){const n=t,{$t:r}=W(),{nick:o,gimg:i,count:s}=ft(n),{resizeOSSImg:c}=ei(),{translateGoodName:a}=k_(),{chatTarget:l}=j(),{translateNick:u}=g8(),f=p.computed(()=>n.donateType===l.DonateType.Good),h=p.computed(()=>n.donateType===l.DonateType.Cash?`¥${n.rewardContent}`:a(n.rewardContent)),d=["linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 85%)","linear-gradient(90deg, rgba(91, 70, 255, 0.6) 0%, rgba(91, 70, 255, 0.1) 85%)","linear-gradient(90deg, rgba(87, 173, 255, 0.7) 9%, rgba(87, 173, 255, 0.1) 83%)","linear-gradient(90deg, rgba(45, 208, 192, 0.6) 2%, rgba(45, 208, 192, 0.1) 85%)","linear-gradient(90deg, rgba(40, 222, 122, 0.6) 0%, rgba(40, 222, 122, 0.1) 85%)","linear-gradient(90deg, rgba(255, 193, 69, 0.7) 9%, rgba(255, 193, 69, 0.1) 83%)","linear-gradient(90deg, rgba(255, 103, 194, 0.6) 4%, rgba(255, 103, 194, 0.1) 85%)","linear-gradient(90deg, rgba(255, 70, 70, 0.6) 0%, rgba(255, 70, 70, 0.1) 85%)"],_=p.ref(d[0]),m=p.ref(!1);function w(S,I){return Math.floor(Math.random()*(I-S+1))+S}function g(){const S=w(0,d.length-1);_.value=d[S],m.value=!0,y()}function v(){m.value=!1,x()}let b;function y(){x(),b=window.setTimeout(()=>{v()},2e3)}function x(){b&&(clearTimeout(b),b=void 0)}p.onMounted(()=>{g()}),p.onBeforeUnmount(()=>{x()});const C=p.ref(!1);function E(){C.value=!0}function Q(){e("after-leave")}return{__sfc:!0,props:n,emit:e,$t:r,nick:o,gimg:i,count:s,resizeOSSImg:c,translateGoodName:a,chatTarget:l,translateNick:u,isGoodDonate:f,content:h,bgColors:d,itemBgColor:_,itemShow:m,generateRandomInteger:w,showItem:g,hideItem:v,hideTimer:b,resetHideTimer:y,clearHideTimer:x,countAnimation:C,onAfterEnter:E,onAfterLeave:Q}}});var S_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-donate-animation-item"},[n("transition",{attrs:{name:"donate-animation"},on:{"after-enter":r.onAfterEnter,"after-leave":r.onAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.itemShow,expression:"itemShow"}],staticClass:"plv-donate-animation-item__content",style:{background:r.itemBgColor}},[n("div",{staticClass:"plv-donate-animation-item__pic",style:{backgroundImage:`url(${r.resizeOSSImg(e.pic,36)})`}}),n("div",{staticClass:"plv-donate-animation-item__nick"},[e._v(e._s(r.translateNick(r.nick)))]),n("div",{staticClass:"plv-donate-animation-item__bottom"},[e._v(e._s(r.$t("donate.goodAction"))+e._s(r.content))]),r.isGoodDonate?n("div",{staticClass:"plv-donate-animation-item__good-image",style:{backgroundImage:`url(${r.resizeOSSImg(r.gimg,36)})`}}):n("div",{staticClass:"plv-donate-animation-item__good-image plv-donate-animation-item__good-image--redpaper"}),r.count>1?n("div",{staticClass:"plv-donate-animation-item__count",class:{"plv-donate-animation-item__count--long":r.count>99,"plv-donate-animation-item__count--animation":r.countAnimation}},[n("span",[e._v("x")]),n("span",{staticClass:"pwc-font-din-pro-medium"},[e._v(e._s(r.count))])]):e._e()])])],1)},I_=[],T_=q(E_,S_,I_);const L_=T_.exports,fl=t=>{const e=tt();return{animationVisible:p.computed(()=>e.getAnimationVisible?e.getAnimationVisible(t):!0)}},P_={defaultVisible:!0,switchEnabled:!1,visibleChangeCallback:()=>{}},dl=()=>{const t=tt();return{specialEffectConfig:p.computed(()=>{let n={};return t.getSpecialEffectConfig&&(n=t.getSpecialEffectConfig()),O(O({},P_),n)})}},no=bt("special-effect",()=>{const{specialEffectConfig:t}=dl(),{toast:e}=ye(),{$t:n}=W(),r=p.ref(t.value.defaultVisible);function o(a){r.value!==a&&(r.value=a,e.success(n(a?"specialEffect.showTips":"specialEffect.hideTips")),t.value.visibleChangeCallback(a))}return{specialEffectVisible:r,toggleSpecialEffect:()=>{o(!r.value)},showSpecialEffect:()=>{o(!0)},hideSpecialEffect:()=>{o(!1)}}}),A_=()=>({trackCount:k.number.def(2)}),$_=t=>{const{props:e}=t,{animationVisible:n}=fl("donate-animation"),{chatTarget:r,ChatMsgSource:o,PolyvChatEvent:i}=j(),{specialEffectVisible:s}=no(),{effectSetting:c}=Wn(),a=p.ref([]);let l=[];const u=p.computed(()=>n.value&&s.value);p.watch(u,()=>{u.value||(a.value=[],l=[])});function f(){if(!l.length||!u.value)return;const m=r.utils.getDefaultResource();if(p.unref(a).length<e.trackCount){const w=e.trackCount-p.unref(a).length;l.splice(0,w).forEach(v=>{var b;a.value.push({animationId:r0(),nick:v.user.nick,pic:v.user.pic||m.defaultViewerAvatar,gimg:v.gimg,count:(b=v.goodNum)!=null?b:1,rewardContent:v.rewardContent,donateType:v.donateType})})}}function h(m){const w=a.value.findIndex(g=>g.animationId===m);w!==-1&&(a.value.splice(w,1),f())}function d(m){return u.value?m.isSelf?!0:l.length<100:!1}function _(m){const w=m.chatMsg;if(w.msgSource!==o.Reward)return;const g=d(w),v=w.isSelf;g&&(v?l.unshift(w):l.push(w),f())}return c.interactionEffectEnabled&&$e(r.eventEmitter,{[i.ChatMessage]:_}),{trackList:a,onItemLeaved:h}},R_=p.defineComponent({__name:"donate-animation",props:A_(),setup(t){const e=t,{trackList:n,onItemLeaved:r}=$_({props:e});return{__sfc:!0,props:e,trackList:n,onItemLeaved:r,DonateAnimationItem:L_}}});var O_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.trackList.length?n("div",{staticClass:"plv-donate-animation"},e._l(r.trackList,function(o){return n(r.DonateAnimationItem,{key:o.animationId,attrs:{"animation-id":o.animationId,nick:o.nick,pic:o.pic,gimg:o.gimg,count:o.count,"reward-content":o.rewardContent,"donate-type":o.donateType},on:{"after-leave":function(i){return r.onItemLeaved(o.animationId)}}})}),1):e._e()},D_=[],z_=q(R_,O_,D_);const F_=z_.exports,B_=()=>{const t={pushQueue:o,getRunwayQueue:i,getQueueItemByEnd:s},e=p.ref(!1),n=p.ref([]);function r(){n.value.length===0&&(e.value=!1)}function o(f){return P(this,null,function*(){e.value=!0,yield p.nextTick(),n.value.push(f)})}function i(){return n}function s(f,h){for(let d=n.value.length-1;d>=0;d--){const _=n.value[d];if(_.effectType===f&&h===_.targetId)return{index:d,item:_}}}const c=p.computed(()=>n.value[0]),{startTimeout:a,closeTimeout:l,hasTimeout:u}=an(()=>{n.value.splice(0,1)},3e3);return p.watchEffect(()=>{if(c.value){if(u())return;a()}else l()}),{controller:t,currentData:c,onAfterLeave:r,pushQueue:o,wrapVisible:e}},M_=t=>{const{effectSetting:e}=Wn(),{chatTarget:n,PolyvChatEvent:r}=j(),o="joinVisit",i="";function s(c){const a=t.getRunwayQueue(),l=t.getQueueItemByEnd(Ge.JoinVisit,o);l?a.value[l.index].nicknameCount+=1:e.joinVisitEffectTip&&t.pushQueue({id:ut(8),effectType:Ge.JoinVisit,nicknames:[c],nicknameCount:1,targetId:o,targetName:i,strTemplate:e.joinVisitEffectTip,bgColor:"rgba(166, 131, 226, 0.8)"})}e.visitEffectEnabled&&$e(n.eventEmitter,{[r.UserLogin]:c=>{const a=c.user;a&&s(a.nick)}})},N_=t=>{const{effectSetting:e,getProductClickTemplate:n}=Wn(),{chatTarget:r,PolyvChatEvent:o}=j();function i(s,c){const{type:a,nickname:l,productId:u,productName:f}=c,h=t.getRunwayQueue(),d=t.getQueueItemByEnd(s,u);if(d)h.value[d.index].nicknameCount+=c.nicknameCount;else{let _="",m="";if(s===Ge.ProductClick)switch(_=n(a),a){case"normal":m="rgba(244, 143, 181, 0.8)";break;case"finance":m="rgba(255, 212, 93, 0.8)";break;case"position":case"delivery":m="rgba(79, 209, 159, 0.8)";break}else _=e.orderProductEffectTip,m="rgba(234, 158, 138, 0.8)";_&&t.pushQueue({id:ut(8),effectType:s,nicknames:[l],nicknameCount:c.nicknameCount,targetId:u,targetName:f,productType:a,strTemplate:_,bgColor:m})}}e.productEffectEnabled&&$e(r.eventEmitter,{[o.ProductClick]:s=>{const c=s.type,a=s.nickname,l=s.productId,u=s.name;i(Ge.ProductClick,{type:c,nickname:a,productId:l,productName:u,nicknameCount:1})},[o.ProductBuyTimes]:s=>{const c=s.productType,a=s.nickname,l=s.productId,u=s.productName,f=s.count;i(Ge.ProductBuy,{type:c,nickname:a,productId:l,productName:u,nicknameCount:f})}})},H_=t=>{const{effectSetting:e}=Wn(),{chatTarget:n,PolyvChatEvent:r}=j(),o="checkIn",i="";function s(c){const a=c.nickname,l=c.count,u=t.getRunwayQueue(),f=t.getQueueItemByEnd(Ge.CheckIn,o);f?u.value[f.index].nicknameCount+=l:e.checkinInteractionEffectTip&&t.pushQueue({id:ut(8),effectType:Ge.CheckIn,nicknames:[a],nicknameCount:l,targetId:o,targetName:i,strTemplate:e.checkinInteractionEffectTip,bgColor:"rgba(96, 181, 228, 0.8)"})}e.interactionEffectEnabled&&$e(n.eventEmitter,{[r.CheckInTimes]:s})},U_=p.defineComponent({__name:"runway-effect",props:{left:k.number.def(12)},setup(t){const{wrapVisible:e,currentData:n,onAfterLeave:r,controller:o}=B_();M_(o),N_(o),H_(o);const{getEffectText:i,getNicknameCountText:s}=C1();return{__sfc:!0,wrapVisible:e,currentData:n,onAfterLeave:r,controller:o,getEffectText:i,getNicknameCountText:s}}});var j_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.wrapVisible?n("div",{staticClass:"plv-runway-effect"},[n("transition",{attrs:{name:"runway-effect"},on:{"after-leave":r.onAfterLeave}},[r.currentData?n("div",{key:r.currentData.id,staticClass:"plv-runway-effect__inner",style:{left:`${e.left}px`,background:r.currentData.bgColor}},e._l(r.getEffectText(r.currentData),function(o,i){return n("span",{key:i,class:["plv-runway-effect__item",`plv-runway-effect__item--${o.textType}`]},[n("span",{staticClass:"plv-runway-effect__item__text"},[e._v(" "+e._s(o.text)+" ")]),o.textType==="nickname"&&o.count&&o.count>1?n("span",{staticClass:"plv-runway-effect__item__nickname-count"},[e._v(" "+e._s(r.getNicknameCountText(o.count))+" ")]):e._e()])}),0):e._e()])],1):e._e()},q_=[],W_=q(U_,j_,q_);const G_=W_.exports,Z_=()=>({value:k.string.def(""),placeholder:k.string,maxlength:k.number.def(200),lineHeight:k.number.def(1.4),fontSize:k.number.def(14),disabled:k.bool.def(!1),isOverflow:k.bool.def(!1),background:k.string}),Y_=()=>({input:M(),blur:M(),focus:M(),enter:M(),submit:M(),"multi-row":M()}),K_=t=>{const{props:e,emit:n}=t,{value:r,lineHeight:o,fontSize:i,placeholder:s}=ft(e),{isDesktopIPad:c}=se(),a=p.ref(),l=p.ref(!1),u=p.ref(0),f=p.ref(0),h=p.computed(()=>f.value>u.value),d=p.computed(()=>p.unref(l)?"":p.unref(s)),_=p.computed(()=>{const $=p.unref(i),D=p.unref(o);return $+$*D*2.4}),m=p.computed(()=>p.unref(r)||"");function w($=!1){return P(this,null,function*(){const D=p.unref(a);if(!D)return;D.style.height="auto",yield p.nextTick();const F=D.scrollHeight,G=$?u.value:F;G&&(D.style.height=`${G}px`),f.value=D.clientHeight,n("multi-row",h.value)})}const g=B1($=>w($),300);p.watch(()=>p.unref(r),$=>{u.value||L(),g(!$)});function v(){l.value=!1,n("blur")}function b(){l.value=!0,n("focus")}function y(){if(e.disabled)return;const $=p.unref(a);if(!$)return;const D=$.value;n("input",D)}function x(){n("enter")}function C(){n("submit",e.value)}function E(){var $;($=p.unref(a))==null||$.blur()}function Q(){var $;($=p.unref(a))==null||$.focus()}function S(){n("input","")}function I(){const $=p.unref(e.value).length,D=e.value.substr(0,$-1);n("input",D)}function T(){const $=p.unref(a);return $?[{type:"text",content:$.value}]:[]}function L(){a.value&&(f.value=a.value.clientHeight,u.value=a.value.clientHeight)}return c&&Wo(()=>{E()}),{textareaPlaceholder:d,textareaRef:a,textareaMaxHeight:_,realValue:m,clientHeight:f,originHeight:u,textAreaIsMultiRow:h,onBlur:v,onFocus:b,onInput:y,onEnter:x,onSubmit:C,blurTextarea:E,focusTextarea:Q,deleteWord:I,clearTextarea:S,getContentList:T,textareaInstance:{blurTextarea:E,focusTextarea:Q,deleteWord:I,clearTextarea:S,getContentList:T}}},X_=p.defineComponent({__name:"auto-textarea",props:Z_(),emits:Y_(),setup(t,{expose:e,emit:n}){const r=t,{maxlength:o,disabled:i,lineHeight:s,fontSize:c}=ft(r),{textareaRef:a,textAreaIsMultiRow:l,textareaPlaceholder:u,textareaMaxHeight:f,realValue:h,textareaInstance:d,onBlur:_,onFocus:m,onInput:w,onEnter:g,onSubmit:v}=K_({props:r,emit:n}),{checkIntercept:b}=xt();function y(x){return P(this,null,function*(){(yield b("focus-message-input"))&&x.preventDefault()})}return e(d),{__sfc:!0,props:r,emit:n,maxlength:o,disabled:i,lineHeight:s,fontSize:c,textareaRef:a,textAreaIsMultiRow:l,textareaPlaceholder:u,textareaMaxHeight:f,realValue:h,textareaInstance:d,onBlur:_,onFocus:m,onInput:w,onEnter:g,onSubmit:v,checkIntercept:b,checkInterceptHandler:y}}});var J_=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-message-input__auto-textarea",class:{"plv-message-input__auto-textarea--multi-row":r.textAreaIsMultiRow}},[n("textarea",{ref:"textareaRef",staticClass:"plv-message-input__auto-textarea__inner",class:{"plv-message-input__auto-textarea__inner--disabled":r.disabled},style:{maxHeight:`${r.textareaMaxHeight}px`,fontSize:`${r.fontSize}px`,lineHeight:`${r.lineHeight}`},attrs:{enterkeyhint:"send",rows:"1",maxlength:r.maxlength,placeholder:r.textareaPlaceholder,disabled:r.disabled},domProps:{value:r.realValue},on:{blur:r.onBlur,focus:r.onFocus,touchstart:r.checkInterceptHandler,mousedown:r.checkInterceptHandler,input:r.onInput,keypress:[function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")||o.ctrlKey||o.shiftKey||o.altKey||o.metaKey?null:(o.preventDefault(),r.onSubmit.apply(null,arguments))},function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")||!o.shiftKey?null:r.onEnter.apply(null,arguments)}]}}),e._t("suffix")],2)},V_=[],ew=q(X_,J_,V_);const tw=ew.exports,nw=()=>({"click-face":M()}),rw=t=>{const{chatTarget:e}=j(),{emit:n}=t,r=p.ref();function o(i){const s=e.emotion.getEmotionFaceClickTarget(i);s&&n("click-face",`[${s}]`)}return p.onMounted(()=>P(this,null,function*(){yield e.emotion.setupEmotionParser();const i=p.unref(r);i&&i.appendChild(e.emotion.getEmotionFaceDomList())})),{containerRef:r,onClickContainer:o}},ow=p.defineComponent({__name:"emotion-face-picker",emits:nw(),setup(t,{emit:e}){const{containerRef:n,onClickContainer:r}=rw({emit:e});return{__sfc:!0,emit:e,containerRef:n,onClickContainer:r}}});var iw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"containerRef",staticClass:"plv-emotion-face-picker",on:{click:r.onClickContainer}})},sw=[],aw=q(ow,iw,sw);const cw=aw.exports,lw=()=>({"click-image":M()}),uw=t=>{const{chatTarget:e}=j(),{sendEmotionImageMsg:n}=Fr(),{emit:r}=t,o=p.ref([]);function i(s){return P(this,null,function*(){r("click-image",s),n({emotionId:s.id,emotionUrl:s.url})})}return p.onMounted(()=>P(this,null,function*(){const s=yield e.emotion.getEmotionImages();o.value=s})),{emotionList:o,onClickItem:i}},pw=p.defineComponent({__name:"emotion-image-picker",emits:lw(),setup(t,{emit:e}){const{emotionList:n,onClickItem:r}=uw({emit:e});return{__sfc:!0,emit:e,emotionList:n,onClickItem:r}}});var fw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-emotion-image-picker"},e._l(r.emotionList,function(o,i){return n("div",{key:i,staticClass:"plv-emotion-image-picker__item",on:{click:function(s){return r.onClickItem(o)}}},[n("div",{staticClass:"plv-emotion-image-picker__icon",style:{backgroundImage:`url(${o.url})`}}),n("div",{staticClass:"plv-emotion-image-picker__text"},[e._v(e._s(o.title))])])}),0)},dw=[],mw=q(pw,fw,dw);const gw=mw.exports,hw=()=>({clickToClose:k.bool.def(!1)}),vw=()=>({close:M(),"click-face":M(),"click-image":M()}),_w=t=>{const{props:e,emit:n}=t,{inputConfig:r}=dt(),o=p.ref("face");function i(l){o.value=l}function s(l){n("click-face",l),e.clickToClose&&n("close")}function c(l){n("click-image",l),e.clickToClose&&n("close")}function a(){r.value.imageEmotionEnabled&&!r.value.faceEmotionEnabled&&(o.value="image")}return p.onBeforeMount(()=>{a()}),{currentType:o,switchEmotionTab:i,onClickFace:s,onClickImage:c}},ww=p.defineComponent({__name:"emotion-picker",props:hw(),emits:vw(),setup(t,{emit:e}){const n=t,{inputConfig:r}=dt(),{currentType:o,switchEmotionTab:i,onClickFace:s,onClickImage:c}=_w({props:n,emit:e});return{__sfc:!0,props:n,emit:e,inputConfig:r,currentType:o,switchEmotionTab:i,onClickFace:s,onClickImage:c,ChatIconHeart:Ud,ChatIconSmilingFace:Zd,EmotionFacePicker:cw,EmotionImagePicker:gw}}});var bw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-emotion-picker"},[n("div",{staticClass:"plv-emotion-picker__panel-wrap",class:{"plv-emotion-picker__panel-wrap--image":r.inputConfig.faceEmotionEnabled&&r.currentType==="image"}},[r.inputConfig.faceEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__panel"},[n(r.EmotionFacePicker,{on:{"click-face":r.onClickFace}})],1):e._e(),r.inputConfig.imageEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__panel"},[n(r.EmotionImagePicker,{on:{"click-image":r.onClickImage}})],1):e._e()]),n("div",{staticClass:"plv-emotion-picker__bottom"},[n("div",{staticClass:"plv-emotion-picker__tabs"},[r.inputConfig.faceEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__tabs-item",class:{"is-active":r.currentType==="face"},on:{click:function(o){return r.switchEmotionTab("face")}}},[n(r.ChatIconSmilingFace,{staticClass:"plv-emotion-picker__tabs-item__icon"})],1):e._e(),r.inputConfig.imageEmotionEnabled?n("div",{staticClass:"plv-emotion-picker__tabs-item",class:{"is-active":r.currentType==="image"},on:{click:function(o){return r.switchEmotionTab("image")}}},[n(r.ChatIconHeart,{staticClass:"plv-emotion-picker__tabs-item__icon"})],1):e._e(),n("div",{staticClass:"plv-emotion-picker__tabs-active",class:{"plv-emotion-picker__tabs-active--image":r.currentType==="image"}})]),e._t("bottom-suffix")],2)])},yw=[],xw=q(ww,bw,yw);const ml=xw.exports,Cw=t=>{const{props:e}=t,n=p.ref(),r=p.computed(()=>!!n.value),o=p.ref(0),i=p.ref(!0),s=B1(_=>{i.value=_.every(w=>w.type==="text"?!w.content.trim():!1);const m=_.filter(w=>w.type==="text").reduce((w,g)=>(w?w+=g.content.length:w=g.content.length,w),0);o.value=Math.min(m,e.maxInputTextLength)},300);p.watch(n,()=>{n.value&&n.value.$on("change",s)},{immediate:!0});const c=p.computed(()=>o.value),a=p.computed(()=>i.value);function l(){var _;(_=n.value)==null||_.focus()}function u(){console.warn("暂不支持 deleteWord")}function f(){var _;(_=n.value)==null||_.clear(),o.value=0,i.value=!0}function h(_){var m;(m=n.value)==null||m.insertEmotion(_)}function d(){var _,m;return(m=(_=n.value)==null?void 0:_.getContentList())!=null?m:[]}return{pasteImageRef:n,isCurrent:r,curInputTextLength:c,isEmptyInputContent:a,focusInput:l,deleteWord:u,clearInput:f,insertEmotion:h,getInputContentList:d}},Qw=t=>{const{props:e,onInputBlur:n,onInputFocus:r}=t,o=p.ref(),i=p.ref(""),s=p.computed(()=>!!o.value),c=p.computed(()=>p.unref(i).length),a=p.computed(()=>!p.unref(i).trim());function l(){o.value&&o.value.focusTextarea()}function u(w){const g=(p.unref(i)+w).slice(0,e.maxInputTextLength);i.value=g}function f(){i.value=""}function h(){o.value&&o.value.deleteWord()}function d(){return o.value?o.value.getContentList():[]}const{chatTarget:_}=j(),{isZhCN:m}=W();return p.watch(()=>m.value,()=>{if(o.value){i.value=_.emotion.translateEmotions(i.value,m.value);return}}),p.watch(o,()=>{o.value&&(o.value.$on("focus",r),o.value.$on("blur",n))},{immediate:!0}),{autoTextareaRef:o,autoTextareaInputValue:i,isCurrent:s,curInputTextLength:c,isEmptyInputContent:a,focusInput:l,clearInput:f,deleteWord:h,insertEmotion:u,getInputContentList:d}},kw=t=>{const{props:e,onInputFocus:n,onInputBlur:r}=t,o=p.ref(),i=p.ref(""),s=p.computed(()=>!!o.value),c=p.computed(()=>p.unref(i).length),a=p.computed(()=>!p.unref(i).trim());function l(){o.value&&o.value.focus()}function u(w){const g=(p.unref(i)+w).slice(0,e.maxInputTextLength);i.value=g}function f(){i.value=""}function h(){const w=p.unref(i.value).length,g=p.unref(i).substr(0,w-1);i.value=g}function d(){return o.value?[{type:"text",content:i.value}]:[]}const{isZhCN:_}=W(),{chatTarget:m}=j();return p.watch(()=>_.value,()=>{o.value&&(i.value=m.emotion.translateEmotions(i.value,_.value))}),te(o,"focus",n),te(o,"blur",r),{inputElemRef:o,inputElemValue:i,isCurrent:s,curInputTextLength:c,isEmptyInputContent:a,focusInput:l,clearInput:f,deleteWord:h,insertEmotion:u,getInputContentList:d}},Ew=t=>{const{props:e}=t,n=p.ref(!1);function r(){n.value=!0}function o(){setTimeout(()=>{n.value=!1},1)}const i={props:e,onInputFocus:r,onInputBlur:o},s=Cw(i),c=Qw(i),a=kw(i);function l(){if(s.isCurrent.value)return s;if(c.isCurrent.value)return c;if(a.isCurrent.value)return a}function u(){var g;(g=l())==null||g.focusInput()}const f=p.computed(()=>{var g,v;return(v=(g=l())==null?void 0:g.curInputTextLength.value)!=null?v:0}),h=p.computed(()=>{var g,v;return(v=(g=l())==null?void 0:g.isEmptyInputContent.value)!=null?v:!0});function d(){var g;(g=l())==null||g.deleteWord()}function _(){var g;(g=l())==null||g.clearInput()}function m(g){var v;(v=l())==null||v.insertEmotion(g)}function w(){var g,v;return(v=(g=l())==null?void 0:g.getInputContentList())!=null?v:[]}return p.watch(()=>e.disabledInput,()=>{e.disabledInput&&_()}),{pasteImageRef:s.pasteImageRef,autoTextareaRef:c.autoTextareaRef,autoTextareaInputValue:c.autoTextareaInputValue,inputElemRef:a.inputElemRef,inputElemValue:a.inputElemValue,isInputFocus:n,focusInput:u,onInputFocus:r,onInputBlur:o,curInputTextLength:f,isEmptyInputContent:h,clearInput:_,deleteWord:d,insertEmotion:m,getInputContentList:w}},gl=t=>{const e=p.ref(!1);function n(){e.value=!0}function r(){e.value=!1}function o(){e.value?r():n()}function i(){r()}const{listenOutSideEvent:s,removeOutSideEvent:c}=Tr(t,i,!1);return p.watch(()=>p.unref(e),()=>{p.unref(e)?s():c()},{immediate:!0}),{visible:e,showPanel:n,hidePanel:r,togglePanel:o}},Sw=t=>{const{props:e,msgInputController:n}=t,{inputConfig:r}=dt(),{checkIntercept:o}=xt(),i=p.computed(()=>r.value.faceEmotionEnabled||r.value.imageEmotionEnabled),s=p.ref(),{visible:c,togglePanel:a,showPanel:l,hidePanel:u}=gl([s,"[data-emotion-picker-btn]"]);function f(){return P(this,null,function*(){(yield o("emotion-picker"))||e.disabledInput||a()})}function h(d){n.insertEmotion(d)}return{emotionPickerBtnVisible:i,emotionRef:s,emotionVisible:c,showEmotionPanel:l,toggleEmotionPanel:a,hideEmotionPanel:u,onClickEmotionPickerBtn:f,onClickFace:h}},hl=()=>({placeholder:k.string,disabledInput:k.bool.def(!1),disabledSubmitBtn:k.bool.def(!1),maxInputTextLength:k.number.def(200)}),vl=()=>({submit:M(),"system-msg":M(),"click-send-image":M(),resize:M()}),_l=t=>{const{props:e,emit:n}=t,r=Ew({props:e}),o=Sw({props:e,msgInputController:r}),{$t:i,isZhCN:s}=W(),{chatTarget:c}=j(),{checkIntercept:a}=xt(),l=p.computed(()=>e.placeholder),u=p.computed(()=>e.disabledSubmitBtn||r.isEmptyInputContent.value);let f;function h(){return P(this,null,function*(){if((yield a("click-submit"))||p.unref(u))return;const _=Date.now();if(f&&_-f<1e3){n("system-msg",{content:i("chat.fast")});return}f=_;const m=r.getInputContentList();m.forEach(w=>{w.type==="text"&&(w.content=c.emotion.translateEmotions(w.content,s.value))}),n("submit",{contentList:m}),o.hideEmotionPanel(),r.clearInput(),t.submitCallback&&t.submitCallback()})}function d(){return P(this,null,function*(){yield a("click-message-input")})}return{msgInputController:r,emotionController:o,inputPlaceholder:l,sendBtnDisabled:u,submitInput:h,onClickInputWrap:d}},Iw=p.defineComponent({__name:"message-input-popup",props:hl(),emits:vl(),setup(t,{expose:e,emit:n}){const r=t,{$t:o}=W(),{msgInputController:i,emotionController:s,inputPlaceholder:c,sendBtnDisabled:a,submitInput:l}=_l({props:r,emit:n,submitCallback:()=>{S()}}),{autoTextareaInputValue:u,autoTextareaRef:f,focusInput:h,clearInput:d,deleteWord:_}=i,{emotionPickerBtnVisible:m,emotionRef:w,emotionVisible:g,showEmotionPanel:v,hideEmotionPanel:b,onClickEmotionPickerBtn:y,onClickFace:x}=s;let C=!0;const{visible:E,show:Q,close:S}=_t(!1,{showCallback:()=>P(this,null,function*(){yield p.nextTick(),C?h():C=!0})}),I=p.ref();on(I),rn(I,{visible:E});function T(){C=!1,Q(),v()}return e({showInputPopup:Q,closeInputPopup:S,focusInput:h,clearInput:d,openEmotionFacePicker:T}),{__sfc:!0,props:r,emit:n,$t:o,msgInputController:i,emotionController:s,inputPlaceholder:c,sendBtnDisabled:a,submitInput:l,autoTextareaInputValue:u,autoTextareaRef:f,focusInput:h,clearInput:d,deleteWord:_,emotionPickerBtnVisible:m,emotionRef:w,emotionVisible:g,showEmotionPanel:v,hideEmotionPanel:b,onClickEmotionPickerBtn:y,onClickFace:x,afterEnterToFocus:C,visible:E,showInputPopup:Q,closeInputPopup:S,messageInputPopupRef:I,openEmotionFacePicker:T,ButtonSize:zn,PwcButton:Fn,ChatIconDelete:Bd,ChatIconEmotion:l1,ChatIconKeyboard:jd,AutoTextarea:tw,EmotionPicker:ml}}});var Tw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.visible,expression:"visible"}],ref:"messageInputPopupRef",staticClass:"plv-message-input-popup",on:{click:r.closeInputPopup}},[n("div",{staticClass:"plv-message-input-popup__content",on:{click:function(o){o.stopPropagation()}}},[e._t("content-suffix"),n("div",{staticClass:"plv-message-input-popup__body"},[n("div",{staticClass:"plv-message-input-popup__main"},[n(r.AutoTextarea,{ref:"autoTextareaRef",staticClass:"plv-message-input-popup__main__textarea",attrs:{placeholder:r.inputPlaceholder,maxlength:e.maxInputTextLength,disabled:e.disabledInput},on:{submit:r.submitInput},scopedSlots:e._u([{key:"suffix",fn:function(){return[r.emotionPickerBtnVisible?n("div",{directives:[{name:"show",rawName:"v-show",value:!r.emotionVisible,expression:"!emotionVisible"}],staticClass:"plv-message-input-popup__emotion-btn",class:{"is-disabled":e.disabledInput},attrs:{"data-emotion-picker-btn":""},on:{click:r.onClickEmotionPickerBtn}},[n(r.ChatIconEmotion)],1):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:r.emotionVisible,expression:"emotionVisible"}],staticClass:"plv-message-input-popup__emotion-btn",on:{click:r.focusInput}},[n(r.ChatIconKeyboard)],1)]},proxy:!0}]),model:{value:r.autoTextareaInputValue,callback:function(o){r.autoTextareaInputValue=o},expression:"autoTextareaInputValue"}}),n(r.PwcButton,{staticClass:"plv-message-input-popup__send-btn",attrs:{size:r.ButtonSize.Small,disabled:r.sendBtnDisabled},on:{click:r.submitInput}},[e._v(" "+e._s(r.$t("chat.send"))+" ")])],1),n("div",{directives:[{name:"show",rawName:"v-show",value:r.emotionVisible,expression:"emotionVisible"}],ref:"emotionRef",staticClass:"plv-message-input-popup__emotion-panel"},[n(r.EmotionPicker,{on:{"click-face":r.onClickFace,"click-image":r.closeInputPopup,close:r.hideEmotionPanel},scopedSlots:e._u([{key:"bottom-suffix",fn:function(){return[n("div",{staticClass:"plv-message-input-popup__del-btn",on:{click:r.deleteWord}},[n(r.ChatIconDelete)],1),n(r.PwcButton,{attrs:{size:r.ButtonSize.Small,disabled:r.sendBtnDisabled},on:{click:r.submitInput}},[e._v(" "+e._s(r.$t("chat.send"))+" ")])]},proxy:!0}])})],1)])],2)])},Lw=[],Pw=q(Iw,Tw,Lw);const Aw=Pw.exports,$w=(t={})=>{const{currentQuoteMsg:e}=t,{currentMaskText:n}=zr(),{inputConfig:r}=dt(),{statusInfo:o}=jn(),{selfIsSpecialUser:i}=j(),{$t:s}=W();return{chatInputPlaceholder:p.computed(()=>{if(n.value)return s("input.noSupportSendMsg");const a=o.value.chatRoomIsClosed;return!i()&&a?s("chat.roomClosed"):e&&e.value?`@${e.value.user.nick}`:r.value.inputPlaceholder})}},ro=(t={})=>{const{quoteMsgCallback:e,quotePlaceholder:n=!0}=t,{chatTarget:r,selfIsSpecialUser:o}=j(),{sendContentList:i,sendSystemMsg:s,choiceImageFileSend:c}=Fr(),{currentMaskText:a}=zr(),l=p.ref(),{chatInputDisabled:u}=i1(),{chatInputPlaceholder:f}=$w({currentQuoteMsg:n?l:void 0});function h(){l.value=void 0}he(ne.QuoteMsg,g=>P(this,null,function*(){u.value||r.message.canQuoteMsg(g.chatMsg)&&(l.value=g.chatMsg,yield p.nextTick(),e==null||e())}));const d=p.computed(()=>o()?Cd:Qd);function _(g){i(g.contentList,l.value),h()}function m(g){s(g.content)}function w(){c()}return{currentMaskText:a,maxInputTextLength:d,chatInputDisabled:u,chatInputPlaceholder:f,currentQuoteMsg:l,clearCurrentQuoteMsg:h,onSubmitMessage:_,onSystemMsg:m,onClickSendImage:w}},Rw=p.defineComponent({__name:"chat-message-input-popup",setup(t,{expose:e}){const n=p.ref();function r(){var w;(w=n.value)==null||w.showInputPopup()}function o(){var w;(w=n.value)==null||w.closeInputPopup()}function i(){var w;f(),(w=n.value)==null||w.clearInput(),o()}const{currentMaskText:s,chatInputDisabled:c,chatInputPlaceholder:a,maxInputTextLength:l,currentQuoteMsg:u,clearCurrentQuoteMsg:f,onSubmitMessage:h,onSystemMsg:d}=ro({quoteMsgCallback:()=>{r()}}),{checkIntercept:_}=xt(),{toast:m}=ye();return he(ne.FocusInput,()=>P(this,null,function*(){if(!(yield _("focus-message-input"))){if(c.value){s.value&&m.info(s.value);return}r()}})),he(ne.OpenEmotionFacePicker,()=>P(this,null,function*(){var w;(yield _("emotion-picker"))||c.value||(w=n.value)==null||w.openEmotionFacePicker()})),e({showInputPopup:r,closeInputPopup:o}),{__sfc:!0,inputPopupRef:n,showInputPopup:r,closeInputPopup:o,onClickClearQuote:i,currentMaskText:s,chatInputDisabled:c,chatInputPlaceholder:a,maxInputTextLength:l,currentQuoteMsg:u,clearCurrentQuoteMsg:f,onSubmitMessage:h,onSystemMsg:d,checkIntercept:_,toast:m,PwcIconClose:$n,SimpleMsgItem:Hr,MessageInputPopup:Aw}}});var Ow=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.MessageInputPopup,{ref:"inputPopupRef",staticClass:"plv-chat-message-input-popup",attrs:{"disabled-input":r.chatInputDisabled,placeholder:r.chatInputPlaceholder,"max-input-text-length":r.maxInputTextLength},on:{submit:r.onSubmitMessage,"system-msg":r.onSystemMsg},scopedSlots:e._u([r.currentQuoteMsg?{key:"content-suffix",fn:function(){return[n("div",{staticClass:"plv-chat-message-input-popup__quote"},[n(r.SimpleMsgItem,{staticClass:"plv-chat-message-input-popup__quote__content",attrs:{"chat-msg":r.currentQuoteMsg,"show-avatar":"",type:"quote"}}),n(r.PwcIconClose,{staticClass:"plv-chat-message-input-popup__quote__close",on:{click:r.onClickClearQuote}})],1)]},proxy:!0}:null],null,!0)})},Dw=[],zw=q(Rw,Ow,Dw);const Fw=zw.exports,wl=()=>{const{chatTarget:t}=j(),{statusInfo:e}=jn(),{manageConfig:n}=me(),r=p.computed(()=>n.value.chatSwitchEnabled),o=p.computed(()=>e.value.chatRoomIsClosed);function i(){return P(this,null,function*(){yield t.manage.setChatSwitch({enabled:o.value})})}return{canChatSwitch:r,chatRoomIsClosed:o,toggleChatSwitch:i}};var Bw=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(r,o,i){n.o(r,o)||Object.defineProperty(r,o,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,o){if(1&o&&(r=n(r)),8&o||4&o&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&o&&typeof r!="string")for(var s in r)n.d(i,s,function(c){return r[c]}.bind(null,s));return i},n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,"a",o),o},n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},n.p="",n(n.s=506)}({0:function(t,e,n){function r(o,i,s,c,a,l,u,f){var h,d=typeof o=="function"?o.options:o;if(i&&(d.render=i,d.staticRenderFns=s,d._compiled=!0),c&&(d.functional=!0),l&&(d._scopeId="data-v-"+l),u?(h=function(w){(w=w||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__=="undefined"||(w=__VUE_SSR_CONTEXT__),a&&a.call(this,w),w&&w._registeredComponents&&w._registeredComponents.add(u)},d._ssrRegister=h):a&&(h=f?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),h)if(d.functional){d._injectStyles=h;var _=d.render;d.render=function(w,g){return h.call(g),_(w,g)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,h):[h]}return{exports:o,options:d}}n.d(e,"a",function(){return r})},235:function(t,e,n){var r=n(613),o=n(614),i=o;i.v1=r,i.v4=o,t.exports=i},3:function(t,e){function n(r){return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},376:function(t,e){var n=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var o=new Array(16);t.exports=function(){for(var i,s=0;s<16;s++)!(3&s)&&(i=4294967296*Math.random()),o[s]=i>>>((3&s)<<3)&255;return o}}},377:function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(o,i){var s=i||0,c=n;return[c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],"-",c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]],c[o[s++]]].join("")}},378:function(t,e,n){},438:function(t,e,n){var r=n(3);t.exports=function(o){var i={};function s(c){if(i[c])return i[c].exports;var a=i[c]={i:c,l:!1,exports:{}};return o[c].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=o,s.c=i,s.d=function(c,a,l){s.o(c,a)||Object.defineProperty(c,a,{enumerable:!0,get:l})},s.r=function(c){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},s.t=function(c,a){if(1&a&&(c=s(c)),8&a||4&a&&r(c)=="object"&&c&&c.__esModule)return c;var l=Object.create(null);if(s.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:c}),2&a&&typeof c!="string")for(var u in c)s.d(l,u,function(f){return c[f]}.bind(null,u));return l},s.n=function(c){var a=c&&c.__esModule?function(){return c.default}:function(){return c};return s.d(a,"a",a),a},s.o=function(c,a){return Object.prototype.hasOwnProperty.call(c,a)},s.p="",s(s.s=128)}([function(o,i,s){(function(c){var a=function(l){return l&&l.Math==Math&&l};o.exports=a((typeof globalThis=="undefined"?"undefined":r(globalThis))=="object"&&globalThis)||a((typeof window=="undefined"?"undefined":r(window))=="object"&&window)||a((typeof self=="undefined"?"undefined":r(self))=="object"&&self)||a(r(c)=="object"&&c)||function(){return this}()||Function("return this")()}).call(this,s(30))},function(o,i){o.exports=function(s){try{return!!s()}catch(c){return!0}}},function(o,i){var s={}.hasOwnProperty;o.exports=function(c,a){return s.call(c,a)}},function(o,i){o.exports=function(s){return r(s)=="object"?s!==null:typeof s=="function"}},function(o,i,s){var c=s(3);o.exports=function(a){if(!c(a))throw TypeError(String(a)+" is not an object");return a}},function(o,i,s){var c=s(1);o.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(o,i,s){var c=s(5),a=s(12),l=s(21);o.exports=c?function(u,f,h){return a.f(u,f,l(1,h))}:function(u,f,h){return u[f]=h,u}},function(o,i,s){var c=s(0),a=s(23),l=s(2),u=s(24),f=s(25),h=s(48),d=a("wks"),_=c.Symbol,m=h?_:_&&_.withoutSetter||u;o.exports=function(w){return l(d,w)||(f&&l(_,w)?d[w]=_[w]:d[w]=m("Symbol."+w)),d[w]}},function(o,i){o.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},function(o,i,s){var c=s(31),a=s(8);o.exports=function(l){return c(a(l))}},function(o,i,s){var c=s(0),a=s(6),l=s(2),u=s(14),f=s(27),h=s(33),d=h.get,_=h.enforce,m=String(String).split("String");(o.exports=function(w,g,v,b){var y,x=!!b&&!!b.unsafe,C=!!b&&!!b.enumerable,E=!!b&&!!b.noTargetGet;typeof v=="function"&&(typeof g!="string"||l(v,"name")||a(v,"name",g),(y=_(v)).source||(y.source=m.join(typeof g=="string"?g:""))),w!==c?(x?!E&&w[g]&&(C=!0):delete w[g],C?w[g]=v:a(w,g,v)):C?w[g]=v:u(g,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||f(this)})},function(o,i){var s={}.toString;o.exports=function(c){return s.call(c).slice(8,-1)}},function(o,i,s){var c=s(5),a=s(26),l=s(4),u=s(18),f=Object.defineProperty;i.f=c?f:function(h,d,_){if(l(h),d=u(d,!0),l(_),a)try{return f(h,d,_)}catch(m){}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(h[d]=_.value),h}},function(o,i){var s=Math.ceil,c=Math.floor;o.exports=function(a){return isNaN(a=+a)?0:(a>0?c:s)(a)}},function(o,i,s){var c=s(0),a=s(6);o.exports=function(l,u){try{a(c,l,u)}catch(f){c[l]=u}return u}},function(o,i,s){var c=s(0),a=s(14),l=c["__core-js_shared__"]||a("__core-js_shared__",{});o.exports=l},function(o,i,s){(function(c){s.d(i,"b",function(){return l}),s.d(i,"a",function(){return u}),s.d(i,"d",function(){return d}),s.d(i,"c",function(){return _}),s.d(i,"e",function(){return f}),s(60),s(54);var a=Object.prototype.hasOwnProperty;function l(m,w){return a.call(m,w)}function u(m,w){var g,v;if(w!=null)for(g in w)v=w[g],g!=="__proto__"&&m!==v&&l(w,g)&&(m[g]=v)}var f,h=Object.prototype.toString;function d(m){return h.call(m)==="[object Object]"}function _(m){return h.call(m)==="[object Date]"}f=typeof window!="undefined"?window:c!==void 0?c:null}).call(this,s(30))},function(o,i,s){var c=s(0),a=s(20).f,l=s(6),u=s(10),f=s(14),h=s(44),d=s(36);o.exports=function(_,m){var w,g,v,b,y,x=_.target,C=_.global,E=_.stat;if(w=C?c:E?c[x]||f(x,{}):(c[x]||{}).prototype)for(g in m){if(b=m[g],v=_.noTargetGet?(y=a(w,g))&&y.value:w[g],!d(C?g:x+(E?".":"#")+g,_.forced)&&v!==void 0){if(r(b)==r(v))continue;h(b,v)}(_.sham||v&&v.sham)&&l(b,"sham",!0),u(w,g,b,_)}}},function(o,i,s){var c=s(3);o.exports=function(a,l){if(!c(a))return a;var u,f;if(l&&typeof(u=a.toString)=="function"&&!c(f=u.call(a))||typeof(u=a.valueOf)=="function"&&!c(f=u.call(a))||!l&&typeof(u=a.toString)=="function"&&!c(f=u.call(a)))return f;throw TypeError("Can't convert object to primitive value")}},function(o,i,s){var c=s(13),a=Math.min;o.exports=function(l){return l>0?a(c(l),9007199254740991):0}},function(o,i,s){var c=s(5),a=s(43),l=s(21),u=s(9),f=s(18),h=s(2),d=s(26),_=Object.getOwnPropertyDescriptor;i.f=c?_:function(m,w){if(m=u(m),w=f(w,!0),d)try{return _(m,w)}catch(g){}if(h(m,w))return l(!a.f.call(m,w),m[w])}},function(o,i){o.exports=function(s,c){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:c}}},function(o,i){o.exports={}},function(o,i,s){var c=s(39),a=s(15);(o.exports=function(l,u){return a[l]||(a[l]=u!==void 0?u:{})})("versions",[]).push({version:"3.8.1",mode:c?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(o,i){var s=0,c=Math.random();o.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++s+c).toString(36)}},function(o,i,s){var c=s(1);o.exports=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())})},function(o,i,s){var c=s(5),a=s(1),l=s(41);o.exports=!c&&!a(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},function(o,i,s){var c=s(15),a=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(l){return a.call(l)}),o.exports=c.inspectSource},function(o,i,s){var c=s(45),a=s(0),l=function(u){return typeof u=="function"?u:void 0};o.exports=function(u,f){return arguments.length<2?l(c[u])||l(a[u]):c[u]&&c[u][f]||a[u]&&a[u][f]}},function(o,i,s){var c,a,l=s(37),u=s(59),f=RegExp.prototype.exec,h=String.prototype.replace,d=f,_=(c=/a/,a=/b*/g,f.call(c,"a"),f.call(a,"a"),c.lastIndex!==0||a.lastIndex!==0),m=u.UNSUPPORTED_Y||u.BROKEN_CARET,w=/()??/.exec("")[1]!==void 0;(_||w||m)&&(d=function(g){var v,b,y,x,C=this,E=m&&C.sticky,Q=l.call(C),S=C.source,I=0,T=g;return E&&((Q=Q.replace("y","")).indexOf("g")===-1&&(Q+="g"),T=String(g).slice(C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&g[C.lastIndex-1]!==`
|
|
1014
|
+
`)&&(S="(?: "+S+")",T=" "+T,I++),b=new RegExp("^(?:"+S+")",Q)),w&&(b=new RegExp("^"+S+"$(?!\\s)",Q)),_&&(v=C.lastIndex),y=f.call(E?b:C,T),E?y?(y.input=y.input.slice(I),y[0]=y[0].slice(I),y.index=C.lastIndex,C.lastIndex+=y[0].length):C.lastIndex=0:_&&y&&(C.lastIndex=C.global?y.index+y[0].length:v),w&&y&&y.length>1&&h.call(y[0],b,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(y[x]=void 0)}),y}),o.exports=d},function(o,i){var s;s=function(){return this}();try{s=s||new Function("return this")()}catch(c){(typeof window=="undefined"?"undefined":r(window))=="object"&&(s=window)}o.exports=s},function(o,i,s){var c=s(1),a=s(11),l="".split;o.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return a(u)=="String"?l.call(u,""):Object(u)}:Object},function(o,i,s){var c=s(42),a=s(35).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(l){return c(l,a)}},function(o,i,s){var c,a,l,u=s(49),f=s(0),h=s(3),d=s(6),_=s(2),m=s(15),w=s(34),g=s(22),v=f.WeakMap;if(u){var b=m.state||(m.state=new v),y=b.get,x=b.has,C=b.set;c=function(Q,S){return S.facade=Q,C.call(b,Q,S),S},a=function(Q){return y.call(b,Q)||{}},l=function(Q){return x.call(b,Q)}}else{var E=w("state");g[E]=!0,c=function(Q,S){return S.facade=Q,d(Q,E,S),S},a=function(Q){return _(Q,E)?Q[E]:{}},l=function(Q){return _(Q,E)}}o.exports={set:c,get:a,has:l,enforce:function(Q){return l(Q)?a(Q):c(Q,{})},getterFor:function(Q){return function(S){var I;if(!h(S)||(I=a(S)).type!==Q)throw TypeError("Incompatible receiver, "+Q+" required");return I}}}},function(o,i,s){var c=s(23),a=s(24),l=c("keys");o.exports=function(u){return l[u]||(l[u]=a(u))}},function(o,i){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(o,i,s){var c=s(1),a=/#|\.prototype\./,l=function(_,m){var w=f[u(_)];return w==d||w!=h&&(typeof m=="function"?c(m):!!m)},u=l.normalize=function(_){return String(_).replace(a,".").toLowerCase()},f=l.data={},h=l.NATIVE="N",d=l.POLYFILL="P";o.exports=l},function(o,i,s){var c=s(4);o.exports=function(){var a=c(this),l="";return a.global&&(l+="g"),a.ignoreCase&&(l+="i"),a.multiline&&(l+="m"),a.dotAll&&(l+="s"),a.unicode&&(l+="u"),a.sticky&&(l+="y"),l}},function(o,i,s){var c={};c[s(7)("toStringTag")]="z",o.exports=String(c)==="[object z]"},function(o,i){o.exports=!1},function(o,i,s){var c=s(9),a=s(19),l=s(46),u=function(f){return function(h,d,_){var m,w=c(h),g=a(w.length),v=l(_,g);if(f&&d!=d){for(;g>v;)if((m=w[v++])!=m)return!0}else for(;g>v;v++)if((f||v in w)&&w[v]===d)return f||v||0;return!f&&-1}};o.exports={includes:u(!0),indexOf:u(!1)}},function(o,i,s){var c=s(0),a=s(3),l=c.document,u=a(l)&&a(l.createElement);o.exports=function(f){return u?l.createElement(f):{}}},function(o,i,s){var c=s(2),a=s(9),l=s(40).indexOf,u=s(22);o.exports=function(f,h){var d,_=a(f),m=0,w=[];for(d in _)!c(u,d)&&c(_,d)&&w.push(d);for(;h.length>m;)c(_,d=h[m++])&&(~l(w,d)||w.push(d));return w}},function(o,i,s){var c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,l=a&&!c.call({1:2},1);i.f=l?function(u){var f=a(this,u);return!!f&&f.enumerable}:c},function(o,i,s){var c=s(2),a=s(50),l=s(20),u=s(12);o.exports=function(f,h){for(var d=a(h),_=u.f,m=l.f,w=0;w<d.length;w++){var g=d[w];c(f,g)||_(f,g,m(h,g))}}},function(o,i,s){var c=s(0);o.exports=c},function(o,i,s){var c=s(13),a=Math.max,l=Math.min;o.exports=function(u,f){var h=c(u);return h<0?a(h+f,0):l(h,f)}},function(o,i){i.f=Object.getOwnPropertySymbols},function(o,i,s){var c=s(25);o.exports=c&&!Symbol.sham&&r(Symbol.iterator)=="symbol"},function(o,i,s){var c=s(0),a=s(27),l=c.WeakMap;o.exports=typeof l=="function"&&/native code/.test(a(l))},function(o,i,s){var c=s(28),a=s(32),l=s(47),u=s(4);o.exports=c("Reflect","ownKeys")||function(f){var h=a.f(u(f)),d=l.f;return d?h.concat(d(f)):h}},function(o,i,s){var c=s(8);o.exports=function(a){return Object(c(a))}},function(o,i,s){var c=s(17),a=s(29);c({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},function(o,i){o.exports=`
|
|
1015
|
+
\v\f\r \u2028\u2029\uFEFF`},function(o,i,s){var c=s(10),a=s(4),l=s(1),u=s(37),f=RegExp.prototype,h=f.toString,d=l(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),_=h.name!="toString";(d||_)&&c(RegExp.prototype,"toString",function(){var m=a(this),w=String(m.source),g=m.flags;return"/"+w+"/"+String(g===void 0&&m instanceof RegExp&&!("flags"in f)?u.call(m):g)},{unsafe:!0})},function(o,i,s){s.r(i),s.d(i,"isArrayLike",function(){return a}),s.d(i,"isEmptyData",function(){return l}),s.d(i,"extend",function(){return u}),s.d(i,"cloneJSON",function(){return f}),s.d(i,"tryParseJSON",function(){return h}),s(69);var c=s(16);function a(d){return d!=null&&typeof d!="function"&&typeof d.length=="number"&&d.length>=0&&d.length%1==0}function l(d){if(d==null)return!0;if(typeof d=="string")return d.trim()==="";if(Array.isArray(d))return!d.length;if(Object(c.d)(d)){for(var _ in d)if(Object(c.b)(d,_))return!1;return!0}return!1}function u(d){if(d==null)throw new Error("The target argument cannot be null or undefined");for(var _=arguments.length,m=0;++m<_;)Object(c.a)(d,arguments[m]);return d}function f(d){return d==null?d:JSON.parse(JSON.stringify(d))}function h(d,_){var m;try{m=JSON.parse(d)}catch(w){_&&_(w)}return m}s.d(i,"hasOwnProp",function(){return c.b})},function(o,i,s){s(52);var c=s(10),a=s(1),l=s(7),u=s(29),f=s(6),h=l("species"),d=!a(function(){var v=/./;return v.exec=function(){var b=[];return b.groups={a:"7"},b},"".replace(v,"$<a>")!=="7"}),_="a".replace(/./,"$0")==="$0",m=l("replace"),w=!!/./[m]&&/./[m]("a","$0")==="",g=!a(function(){var v=/(?:)/,b=v.exec;v.exec=function(){return b.apply(this,arguments)};var y="ab".split(v);return y.length!==2||y[0]!=="a"||y[1]!=="b"});o.exports=function(v,b,y,x){var C=l(v),E=!a(function(){var A={};return A[C]=function(){return 7},""[v](A)!=7}),Q=E&&!a(function(){var A=!1,$=/a/;return v==="split"&&(($={}).constructor={},$.constructor[h]=function(){return $},$.flags="",$[C]=/./[C]),$.exec=function(){return A=!0,null},$[C](""),!A});if(!E||!Q||v==="replace"&&(!d||!_||w)||v==="split"&&!g){var S=/./[C],I=y(C,""[v],function(A,$,D,F,G){return $.exec===u?E&&!G?{done:!0,value:S.call($,D,F)}:{done:!0,value:A.call(D,$,F)}:{done:!1}},{REPLACE_KEEPS_$0:_,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:w}),T=I[0],L=I[1];c(String.prototype,v,T),c(RegExp.prototype,C,b==2?function(A,$){return L.call(A,this,$)}:function(A){return L.call(A,this)})}x&&f(RegExp.prototype[C],"sham",!0)}},function(o,i,s){var c=s(63).charAt;o.exports=function(a,l,u){return l+(u?c(a,l).length:1)}},function(o,i,s){var c=s(11),a=s(29);o.exports=function(l,u){var f=l.exec;if(typeof f=="function"){var h=f.call(l,u);if(r(h)!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(c(l)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return a.call(l,u)}},function(o,i,s){var c=s(1);function a(l,u){return RegExp(l,u)}i.UNSUPPORTED_Y=c(function(){var l=a("a","y");return l.lastIndex=2,l.exec("abcd")!=null}),i.BROKEN_CARET=c(function(){var l=a("^r","gy");return l.lastIndex=2,l.exec("str")!=null})},function(o,i,s){var c=s(38),a=s(10),l=s(67);c||a(Object.prototype,"toString",l,{unsafe:!0})},function(o,i,s){var c=s(8),a="["+s(53)+"]",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),f=function(h){return function(d){var _=String(c(d));return 1&h&&(_=_.replace(l,"")),2&h&&(_=_.replace(u,"")),_}};o.exports={start:f(1),end:f(2),trim:f(3)}},function(o,i){o.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},function(o,i,s){var c=s(13),a=s(8),l=function(u){return function(f,h){var d,_,m=String(a(f)),w=c(h),g=m.length;return w<0||w>=g?u?"":void 0:(d=m.charCodeAt(w))<55296||d>56319||w+1===g||(_=m.charCodeAt(w+1))<56320||_>57343?u?m.charAt(w):d:u?m.slice(w,w+2):_-56320+(d-55296<<10)+65536}};o.exports={codeAt:l(!1),charAt:l(!0)}},,,function(o,i,s){var c=s(56),a=s(4),l=s(51),u=s(19),f=s(13),h=s(8),d=s(57),_=s(58),m=Math.max,w=Math.min,g=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g;c("replace",2,function(y,x,C,E){var Q=E.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,S=E.REPLACE_KEEPS_$0,I=Q?"$":"$0";return[function(L,A){var $=h(this),D=L==null?void 0:L[y];return D!==void 0?D.call(L,$,A):x.call(String($),L,A)},function(L,A){if(!Q&&S||typeof A=="string"&&A.indexOf(I)===-1){var $=C(x,L,this,A);if($.done)return $.value}var D=a(L),F=String(this),G=typeof A=="function";G||(A=String(A));var H=D.global;if(H){var K=D.unicode;D.lastIndex=0}for(var X=[];;){var B=_(D,F);if(B===null||(X.push(B),!H))break;String(B[0])===""&&(D.lastIndex=d(F,u(D.lastIndex),K))}for(var R,z="",U=0,N=0;N<X.length;N++){B=X[N];for(var Z=String(B[0]),ce=m(w(f(B.index),F.length),0),Qe=[],Qt=1;Qt<B.length;Qt++)Qe.push((R=B[Qt])===void 0?R:String(R));var Vn=B.groups;if(G){var _n=[Z].concat(Qe,ce,F);Vn!==void 0&&_n.push(Vn);var oo=String(A.apply(void 0,_n))}else oo=T(Z,F,ce,Qe,Vn,A);ce>=U&&(z+=F.slice(U,ce)+oo,U=ce+Z.length)}return z+F.slice(U)}];function T(L,A,$,D,F,G){var H=$+L.length,K=D.length,X=b;return F!==void 0&&(F=l(F),X=v),x.call(G,X,function(B,R){var z;switch(R.charAt(0)){case"$":return"$";case"&":return L;case"`":return A.slice(0,$);case"'":return A.slice(H);case"<":z=F[R.slice(1,-1)];break;default:var U=+R;if(U===0)return B;if(U>K){var N=g(U/10);return N===0?B:N<=K?D[N-1]===void 0?R.charAt(1):D[N-1]+R.charAt(1):B}z=D[U-1]}return z===void 0?"":z})}})},function(o,i,s){var c=s(38),a=s(68);o.exports=c?{}.toString:function(){return"[object "+a(this)+"]"}},function(o,i,s){var c=s(38),a=s(11),l=s(7)("toStringTag"),u=a(function(){return arguments}())=="Arguments";o.exports=c?a:function(f){var h,d,_;return f===void 0?"Undefined":f===null?"Null":typeof(d=function(m,w){try{return m[w]}catch(g){}}(h=Object(f),l))=="string"?d:u?a(h):(_=a(h))=="Object"&&typeof h.callee=="function"?"Arguments":_}},function(o,i,s){var c=s(17),a=s(61).trim;c({target:"String",proto:!0,forced:s(70)("trim")},{trim:function(){return a(this)}})},function(o,i,s){var c=s(1),a=s(53);o.exports=function(l){return c(function(){return!!a[l]()||"
"[l]()!="
"||a[l].name!==l})}},function(o,i,s){var c=s(3),a=s(11),l=s(7)("match");o.exports=function(u){var f;return c(u)&&((f=u[l])!==void 0?!!f:a(u)=="RegExp")}},,,,,,,,function(o,i,s){var c=s(56),a=s(71),l=s(4),u=s(8),f=s(80),h=s(57),d=s(19),_=s(58),m=s(29),w=s(1),g=[].push,v=Math.min,b=!w(function(){return!RegExp(4294967295,"y")});c("split",2,function(y,x,C){var E;return E="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(Q,S){var I=String(u(this)),T=S===void 0?4294967295:S>>>0;if(T===0)return[];if(Q===void 0)return[I];if(!a(Q))return x.call(I,Q,T);for(var L,A,$,D=[],F=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(Q.sticky?"y":""),G=0,H=new RegExp(Q.source,F+"g");(L=m.call(H,I))&&!((A=H.lastIndex)>G&&(D.push(I.slice(G,L.index)),L.length>1&&L.index<I.length&&g.apply(D,L.slice(1)),$=L[0].length,G=A,D.length>=T));)H.lastIndex===L.index&&H.lastIndex++;return G===I.length?!$&&H.test("")||D.push(""):D.push(I.slice(G)),D.length>T?D.slice(0,T):D}:"0".split(void 0,0).length?function(Q,S){return Q===void 0&&S===0?[]:x.call(this,Q,S)}:x,[function(Q,S){var I=u(this),T=Q==null?void 0:Q[y];return T!==void 0?T.call(Q,I,S):E.call(String(I),Q,S)},function(Q,S){var I=C(E,Q,this,S,E!==x);if(I.done)return I.value;var T=l(Q),L=String(this),A=f(T,RegExp),$=T.unicode,D=(T.ignoreCase?"i":"")+(T.multiline?"m":"")+(T.unicode?"u":"")+(b?"y":"g"),F=new A(b?T:"^(?:"+T.source+")",D),G=S===void 0?4294967295:S>>>0;if(G===0)return[];if(L.length===0)return _(F,L)===null?[L]:[];for(var H=0,K=0,X=[];K<L.length;){F.lastIndex=b?K:0;var B,R=_(F,b?L:L.slice(K));if(R===null||(B=v(d(F.lastIndex+(b?0:K)),L.length))===H)K=h(L,K,$);else{if(X.push(L.slice(H,K)),X.length===G)return X;for(var z=1;z<=R.length-1;z++)if(X.push(R[z]),X.length===G)return X;K=H=B}}return X.push(L.slice(H)),X}]},!b)},function(o,i,s){var c=s(4),a=s(62),l=s(7)("species");o.exports=function(u,f){var h,d=c(u).constructor;return d===void 0||(h=c(d)[l])==null?f:a(h)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(o,i,s){s.r(i),s.d(i,"strLen",function(){return a}),s.d(i,"cutStr",function(){return l}),s.d(i,"escapeHTML",function(){return u}),s.d(i,"removeTags",function(){return f}),s.d(i,"nl2br",function(){return h}),s.d(i,"randomStr",function(){return d}),s.d(i,"compareVersions",function(){return _}),s(60),s(52),s(54),s(66),s(79);var c=s(55);function a(m,w){w==null&&(w=2),w=typeof w=="number"?{enLen:1,nonEnLen:w}:Object(c.extend)({enLen:1,nonEnLen:2},w);for(var g=0,v=m.length-1;v>=0;v--)g+=m.charCodeAt(v)>255?w.nonEnLen:w.enLen;return g}function l(m,w,g){(g=Object(c.extend)({ellipsis:"...",enLen:1},g)).nonEnLen==null&&(g.nonEnLen=g.mode==null?2:g.mode);var v=a(m=String(m),g);if(v<=w)return m;w-=a(g.ellipsis,g);for(var b="",y=-1;w>0&&++y<v;)(w-=m.charCodeAt(y)>255?g.nonEnLen:g.enLen)>=0&&(b+=m.charAt(y));return b+g.ellipsis}function u(m){if(m==null)return m;var w={'"':""","'":"'","&":"&","<":"<",">":">"};return String(m).replace(/["'&<>]/g,function(g){return w[g]})}function f(m){return m==null?m:String(m).replace(/<.+?>/g,"")}function h(m){return m==null?m:String(m).replace(/\r?\n/g,"<br />")}function d(m,w){if(!(m=parseInt(m))||m<0)throw new Error('"length" must be a number greater than 0');var g="";do g+=Math.random().toString(36).substr(2);while(g.length<m);return g=g.substr(0,m),w!=null&&(g=w+g),g}function _(m,w){if(!m||!w)throw new Error("Please specify both version-a and verson-b");var g=/(\.0+)+$/;m=String(m).replace(g,"").split("."),w=String(w).replace(g,"").split(".");for(var v=Math.min(m.length,w.length),b=0;b<v;b++){var y=parseInt(m[b])-parseInt(w[b]);if(y)return y}return m.length-w.length}}])},506:function(t,e,n){n.r(e);var r=n(235),o=n(438),i={name:"plv-input-paste-image",props:{width:{type:[Number,String],default:200},fontSize:{type:Number,default:14},lineHeight:{type:Number,default:1.6},minLineCount:{type:Number,default:1,validator:function(a){return a>0}},maxLineCount:{type:Number,default:3,validator:function(a){return a>0}},background:{type:String},placeholder:{type:String,default:""},maxImageCount:{type:Number,default:9,validator:function(a){return a>0}},maxlength:{type:Number,default:200,validator:function(a){return a>0}},disabled:{type:Boolean,default:!1}},data:function(){return{focused:!1,inputFiles:[],lastIptRange:null,iptScrollTop:0,isCompostioning:!1}},computed:{finalWidth:function(){return typeof this.width=="number"?this.width>0?this.width+"px":"200px":this.width},minHeight:function(){return this.fontSize*this.lineHeight*this.minLineCount},maxHeight:function(){return this.fontSize*this.lineHeight*this.maxLineCount}},watch:{inputFiles:function(a){this.$emit("input-files",a)}},mounted:function(){this.deletePasteImg()},methods:{handleCompositionStart:function(){this.isCompostioning=!0},handleCompositionEnd:function(){this.isCompostioning=!1,this.afterHandleInput()},handleInput:function(a){a.stopPropagation();var l=this.$refs.input;l.innerHTML==="<br>"&&(l.innerHTML=""),a.data||a.inputType==="deleteContentBackward"||a.inputType==="insertLineBreak"?this.afterHandleInput():this.resetHeight()},afterHandleInput:function(){var a=this.$refs.input,l=a.innerText,u=!1;l&&l.length>this.maxlength&&!this.isCompostioning&&(u=!0,l=l.substring(0,this.maxlength),a.innerText=l,this.moveToEnd(a),this.$emit("over-maxlength",l.length)),!u&&this.$emit("change",this.getContentList()),this.resetHeight()},moveToEnd:function(a){a.focus();var l=window.getSelection();l.selectAllChildren(a),l.collapseToEnd()},resetHeight:function(){var a=this,l=this.$refs.input;l.style.height="auto",this.$nextTick(function(){l.scrollHeight&&(l.style.height="".concat(l.scrollHeight,"px")),a.$emit("is-overflow",l.scrollHeight>l.clientHeight)})},handlePaste:function(a){var l=this,u=a.clipboardData||window.clipboardData;if(u)if(this.focus(),u.items.length>0){for(var f=u.items,h=[],d=!0,_=0;_<f.length;_++)if(f[_].kind==="file"&&f[_].type.includes("image")){if(this.inputFiles.length>=this.maxImageCount){this.$emit("over-max-image-count",this.inputFiles.length);continue}var m=f[_].getAsFile(),w="plv-input-paste-image__file-".concat(Object(r.v4)());m.fileId=w,this.inputFiles.push({id:w,file:m}),h.push({id:w,file:m})}else f[_].type.includes("text/plain")&&(d=!1,this.handlePasteText(u));Promise.all(h.map(function(g){var v=g.id,b=g.file;return l.loadPasteImg(v,b)})).then(function(g){g.forEach(function(v){l.insertAtSelection(v)})}).finally(function(){l.$nextTick(function(){l.resetHeight()}),d&&l.$emit("change",l.getContentList())}),a.preventDefault()}else this.getLocalImg()},deletePasteImg:function(){var a=this,l=this.$refs.input;new MutationObserver(function(u){u.forEach(function(f){f.removedNodes.forEach(function(h){if(h.tagName==="IMG"){var d=h.id,_=a.inputFiles.findIndex(function(m){return m.id===d});_>=0&&a.inputFiles.splice(_,1)}})})}).observe(l,{childList:!0})},focus:function(){this.$refs.input.focus()},handlePasteText:function(a){var l=a.getData("text/plain"),u=this.$refs.input.innerText;if(u&&u.length>=this.maxlength)this.$emit("over-maxlength",u.length);else{if((u+l).length>this.maxlength&&(l=l.substring(0,this.maxlength-u.length)),l=Object(o.escapeHTML)(l),document.execCommand("insertHTML"))document.execCommand("insertHTML",!1,l);else{var f=document.createTextNode(l);this.insertAtSelection(f)}this.$emit("change",this.getContentList())}},loadPasteImg:function(a,l){var u=this;return new Promise(function(f){var h=new FileReader;h.onload=function(d){var _=d.target.result,m=document.createElement("img");m.src=_,m.id=a,m.addEventListener("dblclick",function(){u.$emit("preview",_)}),f(m)},h.readAsDataURL(l)})},insertAtSelection:function(a){try{var l=window.getSelection(),u=l.getRangeAt(0);u.deleteContents();var f=document.createDocumentFragment(),h=f.appendChild(a);u.insertNode(f),u.setStartAfter(h),u.collapse(!1),l.removeAllRanges(),l.addRange(u)}catch(d){}},getLocalImg:function(){var a=this,l=this.$refs.input;if(this.inputFiles=[],l.getElementsByTagName("img").length>=this.maxImageCount)return event.preventDefault(),void this.$emit("over-max-image-count",this.inputFiles.length);setTimeout(function(){l.childNodes.forEach(function(u){if(u.tagName==="IMG"){var f=u.src,h=a.base64toFile(f,"plv-input-paste-image__file-".concat(Object(r.v4)(),".jpg")),d=a.insertImgFile(h).fileId;u.id=d}})},1)},base64toFile:function(a,l){for(var u=a.split(","),f=window.atob(u[1]),h=f.length,d=new Uint8Array(h);h--;)d[h]=f.charCodeAt(h);return new File([d],l,{type:"image/jpeg"})},insertImgFile:function(a){var l="plv-input-paste-image__file-".concat(Object(r.v4)());return this.inputFiles.push({id:l,file:a}),{fileId:l}},getCursorRange:function(){var a=window.getSelection();try{this.lastIptRange=a.getRangeAt(0)}catch(l){}},insertEmotion:function(a){var l=this.$refs.input,u=l.innerText;if(u.length>=this.maxlength)this.$emit("over-maxlength",u.length);else{var f=a.substring(0,this.maxlength-u.length);this.focus();var h=window.getSelection();this.lastIptRange&&(h.removeAllRanges(),h.addRange(this.lastIptRange)),this.moveToEnd(l);var d=document.createTextNode(f);this.insertAtSelection(d),this.getCursorRange(),this.$refs.input.scrollTo(0,this.iptScrollTop),this.$emit("change",this.getContentList()),this.resetHeight()}},insertText:function(a){this.insertEmotion(a)},onScroll:function(a){this.iptScrollTop=a.target.scrollTop},clear:function(){this.$refs.input.innerHTML="",this.resetHeight()},handleFocus:function(a){this.focused=!0,this.$emit("focus",a)},handleBlur:function(a){this.getCursorRange(),this.focused=!1,this.$emit("blur",a)},onMousedown:function(a){this.$emit("mousedown",a)},getContentList:function(){for(var a=[],l=this.$refs.input.cloneNode(!0),u=l.querySelectorAll("img"),f=l.querySelectorAll("br"),h=u.length-1;h>=0;h--){var d=document.createTextNode("[{"+u[h].id+"}]");u[h].parentNode.replaceChild(d,u[h])}for(var _=f.length-1;_>=0;_--){var m=document.createTextNode(`
|
|
1016
|
+
`);f[_].parentNode.replaceChild(m,f[_])}for(var w=l.textContent,g=/\[\{(.+?)\}\]/;g.test(w);){RegExp.leftContext&&a.push({type:"text",content:RegExp.leftContext});var v=this.inputFiles.find(function(b){return b.id===RegExp.$1});if(v&&a.push({type:"img",file:v.file}),!RegExp.rightContext){w=null;break}w=RegExp.rightContext}return w&&a.push({type:"text",content:w}),a}}},s=(n(615),n(0)),c=Object(s.a)(i,function(){var a=this,l=a.$createElement,u=a._self._c||l;return u("div",[a._t("header"),a._v(" "),u("div",{ref:"input",staticClass:"plv-input-paste-image",class:{"plv-input-paste-image--focus":a.focused,"plv-input-paste-image--disabled":a.disabled},style:{width:a.finalWidth,minHeight:a.minHeight+"px",maxHeight:a.maxHeight+"px",fontSize:a.fontSize+"px",lineHeight:a.lineHeight,background:a.background},attrs:{contenteditable:!a.disabled,placeholder:a.placeholder},on:{input:a.handleInput,keypress:function(f){return!f.type.indexOf("key")&&a._k(f.keyCode,"enter",13,f.key,"Enter")||f.ctrlKey||f.shiftKey||f.altKey||f.metaKey?null:(f.preventDefault(),a.$emit("submit"))},paste:a.handlePaste,focus:a.handleFocus,blur:a.handleBlur,click:a.getCursorRange,keyup:a.getCursorRange,scroll:a.onScroll,mousedown:a.onMousedown,compositionstart:a.handleCompositionStart,compositionend:a.handleCompositionEnd}}),a._v(" "),a._t("footer")],2)},[],!1,null,null,null).exports;c.install=function(a){a.component(c.name,c)},e.default=c},613:function(t,e,n){var r,o,i=n(376),s=n(377),c=0,a=0;t.exports=function(l,u,f){var h=u&&f||0,d=u||[],_=(l=l||{}).node||r,m=l.clockseq!==void 0?l.clockseq:o;if(_==null||m==null){var w=i();_==null&&(_=r=[1|w[0],w[1],w[2],w[3],w[4],w[5]]),m==null&&(m=o=16383&(w[6]<<8|w[7]))}var g=l.msecs!==void 0?l.msecs:new Date().getTime(),v=l.nsecs!==void 0?l.nsecs:a+1,b=g-c+(v-a)/1e4;if(b<0&&l.clockseq===void 0&&(m=m+1&16383),(b<0||g>c)&&l.nsecs===void 0&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=g,a=v,o=m;var y=(1e4*(268435455&(g+=122192928e5))+v)%4294967296;d[h++]=y>>>24&255,d[h++]=y>>>16&255,d[h++]=y>>>8&255,d[h++]=255&y;var x=g/4294967296*1e4&268435455;d[h++]=x>>>8&255,d[h++]=255&x,d[h++]=x>>>24&15|16,d[h++]=x>>>16&255,d[h++]=m>>>8|128,d[h++]=255&m;for(var C=0;C<6;++C)d[h+C]=_[C];return u||s(d)}},614:function(t,e,n){var r=n(376),o=n(377);t.exports=function(i,s,c){var a=s&&c||0;typeof i=="string"&&(s=i==="binary"?new Array(16):null,i=null);var l=(i=i||{}).random||(i.rng||r)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,s)for(var u=0;u<16;++u)s[a+u]=l[u];return s||o(l)}},615:function(t,e,n){n(378)}}).default;const Mw=da(Bw),Nw=p.defineComponent({__name:"paste-image-input",props:{placeholder:k.string,maxlength:k.number.def(200),disabled:k.bool.def(!1)},emits:{submit:M(),change:M()},setup(t,{expose:e,emit:n}){const r=t,{chatTarget:o}=j(),{toast:i}=ye(),{previewImage:s}=Ei(),{$t:c}=W(),a=p.ref();function l(){i.error(c("chat.overMaxImageCount",{count:9}))}function u(v){s(v)}function f(){var v;(v=a.value)==null||v.focus()}function h(v){var b;(b=a.value)==null||b.insertEmotion(v)}function d(){var v,b;return(b=(v=a.value)==null?void 0:v.getContentList())!=null?b:[]}function _(){var v;(v=a.value)==null||v.clear()}const{isZhCN:m}=W();p.watch(()=>m.value,()=>{if(!a.value)return;const v=a.value.$el.firstElementChild;v&&(v.innerHTML=o.emotion.translateEmotions(v.innerHTML,m.value))});const{checkIntercept:w}=xt();function g(v){return P(this,null,function*(){(yield w("focus-message-input"))&&v.preventDefault()})}return e({focus:f,insertEmotion:h,getContentList:d,clear:_}),{__sfc:!0,props:r,emit:n,chatTarget:o,toast:i,previewImage:s,$t:c,imagePasteInputRef:a,overMaxImageCountHandler:l,previewPastedImageHandler:u,focus:f,insertEmotion:h,getContentList:d,clear:_,isZhCN:m,checkIntercept:w,onMousedown:g,PlvInputPasteImage:Mw}}});var Hw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PlvInputPasteImage,{ref:"imagePasteInputRef",staticClass:"plv-chat-input-paste-image",attrs:{width:"100%",maxlength:e.maxlength,"max-image-count":9,placeholder:e.placeholder,disabled:e.disabled},on:{submit:function(o){return r.emit("submit")},change:function(o){return r.emit("change",o)},"over-max-image-count":r.overMaxImageCountHandler,preview:r.previewPastedImageHandler,mousedown:r.onMousedown}})},Uw=[],jw=q(Nw,Hw,Uw);const qw=jw.exports,Ww=t=>{const{emit:e}=t,{inputConfig:n}=dt(),r=p.computed(()=>n.value.sendImageEnabled);function o(){e("click-send-image")}return{sendImageVisible:r,onClickSendImage:o}},Gw=p.defineComponent({__name:"message-input-base",props:ie(O({},hl()),{defaultHeight:k.number.def(140),showBottom:k.bool.def(!0)}),emits:vl(),setup(t,{expose:e,emit:n}){const r=t,{isIE:o}=se(),{$t:i}=W(),{inputConfig:s}=dt(),{sendImageVisible:c,onClickSendImage:a}=Ww({emit:n}),{msgInputController:l,emotionController:u,inputPlaceholder:f,sendBtnDisabled:h,submitInput:d,onClickInputWrap:_}=_l({props:r,emit:n}),{pasteImageRef:m,inputElemRef:w,inputElemValue:g,curInputTextLength:v,focusInput:b}=l,{emotionPickerBtnVisible:y,emotionRef:x,emotionVisible:C,hideEmotionPanel:E,onClickEmotionPickerBtn:Q,onClickFace:S}=u;return e({focusInput:b}),{__sfc:!0,props:r,emit:n,isIE:o,$t:i,inputConfig:s,sendImageVisible:c,onClickSendImage:a,msgInputController:l,emotionController:u,inputPlaceholder:f,sendBtnDisabled:h,submitInput:d,onClickInputWrap:_,pasteImageRef:m,inputElemRef:w,inputElemValue:g,curInputTextLength:v,focusInput:b,emotionPickerBtnVisible:y,emotionRef:x,emotionVisible:C,hideEmotionPanel:E,onClickEmotionPickerBtn:Q,onClickFace:S,PwcResizeBox:Yf,ResizeDirection:Ie,ChatIconEmotionTwo:Md,ChatIconSendImageTwo:p1,EmotionPicker:ml,PasteImageInput:qw}}});var Zw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcResizeBox,{staticClass:"plv-message-input-base",attrs:{"show-handles":[r.ResizeDirection.Top],height:e.defaultHeight,"min-height":104,"max-height":360,"storage-key":"plv-message-input-base-height"},on:{resize:function(o){return r.emit("resize")}}},[n("div",{staticClass:"plv-message-input-base__panel",attrs:{"data-message-input-panel":""}},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.emotionVisible,expression:"emotionVisible"}],ref:"emotionRef",staticClass:"plv-message-input-base__panel--emotion"},[n(r.EmotionPicker,{staticClass:"plv-message-input-base__emotion-picker",attrs:{"click-to-close":""},on:{"click-face":r.onClickFace,close:r.hideEmotionPanel}})],1),e._t("panel-suffix")],2),n("div",{staticClass:"plv-message-input-base__icons"},[n("div",{staticClass:"plv-message-input-base__icons__left"},[e._t("icon-left",function(){return[r.emotionPickerBtnVisible?n(r.ChatIconEmotionTwo,{staticClass:"plv-message-input-base__icons--emotion",class:{"is-disabled":e.disabledInput},attrs:{"data-emotion-picker-btn":""},on:{click:r.onClickEmotionPickerBtn}}):e._e(),r.sendImageVisible?n(r.ChatIconSendImageTwo,{staticClass:"plv-message-input-base__icons--send-image",class:{"is-disabled":e.disabledInput},on:{click:r.onClickSendImage}}):e._e(),e._t("icon-left-suffix")]})],2),n("div",{staticClass:"plv-message-input-base__icons__right"},[e._t("icon-right-suffix")],2)]),n("div",{staticClass:"plv-message-input-base__input",on:{click:r.onClickInputWrap}},[e._t("input",function(){return[r.inputConfig.sendImageEnabled&&!r.isIE?n(r.PasteImageInput,{ref:"pasteImageRef",attrs:{placeholder:r.inputPlaceholder,maxlength:e.maxInputTextLength,disabled:e.disabledInput},on:{submit:r.submitInput}}):n("textarea",{directives:[{name:"model",rawName:"v-model",value:r.inputElemValue,expression:"inputElemValue"}],ref:"inputElemRef",staticClass:"plv-message-input-base__input__textarea",attrs:{placeholder:r.inputPlaceholder,maxlength:e.maxInputTextLength,disabled:e.disabledInput},domProps:{value:r.inputElemValue},on:{keypress:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")||o.ctrlKey||o.shiftKey||o.altKey||o.metaKey?null:(o.preventDefault(),r.submitInput.apply(null,arguments))},input:function(o){o.target.composing||(r.inputElemValue=o.target.value)}}})]})],2),e.showBottom?n("div",{staticClass:"plv-message-input-base__bottom"},[e._t("bottom-suffix"),n("div",{staticStyle:{"margin-left":"auto"}}),n("span",[e._v(e._s(r.curInputTextLength)+"/"+e._s(e.maxInputTextLength))]),n("div",{staticClass:"plv-message-input-base__submit",class:{"is-disabled":r.sendBtnDisabled},on:{click:r.submitInput}},[e._v(" "+e._s(r.$t("chat.send"))+" ")])],2):e._e()])},Yw=[],Kw=q(Gw,Zw,Yw);const Xw=Kw.exports,Jw=oe("checkbox",t=>`
|
|
1007
1017
|
<svg width="${t.size}" height="${t.size}" fill="none" viewBox="0 0 16 16">
|
|
1008
1018
|
<g>
|
|
1009
1019
|
<g>
|
|
@@ -1031,4 +1041,4 @@ ${Gn(n)}`),r}})}function Nl(t){const e=Object.keys(t),n=e.filter(o=>{var i;retur
|
|
|
1031
1041
|
</g>
|
|
1032
1042
|
</g>
|
|
1033
1043
|
</svg>
|
|
1034
|
-
`),Hw=()=>{const{$t:t}=G(),{manageConfig:e}=_e(),{chatTarget:n}=q(),{toast:r}=xe(),{messageBox:o}=wr(),i=u.computed(()=>e.value.clearMsgEnabled);function s(){return P(this,null,function*(){if(!i.value)return;yield o({message:t("manage.clearChatConfirm"),description:t("manage.clearChatConfirmTips"),confirmType:Pt.Delete,confirmButtonText:t("manage.clear")}).$confirm(),(yield n.manage.clearMsg()).success?r.success(t("manage.clearMsgSuccess")):r.error(t("manage.clearMsgFail"))})}return{canClearMsg:i,clearMsg:s}},jw=u.defineComponent({__name:"more-panel",emits:{close:H()},setup(t,{emit:e}){const{$t:n}=G(),{canClearMsg:r,clearMsg:o}=Hw(),{canOnlySpecialMsg:i,isOnlySpecialMsg:s,toggleOnlySpecialMsg:c}=Jc(),{canAutoTranslate:a,isAutoTranslating:l,toggleAutoTranslate:p}=_c();function f(){p(),e("close")}return{__sfc:!0,emit:e,$t:n,canClearMsg:r,clearMsg:o,canOnlySpecialMsg:i,isOnlySpecialMsg:s,toggleOnlySpecialMsg:c,canAutoTranslate:a,isAutoTranslating:l,toggleAutoTranslate:p,onClickAutoTranslate:f,ChatIconRemove:Od,ChatIconCheckbox:Ed,ChatIconTranslateTwo:nc,ChatIconCancelTranslate:Qd,ChatOriginIconCheckbox:Uw}}});var qw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-chat-message-input-section__more-panel"},[r.canAutoTranslate?n("div",{staticClass:"plv-chat-message-input-section__more-panel--auto-translate",on:{click:r.onClickAutoTranslate}},[r.isAutoTranslating?n(r.ChatIconCancelTranslate):n(r.ChatIconTranslateTwo),n("span",[e._v(e._s(r.isAutoTranslating?r.$t("chat.cancelTranslate"):r.$t("chat.translate")))])],1):e._e(),r.canOnlySpecialMsg?n("div",{staticClass:"plv-chat-message-input-section__more-panel--only-special",on:{click:r.toggleOnlySpecialMsg}},[r.isOnlySpecialMsg?n(r.ChatOriginIconCheckbox):n(r.ChatIconCheckbox),n("span",[e._v(e._s(r.$t("chat.onlySpecial")))])],1):e._e(),r.canClearMsg?n("div",{staticClass:"plv-chat-message-input-section__more-panel--clear",on:{click:r.clearMsg}},[n(r.ChatIconRemove),n("span",[e._v(e._s(r.$t("manage.clearChat")))])],1):e._e(),e._t("more-panel")],2)},Ww=[],Gw=j(jw,qw,Ww);const Yw=Gw.exports,Zw=u.defineComponent({__name:"chat-message-input-section",props:{defaultHeight:k.number.def(140),showMore:k.bool.def(!0)},setup(t){const e=u.ref(),{chatInputDisabled:n,chatInputPlaceholder:r,maxInputTextLength:o,currentQuoteMsg:i,clearCurrentQuoteMsg:s,onSubmitMessage:c,onClickSendImage:a,onSystemMsg:l}=Wr({quoteMsgCallback:()=>{var E;(E=e.value)==null||E.focusInput()}}),{currentMaskText:p}=Tr(),{$t:f}=G(),{messageConfig:h}=ce(),{canChatSwitch:d,chatRoomIsClosed:v,toggleChatSwitch:g}=ll(),{getEmitter:_}=we(),{checkIntercept:m}=_t(),w=u.ref(),{visible:b,togglePanel:x,hidePanel:C}=il([w,"[data-more]"]);function Q(){return P(this,null,function*(){(yield m("more-panel"))||x()})}function S(){_().emit(J.AddMessageSize)}function y(){_().emit(J.CheckScrollFoot)}return{__sfc:!0,msgInputBaseRef:e,chatInputDisabled:n,chatInputPlaceholder:r,maxInputTextLength:o,currentQuoteMsg:i,clearCurrentQuoteMsg:s,onSubmitMessage:c,onClickSendImage:a,onSystemMsg:l,currentMaskText:p,$t:f,messageConfig:h,canChatSwitch:d,chatRoomIsClosed:v,toggleChatSwitch:g,getEmitter:_,checkIntercept:m,morePanelRef:w,moreVisible:b,toggleMorePanel:x,hideMorePanel:C,onClickMore:Q,onClickMsgSize:S,onResize:y,PwcIconClose:En,PwcSwitch:Lf,ChatIconFontSize:Pd,SimpleMsgItem:$r,MessageInputBase:Nw,MorePanel:Yw}}});var Kw=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-chat-message-input-section"},[r.currentQuoteMsg?n("div",{staticClass:"plv-chat-message-input-section__quote"},[n(r.SimpleMsgItem,{attrs:{"chat-msg":r.currentQuoteMsg,type:"quote"}}),n(r.PwcIconClose,{staticClass:"plv-chat-message-input-section__quote__close",on:{click:r.clearCurrentQuoteMsg}})],1):e._e(),n(r.MessageInputBase,{ref:"msgInputBaseRef",attrs:{"disabled-input":r.chatInputDisabled,placeholder:r.chatInputPlaceholder,"default-height":e.defaultHeight,"max-input-text-length":r.maxInputTextLength,"show-bottom":!r.currentMaskText},on:{submit:r.onSubmitMessage,"click-send-image":r.onClickSendImage,resize:r.onResize,"system-msg":r.onSystemMsg},scopedSlots:e._u([{key:"panel-suffix",fn:function(){return[n("div",{directives:[{name:"show",rawName:"v-show",value:r.moreVisible,expression:"moreVisible"}],staticClass:"plv-message-input-base__panel--more",attrs:{"data-more":""}},[n(r.MorePanel,{on:{close:r.hideMorePanel},scopedSlots:e._u([{key:"more-panel",fn:function(){return[e._t("more-panel")]},proxy:!0}],null,!0)})],1)]},proxy:!0},r.currentMaskText?{key:"icon-left",fn:function(){return[n("div",{staticClass:"plv-chat-message-input-section__mask-title"},[e._v(e._s(r.$t("input.maskTitle")))])]},proxy:!0}:null,r.currentMaskText?{key:"input",fn:function(){return[n("div",{staticClass:"plv-chat-message-input-section__mask-text"},[e._v(e._s(r.currentMaskText))])]},proxy:!0}:null,{key:"icon-left-suffix",fn:function(){return[r.messageConfig.messageSizeEnabled?n(r.ChatIconFontSize,{staticClass:"plv-message-input-base__icons--msg-size",on:{click:r.onClickMsgSize}}):e._e(),e._t("icon-left-suffix")]},proxy:!0},{key:"icon-right-suffix",fn:function(){return[e._t("icon-right-suffix"),e.showMore?n("div",{staticClass:"plv-message-input-base__icons--more",attrs:{"data-more":""},on:{click:r.onClickMore}},[e._v(" "+e._s(r.$t("chat.more"))+" "),n("span")]):e._e()]},proxy:!0},{key:"bottom-suffix",fn:function(){return[e._t("bottom-suffix"),r.canChatSwitch?n("div",{staticClass:"plv-chat-message-input-section__switch"},[n(r.PwcSwitch,{attrs:{value:r.chatRoomIsClosed,size:"mini"},on:{change:r.toggleChatSwitch}}),n("span",[e._v(e._s(r.$t("manage.closeRoom")))])],1):e._e()]},proxy:!0}],null,!0)})],1)},Xw=[],Jw=j(Zw,Kw,Xw);const Vw=Jw.exports,eb=u.defineComponent({__name:"viewer-input-control",setup(t){const{getEmitter:e}=we(),{chatInputDisabled:n,chatInputPlaceholder:r}=Wr({quotePlaceholder:!1});function o(){n.value||e().emit(J.OpenEmotionFacePicker)}function i(){e().emit(J.FocusInput)}return{__sfc:!0,getEmitter:e,chatInputDisabled:n,chatInputPlaceholder:r,onClickEmotion:o,openInput:i,ChatIconEmotion:ec}}});var tb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-viewer-input-control"},[n("div",{staticClass:"plv-viewer-input-control__body",class:{"is-disabled":r.chatInputDisabled},on:{click:r.openInput}},[n("div",{staticClass:"plv-viewer-input-control__body__text"},[e._v(e._s(r.chatInputPlaceholder))]),e._t("body-suffix",function(){return[n(r.ChatIconEmotion,{staticClass:"plv-viewer-input-control__icon",on:{click:function(o){return o.stopPropagation(),r.onClickEmotion.apply(null,arguments)}}})]})],2),e._t("suffix")],2)},nb=[],rb=j(eb,tb,nb);const ul=rb.exports,ob=u.defineComponent({__name:"manager-input-control",setup(t){const{inputConfig:e}=pt(),{canChatSwitch:n,chatRoomIsClosed:r,toggleChatSwitch:o}=ll(),{onClickSendImage:i}=Wr();return{__sfc:!0,inputConfig:e,canChatSwitch:n,chatRoomIsClosed:r,toggleChatSwitch:o,onClickSendImage:i,ChatIconChatDisabled:kd,ChatIconChatDisabledSuffix:Sd,ChatIconSendImage:zd,ViewerInputControl:ul}}});var ib=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.ViewerInputControl,{staticClass:"plv-manager-input-control",scopedSlots:e._u([{key:"suffix",fn:function(){return[r.inputConfig.sendImageEnabled?n("div",{staticClass:"plv-viewer-input-control__btn",on:{click:r.onClickSendImage}},[n(r.ChatIconSendImage)],1):e._e(),r.canChatSwitch?n("div",{staticClass:"plv-viewer-input-control__btn plv-manager-input-control__btn--chat-switch",class:{"is-active":r.chatRoomIsClosed},on:{click:r.toggleChatSwitch}},[n(r.ChatIconChatDisabled),n(r.ChatIconChatDisabledSuffix)],1):e._e()]},proxy:!0}])})},sb=[],ab=j(ob,ib,sb);const cb=ab.exports,lb=u.defineComponent({__name:"ban-user-item",props:{item:k.object().isRequired},emits:{"cancel-ban-user":H()},setup(t,{emit:e}){const n=t,r=u.computed(()=>n.item.userId),{$t:o}=G(),{cancelBanUser:i}=yi({targetUserId:r,banActionCallback:()=>{e("cancel-ban-user")}});return{__sfc:!0,props:n,emit:e,targetUserId:r,$t:o,cancelBanUser:i}}});var ub=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-user-item"},[n("div",{staticClass:"plv-ban-user-item__content"},[n("div",{staticClass:"plv-ban-user-item__nick"},[e._v(e._s(e.item.nick||"-"))]),n("div",{staticClass:"plv-ban-user-item__info"},[n("span",[e._v("IP: "+e._s(e.item.clientIp||"-"))]),n("span",[e._v("ID: "+e._s(e.item.userId||"-"))])])]),e.item.platformProhibited?n("div",{staticClass:"plv-ban-user-item__btn is-disabled"},[e._v(" "+e._s(r.$t("manage.banPlatformProhibited"))+" ")]):n("div",{staticClass:"plv-ban-user-item__btn",on:{click:r.cancelBanUser}},[e._v(" "+e._s(r.$t("manage.cancelBan"))+" ")])])},pb=[],fb=j(lb,ub,pb);const db=fb.exports,mb=u.defineComponent({__name:"ban-user-list",setup(t){const{chatTarget:e}=q(),{$t:n}=G(),{isEmpty:r,keyword:o,contents:i,scrollRef:s,refreshList:c}=Ga(a=>e.manage.getBannedUserList({pageNumber:a.pageNumber,pageSize:a.pageSize,keyword:a.keyword}),{pageSize:u.ref(50)});return{__sfc:!0,chatTarget:e,$t:n,isEmpty:r,keyword:o,bannedUserList:i,scrollRef:s,refreshList:c,FormSize:_r,PwcInput:On,PwcEmpty:tn,ChatIconSearch:tc,BanUserItem:db}}});var gb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-user-list"},[n("div",{staticClass:"plv-ban-user-list__search"},[n(r.PwcInput,{attrs:{size:r.FormSize.Small,placeholder:r.$t("online.searchPlaceholder")},scopedSlots:e._u([{key:"prefix",fn:function(){return[n(r.ChatIconSearch)]},proxy:!0}]),model:{value:r.keyword,callback:function(o){r.keyword=o},expression:"keyword"}})],1),n("div",{ref:"scrollRef",staticClass:"plv-ban-user-list__content"},[e._l(r.bannedUserList,function(o){return n(r.BanUserItem,{key:o.userId,attrs:{item:o},on:{"cancel-ban-user":r.refreshList}})}),r.isEmpty?n(r.PwcEmpty):e._e()],2)])},hb=[],vb=j(mb,gb,hb);const _b=vb.exports,wb=u.defineComponent({__name:"ban-ip-item",props:{item:k.object().isRequired},emits:{"cancel-ban-ip":H()},setup(t,{emit:e}){const n=t,{$t:r}=G(),o=u.computed(()=>n.item.clientIp),{cancelBanIp:i}=bi({targetIp:o,banActionCallback:()=>{e("cancel-ban-ip")}});return{__sfc:!0,props:n,emit:e,$t:r,targetIp:o,cancelBanIp:i}}});var bb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-ip-item"},[n("div",{staticClass:"plv-ban-ip-item__ip"},[e._v(" "+e._s(r.$t("manage.userIp"))+" "+e._s(e.item.clientIp)+" ")]),n("div",{staticClass:"plv-ban-ip-item__btn",on:{click:r.cancelBanIp}},[e._v(" "+e._s(r.$t("manage.cancelBanIp"))+" ")])])},yb=[],xb=j(wb,bb,yb);const Cb=xb.exports,Qb=u.defineComponent({__name:"ban-ip-list",setup(t){const{chatTarget:e}=q(),n=u.ref([]),{request:r,requestFinished:o,loading:i}=Bo(()=>P(this,null,function*(){const s=yield e.manage.getBannedIpList();n.value=s.contents}));return u.onMounted(()=>{r()}),{__sfc:!0,chatTarget:e,bannedIpList:n,getBannedIpList:r,requestFinished:o,loading:i,BanIpItem:Cb,PwcEmpty:tn}}});var kb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-ip-list"},[e._l(r.bannedIpList,function(o){return n(r.BanIpItem,{key:o.clientIp,attrs:{item:o},on:{"cancel-ban-ip":r.getBannedIpList}})}),r.requestFinished&&!r.loading&&r.bannedIpList.length===0?n(r.PwcEmpty):e._e()],2)},Sb=[],Eb=j(Qb,kb,Sb);const Tb=Eb.exports,Ib=u.defineComponent({__name:"ban-list",setup(t,{expose:e}){const n=u.ref(),{$t:r}=G(),{visible:o,show:i,close:s}=vt();function c(){n.value="user"}function a(){n.value=void 0}return le(J.OpenBanList,i),e({openBanList:i,closeBanList:s}),{__sfc:!0,banType:n,$t:r,visible:o,openBanList:i,closeBanList:s,onAfterShow:c,onAfterLeave:a,PwcPopup:ot,PwcCategorySelect:O7,PwcCategorySelectItem:L7,BanUserList:_b,BanIpList:Tb}}});var Lb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"plv-ban-list",attrs:{title:r.$t("manage.banList")},on:{"after-enter":r.onAfterShow,"after-leave":r.onAfterLeave},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"plv-ban-list__content"},[n("div",{staticClass:"plv-ban-list__top"},[n(r.PwcCategorySelect,{model:{value:r.banType,callback:function(o){r.banType=o},expression:"banType"}},[n(r.PwcCategorySelectItem,{attrs:{"category-value":"user"}},[e._v(e._s(r.$t("manage.banUserTitle")))]),n(r.PwcCategorySelectItem,{attrs:{"category-value":"ip"}},[e._v(e._s(r.$t("manage.banIpTitle")))])],1)],1),r.banType==="user"?n(r.BanUserList):e._e(),r.banType==="ip"?n(r.BanIpList):e._e()],1)])},Pb=[],Ab=j(Ib,Lb,Pb);const pl=Ab.exports,$b=u.defineComponent({__name:"kick-user-item",props:{item:k.object().isRequired},emits:{"cancel-kick-user":H()},setup(t,{emit:e}){const n=t,r=u.computed(()=>n.item.userId),{$t:o}=G(),{cancelKickUser:i}=xi({targetUserId:r,kickActionCallback:()=>{e("cancel-kick-user")}});return{__sfc:!0,props:n,emit:e,targetUserId:r,$t:o,cancelKickUser:i}}});var Rb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-kick-user-item"},[n("div",{staticClass:"plv-kick-user-item__content"},[n("div",{staticClass:"plv-kick-user-item__nick"},[e._v(e._s(e.item.nick||"-"))]),n("div",{staticClass:"plv-kick-user-item__info"},[n("span",[e._v("IP: "+e._s(e.item.clientIp||"-"))]),n("span",[e._v("ID: "+e._s(e.item.userId||"-"))])])]),e.item.platformProhibited?n("div",{staticClass:"plv-kick-user-item__btn is-disabled"},[e._v(" "+e._s(r.$t("manage.kickPlatformProhibited"))+" ")]):n("div",{staticClass:"plv-kick-user-item__btn",on:{click:r.cancelKickUser}},[e._v(" "+e._s(r.$t("manage.cancelKick"))+" ")])])},Ob=[],Db=j($b,Rb,Ob);const zb=Db.exports,Fb=u.defineComponent({__name:"kick-list",setup(t,{expose:e}){const{$t:n}=G(),{visible:r,show:o,close:i}=vt(),{chatTarget:s}=q();le(J.OpenKickList,o);const c=u.ref([]),{request:a,requestFinished:l,loading:p}=Bo(()=>P(this,null,function*(){const f=yield s.manage.getKickedUserList();c.value=f.contents}));return e({openKickList:o,closeKickList:i}),{__sfc:!0,$t:n,visible:r,openKickList:o,closeKickList:i,chatTarget:s,kickedUserList:c,getKickedUserList:a,requestFinished:l,loading:p,PwcEmpty:tn,PwcPopup:ot,KickUserItem:zb}}});var Bb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"plv-kick-list",attrs:{title:r.$t("manage.kickList")},on:{"after-enter":r.getKickedUserList},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"plv-kick-list__content"},[e._l(r.kickedUserList,function(o){return n(r.KickUserItem,{key:o.userId,attrs:{item:o},on:{"cancel-kick-user":r.getKickedUserList}})}),r.requestFinished&&!r.loading&&r.kickedUserList.length===0?n(r.PwcEmpty):e._e()],2)])},Mb=[],Nb=j(Fb,Bb,Mb);const fl=Nb.exports,Ub=u.defineComponent({__name:"user-control",props:{user:k.object().isRequired},setup(t){const e=t,{isMobile:n}=ae(),{user:r}=ut(e),{userId:o,userClientIp:i}=Er(r),{manageConfig:s}=_e(),{actionSheet:c}=c1(),a=wi(),{controlItems:l}=a;pe(s.value.banUserEnabled,()=>yi({targetUserId:o,targetUser:r,controlContext:a})),pe(s.value.banIpEnabled,()=>bi({targetIp:i,targetUser:r,controlContext:a})),pe(s.value.kickUserEnabled,()=>xi({targetUserId:o,targetUser:r,controlContext:a})),pe(s.value.askUserEnabled,()=>X1({targetUser:r,controlContext:a}));function p(){return P(this,null,function*(){if(l.value.length===0)return;const f=yield c({actions:l.value.map(h=>{var d,v;return se(D({},h),{hidden:!1,disabled:(d=h.disabled)==null?void 0:d.call(h),disabledTip:(v=h.disabledTip)==null?void 0:v.call(h),name:h.text(),value:h.controlType})})});f&&f.clickCallback()})}return{__sfc:!0,props:e,isMobile:n,user:r,userId:o,userClientIp:i,manageConfig:s,actionSheet:c,controlContext:a,controlItems:l,onClickControl:p,PwcDropdown:ni,PwcDropdownItem:oi,PwcDropdownMenu:ri,ChatIconThreeDot:Md}}});var Hb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.controlItems.length>0?n("span",[r.isMobile?n(r.ChatIconThreeDot,{staticClass:"plv-online-item__control",on:{click:r.onClickControl}}):n(r.PwcDropdown,{attrs:{"show-arrow":!1},scopedSlots:e._u([{key:"dropdown",fn:function(){return[n(r.PwcDropdownMenu,e._l(r.controlItems,function(o){return n(r.PwcDropdownItem,{key:o.controlType,on:{click:o.clickCallback}},[e._v(" "+e._s(o.text())+" ")])}),1)]},proxy:!0}],null,!1,3793087375)},[n(r.ChatIconThreeDot,{staticClass:"plv-online-item__control"})],1)],1):e._e()},jb=[],qb=j(Ub,Hb,jb);const dl=qb.exports,Wb=u.defineComponent({__name:"attendance-list",props:{keyword:k.string,memberType:k.string},setup(t){const e=t,{chatTarget:n}=q(),r=u.ref([]),o=u.ref(!1),i=u.ref(!1);function s(p){return P(this,null,function*(){const f=yield n.online.getAttendanceList({keyword:e.keyword,count:10,searchType:e.memberType==="attendance"?"attendance":"absence",score:p});p?r.value=[...r.value,...f.list]:r.value=f.list,o.value=f.list.length===0,o.value||(yield l())===!1&&c(),i.value=!0})}function c(){if(o.value)return;const p=r.value[r.value.length-1];p&&!e.keyword&&!o.value&&s(p.score)}const{scrollRef:a,hasVerticalScrollbar:l}=Wa({nextCallback:()=>{c()}});return u.watch(()=>[e.keyword,e.memberType],()=>{i.value=!1,o.value=!1,s()},{immediate:!0}),{__sfc:!0,props:e,chatTarget:n,list:r,isNoMore:o,isFinished:i,getAttendanceList:s,getNext:c,scrollRef:a,hasVerticalScrollbar:l,PwcEmpty:tn,UserControl:dl}}});var Gb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"scrollRef",staticClass:"plv-attendance-list"},[e._l(r.list,function(o){return n("div",{key:o.userId,staticClass:"plv-attendance-item"},[o.pic?n("img",{staticClass:"plv-attendance-item__avatar",attrs:{src:o.pic}}):e._e(),n("div",{staticClass:"plv-attendance-item__nick"},[e._v(e._s(o.nick))]),n("div",{staticStyle:{"margin-left":"auto"}}),e.memberType==="attendance"?n(r.UserControl,{attrs:{user:o}}):e._e()],1)}),r.isFinished&&r.list.length===0?n(r.PwcEmpty):e._e()],2)},Yb=[],Zb=j(Wb,Gb,Yb);const Kb=Zb.exports,Xb=u.defineComponent({__name:"download-attendance-list",setup(t){const{chatTarget:e}=q(),{$t:n}=G(),r=u.ref();function o(){return P(this,null,function*(){var s;yield e.download.exportAttendanceList(),(s=r.value)==null||s.openRecord()})}const i={refId:"attendance-export",getRecord:s=>e.download.getAttendanceDownloadRecord({pageNumber:s.pageNumber,pageSize:s.pageSize})};return le(J.DownloadAttendanceList,o),{__sfc:!0,chatTarget:e,$t:n,recordRef:r,downloadAttendanceList:o,controller:i,PwcDataExportRecord:g6}}});var Jb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcDataExportRecord,{ref:"recordRef",attrs:{controller:r.controller,title:r.$t("manage.downloadAttendanceList")}})},Vb=[],ey=j(Xb,Jb,Vb);const ty=ey.exports,ny=()=>{const{chatTarget:t}=q(),{openDataExportRecord:e}=f1();function n(){return P(this,null,function*(){yield t.download.exportOnlineList();const r=t.download.getRefId();e(r)})}return{downloadOnline:n}},ry=()=>{const{manageConfig:t}=_e(),{chatTarget:e}=q(),{liveStatus:n}=oc(),r=u.computed(()=>n.value==="live"&&t.value.whiteListEnabled);function o(){return P(this,null,function*(){yield e.download.exportWhiteList()})}return{canDownloadWhiteList:r,downloadWhiteList:o}},oy=u.defineComponent({__name:"member-more",setup(t){const{$t:e}=G(),{isMobile:n}=ae(),{manageConfig:r}=_e(),{getEmitter:o}=we(),i=wi(),{controlItems:s}=i;return pe(r.value.banUserEnabled||r.value.banIpEnabled,()=>{i.addControlItem({controlType:"banList",text:()=>e("manage.banList"),clickCallback:()=>{o().emit(J.OpenBanList)}})}),pe(r.value.kickUserEnabled,()=>{i.addControlItem({controlType:"kickList",text:()=>e("manage.kickList"),clickCallback:()=>{o().emit(J.OpenKickList)}})}),pe(r.value.whiteListEnabled,()=>{const{canDownloadWhiteList:c,downloadWhiteList:a}=ry();i.addControlItem({controlType:"downloadWhiteList",hidden:()=>!c.value,text:()=>e("manage.downloadWhiteList"),clickCallback:a})}),pe(r.value.downloadOnlineListEnabled,()=>{const{downloadOnline:c}=ny();i.addControlItem({controlType:"downloadOnline",text:()=>e("manage.downloadOnlineList"),clickCallback:c})}),pe(r.value.attendanceEnabled,()=>{i.addControlItem({controlType:"downloadAttendanceList",text:()=>e("manage.downloadAttendanceList"),clickCallback:()=>{o().emit(J.DownloadAttendanceList)}})}),{__sfc:!0,$t:e,isMobile:n,manageConfig:r,getEmitter:o,controlContext:i,controlItems:s,PwcDropdown:ni,PwcDropdownItem:oi,PwcDropdownMenu:ri}}});var iy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.controlItems.length?n(r.PwcDropdown,{staticClass:"plv-member-more",class:{"is-mobile":r.isMobile},attrs:{"reference-class":"plv-member-more__reference"},scopedSlots:e._u([{key:"dropdown",fn:function(){return[n(r.PwcDropdownMenu,e._l(r.controlItems,function(o){return n(r.PwcDropdownItem,{key:o.controlType,on:{click:o.clickCallback}},[e._v(" "+e._s(o.text())+" ")])}),1)]},proxy:!0}],null,!1,3793087375)},[e._v(" "+e._s(r.$t("chat.more"))+" ")]):e._e()},sy=[],ay=j(oy,iy,sy);const cy=ay.exports,ly=u.defineComponent({__name:"member-type",props:{[k.modelValueKey]:k.string},setup(t){const e=t,{$t:n}=G(),{modelValue:r,updateModelValue:o}=Ge(e),i=u.computed(()=>{switch(r.value){case"online":return n("online.all");case"attendance":return n("online.attendance");case"absence":return n("online.absence")}});function s(c){o(c)}return{__sfc:!0,props:e,$t:n,modelValue:r,updateModelValue:o,currentTypeText:i,onCommand:s,PwcDropdown:ni,PwcDropdownItem:oi,PwcDropdownMenu:ri}}});var uy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcDropdown,{staticClass:"plv-member-type",attrs:{placement:"bottom","reference-class":"plv-member-type__reference"},on:{command:r.onCommand},scopedSlots:e._u([{key:"dropdown",fn:function(){return[n(r.PwcDropdownMenu,[n(r.PwcDropdownItem,{attrs:{command:"online"}},[e._v(" "+e._s(r.$t("online.all"))+" ")]),n(r.PwcDropdownItem,{attrs:{command:"attendance"}},[e._v(" "+e._s(r.$t("online.attendance"))+" ")]),n(r.PwcDropdownItem,{attrs:{command:"absence"}},[e._v(" "+e._s(r.$t("online.absence"))+" ")])],1)]},proxy:!0}])},[e._v(" "+e._s(r.currentTypeText)+" ")])},py=[],fy=j(ly,uy,py);const dy=fy.exports,my=u.defineComponent({__name:"online-item",props:{user:k.object().isRequired},setup(t){const e=t,{user:n}=ut(e),{$t:r}=G(),{userAvatar:o,userNick:i,userActor:s,userType:c,showUserActor:a,isSelf:l}=Er(n);return{__sfc:!0,props:e,user:n,$t:r,userAvatar:o,userNick:i,userActor:s,userType:c,showUserActor:a,isSelf:l,msgUserActor:vi,UserControl:dl}}});var gy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-online-item"},[r.userAvatar?n("img",{staticClass:"plv-online-item__avatar",attrs:{src:r.userAvatar}}):e._e(),n("div",{staticClass:"plv-online-item__nick"},[e._v(e._s(r.userNick))]),r.isSelf?n("span",[e._v("("+e._s(r.$t("online.me"))+")")]):e._e(),r.showUserActor?n(r.msgUserActor,{staticClass:"plv-online-item__actor",attrs:{actor:r.userActor,"user-type":r.userType}}):e._e(),n("div",{staticStyle:{"margin-left":"auto"}}),n(r.UserControl,{attrs:{user:r.user}})],1)},hy=[],vy=j(my,gy,hy);const _y=vy.exports,wy={requestCount:200,onlineCountCallback:()=>{}},by=()=>{const t=it();return{onlineConfig:u.computed(()=>{let n={};return t.getOnlineConfig&&(n=t.getOnlineConfig()),D(D({},wy),n)})}},yy=()=>({keyword:k.string}),xy=t=>{const{props:e}=t,{chatTarget:n,SocketUserType:r,getUserId:o}=q(),{onlineConfig:i}=by(),{manageConfig:s}=_e(),{getEmitter:c}=we(),a=u.ref([]),l=u.computed(()=>{const _=a.value,m={[r.Teacher]:4,[r.Guest]:3,[r.Manager]:2,[r.Assistant]:1},w=b=>b.userId===o()?100:m[b.userType]||0;return _.sort((b,x)=>{const C=w(b);return w(x)-C})}),p=u.ref(0),{request:f,requestFinished:h,loading:d}=Bo(()=>P(this,null,function*(){const _=yield n.online.getOnlineList({count:i.value.requestCount,keyword:e.keyword,getBanStatus:s.value.banUserEnabled});a.value=_.onlineList,_.total!==p.value&&i.value.onlineCountCallback&&i.value.onlineCountCallback(_.total),p.value=_.total,c().emit(J.ProcessUserBanned,{userList:_.onlineList})})),{startInterval:v}=yr(f,10*1e3);u.onMounted(()=>{f(),v()});const g=u.ref(!1);return u.watch(()=>e.keyword,nl(()=>P(this,null,function*(){if(!g.value){g.value=!0,a.value=[];try{yield f()}finally{g.value=!1}}}),300)),{onlineList:a,filterOnlineList:l,total:p,manageConfig:s,refreshOnlineList:f,requestFinished:h,loading:d}},Cy=u.defineComponent({__name:"online-list",props:yy(),setup(t){const e=t,{filterOnlineList:n,requestFinished:r,loading:o}=xy({props:e});return{__sfc:!0,props:e,filterOnlineList:n,requestFinished:r,loading:o,PwcEmpty:tn,OnlineItem:_y}}});var Qy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-online-list"},[e._l(r.filterOnlineList,function(o){return n(r.OnlineItem,{key:o.userId,attrs:{user:o}})}),r.requestFinished&&!r.loading&&r.filterOnlineList.length===0?n(r.PwcEmpty):e._e()],2)},ky=[],Sy=j(Cy,Qy,ky);const Ey=Sy.exports,Ty=u.defineComponent({__name:"member-list",setup(t){const e=u.ref(""),n=u.ref("online"),{$t:r}=G(),{manageConfig:o}=_e();return Y1(["banUser","banIp","kickUser"]),{__sfc:!0,keyword:e,memberType:n,$t:r,manageConfig:o,FormSize:_r,PwcInput:On,ChatIconSearch:tc,AttendanceList:Kb,DownloadAttendanceList:ty,BanList:pl,MemberMore:cy,MemberType:dy,KickList:fl,OnlineList:Ey}}});var Iy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-member-list"},[n("div",{staticClass:"plv-member-list__top"},[n(r.PwcInput,{staticClass:"plv-member-list__search",attrs:{size:r.FormSize.Small,placeholder:r.$t("online.searchPlaceholder")},scopedSlots:e._u([{key:"prefix",fn:function(){return[n(r.ChatIconSearch)]},proxy:!0}]),model:{value:r.keyword,callback:function(o){r.keyword=o},expression:"keyword"}}),r.manageConfig.attendanceEnabled?n(r.MemberType,{model:{value:r.memberType,callback:function(o){r.memberType=o},expression:"memberType"}}):e._e(),n(r.MemberMore)],1),n("div",{staticClass:"plv-member-list__content"},[r.memberType==="online"?n(r.OnlineList,{attrs:{keyword:r.keyword}}):n(r.AttendanceList,{attrs:{keyword:r.keyword,"member-type":r.memberType}})],1),r.manageConfig.banUserEnabled||r.manageConfig.banIpEnabled?n(r.BanList):e._e(),r.manageConfig.kickUserEnabled?n(r.KickList):e._e(),r.manageConfig.attendanceEnabled?n(r.DownloadAttendanceList):e._e()],1)},Ly=[],Py=j(Ty,Iy,Ly);const Ay=Py.exports,$y=u.defineComponent({__name:"toping-msg-item",props:{item:k.object().isRequired},emits:["hide","close"],setup(t,{emit:e}){const n=t,{$t:r}=G(),o=u.computed(()=>n.item.chatMsg),{canTopMsg:i,cancelTopMsg:s}=ic({chatMsg:o});return{__sfc:!0,props:n,emit:e,$t:r,chatMsg:o,canTopMsg:i,cancelTopMsg:s,SimpleMsgItem:$r,PwcIconClose:En}}});var Ry=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-toping-msg-item"},[n("div",{staticClass:"plv-toping-msg-item__body",class:{"is-show-close":!r.canTopMsg}},[r.canTopMsg?n("div",{staticClass:"plv-toping-msg-item__control"},[n("div",{staticClass:"plv-toping-msg-item__control-actor"},[e._v(e._s(r.$t("manage.topAction"))+e._s(e.item.topActor))]),n("div",{staticClass:"plv-toping-msg-item__control__item",on:{click:r.cancelTopMsg}},[e._v(e._s(r.$t("manage.cancelTop")))]),n("div",{staticClass:"plv-toping-msg-item__control__item",on:{click:function(o){return r.emit("hide")}}},[e._v(e._s(r.$t("manage.hideTop")))])]):n(r.PwcIconClose,{staticClass:"plv-toping-msg-item__close",on:{click:function(o){return r.emit("close")}}}),n(r.SimpleMsgItem,{staticClass:"plv-toping-msg-item__content",attrs:{"chat-msg":e.item.chatMsg,"show-avatar":"",type:"top"}})],1)])},Oy=[],Dy=j($y,Ry,Oy);const zy=Dy.exports,Fy=u.defineComponent({__name:"toping-msg-list",setup(t){const{manageConfig:e}=_e(),{topingMsgs:n}=G1(),{visible:r,show:o,close:i}=vt(!0),s=u.ref(!0);return u.watch(n,()=>{n.value.length&&(o(),s.value=!0)}),{__sfc:!0,manageConfig:e,topingMsgs:n,visible:r,show:o,close:i,canRender:s,PwcSwiper:z1,PwcSwiperSlide:F1,ChatIconTopMsgArrow:Nd,TopingMsgItem:zy}}});var By=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.topingMsgs.length&&r.canRender?n("div",{staticClass:"plv-toping-msg-list",style:{height:r.manageConfig.topMsgEnabled?"116px":"90px"}},[r.visible?n(r.PwcSwiper,{staticClass:"plv-toping-msg-list__swiper",attrs:{pagination:{el:".plv-toping-msg-list__indicator",bulletClass:"plv-toping-msg-list__indicator-item",bulletActiveClass:"is-active"}},scopedSlots:e._u([{key:"pagination",fn:function(){return[n("div",{staticClass:"plv-toping-msg-list__indicator",class:{"is-hide":r.topingMsgs.length<=1}})]},proxy:!0}],null,!1,2009145619)},e._l(r.topingMsgs,function(o){return n(r.PwcSwiperSlide,{key:o.id},[n(r.TopingMsgItem,{attrs:{item:o},on:{hide:r.close,close:function(i){r.canRender=!1}}})],1)}),1):e._e(),r.visible?e._e():n("div",{staticClass:"plv-toping-msg-list__arrow",on:{click:r.show}},[n(r.ChatIconTopMsgArrow)],1)],1):e._e()},My=[],Ny=j(Fy,By,My);const Uy=Ny.exports,Hy="PolyvChatUISpecial";K.BanList=pl,K.ChatMessageInputPopup=Tw,K.ChatMessageInputSection=Vw,K.ChatMessageList=n_,K.DonateAnimation=C_,K.DonateSvgaAnimation=u_,K.GlobalVariable=Hy,K.KickList=fl,K.ManagerInputControl=cb,K.MemberList=Ay,K.MessageEffectType=Bn,K.TopingMsgList=Uy,K.ViewerInputControl=ul,K.useChatGlobalProvide=Pf,K.useSendMsg=Ir,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});console.log("%c@polyv/chat-ui","background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff","[version: 2.1.0-rc-20251023.2]","[buildTime: 2025-10-22 01:22:34]");
|
|
1044
|
+
`),Vw=()=>{const{$t:t}=W(),{manageConfig:e}=me(),{chatTarget:n}=j(),{toast:r}=ye(),{messageBox:o}=Ar(),i=p.computed(()=>e.value.clearMsgEnabled);function s(){return P(this,null,function*(){if(!i.value)return;yield o({message:t("manage.clearChatConfirm"),description:t("manage.clearChatConfirmTips"),confirmType:Ft.Delete,confirmButtonText:t("manage.clear")}).$confirm(),(yield n.manage.clearMsg()).success?r.success(t("manage.clearMsgSuccess")):r.error(t("manage.clearMsgFail"))})}return{canClearMsg:i,clearMsg:s}},eb=p.defineComponent({__name:"more-panel",emits:{close:M()},setup(t,{emit:e}){const{$t:n}=W(),{canClearMsg:r,clearMsg:o}=Vw(),{canOnlySpecialMsg:i,isOnlySpecialMsg:s,toggleOnlySpecialMsg:c}=qn(),{canAutoTranslate:a,isAutoTranslating:l,toggleAutoTranslate:u}=o1(),{specialEffectConfig:f}=dl(),{specialEffectVisible:h,toggleSpecialEffect:d}=no();function _(){u(),e("close")}return{__sfc:!0,emit:e,$t:n,canClearMsg:r,clearMsg:o,canOnlySpecialMsg:i,isOnlySpecialMsg:s,toggleOnlySpecialMsg:c,canAutoTranslate:a,isAutoTranslating:l,toggleAutoTranslate:u,specialEffectConfig:f,specialEffectVisible:h,toggleSpecialEffect:d,onClickAutoTranslate:_,ChatIconCancelTranslate:Rd,ChatIconCheckbox:zd,ChatIconRemove:qd,ChatIconTranslateTwo:f1,ChatOriginIconCheckbox:Jw}}});var tb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-chat-message-input-section__more-panel"},[r.canAutoTranslate?n("div",{staticClass:"plv-chat-message-input-section__more-panel--auto-translate",on:{click:r.onClickAutoTranslate}},[r.isAutoTranslating?n(r.ChatIconCancelTranslate):n(r.ChatIconTranslateTwo),n("span",[e._v(e._s(r.isAutoTranslating?r.$t("chat.cancelTranslate"):r.$t("chat.translate")))])],1):e._e(),r.canOnlySpecialMsg?n("div",{staticClass:"plv-chat-message-input-section__more-panel--only-special",on:{click:r.toggleOnlySpecialMsg}},[r.isOnlySpecialMsg?n(r.ChatOriginIconCheckbox):n(r.ChatIconCheckbox),n("span",[e._v(e._s(r.$t("chat.onlySpecial")))])],1):e._e(),r.specialEffectConfig.switchEnabled?n("div",{staticClass:"plv-chat-message-input-section__more-panel--special-effect",on:{click:r.toggleSpecialEffect}},[r.specialEffectVisible?n(r.ChatIconCheckbox):n(r.ChatOriginIconCheckbox),n("span",[e._v(e._s(r.$t("specialEffect.hideEffect")))])],1):e._e(),r.canClearMsg?n("div",{staticClass:"plv-chat-message-input-section__more-panel--clear",on:{click:r.clearMsg}},[n(r.ChatIconRemove),n("span",[e._v(e._s(r.$t("manage.clearChat")))])],1):e._e(),e._t("more-panel")],2)},nb=[],rb=q(eb,tb,nb);const ob=rb.exports,ib=p.defineComponent({__name:"chat-message-input-section",props:{defaultHeight:k.number.def(140),showMore:k.bool.def(!0)},setup(t){const e=p.ref(),{chatInputDisabled:n,chatInputPlaceholder:r,maxInputTextLength:o,currentQuoteMsg:i,clearCurrentQuoteMsg:s,onSubmitMessage:c,onClickSendImage:a,onSystemMsg:l}=ro({quoteMsgCallback:()=>{var S;(S=e.value)==null||S.focusInput()}}),{currentMaskText:u}=zr(),{$t:f}=W(),{messageConfig:h}=ae(),{canChatSwitch:d,chatRoomIsClosed:_,toggleChatSwitch:m}=wl(),{getEmitter:w}=Ee(),{checkIntercept:g}=xt(),v=p.ref(),{visible:b,togglePanel:y,hidePanel:x}=gl([v,"[data-more]"]);function C(){return P(this,null,function*(){(yield g("more-panel"))||y()})}function E(){w().emit(ne.AddMessageSize)}function Q(){w().emit(ne.CheckScrollFoot)}return{__sfc:!0,msgInputBaseRef:e,chatInputDisabled:n,chatInputPlaceholder:r,maxInputTextLength:o,currentQuoteMsg:i,clearCurrentQuoteMsg:s,onSubmitMessage:c,onClickSendImage:a,onSystemMsg:l,currentMaskText:u,$t:f,messageConfig:h,canChatSwitch:d,chatRoomIsClosed:_,toggleChatSwitch:m,getEmitter:w,checkIntercept:g,morePanelRef:v,moreVisible:b,toggleMorePanel:y,hideMorePanel:x,onClickMore:C,onClickMsgSize:E,onResize:Q,PwcIconClose:$n,PwcSwitch:l7,ChatIconFontSize:Nd,SimpleMsgItem:Hr,MessageInputBase:Xw,MorePanel:ob}}});var sb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-chat-message-input-section"},[r.currentQuoteMsg?n("div",{staticClass:"plv-chat-message-input-section__quote"},[n(r.SimpleMsgItem,{attrs:{"chat-msg":r.currentQuoteMsg,type:"quote"}}),n(r.PwcIconClose,{staticClass:"plv-chat-message-input-section__quote__close",on:{click:r.clearCurrentQuoteMsg}})],1):e._e(),n(r.MessageInputBase,{ref:"msgInputBaseRef",attrs:{"disabled-input":r.chatInputDisabled,placeholder:r.chatInputPlaceholder,"default-height":e.defaultHeight,"max-input-text-length":r.maxInputTextLength,"show-bottom":!r.currentMaskText},on:{submit:r.onSubmitMessage,"click-send-image":r.onClickSendImage,resize:r.onResize,"system-msg":r.onSystemMsg},scopedSlots:e._u([{key:"panel-suffix",fn:function(){return[n("div",{directives:[{name:"show",rawName:"v-show",value:r.moreVisible,expression:"moreVisible"}],staticClass:"plv-message-input-base__panel--more",attrs:{"data-more":""}},[n(r.MorePanel,{on:{close:r.hideMorePanel},scopedSlots:e._u([{key:"more-panel",fn:function(){return[e._t("more-panel")]},proxy:!0}],null,!0)})],1)]},proxy:!0},r.currentMaskText?{key:"icon-left",fn:function(){return[n("div",{staticClass:"plv-chat-message-input-section__mask-title"},[e._v(e._s(r.$t("input.maskTitle")))])]},proxy:!0}:null,r.currentMaskText?{key:"input",fn:function(){return[n("div",{staticClass:"plv-chat-message-input-section__mask-text"},[e._v(e._s(r.currentMaskText))])]},proxy:!0}:null,{key:"icon-left-suffix",fn:function(){return[r.messageConfig.messageSizeEnabled?n(r.ChatIconFontSize,{staticClass:"plv-message-input-base__icons--msg-size",on:{click:r.onClickMsgSize}}):e._e(),e._t("icon-left-suffix")]},proxy:!0},{key:"icon-right-suffix",fn:function(){return[e._t("icon-right-suffix"),e.showMore?n("div",{staticClass:"plv-message-input-base__icons--more",attrs:{"data-more":""},on:{click:r.onClickMore}},[e._v(" "+e._s(r.$t("chat.more"))+" "),n("span")]):e._e()]},proxy:!0},{key:"bottom-suffix",fn:function(){return[e._t("bottom-suffix"),r.canChatSwitch?n("div",{staticClass:"plv-chat-message-input-section__switch"},[n(r.PwcSwitch,{attrs:{value:r.chatRoomIsClosed,size:"mini"},on:{change:r.toggleChatSwitch}}),n("span",[e._v(e._s(r.$t("manage.closeRoom")))])],1):e._e()]},proxy:!0}],null,!0)})],1)},ab=[],cb=q(ib,sb,ab);const lb=cb.exports,ub=p.defineComponent({__name:"viewer-input-control",setup(t){const{getEmitter:e}=Ee(),{chatInputDisabled:n,chatInputPlaceholder:r}=ro({quotePlaceholder:!1});function o(){n.value||e().emit(ne.OpenEmotionFacePicker)}function i(){e().emit(ne.FocusInput)}return{__sfc:!0,getEmitter:e,chatInputDisabled:n,chatInputPlaceholder:r,onClickEmotion:o,openInput:i,ChatIconEmotion:l1}}});var pb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-viewer-input-control"},[n("div",{staticClass:"plv-viewer-input-control__body",class:{"is-disabled":r.chatInputDisabled},on:{click:r.openInput}},[n("div",{staticClass:"plv-viewer-input-control__body__text"},[e._v(e._s(r.chatInputPlaceholder))]),e._t("body-suffix",function(){return[n(r.ChatIconEmotion,{staticClass:"plv-viewer-input-control__icon",on:{click:function(o){return o.stopPropagation(),r.onClickEmotion.apply(null,arguments)}}})]})],2),e._t("suffix")],2)},fb=[],db=q(ub,pb,fb);const bl=db.exports,mb=p.defineComponent({__name:"manager-input-control",setup(t){const{inputConfig:e}=dt(),{canChatSwitch:n,chatRoomIsClosed:r,toggleChatSwitch:o}=wl(),{onClickSendImage:i}=ro();return{__sfc:!0,inputConfig:e,canChatSwitch:n,chatRoomIsClosed:r,toggleChatSwitch:o,onClickSendImage:i,ChatIconChatDisabled:Od,ChatIconChatDisabledSuffix:Dd,ChatIconSendImage:Gd,ViewerInputControl:bl}}});var gb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.ViewerInputControl,{staticClass:"plv-manager-input-control",scopedSlots:e._u([{key:"suffix",fn:function(){return[r.inputConfig.sendImageEnabled?n("div",{staticClass:"plv-viewer-input-control__btn",on:{click:r.onClickSendImage}},[n(r.ChatIconSendImage)],1):e._e(),r.canChatSwitch?n("div",{staticClass:"plv-viewer-input-control__btn plv-manager-input-control__btn--chat-switch",class:{"is-active":r.chatRoomIsClosed},on:{click:r.toggleChatSwitch}},[n(r.ChatIconChatDisabled),n(r.ChatIconChatDisabledSuffix)],1):e._e()]},proxy:!0}])})},hb=[],vb=q(mb,gb,hb);const _b=vb.exports,wb=p.defineComponent({__name:"ban-user-item",props:{item:k.object().isRequired},emits:{"cancel-ban-user":M()},setup(t,{emit:e}){const n=t,r=p.computed(()=>n.item.userId),{$t:o}=W(),{cancelBanUser:i}=Ai({targetUserId:r,banActionCallback:()=>{e("cancel-ban-user")}});return{__sfc:!0,props:n,emit:e,targetUserId:r,$t:o,cancelBanUser:i}}});var bb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-user-item"},[n("div",{staticClass:"plv-ban-user-item__content"},[n("div",{staticClass:"plv-ban-user-item__nick"},[e._v(e._s(e.item.nick||"-"))]),n("div",{staticClass:"plv-ban-user-item__info"},[n("span",[e._v("IP: "+e._s(e.item.clientIp||"-"))]),n("span",[e._v("ID: "+e._s(e.item.userId||"-"))])])]),e.item.platformProhibited?n("div",{staticClass:"plv-ban-user-item__btn is-disabled"},[e._v(" "+e._s(r.$t("manage.banPlatformProhibited"))+" ")]):n("div",{staticClass:"plv-ban-user-item__btn",on:{click:r.cancelBanUser}},[e._v(" "+e._s(r.$t("manage.cancelBan"))+" ")])])},yb=[],xb=q(wb,bb,yb);const Cb=xb.exports,Qb=p.defineComponent({__name:"ban-user-list",setup(t){const{chatTarget:e}=j(),{$t:n}=W(),{isEmpty:r,keyword:o,contents:i,scrollRef:s,refreshList:c}=Qc(a=>e.manage.getBannedUserList({pageNumber:a.pageNumber,pageSize:a.pageSize,keyword:a.keyword}),{pageSize:p.ref(50)});return{__sfc:!0,chatTarget:e,$t:n,isEmpty:r,keyword:o,bannedUserList:i,scrollRef:s,refreshList:c,FormSize:Pr,PwcInput:Nn,PwcEmpty:cn,ChatIconSearch:u1,BanUserItem:Cb}}});var kb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-user-list"},[n("div",{staticClass:"plv-ban-user-list__search"},[n(r.PwcInput,{attrs:{size:r.FormSize.Small,placeholder:r.$t("online.searchPlaceholder")},scopedSlots:e._u([{key:"prefix",fn:function(){return[n(r.ChatIconSearch)]},proxy:!0}]),model:{value:r.keyword,callback:function(o){r.keyword=o},expression:"keyword"}})],1),n("div",{ref:"scrollRef",staticClass:"plv-ban-user-list__content"},[e._l(r.bannedUserList,function(o){return n(r.BanUserItem,{key:o.userId,attrs:{item:o},on:{"cancel-ban-user":r.refreshList}})}),r.isEmpty?n(r.PwcEmpty):e._e()],2)])},Eb=[],Sb=q(Qb,kb,Eb);const Ib=Sb.exports,Tb=p.defineComponent({__name:"ban-ip-item",props:{item:k.object().isRequired},emits:{"cancel-ban-ip":M()},setup(t,{emit:e}){const n=t,{$t:r}=W(),o=p.computed(()=>n.item.clientIp),{cancelBanIp:i}=Pi({targetIp:o,banActionCallback:()=>{e("cancel-ban-ip")}});return{__sfc:!0,props:n,emit:e,$t:r,targetIp:o,cancelBanIp:i}}});var Lb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-ip-item"},[n("div",{staticClass:"plv-ban-ip-item__ip"},[e._v(" "+e._s(r.$t("manage.userIp"))+" "+e._s(e.item.clientIp)+" ")]),n("div",{staticClass:"plv-ban-ip-item__btn",on:{click:r.cancelBanIp}},[e._v(" "+e._s(r.$t("manage.cancelBanIp"))+" ")])])},Pb=[],Ab=q(Tb,Lb,Pb);const $b=Ab.exports,Rb=p.defineComponent({__name:"ban-ip-list",setup(t){const{chatTarget:e}=j(),n=p.ref([]),{request:r,requestFinished:o,loading:i}=Vo(()=>P(this,null,function*(){const s=yield e.manage.getBannedIpList();n.value=s.contents}));return p.onMounted(()=>{r()}),{__sfc:!0,chatTarget:e,bannedIpList:n,getBannedIpList:r,requestFinished:o,loading:i,BanIpItem:$b,PwcEmpty:cn}}});var Ob=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-ban-ip-list"},[e._l(r.bannedIpList,function(o){return n(r.BanIpItem,{key:o.clientIp,attrs:{item:o},on:{"cancel-ban-ip":r.getBannedIpList}})}),r.requestFinished&&!r.loading&&r.bannedIpList.length===0?n(r.PwcEmpty):e._e()],2)},Db=[],zb=q(Rb,Ob,Db);const Fb=zb.exports,Bb=p.defineComponent({__name:"ban-list",setup(t,{expose:e}){const n=p.ref(),{$t:r}=W(),{visible:o,show:i,close:s}=_t();function c(){n.value="user"}function a(){n.value=void 0}return he(ne.OpenBanList,i),e({openBanList:i,closeBanList:s}),{__sfc:!0,banType:n,$t:r,visible:o,openBanList:i,closeBanList:s,onAfterShow:c,onAfterLeave:a,PwcPopup:st,PwcCategorySelect:x7,PwcCategorySelectItem:v7,BanUserList:Ib,BanIpList:Fb}}});var Mb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"plv-ban-list",attrs:{title:r.$t("manage.banList")},on:{"after-enter":r.onAfterShow,"after-leave":r.onAfterLeave},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"plv-ban-list__content"},[n("div",{staticClass:"plv-ban-list__top"},[n(r.PwcCategorySelect,{model:{value:r.banType,callback:function(o){r.banType=o},expression:"banType"}},[n(r.PwcCategorySelectItem,{attrs:{"category-value":"user"}},[e._v(e._s(r.$t("manage.banUserTitle")))]),n(r.PwcCategorySelectItem,{attrs:{"category-value":"ip"}},[e._v(e._s(r.$t("manage.banIpTitle")))])],1)],1),r.banType==="user"?n(r.BanUserList):e._e(),r.banType==="ip"?n(r.BanIpList):e._e()],1)])},Nb=[],Hb=q(Bb,Mb,Nb);const yl=Hb.exports,Ub=p.defineComponent({__name:"kick-user-item",props:{item:k.object().isRequired},emits:{"cancel-kick-user":M()},setup(t,{emit:e}){const n=t,r=p.computed(()=>n.item.userId),{$t:o}=W(),{cancelKickUser:i}=$i({targetUserId:r,kickActionCallback:()=>{e("cancel-kick-user")}});return{__sfc:!0,props:n,emit:e,targetUserId:r,$t:o,cancelKickUser:i}}});var jb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-kick-user-item"},[n("div",{staticClass:"plv-kick-user-item__content"},[n("div",{staticClass:"plv-kick-user-item__nick"},[e._v(e._s(e.item.nick||"-"))]),n("div",{staticClass:"plv-kick-user-item__info"},[n("span",[e._v("IP: "+e._s(e.item.clientIp||"-"))]),n("span",[e._v("ID: "+e._s(e.item.userId||"-"))])])]),e.item.platformProhibited?n("div",{staticClass:"plv-kick-user-item__btn is-disabled"},[e._v(" "+e._s(r.$t("manage.kickPlatformProhibited"))+" ")]):n("div",{staticClass:"plv-kick-user-item__btn",on:{click:r.cancelKickUser}},[e._v(" "+e._s(r.$t("manage.cancelKick"))+" ")])])},qb=[],Wb=q(Ub,jb,qb);const Gb=Wb.exports,Zb=p.defineComponent({__name:"kick-list",setup(t,{expose:e}){const{$t:n}=W(),{visible:r,show:o,close:i}=_t(),{chatTarget:s}=j();he(ne.OpenKickList,o);const c=p.ref([]),{request:a,requestFinished:l,loading:u}=Vo(()=>P(this,null,function*(){const f=yield s.manage.getKickedUserList();c.value=f.contents}));return e({openKickList:o,closeKickList:i}),{__sfc:!0,$t:n,visible:r,openKickList:o,closeKickList:i,chatTarget:s,kickedUserList:c,getKickedUserList:a,requestFinished:l,loading:u,PwcEmpty:cn,PwcPopup:st,KickUserItem:Gb}}});var Yb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcPopup,{staticClass:"plv-kick-list",attrs:{title:r.$t("manage.kickList")},on:{"after-enter":r.getKickedUserList},model:{value:r.visible,callback:function(o){r.visible=o},expression:"visible"}},[n("div",{staticClass:"plv-kick-list__content"},[e._l(r.kickedUserList,function(o){return n(r.KickUserItem,{key:o.userId,attrs:{item:o},on:{"cancel-kick-user":r.getKickedUserList}})}),r.requestFinished&&!r.loading&&r.kickedUserList.length===0?n(r.PwcEmpty):e._e()],2)])},Kb=[],Xb=q(Zb,Yb,Kb);const xl=Xb.exports,Jb=p.defineComponent({__name:"user-control",props:{user:k.object().isRequired},setup(t){const e=t,{isMobile:n}=se(),{user:r}=ft(e),{userId:o,userClientIp:i}=Dr(r),{manageConfig:s}=me(),{actionSheet:c}=Ya(),a=Ti(),{controlItems:l}=a;ge(s.value.banUserEnabled,()=>Ai({targetUserId:o,targetUser:r,controlContext:a})),ge(s.value.banIpEnabled,()=>Pi({targetIp:i,targetUser:r,controlContext:a})),ge(s.value.kickUserEnabled,()=>$i({targetUserId:o,targetUser:r,controlContext:a})),ge(s.value.askUserEnabled,()=>s1({targetUser:r,controlContext:a}));function u(){return P(this,null,function*(){if(l.value.length===0)return;const f=yield c({actions:l.value.map(h=>{var d,_;return ie(O({},h),{hidden:!1,disabled:(d=h.disabled)==null?void 0:d.call(h),disabledTip:(_=h.disabledTip)==null?void 0:_.call(h),name:h.text(),value:h.controlType})})});f&&f.clickCallback()})}return{__sfc:!0,props:e,isMobile:n,user:r,userId:o,userClientIp:i,manageConfig:s,actionSheet:c,controlContext:a,controlItems:l,onClickControl:u,PwcDropdown:yi,PwcDropdownItem:Ci,PwcDropdownMenu:xi,ChatIconThreeDot:Yd}}});var Vb=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.controlItems.length>0?n("span",[r.isMobile?n(r.ChatIconThreeDot,{staticClass:"plv-online-item__control",on:{click:r.onClickControl}}):n(r.PwcDropdown,{attrs:{"show-arrow":!1},scopedSlots:e._u([{key:"dropdown",fn:function(){return[n(r.PwcDropdownMenu,e._l(r.controlItems,function(o){return n(r.PwcDropdownItem,{key:o.controlType,on:{click:o.clickCallback}},[e._v(" "+e._s(o.text())+" ")])}),1)]},proxy:!0}],null,!1,3793087375)},[n(r.ChatIconThreeDot,{staticClass:"plv-online-item__control"})],1)],1):e._e()},ey=[],ty=q(Jb,Vb,ey);const Cl=ty.exports,ny=p.defineComponent({__name:"attendance-list",props:{keyword:k.string,memberType:k.string},setup(t){const e=t,{chatTarget:n}=j(),r=p.ref([]),o=p.ref(!1),i=p.ref(!1);function s(u){return P(this,null,function*(){const f=yield n.online.getAttendanceList({keyword:e.keyword,count:10,searchType:e.memberType==="attendance"?"attendance":"absence",score:u});u?r.value=[...r.value,...f.list]:r.value=f.list,o.value=f.list.length===0,o.value||(yield l())===!1&&c(),i.value=!0})}function c(){if(o.value)return;const u=r.value[r.value.length-1];u&&!e.keyword&&!o.value&&s(u.score)}const{scrollRef:a,hasVerticalScrollbar:l}=Cc({nextCallback:()=>{c()}});return p.watch(()=>[e.keyword,e.memberType],()=>{i.value=!1,o.value=!1,s()},{immediate:!0}),{__sfc:!0,props:e,chatTarget:n,list:r,isNoMore:o,isFinished:i,getAttendanceList:s,getNext:c,scrollRef:a,hasVerticalScrollbar:l,PwcEmpty:cn,UserControl:Cl}}});var ry=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{ref:"scrollRef",staticClass:"plv-attendance-list"},[e._l(r.list,function(o){return n("div",{key:o.userId,staticClass:"plv-attendance-item"},[o.pic?n("img",{staticClass:"plv-attendance-item__avatar",attrs:{src:o.pic}}):e._e(),n("div",{staticClass:"plv-attendance-item__nick"},[e._v(e._s(o.nick))]),n("div",{staticStyle:{"margin-left":"auto"}}),e.memberType==="attendance"?n(r.UserControl,{attrs:{user:o}}):e._e()],1)}),r.isFinished&&r.list.length===0?n(r.PwcEmpty):e._e()],2)},oy=[],iy=q(ny,ry,oy);const sy=iy.exports,ay=p.defineComponent({__name:"download-attendance-list",setup(t){const{chatTarget:e}=j(),{$t:n}=W(),r=p.ref();function o(){return P(this,null,function*(){var s;yield e.download.exportAttendanceList(),(s=r.value)==null||s.openRecord()})}const i={refId:"attendance-export",getRecord:s=>e.download.getAttendanceDownloadRecord({pageNumber:s.pageNumber,pageSize:s.pageSize})};return he(ne.DownloadAttendanceList,o),{__sfc:!0,chatTarget:e,$t:n,recordRef:r,downloadAttendanceList:o,controller:i,PwcDataExportRecord:G6}}});var cy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcDataExportRecord,{ref:"recordRef",attrs:{controller:r.controller,title:r.$t("manage.downloadAttendanceList")}})},ly=[],uy=q(ay,cy,ly);const py=uy.exports,fy=()=>{const{chatTarget:t}=j(),{openDataExportRecord:e}=Yo();function n(){return P(this,null,function*(){yield t.download.exportOnlineList();const r=t.download.getRefId();e(r)})}return{downloadOnline:n}},dy=()=>{const{manageConfig:t}=me(),{chatTarget:e}=j(),{liveStatus:n}=m1(),{openDataExportRecord:r}=Yo(),o=p.computed(()=>n.value==="live"&&t.value.whiteListEnabled);function i(){return P(this,null,function*(){yield e.download.exportWhiteList();const s=e.download.getRefId();r(s)})}return{canDownloadWhiteList:o,downloadWhiteList:i}},my=p.defineComponent({__name:"member-more",setup(t){const{$t:e}=W(),{isMobile:n}=se(),{manageConfig:r}=me(),{getEmitter:o}=Ee(),i=Ti(),{controlItems:s}=i;return ge(r.value.banUserEnabled||r.value.banIpEnabled,()=>{i.addControlItem({controlType:"banList",text:()=>e("manage.banList"),clickCallback:()=>{o().emit(ne.OpenBanList)}})}),ge(r.value.kickUserEnabled,()=>{i.addControlItem({controlType:"kickList",text:()=>e("manage.kickList"),clickCallback:()=>{o().emit(ne.OpenKickList)}})}),ge(r.value.whiteListEnabled,()=>{const{canDownloadWhiteList:c,downloadWhiteList:a}=dy();i.addControlItem({controlType:"downloadWhiteList",hidden:()=>!c.value,text:()=>e("manage.downloadWhiteList"),clickCallback:a})}),ge(r.value.downloadOnlineListEnabled,()=>{const{downloadOnline:c}=fy();i.addControlItem({controlType:"downloadOnline",text:()=>e("manage.downloadOnlineList"),clickCallback:c})}),ge(r.value.attendanceEnabled,()=>{i.addControlItem({controlType:"downloadAttendanceList",text:()=>e("manage.downloadAttendanceList"),clickCallback:()=>{o().emit(ne.DownloadAttendanceList)}})}),{__sfc:!0,$t:e,isMobile:n,manageConfig:r,getEmitter:o,controlContext:i,controlItems:s,PwcDropdown:yi,PwcDropdownItem:Ci,PwcDropdownMenu:xi}}});var gy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.controlItems.length?n(r.PwcDropdown,{staticClass:"plv-member-more",class:{"is-mobile":r.isMobile},attrs:{"reference-class":"plv-member-more__reference"},scopedSlots:e._u([{key:"dropdown",fn:function(){return[n(r.PwcDropdownMenu,e._l(r.controlItems,function(o){return n(r.PwcDropdownItem,{key:o.controlType,on:{click:o.clickCallback}},[e._v(" "+e._s(o.text())+" ")])}),1)]},proxy:!0}],null,!1,3793087375)},[e._v(" "+e._s(r.$t("chat.more"))+" ")]):e._e()},hy=[],vy=q(my,gy,hy);const _y=vy.exports,wy=p.defineComponent({__name:"member-type",props:{[k.modelValueKey]:k.string},setup(t){const e=t,{$t:n}=W(),{modelValue:r,updateModelValue:o}=Me(e),i=p.computed(()=>{switch(r.value){case"online":return n("online.all");case"attendance":return n("online.attendance");case"absence":return n("online.absence")}});function s(c){o(c)}return{__sfc:!0,props:e,$t:n,modelValue:r,updateModelValue:o,currentTypeText:i,onCommand:s,PwcDropdown:yi,PwcDropdownItem:Ci,PwcDropdownMenu:xi}}});var by=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n(r.PwcDropdown,{staticClass:"plv-member-type",attrs:{placement:"bottom","reference-class":"plv-member-type__reference"},on:{command:r.onCommand},scopedSlots:e._u([{key:"dropdown",fn:function(){return[n(r.PwcDropdownMenu,[n(r.PwcDropdownItem,{attrs:{command:"online"}},[e._v(" "+e._s(r.$t("online.all"))+" ")]),n(r.PwcDropdownItem,{attrs:{command:"attendance"}},[e._v(" "+e._s(r.$t("online.attendance"))+" ")]),n(r.PwcDropdownItem,{attrs:{command:"absence"}},[e._v(" "+e._s(r.$t("online.absence"))+" ")])],1)]},proxy:!0}])},[e._v(" "+e._s(r.currentTypeText)+" ")])},yy=[],xy=q(wy,by,yy);const Cy=xy.exports,Qy=p.defineComponent({__name:"online-item",props:{user:k.object().isRequired},setup(t){const e=t,{user:n}=ft(e),{$t:r}=W(),{userAvatar:o,userNick:i,userActor:s,userType:c,showUserActor:a,isSelf:l}=Dr(n);return{__sfc:!0,props:e,user:n,$t:r,userAvatar:o,userNick:i,userActor:s,userType:c,showUserActor:a,isSelf:l,msgUserActor:Ii,UserControl:Cl}}});var ky=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-online-item"},[r.userAvatar?n("img",{staticClass:"plv-online-item__avatar",attrs:{src:r.userAvatar}}):e._e(),n("div",{staticClass:"plv-online-item__nick"},[e._v(e._s(r.userNick))]),r.isSelf?n("span",[e._v("("+e._s(r.$t("online.me"))+")")]):e._e(),r.showUserActor?n(r.msgUserActor,{staticClass:"plv-online-item__actor",attrs:{actor:r.userActor,"user-type":r.userType}}):e._e(),n("div",{staticStyle:{"margin-left":"auto"}}),n(r.UserControl,{attrs:{user:r.user}})],1)},Ey=[],Sy=q(Qy,ky,Ey);const Iy=Sy.exports,Ty={requestCount:200,onlineCountCallback:()=>{}},Ly=()=>{const t=tt();return{onlineConfig:p.computed(()=>{let n={};return t.getOnlineConfig&&(n=t.getOnlineConfig()),O(O({},Ty),n)})}},Py=()=>({keyword:k.string}),Ay=t=>{const{props:e}=t,{chatTarget:n,SocketUserType:r,getUserId:o}=j(),{onlineConfig:i}=Ly(),{manageConfig:s}=me(),c=Mr(),a=p.ref([]),l=p.computed(()=>{const w=a.value,g={[r.Teacher]:4,[r.Guest]:3,[r.Manager]:2,[r.Assistant]:1},v=b=>b.userId===o()?100:g[b.userType]||0;return w.sort((b,y)=>{const x=v(b);return v(y)-x})}),u=p.ref(0),{request:f,requestFinished:h,loading:d}=Vo(()=>P(this,null,function*(){const w=yield n.online.getOnlineList({count:i.value.requestCount,keyword:e.keyword,getBanStatus:s.value.banUserEnabled});a.value=w.onlineList,w.total!==u.value&&i.value.onlineCountCallback&&i.value.onlineCountCallback(w.total),u.value=w.total,c.processUserBanned(w.onlineList)})),{startInterval:_}=kr(f,10*1e3);p.onMounted(()=>{f(),_()});const m=p.ref(!1);return p.watch(()=>e.keyword,F1(()=>P(this,null,function*(){if(!m.value){m.value=!0,a.value=[];try{yield f()}finally{m.value=!1}}}),300)),{onlineList:a,filterOnlineList:l,total:u,manageConfig:s,refreshOnlineList:f,requestFinished:h,loading:d}},$y=p.defineComponent({__name:"online-list",props:Py(),setup(t){const e=t,{filterOnlineList:n,requestFinished:r,loading:o}=Ay({props:e});return{__sfc:!0,props:e,filterOnlineList:n,requestFinished:r,loading:o,PwcEmpty:cn,OnlineItem:Iy}}});var Ry=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-online-list"},[e._l(r.filterOnlineList,function(o){return n(r.OnlineItem,{key:o.userId,attrs:{user:o}})}),r.requestFinished&&!r.loading&&r.filterOnlineList.length===0?n(r.PwcEmpty):e._e()],2)},Oy=[],Dy=q($y,Ry,Oy);const zy=Dy.exports,Fy=p.defineComponent({__name:"member-list",setup(t){const e=p.ref(""),n=p.ref("online"),{$t:r}=W(),{manageConfig:o}=me();return{__sfc:!0,keyword:e,memberType:n,$t:r,manageConfig:o,FormSize:Pr,PwcInput:Nn,ChatIconSearch:u1,AttendanceList:sy,DownloadAttendanceList:py,BanList:yl,MemberMore:_y,MemberType:Cy,KickList:xl,OnlineList:zy}}});var By=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-member-list"},[n("div",{staticClass:"plv-member-list__top"},[n(r.PwcInput,{staticClass:"plv-member-list__search",attrs:{size:r.FormSize.Small,placeholder:r.$t("online.searchPlaceholder")},scopedSlots:e._u([{key:"prefix",fn:function(){return[n(r.ChatIconSearch)]},proxy:!0}]),model:{value:r.keyword,callback:function(o){r.keyword=o},expression:"keyword"}}),r.manageConfig.attendanceEnabled?n(r.MemberType,{model:{value:r.memberType,callback:function(o){r.memberType=o},expression:"memberType"}}):e._e(),n(r.MemberMore)],1),n("div",{staticClass:"plv-member-list__content"},[r.memberType==="online"?n(r.OnlineList,{attrs:{keyword:r.keyword}}):n(r.AttendanceList,{attrs:{keyword:r.keyword,"member-type":r.memberType}})],1),r.manageConfig.banUserEnabled||r.manageConfig.banIpEnabled?n(r.BanList):e._e(),r.manageConfig.kickUserEnabled?n(r.KickList):e._e(),r.manageConfig.attendanceEnabled?n(r.DownloadAttendanceList):e._e()],1)},My=[],Ny=q(Fy,By,My);const Hy=Ny.exports,Uy={},jy=()=>{const t=tt();return{donateConfig:p.computed(()=>{let n={};return t.getDonateConfig&&(n=t.getDonateConfig()),O(O({},Uy),n)})}},qy=t=>{const{chatTarget:e,ChatMsgSource:n,PolyvChatEvent:r,DonateType:o}=j(),{donateConfig:i}=jy();function s(a){return P(this,null,function*(){let l=a.dynamicFile;return i.value.getSvgaUrl&&(l=yield i.value.getSvgaUrl(a)),l||(l=yield e.utils.getDefaultDonateSvgaUrl(a)),l})}function c(a){return P(this,null,function*(){const l=a.chatMsg;if(l.msgSource!==n.Reward||l.donateType!==o.Good)return;const u=l.isSelf,f=yield s(l);t.pushAnimationQueue({url:f||l.gimg,inHeader:u,filterRepeat:!1,forceInsert:u})})}$e(e.eventEmitter,{[r.ChatMessage]:c})},Wy=()=>{const{animationVisible:t}=fl("special-effect-animation"),{specialEffectVisible:e}=no(),n=p.ref(),r=p.computed(()=>!t.value||!e.value),o=m8({wrapRef:n,disabled:r});return qy(o),{wrapRef:n}},Gy=p.defineComponent({__name:"special-effect-animation",setup(t){const{wrapRef:e}=Wy();return{__sfc:!0,wrapRef:e}}});var Zy=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{ref:"wrapRef",staticClass:"plv-special-effect-animation"})},Yy=[],Ky=q(Gy,Zy,Yy);const Xy=Ky.exports,Jy=p.defineComponent({__name:"toping-msg-item",props:{item:k.object().isRequired},emits:["hide","close"],setup(t,{emit:e}){const n=t,{$t:r}=W(),o=p.computed(()=>n.item.chatMsg),{canTopMsg:i,cancelTopMsg:s}=h1({chatMsg:o});return{__sfc:!0,props:n,emit:e,$t:r,chatMsg:o,canTopMsg:i,cancelTopMsg:s,SimpleMsgItem:Hr,PwcIconClose:$n}}});var Vy=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return n("div",{staticClass:"plv-toping-msg-item"},[n("div",{staticClass:"plv-toping-msg-item__body",class:{"is-show-close":!r.canTopMsg}},[r.canTopMsg?n("div",{staticClass:"plv-toping-msg-item__control"},[n("div",{staticClass:"plv-toping-msg-item__control-actor"},[e._v(e._s(r.$t("manage.topAction"))+e._s(e.item.topActor))]),n("div",{staticClass:"plv-toping-msg-item__control__item",on:{click:r.cancelTopMsg}},[e._v(e._s(r.$t("manage.cancelTop")))]),n("div",{staticClass:"plv-toping-msg-item__control__item",on:{click:function(o){return r.emit("hide")}}},[e._v(e._s(r.$t("manage.hideTop")))])]):n(r.PwcIconClose,{staticClass:"plv-toping-msg-item__close",on:{click:function(o){return r.emit("close")}}}),n(r.SimpleMsgItem,{staticClass:"plv-toping-msg-item__content",attrs:{"chat-msg":e.item.chatMsg,"show-avatar":"",type:"top"}})],1)])},ex=[],tx=q(Jy,Vy,ex);const nx=tx.exports,rx=p.defineComponent({__name:"toping-msg-list",setup(t){const{manageConfig:e}=me(),{topingMsgs:n}=g1(),{visible:r,show:o,close:i}=_t(!0),s=p.ref(!0);return p.watch(n,()=>{n.value.length&&(o(),s.value=!0)}),{__sfc:!0,manageConfig:e,topingMsgs:n,visible:r,show:o,close:i,canRender:s,PwcSwiper:Xc,PwcSwiperSlide:Jc,ChatIconTopMsgArrow:Kd,TopingMsgItem:nx}}});var ox=function(){var e=this,n=e._self._c,r=e._self._setupProxy;return r.topingMsgs.length&&r.canRender?n("div",{staticClass:"plv-toping-msg-list",style:{height:r.manageConfig.topMsgEnabled?"116px":"90px"}},[r.visible?n(r.PwcSwiper,{staticClass:"plv-toping-msg-list__swiper",attrs:{pagination:{el:".plv-toping-msg-list__indicator",bulletClass:"plv-toping-msg-list__indicator-item",bulletActiveClass:"is-active"}},scopedSlots:e._u([{key:"pagination",fn:function(){return[n("div",{staticClass:"plv-toping-msg-list__indicator",class:{"is-hide":r.topingMsgs.length<=1}})]},proxy:!0}],null,!1,2009145619)},e._l(r.topingMsgs,function(o){return n(r.PwcSwiperSlide,{key:o.id},[n(r.TopingMsgItem,{attrs:{item:o},on:{hide:r.close,close:function(i){r.canRender=!1}}})],1)}),1):e._e(),r.visible?e._e():n("div",{staticClass:"plv-toping-msg-list__arrow",on:{click:r.show}},[n(r.ChatIconTopMsgArrow)],1)],1):e._e()},ix=[],sx=q(rx,ox,ix);const ax=sx.exports,cx="PolyvChatUISpecial";Y.BanList=yl,Y.ChatMessageInputPopup=Fw,Y.ChatMessageInputSection=lb,Y.ChatMessageList=Q_,Y.DonateAnimation=F_,Y.GlobalVariable=cx,Y.KickList=xl,Y.ManagerInputControl=_b,Y.MemberList=Hy,Y.MessageEffectType=Ge,Y.RunwayEffect=G_,Y.SpecialEffectAnimation=Xy,Y.TopingMsgList=ax,Y.ViewerInputControl=bl,Y.useChatGlobalProvide=Kf,Y.useOnlySpecialStore=qn,Y.useSendMsg=Fr,Y.useSpecialEffectStore=no,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});console.log("%c@polyv/chat-ui","background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff","[version: 2.2.0-rc-20251113.1]","[buildTime: 2025-11-13 02:36:09]");
|