diff --git a/packages/uni-app-plus/dist/style.css b/packages/uni-app-plus/dist/style.css index a308eb70b11c938042c32da5372c7e3ed445c194..8f85c6d26fcfde30942fbba353a09d7f5794fd0c 100644 --- a/packages/uni-app-plus/dist/style.css +++ b/packages/uni-app-plus/dist/style.css @@ -1 +1 @@ -*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox-group{display:block}uni-checkbox-group[hidden]{display:none}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;transform:translate(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:transparent transparent black transparent}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-map-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled:before{color:#adadad}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:flex;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{color:inherit;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all;box-sizing:content-box!important}uni-textarea[hidden]{display:none}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-video-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-web-view{display:inline-block;position:absolute;left:0;right:0;top:0;bottom:0} +*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox-group{display:block}uni-checkbox-group[hidden]{display:none}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;transform:translate(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:transparent transparent black transparent}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-map-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap{text-decoration:none}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled:before{color:#adadad}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:flex;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{color:inherit;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all;box-sizing:content-box!important}uni-textarea[hidden]{display:none}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-video-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-web-view{display:inline-block;position:absolute;left:0;right:0;top:0;bottom:0} diff --git a/packages/uni-app-plus/dist/uni-app-service.es.js b/packages/uni-app-plus/dist/uni-app-service.es.js index 35633fb047c4b5b95156451e61047e564907d1b5..ccf391ddf29ed502f076cf6e897db8ac5cbde3e5 100644 --- a/packages/uni-app-plus/dist/uni-app-service.es.js +++ b/packages/uni-app-plus/dist/uni-app-service.es.js @@ -2408,6 +2408,18 @@ var serviceContext = (function (vue) { extraData: {}, }, }; + } + function defineGlobalData(app, defaultGlobalData) { + const options = app.$options || {}; + options.globalData = extend(options.globalData || {}, defaultGlobalData); + Object.defineProperty(app, 'globalData', { + get() { + return options.globalData; + }, + set(newGlobalData) { + options.globalData = newGlobalData; + }, + }); } function getRealPath(filepath) { @@ -14865,8 +14877,7 @@ var serviceContext = (function (vue) { } const request = defineTaskApi(API_REQUEST, (args, { resolve, reject }) => { let { header, method, data, timeout, url, responseType, sslVerify, firstIpv4, - // NOTE 属性有但是types没有 - // @ts-ignore + // @ts-ignore tls 缺少 types 类型 tls, } = args; let contentType; for (const name in header) { @@ -19107,10 +19118,7 @@ var serviceContext = (function (vue) { appCtx = appVm; initAppVm(appCtx); extend(appCtx, defaultApp); // 拷贝默认实现 - const { $options } = appVm; - if ($options) { - appCtx.globalData = extend($options.globalData || {}, appCtx.globalData); - } + defineGlobalData(appCtx, defaultApp.globalData); initService(); initEntry(); initTabBar(); diff --git a/packages/uni-app-plus/dist/uni-app-view.umd.js b/packages/uni-app-plus/dist/uni-app-view.umd.js index a94c491e0bb4a1dc732a5ceb51b7719fdd507d37..a9a992a5a65496449fe776b029ef3961876b41af 100644 --- a/packages/uni-app-plus/dist/uni-app-view.umd.js +++ b/packages/uni-app-plus/dist/uni-app-view.umd.js @@ -1,3 +1,3 @@ -(function(Kn){typeof define=="function"&&define.amd?define(Kn):Kn()})(function(){"use strict";var Kn="",UT="",HT="",Pr={exports:{}},fa={exports:{}},ca={exports:{}},Bh=ca.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Bh);var $t={exports:{}},va=$t.exports=typeof va!="undefined"&&va.Math==Math?va:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=va);var $h=ca.exports,Bl=$t.exports,$l="__core-js_shared__",Fl=Bl[$l]||(Bl[$l]={});(fa.exports=function(e,t){return Fl[e]||(Fl[e]=t!==void 0?t:{})})("versions",[]).push({version:$h.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var Fh=0,zh=Math.random(),Gn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++Fh+zh).toString(36))},Jn=fa.exports("wks"),Uh=Gn,Qn=$t.exports.Symbol,zl=typeof Qn=="function",Hh=Pr.exports=function(e){return Jn[e]||(Jn[e]=zl&&Qn[e]||(zl?Qn:Uh)("Symbol."+e))};Hh.store=Jn;var da={},eo=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Wh=eo,to=function(e){if(!Wh(e))throw TypeError(e+" is not an object!");return e},ha=function(e){try{return!!e()}catch(t){return!0}},fi=!ha(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Ul=eo,ro=$t.exports.document,Vh=Ul(ro)&&Ul(ro.createElement),Hl=function(e){return Vh?ro.createElement(e):{}},jh=!fi&&!ha(function(){return Object.defineProperty(Hl("div"),"a",{get:function(){return 7}}).a!=7}),ga=eo,Yh=function(e,t){if(!ga(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ga(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ga(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ga(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Wl=to,qh=jh,Xh=Yh,Zh=Object.defineProperty;da.f=fi?Object.defineProperty:function(t,r,i){if(Wl(t),r=Xh(r,!0),Wl(i),qh)try{return Zh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Vl=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Kh=da,Gh=Vl,Nr=fi?function(e,t,r){return Kh.f(e,t,Gh(1,r))}:function(e,t,r){return e[t]=r,e},io=Pr.exports("unscopables"),ao=Array.prototype;ao[io]==null&&Nr(ao,io,{});var Jh=function(e){ao[io][e]=!0},Qh=function(e,t){return{value:t,done:!!e}},no={},eg={}.toString,tg=function(e){return eg.call(e).slice(8,-1)},rg=tg,ig=Object("z").propertyIsEnumerable(0)?Object:function(e){return rg(e)=="String"?e.split(""):Object(e)},jl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ag=ig,ng=jl,pa=function(e){return ag(ng(e))},ma={exports:{}},og={}.hasOwnProperty,_a=function(e,t){return og.call(e,t)},sg=fa.exports("native-function-to-string",Function.toString),lg=$t.exports,ba=Nr,Yl=_a,oo=Gn("src"),so=sg,ql="toString",ug=(""+so).split(ql);ca.exports.inspectSource=function(e){return so.call(e)},(ma.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Yl(r,"name")||ba(r,"name",t)),e[t]!==r&&(a&&(Yl(r,oo)||ba(r,oo,e[t]?""+e[t]:ug.join(String(t)))),e===lg?e[t]=r:i?e[t]?e[t]=r:ba(e,t,r):(delete e[t],ba(e,t,r)))})(Function.prototype,ql,function(){return typeof this=="function"&&this[oo]||so.call(this)});var Xl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},fg=Xl,cg=function(e,t,r){if(fg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Dr=$t.exports,wa=ca.exports,vg=Nr,dg=ma.exports,Zl=cg,lo="prototype",We=function(e,t,r){var i=e&We.F,a=e&We.G,n=e&We.S,o=e&We.P,s=e&We.B,l=a?Dr:n?Dr[t]||(Dr[t]={}):(Dr[t]||{})[lo],u=a?wa:wa[t]||(wa[t]={}),f=u[lo]||(u[lo]={}),v,p,d,_;a&&(r=t);for(v in r)p=!i&&l&&l[v]!==void 0,d=(p?l:r)[v],_=s&&p?Zl(d,Dr):o&&typeof d=="function"?Zl(Function.call,d):d,l&&dg(l,v,d,e&We.U),u[v]!=d&&vg(u,v,_),o&&f[v]!=d&&(f[v]=d)};Dr.core=wa,We.F=1,We.G=2,We.S=4,We.P=8,We.B=16,We.W=32,We.U=64,We.R=128;var uo=We,hg=Math.ceil,gg=Math.floor,Kl=function(e){return isNaN(e=+e)?0:(e>0?gg:hg)(e)},pg=Kl,mg=Math.min,_g=function(e){return e>0?mg(pg(e),9007199254740991):0},bg=Kl,wg=Math.max,xg=Math.min,yg=function(e,t){return e=bg(e),e<0?wg(e+t,0):xg(e,t)},Sg=pa,Eg=_g,Tg=yg,Cg=function(e){return function(t,r,i){var a=Sg(t),n=Eg(a.length),o=Tg(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Gl=fa.exports("keys"),Og=Gn,fo=function(e){return Gl[e]||(Gl[e]=Og(e))},Jl=_a,Ag=pa,Ig=Cg(!1),kg=fo("IE_PROTO"),Mg=function(e,t){var r=Ag(e),i=0,a=[],n;for(n in r)n!=kg&&Jl(r,n)&&a.push(n);for(;t.length>i;)Jl(r,n=t[i++])&&(~Ig(a,n)||a.push(n));return a},Ql="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Rg=Mg,Lg=Ql,co=Object.keys||function(t){return Rg(t,Lg)},Pg=da,Ng=to,Dg=co,Bg=fi?Object.defineProperties:function(t,r){Ng(t);for(var i=Dg(r),a=i.length,n=0,o;a>n;)Pg.f(t,o=i[n++],r[o]);return t},eu=$t.exports.document,$g=eu&&eu.documentElement,Fg=to,zg=Bg,tu=Ql,Ug=fo("IE_PROTO"),vo=function(){},ho="prototype",xa=function(){var e=Hl("iframe"),t=tu.length,r="<",i=">",a;for(e.style.display="none",$g.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),xa=a.F;t--;)delete xa[ho][tu[t]];return xa()},Hg=Object.create||function(t,r){var i;return t!==null?(vo[ho]=Fg(t),i=new vo,vo[ho]=null,i[Ug]=t):i=xa(),r===void 0?i:zg(i,r)},Wg=da.f,Vg=_a,ru=Pr.exports("toStringTag"),iu=function(e,t,r){e&&!Vg(e=r?e:e.prototype,ru)&&Wg(e,ru,{configurable:!0,value:t})},jg=Hg,Yg=Vl,qg=iu,au={};Nr(au,Pr.exports("iterator"),function(){return this});var Xg=function(e,t,r){e.prototype=jg(au,{next:Yg(1,r)}),qg(e,t+" Iterator")},Zg=jl,nu=function(e){return Object(Zg(e))},Kg=_a,Gg=nu,ou=fo("IE_PROTO"),Jg=Object.prototype,Qg=Object.getPrototypeOf||function(e){return e=Gg(e),Kg(e,ou)?e[ou]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Jg:null},go=uo,ep=ma.exports,su=Nr,lu=no,tp=Xg,rp=iu,ip=Qg,ci=Pr.exports("iterator"),po=!([].keys&&"next"in[].keys()),ap="@@iterator",uu="keys",ya="values",fu=function(){return this},np=function(e,t,r,i,a,n,o){tp(r,t,i);var s=function(c){if(!po&&c in v)return v[c];switch(c){case uu:return function(){return new r(this,c)};case ya:return function(){return new r(this,c)}}return function(){return new r(this,c)}},l=t+" Iterator",u=a==ya,f=!1,v=e.prototype,p=v[ci]||v[ap]||a&&v[a],d=p||s(a),_=a?u?s("entries"):d:void 0,b=t=="Array"&&v.entries||p,x,m,g;if(b&&(g=ip(b.call(new e)),g!==Object.prototype&&g.next&&(rp(g,l,!0),typeof g[ci]!="function"&&su(g,ci,fu))),u&&p&&p.name!==ya&&(f=!0,d=function(){return p.call(this)}),(po||f||!v[ci])&&su(v,ci,d),lu[t]=d,lu[l]=fu,a)if(x={values:u?d:s(ya),keys:n?d:s(uu),entries:_},o)for(m in x)m in v||ep(v,m,x[m]);else go(go.P+go.F*(po||f),t,x);return x},mo=Jh,Sa=Qh,cu=no,op=pa,sp=np(Array,"Array",function(e,t){this._t=op(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,Sa(1)):t=="keys"?Sa(0,r):t=="values"?Sa(0,e[r]):Sa(0,[r,e[r]])},"values");cu.Arguments=cu.Array,mo("keys"),mo("values"),mo("entries");for(var vu=sp,lp=co,up=ma.exports,fp=$t.exports,du=Nr,hu=no,gu=Pr.exports,pu=gu("iterator"),mu=gu("toStringTag"),_u=hu.Array,bu={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},wu=lp(bu),_o=0;_o!!r[n.toLowerCase()]:n=>!!r[n]}var vp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dp=Ca(vp);function yu(e){return!!e||e===""}var hp=Ca("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function bo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(pp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function mp(e){var t="";if(!e||ye(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Ke(r);(ye(i)||typeof i=="number"&&hp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function wo(e){var t="";if(ye(e))t=e;else if(ne(e))for(var r=0;r{},_p=()=>!1,bp=/^on[^a-z]/,Oa=e=>bp.test(e),xo=e=>e.startsWith("onUpdate:"),ve=Object.assign,yo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},wp=Object.prototype.hasOwnProperty,re=(e,t)=>wp.call(e,t),ne=Array.isArray,di=e=>hi(e)==="[object Map]",xp=e=>hi(e)==="[object Set]",oe=e=>typeof e=="function",ye=e=>typeof e=="string",So=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",Eu=e=>He(e)&&oe(e.then)&&oe(e.catch),yp=Object.prototype.toString,hi=e=>yp.call(e),Eo=e=>hi(e).slice(8,-1),mt=e=>hi(e)==="[object Object]",To=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Aa=Ca(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ia=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Sp=/-(\w)/g,Ft=Ia(e=>e.replace(Sp,(t,r)=>r?r.toUpperCase():"")),Ep=/\B([A-Z])/g,Ke=Ia(e=>e.replace(Ep,"-$1").toLowerCase()),ka=Ia(e=>e.charAt(0).toUpperCase()+e.slice(1)),Co=Ia(e=>e?"on".concat(ka(e)):""),gi=(e,t)=>!Object.is(e,t),Oo=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Tp=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Tu,Cp=()=>Tu||(Tu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),pi=` -`,Cu=44,Ra="#007aff",Op=/^([a-z-]+:)?\/\//i,Ap=/^data:.*,.*/,Ou="wxs://",Au="json://",Ip="wxsModules",kp="renderjsModules",Mp="onPageScroll",Rp="onReachBottom",Lp="onWxsInvokeCallMethod",Ao=0;function Io(e){var t=Date.now(),r=Ao?t-Ao:0;Ao=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function ko(e){return ve({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function Mo(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:ko(e),offsetTop:r,offsetLeft:i}}function Pp(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:v,variant:p,featureSettings:d}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),v&&s.push("unicode-range:".concat(v)),p&&s.push("font-variant:".concat(p)),d&&s.push("font-feature-settings:".concat(d))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Np(e,t){if(ye(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:a,scrollHeight:n}=i;if(e=Math.min(e,n-a),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/s*10),o(s-10)})};o(t)}}function Dp(){return typeof __channelId__=="string"&&__channelId__}function Bp(e,t){switch(Eo(t)){case"Function":return"function() { [native code] }";default:return t}}function $p(e,t,r){if(Dp())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=hi(a).toLowerCase();if(n==="[object object]"||n==="[object array]")try{a="---BEGIN:JSON---"+JSON.stringify(a,Bp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=Eo(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Fp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a{var i=t[r];return i||(t[r]=e(r))}}function t0(e){return e0(e)}function r0(e){return e.indexOf("/")===0}function Do(e){return r0(e)?e:"/"+e}function Pa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;ne.apply(this,arguments);r=setTimeout(a,t)};return i.cancel=function(){clearTimeout(r)},i}var a0=Array.isArray,n0=e=>e!==null&&typeof e=="object",o0=["{","}"];class s0{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:o0;if(!r)return[t];var a=this._caches[t];return a||(a=f0(t,i),this._caches[t]=a),c0(a,r)}}var l0=/^(?:\d)+/,u0=/^(?:\w)+/;function f0(e,t){for(var[r,i]=t,a=[],n=0,o="";nv0.call(e,t),d0=new s0;function h0(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function g0(e,t){return t.find(r=>e.indexOf(r)===0)}function Du(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return _i;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?_i:e.indexOf("-hant")>-1||h0(e,["-tw","-hk","-mo","-cht"])?Na:_i;var r=g0(e,[zt,Bo,$o]);if(r)return r}}class p0{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=zt,this.fallbackLocale=zt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||d0,this.messages=a||{},this.setLocale(r||zt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Du(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Nu(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Du(r,this.messages),r&&(a=this.messages[r])):i=r,Nu(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function m0(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function _0(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():zt}function b0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=_0()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||zt);var a=new p0({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(u,f){return a.t(u,f)};else{var l=!1;n=function(u,f){var v=getApp().$vm;return v&&(v.$locale,l||(l=!0,m0(v,a))),a.t(u,f)}}return n(o,s)};return{i18n:a,f(o,s,l){return a.f(o,s,l)},t(o,s){return n(o,s)},add(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,l)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var w0=Pa(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),bi;function Ge(){if(!bi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,bi=b0(e),w0()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>bi.add(r,__uniConfig.locales[r])),bi.setLocale(e)}}return bi}function _t(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var x0=Pa(()=>{var e="uni.picker.",t=["done","cancel"];Ge().add(zt,_t(e,t,["Done","Cancel"]),!1),Ge().add($o,_t(e,t,["OK","Cancelar"]),!1),Ge().add(Bo,_t(e,t,["OK","Annuler"]),!1),Ge().add(_i,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Ge().add(Na,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),y0=Pa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Ge().add(zt,_t(e,t,["feedback","send"]),!1),Ge().add($o,_t(e,t,["realimentaci\xF3n","enviar"]),!1),Ge().add(Bo,_t(e,t,["retour d'information","envoyer"]),!1),Ge().add(_i,_t(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Ge().add(Na,_t(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),Bu=function(){};Bu.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;i1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var $u="invokeViewApi",Fu="invokeServiceApi",E0=1,T0=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?E0++:0;r&&i(Fu+"."+n,r,!0),a(Fu,{id:n,name:e,args:t})},Da=Object.create(null);function Ba(e,t){return e+"."+t}function C0(e,t){UniViewJSBridge.subscribe(Ba(e,$u),t?t(zu):zu)}function bt(e,t,r){t=Ba(e,t),Da[t]||(Da[t]=r)}function O0(e,t){t=Ba(e,t),delete Da[t]}function zu(e,t){var{id:r,name:i,args:a}=e;i=Ba(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler($u+"."+r,s)},o=Da[i];o?o(a,n):n({})}var A0=ve(S0("service"),{invokeServiceMethod:T0}),I0=350,Uu=10,$a=mi(!0),wi;function xi(){wi&&(clearTimeout(wi),wi=null)}var Hu=0,Wu=0;function k0(e){if(xi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Hu=t,Wu=r,wi=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},I0)}}function M0(e){if(!!wi){if(e.touches.length!==1)return xi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Hu)>Uu||Math.abs(r-Wu)>Uu)return xi()}}function R0(){window.addEventListener("touchstart",k0,$a),window.addEventListener("touchmove",M0,$a),window.addEventListener("touchend",xi,$a),window.addEventListener("touchcancel",xi,$a)}function Vu(e,t){var r=Number(e);return isNaN(r)?t:r}function L0(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function P0(){function e(){var t=__uniConfig.globalStyle||{},r=Vu(t.rpxCalcMaxDeviceWidth,960),i=Vu(t.rpxCalcBaseDeviceWidth,375),a=L0();a=a<=r?a:i,document.documentElement.style.fontSize=a/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function N0(){P0(),R0()}var D0=ha,B0=function(e,t){return!!e&&D0(function(){t?e.call(null,function(){},1):e.call(null)})},Fo=uo,$0=Xl,ju=nu,Yu=ha,zo=[].sort,qu=[1,2,3];Fo(Fo.P+Fo.F*(Yu(function(){qu.sort(void 0)})||!Yu(function(){qu.sort(null)})||!B0(zo)),"Array",{sort:function(t){return t===void 0?zo.call(ju(this)):zo.call(ju(this),$0(t))}});var lr,Fa=[];class F0{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&lr&&(this.parent=lr,this.index=(lr.scopes||(lr.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Fa.push(this),lr=this)}off(){this.active&&(Fa.pop(),lr=Fa[Fa.length-1])}stop(t){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function z0(e,t){t=t||lr,t&&t.active&&t.effects.push(e)}var Uo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},Xu=e=>(e.w&Ut)>0,Zu=e=>(e.n&Ut)>0,U0=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],z0(this,i)}run(){if(!this.active)return this.fn();if(!Si.includes(this))try{return Si.push(ur=this),W0(),Ut=1<<++yi,yi<=Wo?U0(this):Ku(this),this.fn()}finally{yi<=Wo&&H0(this),Ut=1<<--yi,cr(),Si.pop();var t=Si.length;ur=t>0?Si[t-1]:void 0}}stop(){this.active&&(Ku(this),this.onStop&&this.onStop(),this.active=!1)}}function Ku(e){var{deps:t}=e;if(t.length){for(var r=0;r{(v==="length"||v>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?To(r)&&s.push(o.get("length")):(s.push(o.get(fr)),di(e)&&s.push(o.get(Vo)));break;case"delete":ne(e)||(s.push(o.get(fr)),di(e)&&s.push(o.get(Vo)));break;case"set":di(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&qo(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);qo(Uo(l))}}}function qo(e,t){for(var r of ne(e)?e:[...e])(r!==ur||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var V0=Ca("__proto__,__v_isRef,__isVue"),Qu=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(So)),j0=Xo(),Y0=Xo(!1,!0),q0=Xo(!0),ef=X0();function X0(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Fr();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_raw"&&n===(e?t?fm:ff:t?uf:lf).get(i))return i;var o=ne(i);if(!e&&o&&re(ef,a))return Reflect.get(ef,a,n);var s=Reflect.get(i,a,n);if((So(a)?Qu.has(a):V0(a))||(e||Je(i,"get",a),t))return s;if(Ve(s)){var l=!o||!To(a);return l?s.value:s}return He(s)?e?cf(s):Ae(s):s}}var Z0=tf(),K0=tf(!0);function tf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(!e&&!Jo(a)&&(a=me(a),o=me(o),!ne(r)&&Ve(o)&&!Ve(a)))return o.value=a,!0;var s=ne(r)&&To(i)?Number(i)e,za=e=>Reflect.getPrototypeOf(e);function Ua(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=me(e),n=me(t);t!==n&&!r&&Je(a,"get",t),!r&&Je(a,"get",n);var{has:o}=za(a),s=i?Zo:r?Qo:Ei;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Ha(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&Je(i,"has",e),!t&&Je(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&Je(me(e),"iterate",fr),Reflect.get(e,"size",e)}function af(e){e=me(e);var t=me(this),r=za(t),i=r.has.call(t,e);return i||(t.add(e),Mt(t,"add",e,e)),this}function nf(e,t){t=me(t);var r=me(this),{has:i,get:a}=za(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?gi(t,o)&&Mt(r,"set",e,t):Mt(r,"add",e,t),this}function of(e){var t=me(this),{has:r,get:i}=za(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Mt(t,"delete",e,void 0),n}function sf(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Mt(e,"clear",void 0,void 0),r}function Va(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),l=t?Zo:e?Qo:Ei;return!e&&Je(s,"iterate",fr),o.forEach((u,f)=>i.call(a,l(u),l(f),n))}}function ja(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=di(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,l=i[e](...arguments),u=r?Zo:t?Qo:Ei;return!t&&Je(a,"iterate",s?Vo:fr),{next(){var{value:f,done:v}=l.next();return v?{value:f,done:v}:{value:o?[u(f[0]),u(f[1])]:u(f),done:v}},[Symbol.iterator](){return this}}}}function Ht(e){return function(){return e==="delete"?!1:this}}function rm(){var e={get(n){return Ua(this,n)},get size(){return Wa(this)},has:Ha,add:af,set:nf,delete:of,clear:sf,forEach:Va(!1,!1)},t={get(n){return Ua(this,n,!1,!0)},get size(){return Wa(this)},has:Ha,add:af,set:nf,delete:of,clear:sf,forEach:Va(!1,!0)},r={get(n){return Ua(this,n,!0)},get size(){return Wa(this,!0)},has(n){return Ha.call(this,n,!0)},add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear"),forEach:Va(!0,!1)},i={get(n){return Ua(this,n,!0,!0)},get size(){return Wa(this,!0)},has(n){return Ha.call(this,n,!0)},add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear"),forEach:Va(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=ja(n,!1,!1),r[n]=ja(n,!0,!1),t[n]=ja(n,!1,!0),i[n]=ja(n,!0,!0)}),[e,r,t,i]}var[im,am,nm,om]=rm();function Ko(e,t){var r=t?e?om:nm:e?am:im;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(re(r,a)&&a in i?r:i,a,n)}var sm={get:Ko(!1,!1)},lm={get:Ko(!1,!0)},um={get:Ko(!0,!1)},lf=new WeakMap,uf=new WeakMap,ff=new WeakMap,fm=new WeakMap;function cm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vm(e){return e.__v_skip||!Object.isExtensible(e)?0:cm(Eo(e))}function Ae(e){return e&&e.__v_isReadonly?e:Go(e,!1,rf,sm,lf)}function dm(e){return Go(e,!1,tm,lm,uf)}function cf(e){return Go(e,!0,em,um,ff)}function Go(e,t,r,i,a){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=vm(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function zr(e){return Jo(e)?zr(e.__v_raw):!!(e&&e.__v_isReactive)}function Jo(e){return!!(e&&e.__v_isReadonly)}function vf(e){return zr(e)||Jo(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function Ya(e){return Ma(e,"__v_skip",!0),e}var Ei=e=>He(e)?Ae(e):e,Qo=e=>He(e)?cf(e):e;function df(e){Gu()&&(e=me(e),e.dep||(e.dep=Uo()),Ju(e.dep))}function hf(e,t){e=me(e),e.dep&&qo(e.dep)}function Ve(e){return Boolean(e&&e.__v_isRef===!0)}function U(e){return gf(e,!1)}function es(e){return gf(e,!0)}function gf(e,t){return Ve(e)?e:new hm(e,t)}class hm{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ei(t)}get value(){return df(this),this._value}set value(t){t=this._shallow?t:me(t),gi(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Ei(t),hf(this))}}function gm(e){return Ve(e)?e.value:e}var pm={get:(e,t,r)=>gm(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return Ve(a)&&!Ve(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function pf(e){return zr(e)?e:new Proxy(e,pm)}class mm{constructor(t,r,i){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new jo(t,()=>{this._dirty||(this._dirty=!0,hf(this))}),this.__v_isReadonly=i}get value(){var t=me(this);return df(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ee(e,t){var r,i,a=oe(e);a?(r=e,i=pt):(r=e.get,i=e.set);var n=new mm(r,i,a||!i);return n}function _m(e,t){for(var r=e.vnode.props||xe,i=arguments.length,a=new Array(i>2?i-2:0),n=2;nb.trim()):f&&(o=a.map(Tp))}var p,d=r[p=Co(t)]||r[p=Co(Ft(t))];!d&&s&&(d=r[p=Co(Ke(t))]),d&&ct(d,e,6,o);var _=r[p+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,ct(_,e,6,o)}}function mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!oe(e)){var l=u=>{var f=mf(u,t,!0);f&&(s=!0,ve(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(u=>o[u]=null):ve(o,n),i.set(e,o),o)}function ts(e,t){return!e||!Oa(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Ke(t))||re(e,t))}var ft=null,_f=null;function qa(e){var t=ft;return ft=e,_f=e&&e.type.__scopeId||null,t}function bm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ft;if(!t||e._n)return e;var r=function(){r._d&&zf(-1);var i=qa(t),a=e(...arguments);return qa(i),r._d&&zf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function WT(){}function rs(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:v,data:p,setupState:d,ctx:_,inheritAttrs:b}=e,x,m,g=qa(e);try{if(r.shapeFlag&4){var c=a||i;x=xt(f.call(c,c,v,n,d,p,_)),m=l}else{var h=t;x=xt(h.length>1?h(n,{attrs:l,slots:s,emit:u}):h(n,null)),m=t.props?l:wm(l)}}catch(E){tn(E,e,1),x=I(Ur)}var w=x;if(m&&b!==!1){var y=Object.keys(m),{shapeFlag:T}=w;y.length&&T&(1|6)&&(o&&y.some(xo)&&(m=xm(m,o)),w=Oi(w,m))}return r.dirs&&(w.dirs=w.dirs?w.dirs.concat(r.dirs):r.dirs),r.transition&&(w.transition=r.transition),x=w,qa(g),x}var wm=e=>{var t;for(var r in e)(r==="class"||r==="style"||Oa(r))&&((t||(t={}))[r]=e[r]);return t},xm=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function ym(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?bf(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,v=0;ve.__isSuspense;function Tm(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):g_(e)}function Fe(e,t){if(ze){var r=ze.provides,i=ze.parent&&ze.parent.provides;i===r&&(r=ze.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ze||ft;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&oe(t)?t.call(i.proxy):t}}function Cm(e){return oe(e)?{setup:e,name:e.name}:e}var is=e=>!!e.type.__asyncLoader,wf=e=>e.type.__isKeepAlive;function as(e,t){xf(e,"a",t)}function Om(e,t){xf(e,"da",t)}function xf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ze,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Xa(t,i,r),r)for(var a=r.parent;a&&a.parent;)wf(a.parent.vnode)&&Am(i,t,r,a),a=a.parent}function Am(e,t,r,i){var a=Xa(t,e,i,!0);Wt(()=>{yo(i[t],a)},r)}function Xa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ze,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Fr(),Hr(r);for(var o=arguments.length,s=new Array(o),l=0;lfunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze;return(!en||e==="sp")&&Xa(e,t,r)},yf=Rt("bm"),Re=Rt("m"),Im=Rt("bu"),km=Rt("u"),Ce=Rt("bum"),Wt=Rt("um"),Mm=Rt("sp"),Rm=Rt("rtg"),Lm=Rt("rtc");function Pm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze;Xa("ec",e,t)}var ns=!0;function Nm(e){var t=Tf(e),r=e.proxy,i=e.ctx;ns=!1,t.beforeCreate&&Sf(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:v,mounted:p,beforeUpdate:d,updated:_,activated:b,deactivated:x,beforeDestroy:m,beforeUnmount:g,destroyed:c,unmounted:h,render:w,renderTracked:y,renderTriggered:T,errorCaptured:E,serverPrefetch:O,expose:N,inheritAttrs:R,components:V,directives:ue,filters:M}=t,B=null;if(u&&Dm(u,i,B,e.appContext.config.unwrapInjectedRef),o)for(var Q in o){var te=o[Q];oe(te)&&(i[Q]=te.bind(r))}if(a&&function(){var ie=a.call(r,r);He(ie)&&(e.data=Ae(ie))}(),ns=!0,n){var W=function(ie){var le=n[ie],Ie=oe(le)?le.bind(r,r):oe(le.get)?le.get.bind(r,r):pt,ke=!oe(le)&&oe(le.set)?le.set.bind(r):pt,nt=ee({get:Ie,set:ke});Object.defineProperty(i,ie,{enumerable:!0,configurable:!0,get:()=>nt.value,set:nr=>nt.value=nr})};for(var G in n)W(G)}if(s)for(var ae in s)Ef(s[ae],i,r,ae);if(l){var Se=oe(l)?l.call(r):l;Reflect.ownKeys(Se).forEach(ie=>{Fe(ie,Se[ie])})}f&&Sf(f,e,"c");function se(ie,le){ne(le)?le.forEach(Ie=>ie(Ie.bind(r))):le&&ie(le.bind(r))}if(se(yf,v),se(Re,p),se(Im,d),se(km,_),se(as,b),se(Om,x),se(Pm,E),se(Lm,y),se(Rm,T),se(Ce,g),se(Wt,h),se(Mm,O),ne(N))if(N.length){var K=e.exposed||(e.exposed={});N.forEach(ie=>{Object.defineProperty(K,ie,{get:()=>r[ie],set:le=>r[ie]=le})})}else e.exposed||(e.exposed={});w&&e.render===pt&&(e.render=w),R!=null&&(e.inheritAttrs=R),V&&(e.components=V),ue&&(e.directives=ue)}function Dm(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=os(e));var i=function(n){var o=e[n],s=void 0;He(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),Ve(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[n]=s};for(var a in e)i(a)}function Sf(e,t,r){ct(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Ef(e,t,r,i){var a=i.includes(".")?Qf(r,i):()=>r[i];if(ye(e)){var n=t[e];oe(n)&&H(a,n)}else if(oe(e))H(a,e.bind(r));else if(He(e))if(ne(e))e.forEach(s=>Ef(s,t,r,i));else{var o=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(o)&&H(a,o,e)}}function Tf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),l;return s?l=s:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(u=>Za(l,u,o,!0)),Za(l,t,o)),n.set(t,l),l}function Za(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Za(e,n,r,!0),a&&a.forEach(l=>Za(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=Bm[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var Bm={data:Cf,props:vr,emits:vr,methods:vr,computed:vr,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:vr,directives:vr,watch:Fm,provide:Cf,inject:$m};function Cf(e,t){return t?e?function(){return ve(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function $m(e,t){return vr(os(e),os(t))}function os(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Ma(n,Ga,1),e.propsDefaults=Object.create(null),Of(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:dm(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Um(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,v=0;v2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],l=!1;if(!oe(e)){var u=c=>{l=!0;var[h,w]=Af(c,t,!0);ve(o,h),w&&s.push(...w)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!l)return i.set(e,vi),vi;if(ne(n))for(var f=0;f-1,b[1]=m<0||x-1||re(b,"default"))&&s.push(d)}}}var g=[o,s];return i.set(e,g),g}function If(e){return e[0]!=="$"}function kf(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Mf(e,t){return kf(e)===kf(t)}function Rf(e,t){return ne(t)?t.findIndex(r=>Mf(r,e)):oe(t)&&Mf(t,e)?0:-1}var Lf=e=>e[0]==="_"||e==="$stable",ls=e=>ne(e)?e.map(xt):[xt(e)],Hm=(e,t,r)=>{var i=bm(function(){return ls(t(...arguments))},r);return i._c=!1,i},Pf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!Lf(a)){var n=e[a];oe(n)?t[a]=Hm(a,n,i):n!=null&&function(){var o=ls(n);t[a]=()=>o}()}},Nf=(e,t)=>{var r=ls(t);e.slots.default=()=>r},Wm=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Ma(t,"_",r)):Pf(t,e.slots={})}else e.slots={},t&&Nf(e,t);Ma(e.slots,Ga,1)},Vm=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=xe;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ve(a,t),!r&&s===1&&delete a._):(n=!t.$stable,Pf(t,a)),o=t}else t&&(Nf(e,t),o={default:1});if(n)for(var l in a)!Lf(l)&&!(l in o)&&delete a[l]};function Ti(e,t){var r=ft;if(r===null)return e;for(var i=r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;a!=null&&!He(a)&&(a=null);var n=Df(),o=new Set,s=!1,l=n.app={_uid:jm++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:b_,get config(){return n.config},set config(u){},use(u){for(var f=arguments.length,v=new Array(f>1?f-1:0),p=1;p4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((b,x)=>us(b,t&&(ne(t)?t[x]:t),r,i,a));return}if(!(is(i)&&!a)){var n=i.shapeFlag&4?hs(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:l}=e,u=t&&t.r,f=s.refs===xe?s.refs={}:s.refs,v=s.setupState;if(u!=null&&u!==l&&(ye(u)?(f[u]=null,re(v,u)&&(v[u]=null)):Ve(u)&&(u.value=null)),oe(l))Yt(l,s,12,[o,f]);else{var p=ye(l),d=Ve(l);if(p||d){var _=()=>{if(e.f){var b=p?f[l]:l.value;a?ne(b)&&yo(b,n):ne(b)?b.includes(n)||b.push(n):p?f[l]=[n]:(l.value=[n],e.k&&(f[e.k]=l.value))}else p?(f[l]=o,re(v,l)&&(v[l]=o)):Ve(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(_.id=-1,qe(_,r)):_()}}}}var qe=Tm;function qm(e){return Xm(e)}function Xm(e,t){var r=Cp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:v,nextSibling:p,setScopeId:d=pt,cloneNode:_,insertStaticContent:b}=e,x=function(S,C,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,$=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!C.dynamicChildren;if(S!==C){S&&!Ci(S,C)&&(L=nt(S),K(S,P,F,!0),S=null),C.patchFlag===-2&&(z=!1,C.dynamicChildren=null);var{type:D,ref:J,shapeFlag:Z}=C;switch(D){case fs:m(S,C,k,L);break;case Ur:g(S,C,k,L);break;case cs:S==null&&c(C,k,L,j);break;case wt:ue(S,C,k,L,P,F,j,$,z);break;default:Z&1?y(S,C,k,L,P,F,j,$,z):Z&6?M(S,C,k,L,P,F,j,$,z):(Z&64||Z&128)&&D.process(S,C,k,L,P,F,j,$,z,Ne)}J!=null&&P&&us(J,S&&S.ref,F,C||S,!C)}},m=(S,C,k,L)=>{if(S==null)i(C.el=s(C.children),k,L);else{var P=C.el=S.el;C.children!==S.children&&u(P,C.children)}},g=(S,C,k,L)=>{S==null?i(C.el=l(C.children||""),k,L):C.el=S.el},c=(S,C,k,L)=>{[S.el,S.anchor]=b(S.children,C,k,L)},h=(S,C,k)=>{for(var{el:L,anchor:P}=S,F;L&&L!==P;)F=p(L),i(L,C,k),L=F;i(P,C,k)},w=S=>{for(var{el:C,anchor:k}=S,L;C&&C!==k;)L=p(C),a(C),C=L;a(k)},y=(S,C,k,L,P,F,j,$,z)=>{j=j||C.type==="svg",S==null?T(C,k,L,P,F,j,$,z):N(S,C,P,F,j,$,z)},T=(S,C,k,L,P,F,j,$)=>{var z,D,{type:J,props:Z,shapeFlag:X,transition:ce,patchFlag:Be,dirs:Te}=S;if(S.el&&_!==void 0&&Be===-1)z=S.el=_(S.el);else{if(z=S.el=o(S.type,F,Z&&Z.is,Z),X&8?f(z,S.children):X&16&&O(S.children,z,null,L,P,F&&J!=="foreignObject",j,$),Te&&dr(S,null,L,"created"),Z){for(var A in Z)A!=="value"&&!Aa(A)&&n(z,A,null,Z[A],F,S.children,L,P,ke);"value"in Z&&n(z,"value",null,Z.value),(D=Z.onVnodeBeforeMount)&&yt(D,L,S)}E(z,S,S.scopeId,j,L)}Object.defineProperty(z,"__vueParentComponent",{value:L,enumerable:!1}),Te&&dr(S,null,L,"beforeMount");var Y=(!P||P&&!P.pendingBranch)&&ce&&!ce.persisted;Y&&ce.beforeEnter(z),i(z,C,k),((D=Z&&Z.onVnodeMounted)||Y||Te)&&qe(()=>{D&&yt(D,L,S),Y&&ce.enter(z),Te&&dr(S,null,L,"mounted")},P)},E=(S,C,k,L,P)=>{if(k&&d(S,k),L)for(var F=0;F8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var $=C.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:J}=C;z|=S.patchFlag&16;var Z=S.props||xe,X=C.props||xe,ce;k&&hr(k,!1),(ce=X.onVnodeBeforeUpdate)&&yt(ce,k,C,S),J&&dr(C,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=P&&C.type!=="foreignObject";if(D?R(S.dynamicChildren,D,$,k,L,Be,F):j||G(S,C,$,null,k,L,Be,F,!1),z>0){if(z&16)V($,C,Z,X,k,L,P);else if(z&2&&Z.class!==X.class&&n($,"class",null,X.class,P),z&4&&n($,"style",Z.style,X.style,P),z&8)for(var Te=C.dynamicProps,A=0;A{ce&&yt(ce,k,C,S),J&&dr(C,S,k,"updated")},L)},R=(S,C,k,L,P,F,j)=>{for(var $=0;${if(k!==L){for(var $ in L)if(!Aa($)){var z=L[$],D=k[$];z!==D&&$!=="value"&&n(S,$,D,z,j,C.children,P,F,ke)}if(k!==xe)for(var J in k)!Aa(J)&&!(J in L)&&n(S,J,k[J],null,j,C.children,P,F,ke);"value"in L&&n(S,"value",k.value,L.value)}},ue=(S,C,k,L,P,F,j,$,z)=>{var D=C.el=S?S.el:s(""),J=C.anchor=S?S.anchor:s(""),{patchFlag:Z,dynamicChildren:X,slotScopeIds:ce}=C;ce&&($=$?$.concat(ce):ce),S==null?(i(D,k,L),i(J,k,L),O(C.children,k,J,P,F,j,$,z)):Z>0&&Z&64&&X&&S.dynamicChildren?(R(S.dynamicChildren,X,k,P,F,j,$),(C.key!=null||P&&C===P.subTree)&&Bf(S,C,!0)):G(S,C,k,J,P,F,j,$,z)},M=(S,C,k,L,P,F,j,$,z)=>{C.slotScopeIds=$,S==null?C.shapeFlag&512?P.ctx.activate(C,k,L,j,z):B(C,k,L,P,F,j,z):Q(S,C,z)},B=(S,C,k,L,P,F,j)=>{var $=S.component=n_(S,L,P);if(wf(S)&&($.ctx.renderer=Ne),o_($),$.asyncDep){if(P&&P.registerDep($,te),!S.el){var z=$.subTree=I(Ur);g(null,z,C,k)}return}te($,S,C,k,P,F,j)},Q=(S,C,k)=>{var L=C.component=S.component;if(ym(S,C,k))if(L.asyncDep&&!L.asyncResolved){W(L,C,k);return}else L.next=C,d_(L.update),L.update();else C.component=S.component,C.el=S.el,L.vnode=C},te=(S,C,k,L,P,F,j)=>{var $=()=>{if(S.isMounted){var{next:fe,bu:$e,u:Ze,parent:De,vnode:gt}=S,or=fe,kt;hr(S,!1),fe?(fe.el=gt.el,W(S,fe,j)):fe=gt,$e&&Oo($e),(kt=fe.props&&fe.props.onVnodeBeforeUpdate)&&yt(kt,De,fe,gt),hr(S,!0);var Rr=rs(S),Bt=S.subTree;S.subTree=Rr,x(Bt,Rr,v(Bt.el),nt(Bt),S,P,F),fe.el=Rr.el,or===null&&Sm(S,Rr.el),Ze&&qe(Ze,P),(kt=fe.props&&fe.props.onVnodeUpdated)&&qe(()=>yt(kt,De,fe,gt),P)}else{var J,{el:Z,props:X}=C,{bm:ce,m:Be,parent:Te}=S,A=is(C);if(hr(S,!1),ce&&Oo(ce),!A&&(J=X&&X.onVnodeBeforeMount)&&yt(J,Te,C),hr(S,!0),Z&&ua){var Y=()=>{S.subTree=rs(S),ua(Z,S.subTree,S,P,null)};A?C.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var q=S.subTree=rs(S);x(null,q,k,L,S,P,F),C.el=q.el}if(Be&&qe(Be,P),!A&&(J=X&&X.onVnodeMounted)){var he=C;qe(()=>yt(J,Te,he),P)}C.shapeFlag&256&&S.a&&qe(S.a,P),S.isMounted=!0,C=k=L=null}},z=S.effect=new jo($,()=>qf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},W=(S,C,k)=>{C.component=S;var L=S.vnode.props;S.vnode=C,S.next=null,Um(S,C.props,L,k),Vm(S,C.children,k),Fr(),_s(void 0,S.update),cr()},G=function(S,C,k,L,P,F,j,$){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,J=S?S.shapeFlag:0,Z=C.children,{patchFlag:X,shapeFlag:ce}=C;if(X>0){if(X&128){Se(D,Z,k,L,P,F,j,$,z);return}else if(X&256){ae(D,Z,k,L,P,F,j,$,z);return}}ce&8?(J&16&&ke(D,P,F),Z!==D&&f(k,Z)):J&16?ce&16?Se(D,Z,k,L,P,F,j,$,z):ke(D,P,F,!0):(J&8&&f(k,""),ce&16&&O(Z,k,L,P,F,j,$,z))},ae=(S,C,k,L,P,F,j,$,z)=>{S=S||vi,C=C||vi;var D=S.length,J=C.length,Z=Math.min(D,J),X;for(X=0;XJ?ke(S,P,F,!0,!1,Z):O(C,k,L,P,F,j,$,z,Z)},Se=(S,C,k,L,P,F,j,$,z)=>{for(var D=0,J=C.length,Z=S.length-1,X=J-1;D<=Z&&D<=X;){var ce=S[D],Be=C[D]=z?Vt(C[D]):xt(C[D]);if(Ci(ce,Be))x(ce,Be,k,null,P,F,j,$,z);else break;D++}for(;D<=Z&&D<=X;){var Te=S[Z],A=C[X]=z?Vt(C[X]):xt(C[X]);if(Ci(Te,A))x(Te,A,k,null,P,F,j,$,z);else break;Z--,X--}if(D>Z){if(D<=X)for(var Y=X+1,q=YX)for(;D<=Z;)K(S[D],P,F,!0),D++;else{var he=D,fe=D,$e=new Map;for(D=fe;D<=X;D++){var Ze=C[D]=z?Vt(C[D]):xt(C[D]);Ze.key!=null&&$e.set(Ze.key,D)}var De,gt=0,or=X-fe+1,kt=!1,Rr=0,Bt=new Array(or);for(D=0;D=or){K(ui,P,F,!0);continue}var Lr=void 0;if(ui.key!=null)Lr=$e.get(ui.key);else for(De=fe;De<=X;De++)if(Bt[De-fe]===0&&Ci(ui,C[De])){Lr=De;break}Lr===void 0?K(ui,P,F,!0):(Bt[Lr-fe]=D+1,Lr>=Rr?Rr=Lr:kt=!0,x(ui,C[Lr],k,null,P,F,j,$,z),gt++)}var Ph=kt?Zm(Bt):vi;for(De=Ph.length-1,D=or-1;D>=0;D--){var Dl=fe+D,Nh=C[Dl],Dh=Dl+14&&arguments[4]!==void 0?arguments[4]:null,{el:F,type:j,transition:$,children:z,shapeFlag:D}=S;if(D&6){se(S.component.subTree,C,k,L);return}if(D&128){S.suspense.move(C,k,L);return}if(D&64){j.move(S,C,k,Ne);return}if(j===wt){i(F,C,k);for(var J=0;J$.enter(F),P);else{var{leave:X,delayLeave:ce,afterLeave:Be}=$,Te=()=>i(F,C,k),A=()=>{X(F,()=>{Te(),Be&&Be()})};ce?ce(F,Te,A):A()}else i(F,C,k)},K=function(S,C,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:F,props:j,ref:$,children:z,dynamicChildren:D,shapeFlag:J,patchFlag:Z,dirs:X}=S;if($!=null&&us($,null,k,S,!0),J&256){C.ctx.deactivate(S);return}var ce=J&1&&X,Be=!is(S),Te;if(Be&&(Te=j&&j.onVnodeBeforeUnmount)&&yt(Te,C,S),J&6)Ie(S.component,k,L);else{if(J&128){S.suspense.unmount(k,L);return}ce&&dr(S,null,C,"beforeUnmount"),J&64?S.type.remove(S,C,k,P,Ne,L):D&&(F!==wt||Z>0&&Z&64)?ke(D,C,k,!1,!0):(F===wt&&Z&(128|256)||!P&&J&16)&&ke(z,C,k),L&&ie(S)}(Be&&(Te=j&&j.onVnodeUnmounted)||ce)&&qe(()=>{Te&&yt(Te,C,S),ce&&dr(S,null,C,"unmounted")},k)},ie=S=>{var{type:C,el:k,anchor:L,transition:P}=S;if(C===wt){le(k,L);return}if(C===cs){w(S);return}var F=()=>{a(k),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(S.shapeFlag&1&&P&&!P.persisted){var{leave:j,delayLeave:$}=P,z=()=>j(k,F);$?$(S.el,F,z):z()}else F()},le=(S,C)=>{for(var k;S!==C;)k=p(S),a(S),S=k;a(C)},Ie=(S,C,k)=>{var{bum:L,scope:P,update:F,subTree:j,um:$}=S;L&&Oo(L),P.stop(),F&&(F.active=!1,K(j,S,C,k)),$&&qe($,C),qe(()=>{S.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},ke=function(S,C,k){for(var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=F;jS.shapeFlag&6?nt(S.component.subTree):S.shapeFlag&128?S.suspense.next():p(S.anchor||S.el),nr=(S,C,k)=>{if(S==null)C._vnode&&K(C._vnode,null,null,!0);else{var L=C.__vueParent;x(C._vnode||null,S,C,null,L,null,k)}C._vnode=S},Ne={p:x,um:K,m:se,r:ie,mt:B,mc:O,pc:G,pbc:R,n:nt,o:e},la,ua;return t&&([la,ua]=t(Ne)),{render:nr,hydrate:la,createApp:Ym(nr,la)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Bf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var Km=e=>e.__isTeleport,Gm=Symbol(),wt=Symbol(void 0),fs=Symbol(void 0),Ur=Symbol(void 0),cs=Symbol(void 0),$f=null,Ff=1;function zf(e){Ff+=e}function Ka(e){return e?e.__v_isVNode===!0:!1}function Ci(e,t){return e.type===t.type&&e.key===t.key}var Ga="__vInternal",Uf=e=>{var{key:t}=e;return t!=null?t:null},Ja=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?ye(t)||Ve(t)||oe(t)?{i:ft,r:t,k:r,f:!!i}:t:null};function Jm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===wt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Uf(t),ref:t&&Ja(t),scopeId:_f,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(vs(l,r),n&128&&e.normalize(l)):r&&(l.shapeFlag|=ye(r)?8:16),Ff>0&&!o&&$f&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&$f.push(l),l}var I=Qm;function Qm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===Gm)&&(e=Ur),Ka(e)){var o=Oi(e,t,!0);return r&&vs(o,r),o}if(f_(e)&&(e=e.__vccOpts),t){t=e_(t);var{class:s,style:l}=t;s&&!ye(s)&&(t.class=wo(s)),He(l)&&(vf(l)&&!ne(l)&&(l=ve({},l)),t.style=bo(l))}var u=ye(e)?1:Em(e)?128:Km(e)?64:He(e)?4:oe(e)?2:0;return Jm(e,t,r,i,a,u,n,!0)}function e_(e){return e?vf(e)||Ga in e?ve({},e):e:null}function Oi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?Qe(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Uf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(Ja(t)):[a,Ja(t)]:Ja(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oi(e.ssContent),ssFallback:e.ssFallback&&Oi(e.ssFallback),el:e.el,anchor:e.anchor};return l}function t_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(fs,null,e,t)}function xt(e){return e==null||typeof e=="boolean"?I(Ur):ne(e)?I(wt,null,e.slice()):typeof e=="object"?Vt(e):I(fs,null,String(e))}function Vt(e){return e.el===null||e.memo?e:Oi(e)}function vs(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&(1|64)){var a=t.default;a&&(a._c&&(a._d=!1),vs(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(Ga in t)?t._ctx=ft:n===3&&ft&&(ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:ft},r=32):(t=String(t),i&64?(r=16,t=[t_(t)]):r=8);e.children=t,e.shapeFlag|=r}function Qe(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;ct(e,t,7,[r,i])}var ds=e=>e?Hf(e)?hs(e)||e.proxy:ds(e.parent):null,Qa=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ds(e.parent),$root:e=>ds(e.root),$emit:e=>e.emit,$options:e=>Tf(e),$forceUpdate:e=>()=>qf(e.update),$nextTick:e=>jr.bind(e.proxy),$watch:e=>m_.bind(e)}),r_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:l,appContext:u}=r,f;if(t[0]!=="$"){var v=s[t];if(v!==void 0)switch(v){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==xe&&re(a,t))return s[t]=1,a[t];if(n!==xe&&re(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&re(f,t))return s[t]=3,o[t];if(i!==xe&&re(i,t))return s[t]=4,i[t];ns&&(s[t]=0)}}var p=Qa[t],d,_;if(p)return t==="$attrs"&&Je(r,"get",t),p(r);if((d=l.__cssModules)&&(d=d[t]))return d;if(i!==xe&&re(i,t))return s[t]=4,i[t];if(_=u.config.globalProperties,re(_,t))return _[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;if(n!==xe&&re(n,t))n[t]=r;else if(a!==xe&&re(a,t))a[t]=r;else if(re(i.props,t))return!1;return t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,l;return!!a[t]||r!==xe&&re(r,t)||i!==xe&&re(i,t)||(l=s[0])&&re(l,t)||re(n,t)||re(Qa,t)||re(o.config.globalProperties,t)}},i_=Df(),a_=0;function n_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||i_,n={uid:a_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new F0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Af(i,a),emitsOptions:mf(i,a),emit:null,emitted:null,propsDefaults:xe,inheritAttrs:i.inheritAttrs,ctx:xe,data:xe,props:xe,attrs:xe,slots:xe,refs:xe,setupState:xe,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=_m.bind(null,n),e.ce&&e.ce(n),n}var ze=null,jt=()=>ze||ft,Hr=e=>{ze=e,e.scope.on()},gr=()=>{ze&&ze.scope.off(),ze=null};function Hf(e){return e.vnode.shapeFlag&4}var en=!1;function o_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;en=t;var{props:r,children:i}=e.vnode,a=Hf(e);zm(e,r,a,t),Wm(e,i);var n=a?s_(e,t):void 0;return en=!1,n}function s_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Ya(new Proxy(e.ctx,r_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?u_(e):null;Hr(e),Fr();var n=Yt(i,e,0,[e.props,a]);if(cr(),gr(),Eu(n)){if(n.then(gr,gr),t)return n.then(o=>{Wf(e,o,t)}).catch(o=>{tn(o,e,0)});e.asyncDep=n}else Wf(e,n,t)}else jf(e,t)}function Wf(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=pf(t)),jf(e,r)}var Vf;function jf(e,t,r){var i=e.type;if(!e.render){if(!t&&Vf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=ve(ve({isCustomElement:n,delimiters:s},o),l);i.render=Vf(a,u)}}e.render=i.render||pt}Hr(e),Fr(),Nm(e),cr(),gr()}function l_(e){return new Proxy(e.attrs,{get(t,r){return Je(e,"get","$attrs"),t[r]}})}function u_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=l_(e))},slots:e.slots,emit:e.emit,expose:t}}function hs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pf(Ya(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Qa)return Qa[r](e)}}))}function f_(e){return oe(e)&&"__vccOpts"in e}function Yt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){tn(n,t,r)}return a}function ct(e,t,r,i){if(oe(e)){var a=Yt(e,t,r,i);return a&&Eu(a)&&a.catch(s=>{tn(s,t,r)}),a}for(var n=[],o=0;o>>1,a=Mi(et[i]);aLt&&et.splice(t,1)}function Zf(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),Xf()}function h_(e){Zf(e,Ii,Ai,Wr)}function g_(e){Zf(e,qt,ki,Vr)}function _s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ai.length){for(ms=t,Ii=[...new Set(Ai)],Ai.length=0,Wr=0;WrMi(r)-Mi(i)),Vr=0;Vre.id==null?1/0:e.id;function Gf(e){gs=!1,rn=!0,_s(e),et.sort((i,a)=>Mi(i)-Mi(a));var t=pt;try{for(Lt=0;Lt2&&arguments[2]!==void 0?arguments[2]:xe,s=ze,l,u=!1,f=!1;if(Ve(e)?(l=()=>e.value,u=!!e._shallow):zr(e)?(l=()=>e,i=!0):ne(e)?(f=!0,u=e.some(zr),l=()=>e.map(g=>{if(Ve(g))return g.value;if(zr(g))return pr(g);if(oe(g))return Yt(g,s,2)})):oe(e)?t?l=()=>Yt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return p&&p(),ct(e,s,3,[d])}:l=pt,t&&i){var v=l;l=()=>pr(v())}var p,d=g=>{p=m.onStop=()=>{Yt(g,s,4)}};if(en)return d=pt,t?r&&ct(t,s,3,[l(),f?[]:void 0,d]):l(),pt;var _=f?[]:Jf,b=()=>{if(!!m.active)if(t){var g=m.run();(i||u||(f?g.some((c,h)=>gi(c,_[h])):gi(g,_)))&&(p&&p(),ct(t,s,3,[g,_===Jf?void 0:_,d]),_=g)}else m.run()};b.allowRecurse=!!t;var x;a==="sync"?x=b:a==="post"?x=()=>qe(b,s&&s.suspense):x=()=>{!s||s.isMounted?h_(b):b()};var m=new jo(l,x);return t?r?b():_=m.run():a==="post"?qe(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&yo(s.scope.effects,m)}}function m_(e,t,r){var i=this.proxy,a=ye(e)?e.includes(".")?Qf(i,e):()=>i[e]:e.bind(i,i),n;oe(t)?n=t:(n=t.handler,r=t);var o=ze;Hr(this);var s=bs(a,n.bind(i),r);return o?Hr(o):gr(),s}function Qf(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{pr(a,t)});else if(mt(e))for(var i in e)pr(e[i],t);return e}function __(e,t,r){var i=arguments.length;return i===2?He(t)&&!ne(t)?Ka(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Ka(r)&&(r=[r]),I(e,t,r))}var b_="3.2.26",w_="http://www.w3.org/2000/svg",Yr=typeof document!="undefined"?document:null,ec=new Map,x_={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var a=t?Yr.createElementNS(w_,e):Yr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>Yr.createTextNode(e),createComment:e=>Yr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i){var a=r?r.previousSibling:t.lastChild,n=ec.get(e);if(!n){var o=Yr.createElement("template");if(o.innerHTML=i?"".concat(e,""):e,n=o.content,i){for(var s=n.firstChild;s.firstChild;)n.appendChild(s.firstChild);n.removeChild(s)}ec.set(e,n)}return t.insertBefore(n.cloneNode(!0),r),[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function y_(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function S_(e,t,r){var i=e.style,a=ye(r);if(r&&!a){for(var n in r)ws(i,n,r[n]);if(t&&!ye(t))for(var o in t)r[o]==null&&ws(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var tc=/\s*!important$/;function ws(e,t,r){if(ne(r))r.forEach(a=>ws(e,t,a));else if(r=C_(r),t.startsWith("--"))e.setProperty(t,r);else{var i=E_(e,t);tc.test(r)?e.setProperty(Ke(i),r.replace(tc,""),"important"):e[i]=r}}var rc=["Webkit","Moz","ms"],xs={};function E_(e,t){var r=xs[t];if(r)return r;var i=Ft(t);if(i!=="filter"&&i in e)return xs[t]=i;i=ka(i);for(var a=0;atypeof rpx2px!="function"?e:ye(e)?e.replace(T_,(t,r)=>rpx2px(r)+"px"):e,ic="http://www.w3.org/1999/xlink";function O_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ic,t.slice(6,t.length)):e.setAttributeNS(ic,t,r);else{var n=dp(t);r==null||n&&!yu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function A_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var l=typeof e[t];if(l==="boolean"){e[t]=yu(r);return}else if(r==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch(u){}e.removeAttribute(t);return}}try{e[t]=r}catch(u){}}var an=Date.now,ac=!1;if(typeof window!="undefined"){an()>document.createEvent("Event").timeStamp&&(an=()=>performance.now());var nc=navigator.userAgent.match(/firefox\/(\d+)/i);ac=!!(nc&&Number(nc[1])<=53)}var ys=0,I_=Promise.resolve(),k_=()=>{ys=0},M_=()=>ys||(I_.then(k_),ys=an());function R_(e,t,r,i){e.addEventListener(t,r,i)}function L_(e,t,r,i){e.removeEventListener(t,r,i)}function P_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,l]=N_(t);if(i){var u=n[t]=D_(i,a);R_(e,s,u,l)}else o&&(L_(e,s,o,l),n[t]=void 0)}}var oc=/(?:Once|Passive|Capture)$/;function N_(e){var t;if(oc.test(e)){t={};for(var r;r=e.match(oc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ke(e.slice(2)),t]}function D_(e,t){var r=i=>{var a=i.timeStamp||an();(ac||a>=r.attached-1)&&ct(B_(i,r.value),t,5,[i])};return r.value=e,r.attached=M_(),r}function B_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i(a))}else return t}var sc=/^on[a-z]/,$_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?y_(e,i,a):t==="style"?S_(e,r,i):Oa(t)?xo(t)||P_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):F_(e,t,i,a))?A_(e,t,i,n,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),O_(e,t,i,a))};function F_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&sc.test(t)&&oe(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||sc.test(t)&&ye(r)?!1:t in e}var z_=["ctrl","shift","alt","meta"],U_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>z_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},Ss=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Li(e,!1)}):Li(e,i))},beforeUnmount(e,t){var{value:r}=t;Li(e,r)}};function Li(e,t){e.style.display=t?e._vod:"none"}var H_=ve({patchProp:$_},x_),lc;function W_(){return lc||(lc=qm(H_))}var uc=function(){var e=W_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=V_(r);if(!!i){var a=e._component;!oe(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function V_(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var fc=["top","left","right","bottom"],Es,nn={},ot;function Ts(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function cc(){if(ot=typeof ot=="string"?ot:Ts(),!ot){fc.forEach(function(s){nn[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(f){var v=l[f];u[f]=v})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,l){var u=document.createElement("div"),f=document.createElement("div"),v=document.createElement("div"),p=document.createElement("div"),d=100,_=1e4,b={position:"absolute",width:d+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+l+")"};e(u,b),e(f,b),e(v,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(p,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(v),f.appendChild(p),s.appendChild(u),s.appendChild(f),r(function(){u.scrollTop=f.scrollTop=_;var m=u.scrollTop,g=f.scrollTop;function c(){this.scrollTop!==(this===u?m:g)&&(u.scrollTop=f.scrollTop=_,m=u.scrollTop,g=f.scrollTop,j_(l))}u.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var x=getComputedStyle(u);Object.defineProperty(nn,l,{configurable:!0,get:function(){return parseFloat(x.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),fc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),Es=!0}function on(e){return Es||cc(),nn[e]}var sn=[];function j_(e){sn.length||setTimeout(function(){var t={};sn.forEach(function(r){t[r]=nn[r]}),sn.length=0,ln.forEach(function(r){r(t)})},0),sn.push(e)}var ln=[];function Y_(e){!Ts()||(Es||cc(),typeof e=="function"&&ln.push(e))}function q_(e){var t=ln.indexOf(e);t>=0&&ln.splice(t,1)}var X_={get support(){return(typeof ot=="string"?ot:Ts()).length!=0},get top(){return on("top")},get left(){return on("left")},get right(){return on("right")},get bottom(){return on("bottom")},onChange:Y_,offChange:q_},un=X_,Z_=Ss(()=>{},["prevent"]);function Cs(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+un.top:0}function K_(){var e=document.documentElement.style,t=Cs(),r=parseInt(e.getPropertyValue("--window-bottom")),i=parseInt(e.getPropertyValue("--window-left")),a=parseInt(e.getPropertyValue("--window-right"));return{top:t,bottom:r?r+un.bottom:0,left:i?i+un.left:0,right:a?a+un.right:0}}function G_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function fn(e){return Symbol(e)}function vc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function mr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return J_(e);if(typeof e=="string"){var r=parseInt(e)||0;return vc(e)?uni.upx2px(r):r}return e}function J_(e){return vc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var Q_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",eb="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",tb="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",rb="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",ib="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",cn="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ab="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",nb="M15.84 0.096q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",ob="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function vn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function dn(){return Xt()}function sb(){return window.__PAGE_INFO__}function Xt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function lb(e){e.preventDefault()}var dc,hc=0;function ub(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:u}=document.documentElement,f=window.innerHeight,v=window.scrollY,p=v>0&&u>f&&v+f+i>=u,d=Math.abs(u-hc)>i;return p&&(!n||d)?(hc=u,n=!0,!0):(!p&&n&&(n=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(u()||(dc=setTimeout(u,300))),a=!1};return function(){clearTimeout(dc),a||requestAnimationFrame(l),a=!0}}function Os(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Os(e,t.substr(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Do(n.concat(r).join("/"))}class fb{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=gc(this.$el.querySelector(t));if(!!r)return As(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];oe(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Lp,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function As(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new fb(e)),e.$el.__wxsComponentDescriptor}function hn(e,t){return As(e)}function gc(e){if(!!e)return Pi(e)}function Pi(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var cb=e=>e.type==="click";function pc(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];if(i.tagName.indexOf("UNI-")!==0)return[e];var a=mc(e);if(cb(e))db(a,e);else if(e instanceof TouchEvent){var n=Cs();a.touches=_c(e.touches,n),a.changedTouches=_c(e.changedTouches,n)}return[a]}function vb(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function mc(e){var{type:t,timeStamp:r,target:i,currentTarget:a}=e,n={type:t,timeStamp:r,target:Mo(vb(i)),detail:{},currentTarget:Mo(a)};return e._stopped&&(n._stopped=!0),e.type.startsWith("touch")&&(n.touches=e.touches,n.changedTouches=e.changedTouches),n}function db(e,t){var{x:r,y:i}=t,a=Cs();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[hb(t)]}function hb(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function _c(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Xt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},gb)}function yb(e,t){var r=e[0];if(!(!t||!mt(t.formatArgs)&&mt(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Cb(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ob=0;function Ab(e,t,r){var i="".concat(Date.now()).concat(Ob++),a=new plus.nativeObj.Bitmap("bitmap".concat(i));a.loadBase64Data(e,function(){var o=e.match(/data:image\/(\S+?);/)||[null,"png"],s;o[1]&&(s=o[1].replace("jpeg","jpg"));var l="".concat(t,"/").concat(i,".").concat(s);a.save(l,{overwrite:!0,quality:100,format:s},function(){n(),r(null,l)},function(u){n(),r(u)})},function(o){n(),r(o)});function n(){a.clear()}}var Pt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(n[l]=s[l])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,l,u){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+l),u);return}for(var f=0;f=0;)e[t]=0}var Rb=0,Cc=1,Lb=2,Pb=3,Nb=258,Is=29,Di=256,Bi=Di+1+Is,Zr=30,ks=19,Oc=2*Bi+1,_r=15,Ms=16,Db=7,Rs=256,Ac=16,Ic=17,kc=18,Ls=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],gn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Bb=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Mc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],$b=512,Nt=new Array((Bi+2)*2);Xr(Nt);var $i=new Array(Zr*2);Xr($i);var Fi=new Array($b);Xr(Fi);var zi=new Array(Nb-Pb+1);Xr(zi);var Ps=new Array(Is);Xr(Ps);var pn=new Array(Zr);Xr(pn);function Ns(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Rc,Lc,Pc;function Ds(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Nc(e){return e<256?Fi[e]:Fi[256+(e>>>7)]}function Ui(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Xe(e,t,r){e.bi_valid>Ms-r?(e.bi_buf|=t<>Ms-e.bi_valid,e.bi_valid+=r-Ms):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Fb(e){e.bi_valid===16?(Ui(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function zb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,u,f,v,p,d,_,b=0;for(p=0;p<=_r;p++)e.bl_count[p]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(p=l,b++),r[f*2+1]=p,!(f>i)&&(e.bl_count[p]++,d=0,f>=s&&(d=o[f-s]),_=r[f*2],e.opt_len+=_*(p+d),n&&(e.static_len+=_*(a[f*2+1]+d)));if(b!==0){do{for(p=l-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[l]--,b-=2}while(b>0);for(p=l;p!==0;p--)for(f=e.bl_count[p];f!==0;)v=e.heap[--u],!(v>i)&&(r[v*2+1]!==p&&(e.opt_len+=(p-r[v*2+1])*r[v*2],r[v*2+1]=p),f--)}}function Bc(e,t,r){var i=new Array(_r+1),a=0,n,o;for(n=1;n<=_r;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Dc(i[s]++,s))}}function Ub(){var e,t,r,i,a,n=new Array(_r+1);for(r=0,i=0;i>=7;i8?Ui(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Hb(e,t,r,i){Fc(e),i&&(Ui(e,r),Ui(e,~r)),Ib.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function zc(e,t,r,i){var a=t*2,n=r*2;return e[a]>1;o>=1;o--)Bs(e,r,o);u=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Bs(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[u*2]=r[o*2]+r[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=u,e.heap[1]=u++,Bs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],zb(e,t),Bc(r,l,e.bl_count)}function Hc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[Mc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Vb(e,t,r,i){var a;for(Xe(e,t-257,5),Xe(e,r-1,5),Xe(e,i-4,4),a=0;a>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Ec;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Tc;for(r=32;r0?(e.strm.data_type===Mb&&(e.strm.data_type=jb(e)),$s(e,e.l_desc),$s(e,e.d_desc),o=Wb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?jc(e,t,r,i):e.strategy===kb||n===a?(Xe(e,(Cc<<1)+(i?1:0),3),Uc(e,Nt,$i)):(Xe(e,(Lb<<1)+(i?1:0),3),Vb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Uc(e,e.dyn_ltree,e.dyn_dtree)),$c(e),i&&Fc(e)}function Zb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(zi[r]+Di+1)*2]++,e.dyn_dtree[Nc(t)*2]++),e.last_lit===e.lit_bufsize-1}qr._tr_init=Yb,qr._tr_stored_block=jc,qr._tr_flush_block=Xb,qr._tr_tally=Zb,qr._tr_align=qb;function Kb(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var Yc=Kb;function Gb(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var Jb=Gb();function Qb(e,t,r,i){var a=Jb,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var qc=Qb,Fs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Ye=Pt,st=qr,Xc=Yc,Zt=qc,ew=Fs,br=0,tw=1,rw=3,Kt=4,Zc=5,Tt=0,Kc=1,lt=-2,iw=-3,zs=-5,aw=-1,nw=1,mn=2,ow=3,sw=4,lw=0,uw=2,_n=8,fw=9,cw=15,vw=8,dw=29,hw=256,Us=hw+1+dw,gw=30,pw=19,mw=2*Us+1,_w=15,de=3,Gt=258,dt=Gt+de+1,bw=32,bn=42,Hs=69,wn=73,xn=91,yn=103,wr=113,Hi=666,Le=1,Wi=2,xr=3,Kr=4,ww=3;function Jt(e,t){return e.msg=ew[t],t}function Gc(e){return(e<<1)-(e>4?9:0)}function Qt(e){for(var t=e.length;--t>=0;)e[t]=0}function er(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(Ye.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function Ue(e,t){st._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,er(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function Vi(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function xw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,Ye.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=Xc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Zt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function Jc(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-dt?e.strstart-(e.w_size-dt):0,u=e.window,f=e.w_mask,v=e.prev,p=e.strstart+Gt,d=u[i+o-1],_=u[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==_||u[a+o-1]!==d||u[a]!==u[i]||u[++a]!==u[i+1])){i+=2,a++;do;while(u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&io){if(e.match_start=t,o=n,n>=s)break;d=u[i+o-1],_=u[i+o]}}while((t=v[t&f])>l&&--r!=0);return o<=e.lookahead?o:e.lookahead}function yr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-dt)){Ye.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=xw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=de)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===br)return Le;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Ue(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-dt&&(Ue(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Kt?(Ue(e,!0),e.strm.avail_out===0?xr:Kr):(e.strstart>e.block_start&&(Ue(e,!1),e.strm.avail_out===0),Le)}function Ws(e,t){for(var r,i;;){if(e.lookahead=de&&(e.ins_h=(e.ins_h<=de)if(i=st._tr_tally(e,e.strstart-e.match_start,e.match_length-de),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=de){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=de&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=de-1)),e.prev_length>=de&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-de,i=st._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-de),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=de&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+Gt;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=de?(r=st._tr_tally(e,1,e.match_length-de),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Ue(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Kt?(Ue(e,!0),e.strm.avail_out===0?xr:Kr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Le:Wi}function Ew(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===br)return Le;break}if(e.match_length=0,r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Ue(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Kt?(Ue(e,!0),e.strm.avail_out===0?xr:Kr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Le:Wi}function Ct(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var Jr;Jr=[new Ct(0,0,0,0,yw),new Ct(4,4,8,4,Ws),new Ct(4,5,16,8,Ws),new Ct(4,6,32,32,Ws),new Ct(4,4,16,16,Gr),new Ct(8,16,32,32,Gr),new Ct(8,16,128,128,Gr),new Ct(8,32,128,256,Gr),new Ct(32,128,258,1024,Gr),new Ct(32,258,258,4096,Gr)];function Tw(e){e.window_size=2*e.w_size,Qt(e.head),e.max_lazy_match=Jr[e.level].max_lazy,e.good_match=Jr[e.level].good_length,e.nice_match=Jr[e.level].nice_length,e.max_chain_length=Jr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=de-1,e.match_available=0,e.ins_h=0}function Cw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_n,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Ye.Buf16(mw*2),this.dyn_dtree=new Ye.Buf16((2*gw+1)*2),this.bl_tree=new Ye.Buf16((2*pw+1)*2),Qt(this.dyn_ltree),Qt(this.dyn_dtree),Qt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ye.Buf16(_w+1),this.heap=new Ye.Buf16(2*Us+1),Qt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ye.Buf16(2*Us+1),Qt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Qc(e){var t;return!e||!e.state?Jt(e,lt):(e.total_in=e.total_out=0,e.data_type=uw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?bn:wr,e.adler=t.wrap===2?0:1,t.last_flush=br,st._tr_init(t),Tt)}function ev(e){var t=Qc(e);return t===Tt&&Tw(e.state),t}function Ow(e,t){return!e||!e.state||e.state.wrap!==2?lt:(e.state.gzhead=t,Tt)}function tv(e,t,r,i,a,n){if(!e)return lt;var o=1;if(t===aw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>fw||r!==_n||i<8||i>15||t<0||t>9||n<0||n>sw)return Jt(e,lt);i===8&&(i=9);var s=new Cw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Zc||t<0)return e?Jt(e,lt):lt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Hi&&t!==Kt)return Jt(e,e.avail_out===0?zs:lt);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===bn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=mn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Zt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Hs):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=mn||i.level<2?4:0),pe(i,ww),i.status=wr);else{var o=_n+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=mn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=bw),o+=31-o%31,i.status=wr,Vi(i,o),i.strstart!==0&&(Vi(i,e.adler>>>16),Vi(i,e.adler&65535)),e.adler=1}if(i.status===Hs)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),er(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=wn)}else i.status=wn;if(i.status===wn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),er(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),er(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=yn)}else i.status=yn;if(i.status===yn&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&er(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=wr)):i.status=wr),i.pending!==0){if(er(e),e.avail_out===0)return i.last_flush=-1,Tt}else if(e.avail_in===0&&Gc(t)<=Gc(r)&&t!==Kt)return Jt(e,zs);if(i.status===Hi&&e.avail_in!==0)return Jt(e,zs);if(e.avail_in!==0||i.lookahead!==0||t!==br&&i.status!==Hi){var l=i.strategy===mn?Ew(i,t):i.strategy===ow?Sw(i,t):Jr[i.level].func(i,t);if((l===xr||l===Kr)&&(i.status=Hi),l===Le||l===xr)return e.avail_out===0&&(i.last_flush=-1),Tt;if(l===Wi&&(t===tw?st._tr_align(i):t!==Zc&&(st._tr_stored_block(i,0,0,!1),t===rw&&(Qt(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),er(e),e.avail_out===0))return i.last_flush=-1,Tt}return t!==Kt?Tt:i.wrap<=0?Kc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(Vi(i,e.adler>>>16),Vi(i,e.adler&65535)),er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Tt:Kc)}function kw(e){var t;return!e||!e.state?lt:(t=e.state.status,t!==bn&&t!==Hs&&t!==wn&&t!==xn&&t!==yn&&t!==wr&&t!==Hi?Jt(e,lt):(e.state=null,t===wr?Jt(e,iw):Tt))}function Mw(e,t){var r=t.length,i,a,n,o,s,l,u,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==bn||i.lookahead))return lt;for(o===1&&(e.adler=Xc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(Qt(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new Ye.Buf8(i.w_size),Ye.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,l=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=de;){a=i.strstart,n=i.lookahead-(de-1);do i.ins_h=(i.ins_h<=252?6:tr>=248?5:tr>=240?4:tr>=224?3:tr>=192?2:1;ji[254]=ji[254]=1,Sr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function av(e,t){if(t<65534&&(e.subarray&&iv||!e.subarray&&rv))return String.fromCharCode.apply(null,Sn.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return av(s,i)},Sr.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)==128;)r--;return r<0||r===0?t:r+ji[e[r]]>t?r:t};function Rw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var nv=Rw,Yi=St,qi=Pt,Vs=Sr,js=Fs,Lw=nv,ov=Object.prototype.toString,Pw=0,Ys=4,Qr=0,sv=1,lv=2,Nw=-1,Dw=0,Bw=8;function Er(e){if(!(this instanceof Er))return new Er(e);this.options=qi.assign({level:Nw,method:Bw,chunkSize:16384,windowBits:15,memLevel:8,strategy:Dw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Lw,this.strm.avail_out=0;var r=Yi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==Qr)throw new Error(js[r]);if(t.header&&Yi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Vs.string2buf(t.dictionary):ov.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=Yi.deflateSetDictionary(this.strm,i),r!==Qr)throw new Error(js[r]);this._dict_set=!0}}Er.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?Ys:Pw,typeof e=="string"?r.input=Vs.string2buf(e):ov.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new qi.Buf8(i),r.next_out=0,r.avail_out=i),a=Yi.deflate(r,n),a!==sv&&a!==Qr)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===Ys||n===lv))&&(this.options.to==="string"?this.onData(Vs.buf2binstring(qi.shrinkBuf(r.output,r.next_out))):this.onData(qi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==sv);return n===Ys?(a=Yi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Qr):(n===lv&&(this.onEnd(Qr),r.avail_out=0),!0)},Er.prototype.onData=function(e){this.chunks.push(e)},Er.prototype.onEnd=function(e){e===Qr&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=qi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function qs(e,t){var r=new Er(t);if(r.push(e,!0),r.err)throw r.msg||js[r.err];return r.result}function $w(e,t){return t=t||{},t.raw=!0,qs(e,t)}function Fw(e,t){return t=t||{},t.gzip=!0,qs(e,t)}Ni.Deflate=Er,Ni.deflate=qs,Ni.deflateRaw=$w,Ni.gzip=Fw;var Xi={},ht={},En=30,zw=12,Uw=function(t,r){var i,a,n,o,s,l,u,f,v,p,d,_,b,x,m,g,c,h,w,y,T,E,O,N,R;i=t.state,a=t.next_in,N=t.input,n=a+(t.avail_in-5),o=t.next_out,R=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=i.dmax,f=i.wsize,v=i.whave,p=i.wnext,d=i.window,_=i.hold,b=i.bits,x=i.lencode,m=i.distcode,g=(1<>>24,_>>>=w,b-=w,w=h>>>16&255,w===0)R[o++]=h&65535;else if(w&16){y=h&65535,w&=15,w&&(b>>=w,b-=w),b<15&&(_+=N[a++]<>>24,_>>>=w,b-=w,w=h>>>16&255,w&16){if(T=h&65535,w&=15,bu){t.msg="invalid distance too far back",i.mode=En;break e}if(_>>>=w,b-=w,w=o-s,T>w){if(w=T-w,w>v&&i.sane){t.msg="invalid distance too far back",i.mode=En;break e}if(E=0,O=d,p===0){if(E+=f-w,w2;)R[o++]=O[E++],R[o++]=O[E++],R[o++]=O[E++],y-=3;y&&(R[o++]=O[E++],y>1&&(R[o++]=O[E++]))}else{E=o-T;do R[o++]=R[E++],R[o++]=R[E++],R[o++]=R[E++],y-=3;while(y>2);y&&(R[o++]=R[E++],y>1&&(R[o++]=R[E++]))}}else if((w&64)==0){h=m[(h&65535)+(_&(1<>3,a-=y,b-=y<<3,_&=(1<=1&&V[d]===0;d--);if(_>d&&(_=d),d===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(p=1;p0&&(t===vv||d!==1))return-1;for(ue[1]=0,f=1;ffv||t===dv&&g>cv)return 1;for(;;){Q=f-x,s[v]R?(te=M[B+s[v]],W=O[N+s[v]]):(te=32+64,W=0),h=1<>x)+w]=Q<<24|te<<16|W|0;while(w!==0);for(h=1<>=1;if(h!==0?(c&=h-1,c+=h):c=0,v++,--V[f]==0){if(f===d)break;f=r[i+s[v]]}if(f>_&&(c&T)!==y){for(x===0&&(x=_),E+=p,b=f-x,m=1<fv||t===dv&&g>cv)return 1;y=c&T,n[y]=_<<24|b<<16|E-o|0}}return c!==0&&(n[E+c]=f-x<<24|64<<16|0),l.bits=_,0},tt=Pt,Zs=Yc,Ot=qc,qw=Uw,Zi=Yw,Xw=0,hv=1,gv=2,pv=4,Zw=5,Tn=6,Tr=0,Kw=1,Gw=2,ut=-2,mv=-3,_v=-4,Jw=-5,bv=8,wv=1,xv=2,yv=3,Sv=4,Ev=5,Tv=6,Cv=7,Ov=8,Av=9,Iv=10,Cn=11,Dt=12,Ks=13,kv=14,Gs=15,Mv=16,Rv=17,Lv=18,Pv=19,On=20,An=21,Nv=22,Dv=23,Bv=24,$v=25,Fv=26,Js=27,zv=28,Uv=29,Ee=30,Hv=31,Qw=32,e1=852,t1=592,r1=15,i1=r1;function Wv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function a1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new tt.Buf16(320),this.work=new tt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Vv(e){var t;return!e||!e.state?ut:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=wv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new tt.Buf32(e1),t.distcode=t.distdyn=new tt.Buf32(t1),t.sane=1,t.back=-1,Tr)}function jv(e){var t;return!e||!e.state?ut:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Vv(e))}function Yv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ut:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,jv(e))}function qv(e,t){var r,i;return e?(i=new a1,e.state=i,i.window=null,r=Yv(e,t),r!==Tr&&(e.state=null),r):ut}function n1(e){return qv(e,i1)}var Xv=!0,Qs,el;function o1(e){if(Xv){var t;for(Qs=new tt.Buf32(512),el=new tt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Zi(hv,e.lens,0,288,Qs,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Zi(gv,e.lens,0,32,el,0,e.work,{bits:5}),Xv=!1}e.lencode=Qs,e.lenbits=9,e.distcode=el,e.distbits=5}function Zv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(tt.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),tt.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(tt.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave>>8&255,r.check=Ot(r.check,O,2,0),u=0,f=0,r.mode=xv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=Ee;break}if((u&15)!==bv){e.msg="unknown compression method",r.mode=Ee;break}if(u>>>=4,f-=4,T=(u&15)+8,r.wbits===0)r.wbits=T;else if(T>r.wbits){e.msg="invalid window size",r.mode=Ee;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=Ot(r.check,O,2,0)),u=0,f=0,r.mode=yv;case yv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,r.check=Ot(r.check,O,4,0)),u=0,f=0,r.mode=Sv;case Sv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>8),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=Ot(r.check,O,2,0)),u=0,f=0,r.mode=Ev;case Ev:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>>8&255,r.check=Ot(r.check,O,2,0)),u=0,f=0}else r.head&&(r.head.extra=null);r.mode=Tv;case Tv:if(r.flags&1024&&(d=r.length,d>s&&(d=s),d&&(r.head&&(T=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),tt.arraySet(r.head.extra,i,n,d,T)),r.flags&512&&(r.check=Ot(r.check,i,d,n)),s-=d,n+=d,r.length-=d),r.length))break e;r.length=0,r.mode=Cv;case Cv:if(r.flags&2048){if(s===0)break e;d=0;do T=i[n+d++],r.head&&T&&r.length<65536&&(r.head.name+=String.fromCharCode(T));while(T&&d>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Dt;break;case Iv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>=f&7,f-=f&7,r.mode=Js;break}for(;f<3;){if(s===0)break e;s--,u+=i[n++]<>>=1,f-=1,u&3){case 0:r.mode=kv;break;case 1:if(o1(r),r.mode=On,t===Tn){u>>>=2,f-=2;break e}break;case 2:r.mode=Rv;break;case 3:e.msg="invalid block type",r.mode=Ee}u>>>=2,f-=2;break;case kv:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ee;break}if(r.length=u&65535,u=0,f=0,r.mode=Gs,t===Tn)break e;case Gs:r.mode=Mv;case Mv:if(d=r.length,d){if(d>s&&(d=s),d>l&&(d=l),d===0)break e;tt.arraySet(a,i,n,d,o),s-=d,n+=d,l-=d,o+=d,r.length-=d;break}r.mode=Dt;break;case Rv:for(;f<14;){if(s===0)break e;s--,u+=i[n++]<>>=5,f-=5,r.ndist=(u&31)+1,u>>>=5,f-=5,r.ncode=(u&15)+4,u>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ee;break}r.have=0,r.mode=Lv;case Lv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[V[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},E=Zi(Xw,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,E){e.msg="invalid code lengths set",r.mode=Ee;break}r.have=0,r.mode=Pv;case Pv:for(;r.have>>24,g=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,u+=i[n++]<>>=m,f-=m,r.lens[r.have++]=c;else{if(c===16){for(R=m+2;f>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Ee;break}T=r.lens[r.have-1],d=3+(u&3),u>>>=2,f-=2}else if(c===17){for(R=m+3;f>>=m,f-=m,T=0,d=3+(u&7),u>>>=3,f-=3}else{for(R=m+7;f>>=m,f-=m,T=0,d=11+(u&127),u>>>=7,f-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ee;break}for(;d--;)r.lens[r.have++]=T}}if(r.mode===Ee)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ee;break}if(r.lenbits=9,N={bits:r.lenbits},E=Zi(hv,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,E){e.msg="invalid literal/lengths set",r.mode=Ee;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},E=Zi(gv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,E){e.msg="invalid distances set",r.mode=Ee;break}if(r.mode=On,t===Tn)break e;case On:r.mode=An;case An:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,qw(e,p),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,r.mode===Dt&&(r.back=-1);break}for(r.back=0;x=r.lencode[u&(1<>>24,g=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,u+=i[n++]<>h)],m=x>>>24,g=x>>>16&255,c=x&65535,!(h+m<=f);){if(s===0)break e;s--,u+=i[n++]<>>=h,f-=h,r.back+=h}if(u>>>=m,f-=m,r.back+=m,r.length=c,g===0){r.mode=Fv;break}if(g&32){r.back=-1,r.mode=Dt;break}if(g&64){e.msg="invalid literal/length code",r.mode=Ee;break}r.extra=g&15,r.mode=Nv;case Nv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Dv;case Dv:for(;x=r.distcode[u&(1<>>24,g=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,u+=i[n++]<>h)],m=x>>>24,g=x>>>16&255,c=x&65535,!(h+m<=f);){if(s===0)break e;s--,u+=i[n++]<>>=h,f-=h,r.back+=h}if(u>>>=m,f-=m,r.back+=m,g&64){e.msg="invalid distance code",r.mode=Ee;break}r.offset=c,r.extra=g&15,r.mode=Bv;case Bv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ee;break}r.mode=$v;case $v:if(l===0)break e;if(d=p-l,r.offset>d){if(d=r.offset-d,d>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ee;break}d>r.wnext?(d-=r.wnext,_=r.wsize-d):_=r.wnext-d,d>r.length&&(d=r.length),b=r.window}else b=a,_=o-r.offset,d=r.length;d>l&&(d=l),l-=d,r.length-=d;do a[o++]=b[_++];while(--d);r.length===0&&(r.mode=An);break;case Fv:if(l===0)break e;a[o++]=r.length,l--,r.mode=An;break;case Js:if(r.wrap){for(;f<32;){if(s===0)break e;s--,u|=i[n++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d1,this.strm.avail_out=0;var r=ti.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(tl[r]);if(this.header=new h1,ti.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=In.string2buf(t.dictionary):Gv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ti.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(tl[r])}Cr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,l,u,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=In.binstring2buf(e):Gv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Ki.Buf8(i),r.next_out=0,r.avail_out=i),n=ti.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ti.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=In.utf8border(r.output,r.next_out),l=r.next_out-s,u=In.buf2string(r.output,s),r.next_out=l,r.avail_out=i-l,l&&Ki.arraySet(r.output,r.output,s,l,0),this.onData(u)):this.onData(Ki.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ti.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Cr.prototype.onData=function(e){this.chunks.push(e)},Cr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ki.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function rl(e,t){var r=new Cr(t);if(r.push(e,!0),r.err)throw r.msg||tl[r.err];return r.result}function g1(e,t){return t=t||{},t.raw=!0,rl(e,t)}Xi.Inflate=Cr,Xi.inflate=rl,Xi.inflateRaw=g1,Xi.ungzip=rl;var p1=Pt.assign,m1=Ni,_1=Xi,b1=Kv,Jv={};p1(Jv,m1,_1,b1);var Qv=Jv;function w1(e){return Promise.resolve(e)}var x1="upx2px",y1=1e-4,S1=750,ed=!1,il=0,td=0;function E1(){var{platform:e,pixelRatio:t,windowWidth:r}=yc();il=r,td=t,ed=e==="ios"}function rd(e,t){var r=Number(e);return isNaN(r)?t:r}var id=Tb(x1,(e,t)=>{if(il===0&&E1(),e=Number(e),e===0)return 0;var r=t||il;{var i=__uniConfig.globalStyle||{},a=rd(i.rpxCalcMaxDeviceWidth,960),n=rd(i.rpxCalcBaseDeviceWidth,375);r=r<=a?r:n}var o=e/S1*r;return o<0&&(o=-o),o=Math.floor(o+y1),o===0&&(td===1||!ed?o=1:o=.5),e<0?-o:o}),T1=[{name:"id",type:String,required:!0}];T1.concat({name:"componentInstance",type:Object});var ad={};ad.f={}.propertyIsEnumerable;var C1=fi,O1=co,A1=pa,I1=ad.f,k1=function(e){return function(t){for(var r=A1(t),i=O1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!C1||I1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},nd=uo,M1=k1(!1);nd(nd.S,"Object",{values:function(t){return M1(t)}});var R1="setPageMeta",L1="loadFontFace",P1="pageScrollTo",N1=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(h){return null}}var t=function(c){for(var h=c,w=e(h);w;)h=w.ownerDocument,w=e(h);return h}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=_(c.rootBounds),this.boundingClientRect=_(c.boundingClientRect),this.intersectionRect=_(c.intersectionRect||d()),this.isIntersecting=!!c.intersectionRect;var h=this.boundingClientRect,w=h.width*h.height,y=this.intersectionRect,T=y.width*y.height;w?this.intersectionRatio=Number((T/w).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,h){var w=h||{};if(typeof c!="function")throw new Error("callback must be a function");if(w.root&&w.root.nodeType!=1&&w.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(w.rootMargin),this.thresholds=this._initThresholds(w.threshold),this.root=w.root||null,this.rootMargin=this._rootMarginValues.map(function(y){return y.value+y.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,h){!c||!h?a=d():a=b(c,h),r.forEach(function(w){w._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var h=this._observationTargets.some(function(w){return w.element==c});if(!h){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(h){return h.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var h=c||[0];return Array.isArray(h)||(h=[h]),h.sort().filter(function(w,y,T){if(typeof w!="number"||isNaN(w)||w<0||w>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return w!==T[y-1]})},o.prototype._parseRootMargin=function(c){var h=c||"0px",w=h.split(/\s+/).map(function(y){var T=/^(-?\d*\.?\d+)(px|%)$/.exec(y);if(!T)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(T[1]),unit:T[2]}});return w[1]=w[1]||w[0],w[2]=w[2]||w[0],w[3]=w[3]||w[1],w},o.prototype._monitorIntersections=function(c){var h=c.defaultView;if(!!h&&this._monitoringDocuments.indexOf(c)==-1){var w=this._checkForIntersections,y=null,T=null;this.POLL_INTERVAL?y=h.setInterval(w,this.POLL_INTERVAL):(u(h,"resize",w,!0),u(c,"scroll",w,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in h&&(T=new h.MutationObserver(w),T.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var N=c.defaultView;N&&(y&&N.clearInterval(y),f(N,"resize",w,!0)),f(c,"scroll",w,!0),T&&T.disconnect()});var E=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=E){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var h=this._monitoringDocuments.indexOf(c);if(h!=-1){var w=this.root&&(this.root.ownerDocument||this.root)||t,y=this._observationTargets.some(function(O){var N=O.element.ownerDocument;if(N==c)return!0;for(;N&&N!=w;){var R=e(N);if(N=R&&R.ownerDocument,N==c)return!0}return!1});if(!y){var T=this._monitoringUnsubscribes[h];if(this._monitoringDocuments.splice(h,1),this._monitoringUnsubscribes.splice(h,1),T(),c!=w){var E=e(c);E&&this._unmonitorIntersections(E.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var h=0;h=0&&N>=0&&{top:w,bottom:y,left:T,right:E,width:O,height:N}||null}function p(c){var h;try{h=c.getBoundingClientRect()}catch(w){}return h?(h.width&&h.height||(h={top:h.top,right:h.right,bottom:h.bottom,left:h.left,width:h.right-h.left,height:h.bottom-h.top}),h):d()}function d(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function b(c,h){var w=h.top-c.top,y=h.left-c.left;return{top:w,left:y,height:h.height,width:h.width,bottom:w+h.height,right:y+h.width}}function x(c,h){for(var w=h;w;){if(w==c)return!0;w=m(w)}return!1}function m(c){var h=c.parentNode;return c.nodeType==9&&c!=t?e(c):(h&&h.assignedSlot&&(h=h.assignedSlot.parentNode),h&&h.nodeType==11&&h.host?h.host:h)}function g(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function al(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function D1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function B1(e,t,r){N1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:D1(u),intersectionRect:al(u.intersectionRect),boundingClientRect:al(u.boundingClientRect),relativeRect:al(u.rootBounds),time:Date.now(),dataset:ko(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function j1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function Y1(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=q1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function q1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function X1(e,t){return e.priority=t,e}var nl=new Set,Z1=1,ol=2,od=3,sd=4;function rr(e,t){nl.add(X1(e,t))}function K1(){try{[...nl].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{nl.clear()}}function ld(e,t){var r=window["__"+Ip],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var G1=Ou.length;function J1(e,t,r){var[i,a,n,o]=ll(t),s=sl(e,i);if(ne(r)||ne(o)){var[l,u]=n.split(".");return ul(s,a,l,u,r||o)}return tx(s,a,n)}function Q1(e,t,r){var[i,a,n]=ll(t),[o,s]=n.split("."),l=sl(e,i);return ul(l,a,o,s,[ix(r,e),hn(Pi(l))])}function sl(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function ll(e){return JSON.parse(e.substr(G1))}function ex(e,t,r,i){var[a,n,o]=ll(e),s=sl(t,a),[l,u]=o.split(".");return ul(s,n,l,u,[r,i,hn(Pi(s)),hn(Pi(t))])}function ul(e,t,r,i,a){var n=ld(t,e);if(!n)return console.error(Io("wxs","module "+r+" not found"));var o=n[i];return oe(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function tx(e,t,r){var i=ld(t,e);return i?Pu(i,r.substr(r.indexOf(".")+1)):console.error(Io("wxs","module "+r+" not found"))}function rx(e,t,r){var i=r;return a=>{try{ex(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function ix(e,t){var r=Pi(t);return Object.defineProperty(e,"instance",{get(){return hn(r)}}),e}function ud(e,t){Object.keys(t).forEach(r=>{nx(e,t[r])})}function ax(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function nx(e,t){var r=ox(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=sx(r)}}function ox(e){var t=window["__"+kp],r=t&&t[e];return r||console.error(Io("renderjs",e+" not found"))}function sx(e){return e=e.default||e,e.render=()=>{},uc(e).mount(document.createElement("div"))}class ri{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=hT(i);n&&n.appendUniChild(this)}init(t){re(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,a=at(t);r===-1?a.appendChild(i):a.insertBefore(i,at(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Eh(this.id),ax(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(No)===0){var i=r.replace(No,""),a=t[i],n=rx(this,t[r],a);rr(()=>n(a),sd),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(No+t);if(a)return rr(()=>i?jr(()=>a(r)):a(r),sd),!0}}function fd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function cd(e,t){var r=e.style;if(ye(t))t===""?e.removeAttribute("style"):r.cssText=mr(t,!0);else for(var i in t)fl(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)fl(r,n,a[n])}var vd=/\s*!important$/;function fl(e,t,r){if(ne(r))r.forEach(a=>fl(e,t,a));else if(r=mr(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=lx(e,t);vd.test(r)?e.setProperty(Ke(i),r.replace(vd,""),"important"):e[i]=r}}var dd=["Webkit"],cl={};function lx(e,t){var r=cl[t];if(r)return r;var i=Ft(t);if(i!=="filter"&&i in e)return cl[t]=i;i=ka(i);for(var a=0;a{var[n]=pc(a);n.type=zp(a.type,r),UniViewJSBridge.publishHandler(bc,[[Qp,e,n]])};return t?Ss(i,_d(t)):i}function _d(e){var t=[];return e&Lo.prevent&&t.push("prevent"),e&Lo.self&&t.push("self"),e&Lo.stop&&t.push("stop"),t}function ux(e,t,r,i){var[a,n]=Ro(t);i===-1?hd(e,a):gd(e,a)||e.addEventListener(a,e.__listeners[a]=bd(e,r,i),n)}function bd(e,t,r){var i=a=>{Q1(e,t,pc(a)[0])};return r?Ss(i,_d(r)):i}var fx=Au.length;function vl(e,t){return ye(t)&&(t.indexOf(Au)===0?t=JSON.parse(t.substr(fx)):t.indexOf(Ou)===0&&(t=J1(e,t))),t}function kn(e){return e.indexOf("--")===0}function dl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class wd extends ri{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=Ae({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){re(t,"a")&&this.setAttrs(t.a),re(t,"s")&&this.setAttr("style",t.s),re(t,"e")&&this.addEvents(t.e),re(t,"w")&&this.addWxsEvents(t.w),super.init(t),H(this.$props,()=>{rr(this._update,Z1)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){ux(this.$,t,r,i)}addEvent(t,r){pd(this.$,t,r)}removeEvent(t){pd(this.$,t,-1)}setAttr(t,r){t===ku?fd(this.$,r):t===Po?cd(this.$,r):t===La?dl(this.$,r):t===Mu?this.$.__ownerId=r:t===Ru?rr(()=>ud(this,r),od):t===Up?this.$.innerHTML=r:t===Hp?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===ku?fd(this.$,""):t===Po?cd(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=vl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:kn(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:kn(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class cx extends ri{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var VT="";function xd(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function vx(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function dx(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,l={},u=[];return n.forEach(f=>{var v=f.type,p=[...f.args];if(t.concat(r).includes(v))v.startsWith("rotate")||v.startsWith("skew")?p=p.map(_=>parseFloat(_)+"deg"):v.startsWith("translate")&&(p=p.map(xd)),r.indexOf(v)>=0&&(p.length=1),u.push("".concat(v,"(").concat(p.join(","),")"));else if(i.concat(a).includes(p[0])){v=p[0];var d=p[1];l[v]=a.includes(v)?xd(d):d}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(f=>"".concat(vx(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function yd(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,l=dx(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{n()},0)}var Mn={props:["animation"],watch:{animation:{deep:!0,handler(){yd(this)}}},mounted(){yd(this)}},ge=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Mn),hx(e)},hx=e=>(e.compatConfig={MODE:3},Cm(e)),gx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function hl(e){var t=U(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function ii(e,t){return ye(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Or(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,a)=>{e.value&&t(r,mx(r,i,e.value,a||{}))}}function px(e){return(t,r)=>{e(t,mc(r))}}function mx(e,t,r,i){var a=Mo(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var At=fn("uf"),_x=ge({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=U(null);return bx(Pe(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function bx(e){var t=[];return Fe(At,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Gi=fn("ul"),wx={for:{type:String,default:""}},xx=ge({name:"Label",props:wx,setup(e,t){var{slots:r}=t,i=dn(),a=yx(),n=ee(()=>e.for||r.default&&r.default.length),o=Or(s=>{var l=s.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function yx(){var e=[];return Fe(Gi,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function Rn(e,t){Sd(e.id,t),H(()=>e.id,(r,i)=>{Ed(i,t,!0),Sd(r,t,!0)}),Wt(()=>{Ed(e.id,t)})}function Sd(e,t,r){var i=dn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Ed(e,t,r){var i=dn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Sx=ge({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,t){var{slots:r}=t,i=U(null);y0();var a=_e(At,!1),{hovering:n,binding:o}=hl(e),{t:s}=Ge(),l=Or((f,v)=>{if(e.disabled)return f.stopImmediatePropagation();v&&i.value.click();var p=e.formType;if(p){if(!a)return;p==="submit"?a.submit(f):p==="reset"&&a.reset(f);return}e.openType==="feedback"&&Ex(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),u=_e(Gi,!1);return u&&(u.addHandler(l),Ce(()=>{u.removeHandler(l)})),Rn(e,{"label-click":l}),()=>{var f=e.hoverClass,v=ii(e,"disabled"),p=ii(e,"loading"),d=ii(e,"plain"),_=f&&f!=="none";return I("uni-button",Qe({ref:i,onClick:l,class:_&&n.value?f:""},_&&o,v,p,d),[r.default&&r.default()],16,["onClick"])}}});function Ex(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Ar=ge({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=U(null),a=Cx(i),n=Tx(i,r,a);return Ox(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Tx(e,t,r){var i=Ae({width:-1,height:-1});return H(()=>ve({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Cx(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ox(e,t,r,i){as(i),Re(()=>{t.initial&&jr(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var be=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Td(e){e.width=e.offsetWidth*be,e.height=e.offsetHeight*be,e.getContext("2d").__hidpi__=!0}var Cd=!1;function Ax(){if(!Cd){Cd=!0;var e=function(i,a){for(var n in i)re(i,n)&&a(i[n],n)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,l,u,f,v,p,d){if(!this.__hidpi__)return i.apply(this,arguments);n*=be,o*=be,s*=be,l*=be,u*=be,f*=be,v=d?v*be:v,p=d?p*be:p,i.call(this,a,n,o,s,l,u,f,v,p)}}(r.drawImage),be!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*be});else if(Array.isArray(i))for(var s=0;sAx());function Od(e){return e&&vt(e)}function Ln(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Ad(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var Ji;function Id(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Ji||(Ji=document.createElement("canvas")),Ji.width=e,Ji.height=t,Ji}var kx={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1}},Mx=ge({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:kx,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Ix();var a=U(null),n=U(null),o=U(!1),s=px(r),{$attrs:l,$excludeAttrs:u,$listeners:f}=Xd({excludeListeners:!0}),{_listeners:v}=Rx(e,f,s),{_handleSubscribe:p,_resize:d}=Lx(a,o);return Vn(p,jn(e.canvasId),!0),Re(()=>{d()}),()=>{var{canvasId:_,disableScroll:b}=e;return I("uni-canvas",Qe({"canvas-id":_,"disable-scroll":b},l.value,u.value,v.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ar,{ref:n,onResize:d},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Rx(e,t,r){var i=ee(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ve({},(()=>{var s={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=n[l];s[l]=u}return s})());return a.forEach(s=>{var l=o[s],u=[];l&&u.push(Or(f=>{r(s.replace("on","").toLocaleLowerCase(),ve({},(()=>{var v={};for(var p in f)v[p]=f[p];return v})(),{touches:Ad(f.currentTarget,f.touches),changedTouches:Ad(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(Z_),o[s]=u}),o});return{_listeners:i}}function Lx(e,t){var r=[],i={};function a(d){var _=e.value,b=!d||_.width!==Math.floor(d.width*be)||_.height!==Math.floor(d.height*be);if(!!b)if(_.width>0&&_.height>0){var x=_.getContext("2d"),m=x.getImageData(0,0,_.width,_.height);Td(_),x.putImageData(m,0,0)}else Td(_)}function n(d,_){var{actions:b,reserve:x}=d;if(!!b){if(t.value){r.push([b,x]);return}var m=e.value,g=m.getContext("2d");x||(g.fillStyle="#000000",g.strokeStyle="#000000",g.shadowColor="#000000",g.shadowBlur=0,g.shadowOffsetX=0,g.shadowOffsetY=0,g.setTransform(1,0,0,1,0,0),g.clearRect(0,0,m.width,m.height)),o(b);for(var c=function(y){var T=b[y],E=T.method,O=T.data,N=O[0];if(/^set/.test(E)&&E!=="setTransform"){var R=E[3].toLowerCase()+E.slice(4),V;if(R==="fillStyle"||R==="strokeStyle"){if(N==="normal")V=Ln(O[1]);else if(N==="linear"){var ue=g.createLinearGradient(...O[1]);O[2].forEach(function(K){var ie=K[0],le=Ln(K[1]);ue.addColorStop(ie,le)}),V=ue}else if(N==="radial"){var M=O[1],B=M[0],Q=M[1],te=M[2],W=g.createRadialGradient(B,Q,0,B,Q,te);O[2].forEach(function(K){var ie=K[0],le=Ln(K[1]);W.addColorStop(ie,le)}),V=W}else if(N==="pattern"){var G=s(O[1],b.slice(y+1),_,function(K){K&&(g[R]=g.createPattern(K,O[2]))});return G?"continue":"break"}g[R]=V}else if(R==="globalAlpha")g[R]=Number(N)/255;else if(R==="shadow"){var ae=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];O.forEach(function(K,ie){g[ae[ie]]=ae[ie]==="shadowColor"?Ln(K):K})}else if(R==="fontSize"){var Se=g.__font__||g.font;g.__font__=g.font=Se.replace(/\d+\.?\d*px/,N+"px")}else R==="lineDash"?(g.setLineDash(N),g.lineDashOffset=O[1]||0):R==="textBaseline"?(N==="normal"&&(O[0]="alphabetic"),g[R]=N):R==="font"?g.__font__=g.font=N:g[R]=N}else if(E==="fillPath"||E==="strokePath")E=E.replace(/Path/,""),g.beginPath(),O.forEach(function(K){g[K.method].apply(g,K.data)}),g[E]();else if(E==="fillText")g.fillText.apply(g,O);else if(E==="drawImage"){var se=function(){var K=[...O],ie=K[0],le=K.slice(1);if(i=i||{},s(ie,b.slice(y+1),_,function(Ie){Ie&&g.drawImage.apply(g,[Ie].concat([...le.slice(4,8)],[...le.slice(0,4)]))}))return"break"}();if(se==="break")return"break"}else E==="clip"?(O.forEach(function(K){g[K.method].apply(g,K.data)}),g.clip()):g[E].apply(g,O)},h=0;h{c.src=h}).catch(()=>{c.src=m})}})}function s(d,_,b,x){var m=i[d];return m.ready?(x(m),!0):(r.unshift([_,!0]),t.value=!0,m.onload=function(){m.ready=!0,x(m),t.value=!1;var g=r.slice(0);r=[];for(var c=g.shift();c;)n({actions:c[0],reserve:c[1]},b),c=g.shift()},!1)}function l(d,_){var{x:b=0,y:x=0,width:m,height:g,destWidth:c,destHeight:h,hidpi:w=!0,dataType:y,quality:T=1,type:E="png"}=d,O=e.value,N,R=O.offsetWidth-b;m=m?Math.min(m,R):R;var V=O.offsetHeight-x;g=g?Math.min(g,V):V,w?(c=m,h=g):!c&&!h?(c=Math.round(m*be),h=Math.round(g*be)):c?h||(h=Math.round(g/m*c)):c=Math.round(m/g*h);var ue=Id(c,h),M=ue.getContext("2d");(E==="jpeg"||E==="jpg")&&(E="jpeg",M.fillStyle="#fff",M.fillRect(0,0,c,h)),M.__hidpi__=!0,M.drawImageByCanvas(O,b,x,m,g,0,0,c,h,!1);var B;try{var Q;if(y==="base64")N=ue.toDataURL("image/".concat(E),T);else{var te=M.getImageData(0,0,c,h);N=Qv.deflateRaw(te.data,{to:"string"}),Q=!0}B={data:N,compressed:Q,width:c,height:h}}catch(W){B={errMsg:"canvasGetImageData:fail ".concat(W)}}if(ue.height=ue.width=0,M.__hidpi__=!1,_)_(B);else return B}function u(d,_){var{data:b,x,y:m,width:g,height:c,compressed:h}=d;try{h&&(b=Qv.inflateRaw(b)),c||(c=Math.round(b.length/4/g));var w=Id(g,c),y=w.getContext("2d");y.putImageData(new ImageData(new Uint8ClampedArray(b),g,c),0,0),e.value.getContext("2d").drawImage(w,x,m,g,c),w.height=w.width=0}catch(T){_({errMsg:"canvasPutImageData:fail"});return}_({errMsg:"canvasPutImageData:ok"})}function f(d,_){var{x:b=0,y:x=0,width:m,height:g,destWidth:c,destHeight:h,fileType:w,quality:y,dirname:T}=d,E=l({x:b,y:x,width:m,height:g,destWidth:c,destHeight:h,hidpi:!1,dataType:"base64",type:w,quality:y});if(!E.data||!E.data.length){_({errMsg:E.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ab(E.data,T,(O,N)=>{var R="toTempFilePath:".concat(O?"fail":"ok");O&&(R+=" ".concat(O.message)),_({errMsg:R,tempFilePath:N})})}var v={actionsChanged:n,getImageData:l,putImageData:u,toTempFilePath:f};function p(d,_,b){var x=v[d];d.indexOf("_")!==0&&typeof x=="function"&&x(_,b)}return ve(v,{_resize:a,_handleSubscribe:p})}var kd=fn("ucg"),Px={name:{type:String,default:""}},Nx=ge({name:"CheckboxGroup",props:Px,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return Dx(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Dx(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);Fe(kd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(At,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Bx={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},$x=ge({name:"Checkbox",props:Bx,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value);H([()=>e.checked,()=>e.value],u=>{var[f,v]=u;i.value=f,a.value=v});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=Fx(i,a,n),l=u=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(u))};return s&&(s.addHandler(l),Ce(()=>{s.removeHandler(l)})),Rn(e,{"label-click":l}),()=>{var u=ii(e,"disabled");return I("uni-checkbox",Qe(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?vn(cn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function Fx(e,t,r){var i=ee(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(kd,!1);n&&n.addField(i);var o=_e(At,!1);o&&o.addField(a);var s=_e(Gi,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Md,Qi,Pn,ir,Nn,gl;Br(()=>{Qi=plus.os.name==="Android",Pn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){ir=e.height,Nn&&Nn()},!1);function Rd(){}function ea(e,t,r){Br(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=gl||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(l.mode===a){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function zx(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Br(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function Ux(e){var t=e.softinputNavBar;t&&Br(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Ld={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Pd=["keyboardheightchange"];function Nd(e,t,r){var i={};function a(n){var o,s=()=>{r("keyboardheightchange",{},{height:ir,duration:.25}),o&&ir===0&&ea(e,n),e.autoBlur&&o&&ir===0&&(Qi||parseInt(Pn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Md),document.addEventListener("click",Rd,!1),Nn=s,ir&&r("keyboardheightchange",{},{height:ir,duration:0}),zx(e,i),ea(e,n)}),Qi&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&ir===0&&ea(e,n)}),Qi||(parseInt(Pn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ea(e,n)}),parseFloat(Pn)>=14.6&&!gl&&Br(()=>{var u=plus.webview.currentWebview();gl=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",Rd,!1),Nn=null,ir&&r("keyboardheightchange",{},{height:0,duration:0}),Ux(i),Qi&&(Md=setTimeout(()=>{ea(e,n,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{n.blur(),o=!1,l()})}H(()=>t.value,n=>a(n))}var Dd=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Bd=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Hx=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Wx=ai("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Vx=ai("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),jx=ai("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Yx=ai("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),qx=ai("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Xx=ai("script,style");function $d(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!Xx[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,v){return v=v.replace(/|/g,"$1$2"),t.chars&&t.chars(v),""}),u("",n.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(f,v,p,d){if(v=v.toLowerCase(),Vx[v])for(;n.last()&&jx[n.last()];)u("",n.last());if(Yx[v]&&n.last()==v&&u("",v),d=Wx[v]||!!d,d||n.push(v),t.start){var _=[];p.replace(Hx,function(b,x){var m=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:qx[x]?x:"";_.push({name:x,value:m,escaped:m.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(v,_,d)}}function u(f,v){if(v)for(var p=n.length-1;p>=0&&n[p]!=v;p--);else var p=0;if(p>=0){for(var d=n.length-1;d>=p;d--)t.end&&t.end(n[d]);n.length=p}}}function ai(e){for(var t={},r=e.split(","),i=0;io()),delete pl[t]}}a.push(r)}function Zx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function Kx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function Gx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function Jx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function Qx(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),f=t.find(l.target);u==="checked"?f.format("list","unchecked"):u==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ey(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function ty(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Ke(s),i)}),o}function ry(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Ke(o),i)}),n}function iy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Ke(o),{scope:s})}),a}function ay(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&vt(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function ny(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function oy(e){var t={divider:Zx,ins:Kx,align:Gx,direction:Jx,list:Qx,background:ey,box:ty,font:ry,text:iy,image:ay,link:ny},r={};Object.values(t).forEach(i=>ve(r,i(e))),e.register(r,!0)}function sy(e,t,r){var i,a,n,o=!1;H(()=>e.readOnly,_=>{i&&(n.enable(!_),_||n.blur())}),H(()=>e.placeholder,_=>{i&&u(_)});function s(_){var b=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],x="",m;$d(_,{start:function(c,h,w){if(!b.includes(c)){m=!w;return}m=!1;var y=h.map(E=>{var{name:O,value:N}=E;return"".concat(O,'="').concat(N,'"')}).join(" "),T="<".concat(c," ").concat(y," ").concat(w?"/":"",">");x+=T},end:function(c){m||(x+=""))},chars:function(c){m||(x+=c)}}),a=!0;var g=n.clipboard.convert(x);return a=!1,g}function l(){var _=n.root.innerHTML,b=n.getText(),x=n.getContents();return{html:_,text:b,delta:x}}function u(_){var b="data-placeholder",x=n.root;x.getAttribute(b)!==_&&x.setAttribute(b,_)}var f={};function v(_){var b=_?n.getFormat(_):{},x=Object.keys(b);(x.length!==Object.keys(f).length||x.find(m=>b[m]!==f[m]))&&(f=b,r("statuschange",{},b))}function p(_){var b=window.Quill;oy(b);var x={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};_.length&&(b.register("modules/ImageResize",window.ImageResize.default),x.modules={ImageResize:{modules:_}});var m=t.value;n=new b(m,x);var g=n.root,c=["focus","blur","input"];c.forEach(h=>{g.addEventListener(h,w=>{var y=l();if(h==="input"){if(yc().platform==="ios"){var T=(y.html.match(/([\s\S]*)<\/span>/)||[])[1],E=T&&T.replace(/\s/g,"")?"":e.placeholder;u(E)}w.stopPropagation()}else r(h,w,y)})}),n.on("text-change",()=>{o||r("input",{},l())}),n.on("selection-change",v),n.on("scroll-optimize",()=>{var h=n.selection.getRange()[0];v(h)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(h,w)=>(a||w.ops&&(w.ops=w.ops.filter(y=>{var{insert:T}=y;return typeof T=="string"}).map(y=>{var{insert:T}=y;return{insert:T}})),w)),i=!0,r("ready",{},{})}Re(()=>{var _=[];e.showImgSize&&_.push("DisplaySize"),e.showImgToolbar&&_.push("Toolbar"),e.showImgResize&&_.push("Resize");var b="./__uniappquill.js";Fd(window.Quill,b,()=>{if(_.length){var x="./__uniappquillimageresize.js";Fd(window.ImageResize,x,()=>{p(_)})}else p(_)})});var d=jn();Vn((_,b,x)=>{var{options:m,callbackId:g}=b,c,h,w;if(i){var y=window.Quill;switch(_){case"format":{var{name:T="",value:E=!1}=m;h=n.getSelection(!0);var O=n.getFormat(h)[T]||!1;if(["bold","italic","underline","strike","ins"].includes(T))E=!O;else if(T==="direction"){E=E==="rtl"&&O?!1:E;var N=n.getFormat(h).align;E==="rtl"&&!N?n.format("align","right","user"):!E&&N==="right"&&n.format("align",!1,"user")}else if(T==="indent"){var R=n.getFormat(h).direction==="rtl";E=E==="+1",R&&(E=!E),E=E?"+1":"-1"}else T==="list"&&(E=E==="check"?"unchecked":E,O=O==="checked"?"unchecked":O),E=O&&O!==(E||!1)||!O&&E?E:!O;n.format(T,E,"user")}break;case"insertDivider":h=n.getSelection(!0),n.insertText(h.index,pi,"user"),n.insertEmbed(h.index+1,"divider",!0,"user"),n.setSelection(h.index+2,0,"silent");break;case"insertImage":{h=n.getSelection(!0);var{src:V="",alt:ue="",width:M="",height:B="",extClass:Q="",data:te={}}=m,W=vt(V);n.insertEmbed(h.index,"image",W,"user");var G=/^(file|blob):/.test(W)?W:!1;o=!0,n.formatText(h.index,1,"data-local",G),n.formatText(h.index,1,"alt",ue),n.formatText(h.index,1,"width",M),n.formatText(h.index,1,"height",B),n.formatText(h.index,1,"class",Q),o=!1,n.formatText(h.index,1,"data-custom",Object.keys(te).map(ie=>"".concat(ie,"=").concat(te[ie])).join("&")),n.setSelection(h.index+1,0,"silent")}break;case"insertText":{h=n.getSelection(!0);var{text:ae=""}=m;n.insertText(h.index,ae,"user"),n.setSelection(h.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Se,html:se}=m;typeof Se=="object"?n.setContents(Se,"silent"):typeof se=="string"?n.setContents(s(se),"silent"):w="contents is missing"}break;case"getContents":c=l();break;case"clear":n.setText("");break;case"removeFormat":{h=n.getSelection(!0);var K=y.import("parchment");h.length?n.removeFormat(h.index,h.length,"user"):Object.keys(n.getFormat(h)).forEach(ie=>{K.query(ie,K.Scope.INLINE)&&n.format(ie,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":h=n.selection.savedRange,c={text:""},h&&h.length!==0&&(c.text=n.getText(h.index,h.length));break;case"scrollIntoView":n.scrollIntoView();break}v(h)}else w="not ready";g&&x({callbackId:g,data:ve({},c,{errMsg:"".concat(_,":").concat(w?"fail "+w:"ok")})})},d,!0)}var ly=ve({},Ld,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),uy=ge({name:"Editor",props:ly,emit:["ready","focus","blur","input","statuschange",...Pd],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r);return sy(e,i,a),Nd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),zd="#10aeff",fy="#f76260",Ud="#b2b2b2",cy="#f43530",vy={success:{d:ab,c:Ra},success_no_circle:{d:cn,c:Ra},info:{d:rb,c:zd},warn:{d:ob,c:fy},waiting:{d:nb,c:zd},cancel:{d:Q_,c:cy},download:{d:tb,c:Ra},search:{d:ib,c:Ud},clear:{d:eb,c:Ud}},dy=ge({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=ee(()=>vy[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&vn(r.d,e.color||r.c,mr(e.size))])}}}),hy={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Dn={widthFix:["offsetWidth","height"],heightFix:["offsetHeight","width"]},gy={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},py=ge({name:"Image",props:hy,setup(e,t){var{emit:r}=t,i=U(null),a=my(i,e),n=Pe(i,r),{fixSize:o}=xy(i,e,a);return _y(a,o,n),()=>{var{mode:s}=e,{imgSrc:l,modeStyle:u,src:f}=a,v;return v=l?I("img",{src:l,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:u},null,4),v,Dn[s]?I(Ar,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function my(e,t){var r=U(""),i=ee(()=>{var n="auto",o="",s=gy[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=Ae({rootEl:e,src:ee(()=>t.src?vt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function _y(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=l,e.imgSrc=u},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=l=>{var{width:u,height:f}=i;a(u,f,s),t(),o(),r("load",l,{width:u,height:f})},i.onerror=l=>{a(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};H(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ce(()=>o())}var by=navigator.vendor==="Google Inc.";function wy(e){return by&&e>10&&(e=Math.round(e/2)*2),e}function xy(e,t,r){var i=()=>{var{mode:n}=t,o=Dn[n];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var f=e.value,v=f[o[0]];v&&(f.style[o[1]]=wy(v/u)+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return H(()=>t.mode,(n,o)=>{Dn[o]&&a(),Dn[n]&&i()}),{fixSize:i,resetSize:a}}function yy(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),l=0;l{a=null,r=u,e.apply(this,s)},u-rBn.forEach(t=>t.userAction=e);function Ey(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Hd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!ml&&Wd(!0),ml++,setTimeout(()=>{!--ml&&Wd(!1)},0)},Sy)}),Hd=!0}Bn.push(e)}function Ty(e){var t=Bn.indexOf(e);t>=0&&Bn.splice(t,1)}function Cy(){var e=Ae({userAction:!1});return Re(()=>{Ey(e)}),Ce(()=>{Ty(e)}),{state:e}}function Vd(){var e=Ae({attrs:{}});return Re(()=>{for(var t=jt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Oy(e,t){var r=_e(At,!1);if(!!r){var i=jt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ce(()=>{r.removeField(a)})}}function Ay(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var Iy=function(){bt(Xt(),"getSelectedTextRange",Ay)},ky=200,_l;function bl(e){return e===null?"":String(e)}var jd=ve({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1}},Ld),Yd=["input","focus","blur","update:value","update:modelValue","update:focus",...Pd];function My(e,t,r){var i=U(null),a=Pe(t,r),n=ee(()=>{var v=Number(e.selectionStart);return isNaN(v)?-1:v}),o=ee(()=>{var v=Number(e.selectionEnd);return isNaN(v)?-1:v}),s=ee(()=>{var v=Number(e.cursor);return isNaN(v)?-1:v}),l=ee(()=>{var v=Number(e.maxlength);return isNaN(v)?140:v}),u=bl(e.modelValue)||bl(e.value),f=Ae({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return H(()=>f.focus,v=>r("update:focus",v)),H(()=>f.maxlength,v=>f.value=f.value.slice(0,v)),{fieldRef:i,state:f,trigger:a}}function Ry(e,t,r,i){var a=i0(s=>{t.value=bl(s)},100);H(()=>e.modelValue,a),H(()=>e.value,a);var n=yy((s,l)=>{a.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{a.cancel(),n(s,l),u&&n.flush()};return yf(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function Ly(e,t){var{state:r}=Cy(),i=ee(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=ky-(Date.now()-_l);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}H(()=>e.focus,o=>{o?a():n()}),Re(()=>{_l=_l||Date.now(),i.value&&jr(a)})}function Py(e,t,r,i,a){function n(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(){var l=e.value,u=function(p){t.focus=!0,r("focus",p,{value:t.value}),n(),o()},f=function(p,d){p.stopPropagation(),!(typeof a=="function"&&a(p,t)===!1)&&(t.value=l.value,t.composing||i(p,{value:l.value,cursor:l.selectionEnd},d))},v=function(p){t.composing&&(t.composing=!1,f(p,!0)),t.focus=!1,r("blur",p,{value:t.value,cursor:p.target.selectionEnd})};l.addEventListener("change",p=>p.stopPropagation()),l.addEventListener("focus",u),l.addEventListener("blur",v),l.addEventListener("input",f),l.addEventListener("compositionstart",p=>{p.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",p=>{p.stopPropagation(),t.composing&&(t.composing=!1,f(p))})}H([()=>t.selectionStart,()=>t.selectionEnd],n),H(()=>t.cursor,o),H(()=>e.value,s)}function qd(e,t,r,i){Iy();var{fieldRef:a,state:n,trigger:o}=My(e,t,r),{triggerInput:s}=Ry(e,n,r,o);Ly(e,a),Nd(e,a,o);var{state:l}=Vd();Oy("name",n),Py(a,n,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var Ny=ve({},jd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Dy=ge({name:"Input",props:Ny,emits:["confirm",...Yd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=ee(()=>{var g="";switch(e.type){case"text":e.confirmType==="search"&&(g="search");break;case"idcard":g="text";break;case"digit":g="number";break;default:g=~i.includes(e.type)?e.type:"text";break}return e.password?"password":g}),o=ee(()=>{var g=a.indexOf(e.textContentType),c=a.indexOf(Ke(e.textContentType)),h=g!==-1?g:c!==-1?c:0;return a[h]}),s=U(""),l,u=U(null),{fieldRef:f,state:v,scopedAttrsState:p,fixDisabledColor:d,trigger:_}=qd(e,u,r,(g,c)=>{var h=g.target;if(n.value==="number"){if(l&&(h.removeEventListener("blur",l),l=null),h.validity&&!h.validity.valid)return!s.value&&g.data==="-"||s.value[0]==="-"&&g.inputType==="deleteContentBackward"?(s.value="-",c.value="",l=()=>{s.value=h.value=""},h.addEventListener("blur",l),!1):(s.value=c.value=h.value=s.value==="-"?"":s.value,!1);s.value=h.value;var w=c.maxlength;if(w>0&&h.value.length>w)return h.value=h.value.slice(0,w),c.value=h.value,!1}}),b=["number","digit"],x=ee(()=>b.includes(e.type)?"0.000000000000000001":"");function m(g){if(g.key==="Enter"){var c=g.target;g.stopPropagation(),_("confirm",g,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var g=e.disabled&&d?I("input",{ref:f,value:v.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:v.maxlength,step:x.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:v.value,disabled:!!e.disabled,type:n.value,maxlength:v.maxlength,step:x.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Ti(I("div",Qe(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ri,!(v.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[g],40,["onSubmit"]):g])],512)}}});function By(e){return Object.keys(e).map(t=>[t,e[t]])}var $y=["class","style"],Fy=/^on[A-Z]+/,Xd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=jt(),a=es({}),n=es({}),o=es({}),s=r.concat($y);return i.attrs=Ae(i.attrs),p_(()=>{var l=By(i.attrs).reduce((u,f)=>{var[v,p]=f;return s.includes(v)?u.exclude[v]=p:Fy.test(v)?(t||(u.attrs[v]=p),u.listeners[v]=p):u.attrs[v]=p,u},{exclude:{},attrs:{},listeners:{}});a.value=l.attrs,n.value=l.listeners,o.value=l.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},$n,ta;function Fn(){Br(()=>{$n||($n=plus.webview.currentWebview()),ta||(ta=($n.getStyle()||{}).pullToRefresh||{})})}function ar(e){var{disable:t}=e;ta&&ta.support&&$n.setPullToRefresh(Object.assign({},ta,{support:!t}))}function wl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Ka(r)?r.type===wt?t.push(...wl(r.children)):t.push(r):Array.isArray(r)&&t.push(...wl(r))}),t}function ra(e){var t=jt();t.rebuild=e}var zy={scaleArea:{type:Boolean,default:!1}},Uy=ge({inheritAttrs:!1,name:"MovableArea",props:zy,setup(e,t){var{slots:r}=t,i=U(null),a=U(!1),{setContexts:n,events:o}=Hy(e,i),{$listeners:s,$attrs:l,$excludeAttrs:u}=Xd(),f=s.value,v=["onTouchstart","onTouchmove","onTouchend"];v.forEach(m=>{var g=f[m],c=o["_".concat(m)];f[m]=g?[].concat(g,c):c}),Re(()=>{o._resize(),Fn(),a.value=!0});var p=[],d=[];function _(){for(var m=[],g=function(h){var w=p[h];w instanceof Element||(w=w.el);var y=d.find(T=>w===T.rootRef.value);y&&m.push(Ya(y))},c=0;c{p=i.value.children,_()});var b=m=>{d.push(m),_()},x=m=>{var g=d.indexOf(m);g>=0&&(d.splice(g,1),_())};return Fe("_isMounted",a),Fe("movableAreaRootRef",i),Fe("addMovableViewContext",b),Fe("removeMovableViewContext",x),()=>(r.default&&r.default(),I("uni-movable-area",Qe({ref:i},l.value,u.value,f),[I(Ar,{onReize:o._resize},null,8,["onReize"]),p],16))}});function Zd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Hy(e,t){var r=U(0),i=U(0),a=Ae({x:null,y:null}),n=U(null),o=null,s=[];function l(b){b&&b!==1&&(e.scaleArea?s.forEach(function(x){x._setScale(b)}):o&&o._setScale(b))}function u(b){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,m=t.value;function g(c){for(var h=0;h{ar({disable:!0});var x=b.touches;if(x&&x.length>1){var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(n.value=Zd(m),a.x=m.x,a.y=m.y,!e.scaleArea){var g=u(x[0].target),c=u(x[1].target);o=g&&g===c?g:null}}}),v=Or(b=>{var x=b.touches;if(x&&x.length>1){b.preventDefault();var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(a.x!==null&&n.value&&n.value>0){var g=Zd(m)/n.value;l(g)}a.x=m.x,a.y=m.y}}),p=Or(b=>{ar({disable:!1});var x=b.touches;x&&x.length||b.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(m){m._endScale()}):o&&o._endScale())});function d(){_(),s.forEach(function(b,x){b.setParent()})}function _(){var b=window.getComputedStyle(t.value),x=t.value.getBoundingClientRect();r.value=x.width-["Left","Right"].reduce(function(m,g){var c="border"+g+"Width",h="padding"+g;return m+parseFloat(b[c])+parseFloat(b[h])},0),i.value=x.height-["Top","Bottom"].reduce(function(m,g){var c="border"+g+"Width",h="padding"+g;return m+parseFloat(b[c])+parseFloat(b[h])},0)}return Fe("movableAreaWidth",r),Fe("movableAreaHeight",i),{setContexts(b){s=b},events:{_onTouchstart:f,_onTouchmove:v,_onTouchend:p,_resize:d}}}var ia=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable!="undefined"?a.cancelable:!0)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Kd,Gd;function zn(e,t,r){Ce(()=>{document.removeEventListener("mousemove",Kd),document.removeEventListener("mouseup",Gd)});var i=0,a=0,n=0,o=0,s=function(d,_,b,x){if(t({target:d.target,currentTarget:d.currentTarget,preventDefault:d.preventDefault.bind(d),stopPropagation:d.stopPropagation.bind(d),touches:d.touches,changedTouches:d.changedTouches,detail:{state:_,x:b,y:x,dx:b-i,dy:x-a,ddx:b-n,ddy:x-o,timeStamp:d.timeStamp}})===!1)return!1},l=null,u,f;ia(e,"touchstart",function(d){if(u=!0,d.touches.length===1&&!l)return l=d,i=n=d.touches[0].pageX,a=o=d.touches[0].pageY,s(d,"start",i,a)}),ia(e,"mousedown",function(d){if(f=!0,!u&&!l)return l=d,i=n=d.pageX,a=o=d.pageY,s(d,"start",i,a)}),ia(e,"touchmove",function(d){if(d.touches.length===1&&l){var _=s(d,"move",d.touches[0].pageX,d.touches[0].pageY);return n=d.touches[0].pageX,o=d.touches[0].pageY,_}});var v=Kd=function(d){if(!u&&f&&l){var _=s(d,"move",d.pageX,d.pageY);return n=d.pageX,o=d.pageY,_}};document.addEventListener("mousemove",v),ia(e,"touchend",function(d){if(d.touches.length===0&&l)return u=!1,l=null,s(d,"end",d.changedTouches[0].pageX,d.changedTouches[0].pageY)});var p=Gd=function(d){if(f=!1,!u&&l)return l=null,s(d,"end",d.pageX,d.pageY)};document.addEventListener("mouseup",p),ia(e,"touchcancel",function(d){if(l){u=!1;var _=l;return l=null,s(d,r?"cancel":"end",_.touches[0].pageX,_.touches[0].pageY)}})}function Un(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},It.prototype.ds=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},It.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},It.prototype.dt=function(){return-this._x_v/this._x_a},It.prototype.done=function(){var e=Un(this.s().x,this._endPositionX)||Un(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},It.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},It.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function rt(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}rt.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(m){return(s+l*m)*Math.pow(Math.E,o*m)},dx:function(m){var g=Math.pow(Math.E,o*m);return o*(s+l*m)*g+l*g}}}if(n>0){var u=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),v=(t-u*e)/(f-u),p=e-v;return{x:function(m){var g,c;return m===this._t&&(g=this._powER1T,c=this._powER2T),this._t=m,g||(g=this._powER1T=Math.pow(Math.E,u*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),p*g+v*c},dx:function(m){var g,c;return m===this._t&&(g=this._powER1T,c=this._powER2T),this._t=m,g||(g=this._powER1T=Math.pow(Math.E,u*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),p*u*g+v*f*c}}}var d=Math.sqrt(4*i*a-r*r)/(2*i),_=-r/2*i,b=e,x=(t-_*e)/d;return{x:function(m){return Math.pow(Math.E,_*m)*(b*Math.cos(d*m)+x*Math.sin(d*m))},dx:function(m){var g=Math.pow(Math.E,_*m),c=Math.cos(d*m),h=Math.sin(d*m);return g*(x*d*c-b*d*h)+_*g*(x*h+b*c)}}},rt.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},rt.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},rt.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ir(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ir(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ir(t,.1)&&(t=0),Ir(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ir(i-e,.1)&&Ir(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},rt.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},rt.prototype.done=function(e){return e||(e=new Date().getTime()),Un(this.x(),this._endPosition,.1)&&Ir(this.dx(),.1)},rt.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},rt.prototype.springConstant=function(){return this._k},rt.prototype.damping=function(){return this._c},rt.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function aa(e,t,r){this._springX=new rt(e,t,r),this._springY=new rt(e,t,r),this._springScale=new rt(e,t,r),this._startTime=0}aa.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},aa.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},aa.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},aa.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var Wy={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},Vy=ge({name:"MovableView",props:Wy,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),{setParent:o}=jy(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Ar,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),yl=!1;function Jd(e){yl||(yl=!0,requestAnimationFrame(function(){e(),yl=!1}))}function Qd(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=Qd(e.offsetParent,t):0}function eh(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=eh(e.offsetParent,t):0}function th(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function rh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),f&&u&&u(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Hn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function jy(e,t,r){var i=_e("movableAreaWidth",U(0)),a=_e("movableAreaHeight",U(0)),n=_e("_isMounted",U(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),l=_e("removeMovableViewContext",()=>{}),u=U(Hn(e.x)),f=U(Hn(e.y)),v=U(Number(e.scaleValue)||1),p=U(0),d=U(0),_=U(0),b=U(0),x=U(0),m=U(0),g=null,c=null,h={x:0,y:0},w={x:0,y:0},y=1,T=1,E=0,O=0,N=!1,R=!1,V,ue,M=null,B=null,Q=new xl,te=new xl,W={historyX:[0,0],historyY:[0,0],historyT:[0,0]},G=ee(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=ee(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Se=ee(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),se=ee(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),K=ee(()=>e.direction==="all"||e.direction==="horizontal"),ie=ee(()=>e.direction==="all"||e.direction==="vertical"),le=new aa(1,9*Math.pow(G.value,2)/40,G.value),Ie=new It(1,ae.value);H(()=>e.x,A=>{u.value=Hn(A)}),H(()=>e.y,A=>{f.value=Hn(A)}),H(u,A=>{nt(A)}),H(f,A=>{nr(A)}),H(()=>e.scaleValue,A=>{v.value=Number(A)||0}),H(v,A=>{la(A)}),H(Se,()=>{Ne()}),H(se,()=>{Ne()});function ke(){c&&c.cancel(),g&&g.cancel()}function nt(A){if(K.value){if(A+w.x===E)return E;g&&g.cancel(),J(A+w.x,f.value+w.y,y)}return A}function nr(A){if(ie.value){if(A+w.y===O)return O;g&&g.cancel(),J(u.value+w.x,A+w.y,y)}return A}function Ne(){if(!e.scale)return!1;$(y,!0),z(y)}function la(A){return e.scale?(A=D(A),$(A,!0),z(A),A):!1}function ua(){N||e.disabled||(ar({disable:!0}),ke(),W.historyX=[0,0],W.historyY=[0,0],W.historyT=[0,0],K.value&&(V=E),ie.value&&(ue=O),r.value.style.willChange="transform",M=null,B=null,R=!0)}function S(A){if(!N&&!e.disabled&&R){var Y=E,q=O;if(B===null&&(B=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),K.value&&(Y=A.detail.dx+V,W.historyX.shift(),W.historyX.push(Y),!ie.value&&M===null&&(M=Math.abs(A.detail.dx/A.detail.dy)<1)),ie.value&&(q=A.detail.dy+ue,W.historyY.shift(),W.historyY.push(q),!K.value&&M===null&&(M=Math.abs(A.detail.dy/A.detail.dx)<1)),W.historyT.shift(),W.historyT.push(A.detail.timeStamp),!M){A.preventDefault();var he="touch";Y<_.value?e.outOfBounds?(he="touch-out-of-bounds",Y=_.value-Q.x(_.value-Y)):Y=_.value:Y>x.value&&(e.outOfBounds?(he="touch-out-of-bounds",Y=x.value+Q.x(Y-x.value)):Y=x.value),qm.value&&(e.outOfBounds?(he="touch-out-of-bounds",q=m.value+te.x(q-m.value)):q=m.value),Jd(function(){X(Y,q,y,he)})}}}function C(){if(!N&&!e.disabled&&R&&(ar({disable:!1}),r.value.style.willChange="auto",R=!1,!M&&!Z("out-of-bounds")&&e.inertia)){var A=1e3*(W.historyX[1]-W.historyX[0])/(W.historyT[1]-W.historyT[0]),Y=1e3*(W.historyY[1]-W.historyY[0])/(W.historyT[1]-W.historyT[0]);Ie.setV(A,Y),Ie.setS(E,O);var q=Ie.delta().x,he=Ie.delta().y,fe=q+E,$e=he+O;fe<_.value?(fe=_.value,$e=O+(_.value-E)*he/q):fe>x.value&&(fe=x.value,$e=O+(x.value-E)*he/q),$em.value&&($e=m.value,fe=E+(m.value-O)*q/he),Ie.setEnd(fe,$e),c=rh(Ie,function(){var Ze=Ie.s(),De=Ze.x,gt=Ze.y;X(De,gt,y,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&ke()}function k(A,Y){var q=!1;return A>x.value?(A=x.value,q=!0):A<_.value&&(A=_.value,q=!0),Y>m.value?(Y=m.value,q=!0):Y3&&arguments[3]!==void 0?arguments[3]:"",fe=arguments.length>4?arguments[4]:void 0,$e=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=E||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),q=Number(q.toFixed(1)),E===A&&O===Y||fe||t("change",{},{x:th(A,w.x),y:th(Y,w.y),source:he}),e.scale||(q=y),q=D(q),q=+q.toFixed(3),$e&&q!==y&&t("scale",{},{x:A,y:Y,scale:q});var Ze="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+q+")";r.value.style.transform=Ze,r.value.style.webkitTransform=Ze,E=A,O=Y,y=q}function ce(){if(!!n.value){ke();var A=e.scale?v.value:1;L(),P(A),F(),E=u.value+w.x,O=f.value+w.y;var Y=k(E,O),q=Y.x,he=Y.y;X(q,he,A,"",!0),z(A)}}function Be(){N=!1,z(y)}function Te(A){A&&(A=T*A,j(),$(A))}return Re(()=>{zn(r.value,Y=>{switch(Y.detail.state){case"start":ua();break;case"move":S(Y);break;case"end":C()}}),ce(),Ie.reconfigure(1,ae.value),le.reconfigure(1,9*Math.pow(G.value,2)/40,G.value),r.value.style.transformOrigin="center",Fn();var A={rootRef:r,setParent:ce,_endScale:Be,_setScale:Te};s(A),Wt(()=>{l(A)})}),Wt(()=>{ke()}),{setParent:ce}}var Yy=["navigate","redirect","switchTab","reLaunch","navigateBack"],qy={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Yy.indexOf(e))}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1}},Xy=ge({name:"Navigator",compatConfig:{MODE:3},props:qy,setup(e,t){var{slots:r}=t,{hovering:i,binding:a}=hl(e);function n(o){if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}return()=>{var{hoverClass:o}=e,s=e.hoverClass&&e.hoverClass!=="none";return I("uni-navigator",Qe({class:s&&i.value?o:""},s&&a,{onClick:n}),[r.default&&r.default()],16,["onClick"])}}}),Zy={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function Ky(e){var t=Ae([...e.value]),r=Ae({value:t,height:34});return H(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var Gy=ge({name:"PickerView",props:Zy,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=Pe(a,i),s=Ky(e),l=U(null),u=()=>{var _=l.value;s.height=_.$el.offsetHeight},f=U([]),v=U([]);function p(_){var b=v.value;if(b instanceof HTMLCollection)return Array.prototype.indexOf.call(b,_.el);b=b.filter(m=>m.type!==Ur);var x=b.indexOf(_);return x!==-1?x:f.value.indexOf(_)}var d=function(_){var b=ee({get(){var x=p(_.vnode);return s.value[x]||0},set(x){var m=p(_.vnode);if(!(m<0)){var g=s.value[m];if(g!==x){s.value[m]=x;var c=s.value.map(h=>h);i("update:value",c),o("change",{},{value:c})}}}});return b};return Fe("getPickerViewColumn",d),Fe("pickerViewProps",e),Fe("pickerViewState",s),ra(()=>{u(),v.value=n.value.children}),()=>{var _=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Ar,{ref:l,onResize:b=>{var{height:x}=b;return s.height=x}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[_],512)],512)}}});class ih{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function ah(e,t,r){return e>t-r&&e0){var f=(-i-Math.sqrt(o))/(2*a),v=(-i+Math.sqrt(o))/(2*a),p=(r-f*t)/(v-f),d=t-p;return{x:function(g){var c,h;return g===this._t&&(c=this._powER1T,h=this._powER2T),this._t=g,c||(c=this._powER1T=Math.pow(Math.E,f*g)),h||(h=this._powER2T=Math.pow(Math.E,v*g)),d*c+p*h},dx:function(g){var c,h;return g===this._t&&(c=this._powER1T,h=this._powER2T),this._t=g,c||(c=this._powER1T=Math.pow(Math.E,f*g)),h||(h=this._powER2T=Math.pow(Math.E,v*g)),d*f*c+p*v*h}}}var _=Math.sqrt(4*a*n-i*i)/(2*a),b=-i/2*a,x=t,m=(r-b*t)/_;return{x:function(g){return Math.pow(Math.E,b*g)*(x*Math.cos(_*g)+m*Math.sin(_*g))},dx:function(g){var c=Math.pow(Math.E,b*g),h=Math.cos(_*g),w=Math.sin(_*g);return c*(m*_*h-x*_*w)+b*c*(m*w+x*h)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!kr(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(kr(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),kr(r,.4)&&(r=0),kr(a,.4)&&(a=0),a+=this._endPosition),this._solution&&kr(a-t,.4)&&kr(r,.4)||(this._endPosition=t,this._solution=this._solve(a-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),ah(this.x(),this._endPosition,.4)&&kr(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){function t(i,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class Jy{constructor(t,r,i){this._extent=t,this._friction=r||new ih(.01),this._spring=i||new nh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function Qy(e,t,r){var i={id:0,cancelled:!1};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),f&&u&&u(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class eS{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new Jy(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=Qy(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var f=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function tS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new eS(e,t);function a(l){var u=l,f=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(l){var u=l,f=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),l.preventDefault()}function o(l){var u=l,f=l;if(r.trackingID!==-1){l.preventDefault();var v=a(l);if(v){for(r.maxDy=Math.max(r.maxDy,Math.abs(v.y)),r.maxDx=Math.max(r.maxDx,Math.abs(v.x)),r.historyX.push(v.x),r.historyY.push(v.y),r.historyTime.push(u.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(v.x,v.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=a(l);if(u){var f=r.listener;r.trackingID=-1,r.listener=null;var v=r.historyTime.length,p={x:0,y:0};if(v>2)for(var d=r.historyTime.length-1,_=r.historyTime[d],b=r.historyX[d],x=r.historyY[d];d>0;){d--;var m=r.historyTime[d],g=_-m;if(g>30&&g<50){p.x=(b-r.historyX[d])/(g/1e3),p.y=(x-r.historyY[d])/(g/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(u.x,u.y,p)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var rS=0;function iS(e){var t="uni-picker-view-content-".concat(rS++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return H(()=>e.value,r),t}function aS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r){s[u]=n[u]}),a.target.dispatchEvent(s)}})}var nS=ge({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=_e("getPickerViewColumn"),s=jt(),l=o?o(s):U(0),u=_e("pickerViewProps"),f=_e("pickerViewState"),v=U(34),p=U(null),d=()=>{var O=p.value;v.value=O.$el.offsetHeight},_=ee(()=>(f.height-v.value)/2),{state:b}=Vd(),x=iS(v),m,g=Ae({current:l.value,length:0}),c;function h(){m&&!c&&(c=!0,jr(()=>{c=!1;var O=Math.min(g.current,g.length-1);O=Math.max(O,0),m.update(O*v.value,void 0,v.value)}))}H(()=>l.value,O=>{O!==g.current&&(g.current=O,h())}),H(()=>g.current,O=>l.value=O),H([()=>v.value,()=>g.length,()=>f.height],h);var w=0;function y(O){var N=w+O.deltaY;if(Math.abs(N)>10){w=0;var R=Math.min(g.current+(N<0?-1:1),g.length-1);g.current=R=Math.max(R,0),m.scrollTo(R*v.value)}else w=N;O.preventDefault()}function T(O){var{clientY:N}=O,R=a.value;if(!m.isScrolling()){var V=R.getBoundingClientRect(),ue=N-V.top-f.height/2,M=v.value/2;if(!(Math.abs(ue)<=M)){var B=Math.ceil((Math.abs(ue)-M)/v.value),Q=ue<0?-B:B,te=Math.min(g.current+Q,g.length-1);g.current=te=Math.max(te,0),m.scrollTo(te*v.value)}}}var E=()=>{var O=a.value,N=n.value,{scroller:R,handleTouchStart:V,handleTouchMove:ue,handleTouchEnd:M}=tS(N,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:v.value,friction:new ih(1e-4),spring:new nh(2,90,20),onSnap:B=>{!isNaN(B)&&B!==g.current&&(g.current=B)}});m=R,zn(O,B=>{switch(B.detail.state){case"start":V(B),ar({disable:!0});break;case"move":ue(B),B.stopPropagation();break;case"end":case"cancel":M(B),ar({disable:!1})}},!0),aS(O),Fn(),h()};return ra(()=>{g.length=n.value.children.length,d(),E()}),()=>{var O=r.default&&r.default(),N="".concat(_.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:y,onClick:T,class:"uni-picker-view-group"},[I("div",Qe(b.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(_.value,"px;").concat(u.maskStyle)}),null,16),I("div",Qe(b.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Ar,{ref:p,onResize:R=>{var{height:V}=R;return v.value=V}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",x],style:{padding:N}},[O],6)],40,["onWheel","onClick"])],512)}}}),Mr={activeColor:Ra,backgroundColor:"#EBEBEB",activeMode:"backwards"},oS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Mr.activeColor},activeColor:{type:String,default:Mr.activeColor},backgroundColor:{type:String,default:Mr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Mr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},sS=ge({name:"Progress",props:oS,setup(e){var t=lS(e);return oh(t,e),H(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,oh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function lS(e){var t=U(0),r=ee(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=ee(()=>{var o=e.color!==Mr.activeColor&&e.activeColor===Mr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=ee(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=Ae({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function oh(e,t){t.active?(e.currentPercent=t.activeMode===Mr.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}var sh=fn("ucg"),uS={name:{type:String,default:""}},fS=ge({name:"RadioGroup",props:uS,setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return cS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function cS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};Fe(sh,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var f=r.indexOf(u);s(f,!0),t("change",l,{value:i()})}});var a=_e(At,!1),n={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};a&&(a.addField(n),Ce(()=>{a.removeField(n)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((f,v)=>{v!==l&&(u?o(r[v],!1):r.forEach((p,d)=>{v>=d||r[d].value.radioChecked&&o(r[v],!1)}))})}return r}var vS={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},dS=ge({name:"Radio",props:vS,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value),n=ee(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));H([()=>e.checked,()=>e.value],v=>{var[p,d]=v;i.value=p,a.value=d});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:l,field:u}=hS(i,a,o),f=v=>{e.disabled||(i.value=!0,s&&s.radioChange(v,u))};return l&&(l.addHandler(f),Ce(()=>{l.removeHandler(f)})),Rn(e,{"label-click":f}),()=>{var v=ii(e,"disabled");return I("uni-radio",Qe(v,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?vn(cn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function hS(e,t,r){var i=ee({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),a={reset:r},n=_e(sh,!1);n&&n.addField(i);var o=_e(At,!1);o&&o.addField(a);var s=_e(Gi,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}function gS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function pS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&a!=="style"&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function mS(e){e=gS(e);var t=[],r={node:"root",children:[]};return $d(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=pS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var lh={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},Sl={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function _S(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(re(Sl,r)&&Sl[r])return Sl[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function bS(e,t,r){return e==="img"&&t==="src"?vt(r):r}function uh(e,t,r,i){return e.forEach(function(a){if(!!mt(a))if(!re(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!re(lh,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(mt(s)){var l=lh[n]||[];Object.keys(s).forEach(function(f){var v=s[f];switch(f){case"class":Array.isArray(v)&&(v=v.join(" "));case"style":o.setAttribute(f,v),r&&o.setAttribute(r,"");break;default:l.indexOf(f)!==-1&&o.setAttribute(f,bS(n,f,v))}})}wS(a,o,i);var u=a.children;Array.isArray(u)&&u.length&&uh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(_S(a.text)))}),t}function wS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var xS={nodes:{type:[Array,String],default:function(){return[]}}},yS=ge({name:"RichText",compatConfig:{MODE:3},props:xS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=jt(),n=U(null),o=Pe(n,r),s=!!i.onItemclick;function l(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,v)}function u(f){var v;typeof f=="string"&&(f=mS(f));var p=uh(f,document.createDocumentFragment(),(a==null||(v=a.root)===null||v===void 0?void 0:v.type).__scopeId||"",s&&l);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(p)}return H(()=>e.nodes,f=>{u(f)}),Re(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),fh=mi(!0),SS={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},ES=ge({name:"ScrollView",compatConfig:{MODE:3},props:SS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=U(null),o=U(null),s=U(null),l=U(null),u=Pe(a,r),{state:f,scrollTopNumber:v,scrollLeftNumber:p}=TS(e);CS(e,f,v,p,u,a,n,s,r);var d=ee(()=>{var _="";return e.scrollX?_+="overflow-x:auto;":_+="overflow-x:hidden;",e.scrollY?_+="overflow-y:auto;":_+="overflow-y:hidden;",_});return()=>{var{refresherEnabled:_,refresherBackground:b,refresherDefaultStyle:x}=e,{refresherHeight:m,refreshState:g,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:d.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[_?I("div",{ref:l,style:{backgroundColor:b,height:m+"px"},class:"uni-scroll-view-refresher"},[x!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[g=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,g=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,x=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function TS(e){var t=ee(()=>Number(e.scrollTop)||0),r=ee(()=>Number(e.scrollLeft)||0),i=Ae({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function CS(e,t,r,i,a,n,o,s,l){var u=!1,f=0,v=!1,p=()=>{},d=ee(()=>{var y=Number(e.upperThreshold);return isNaN(y)?50:y}),_=ee(()=>{var y=Number(e.lowerThreshold);return isNaN(y)?50:y});function b(y,T){var E=o.value,O=0,N="";if(y<0?y=0:T==="x"&&y>E.scrollWidth-E.offsetWidth?y=E.scrollWidth-E.offsetWidth:T==="y"&&y>E.scrollHeight-E.offsetHeight&&(y=E.scrollHeight-E.offsetHeight),T==="x"?O=E.scrollLeft-y:T==="y"&&(O=E.scrollTop-y),O!==0){var R=s.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",T==="x"?N="translateX("+O+"px) translateZ(0)":T==="y"&&(N="translateY("+O+"px) translateZ(0)"),R.removeEventListener("transitionend",p),R.removeEventListener("webkitTransitionEnd",p),p=()=>h(y,T),R.addEventListener("transitionend",p),R.addEventListener("webkitTransitionEnd",p),T==="x"?E.style.overflowX="hidden":T==="y"&&(E.style.overflowY="hidden"),R.style.transform=N,R.style.webkitTransform=N}}function x(y){var T=y.target;a("scroll",y,{scrollLeft:T.scrollLeft,scrollTop:T.scrollTop,scrollHeight:T.scrollHeight,scrollWidth:T.scrollWidth,deltaX:t.lastScrollLeft-T.scrollLeft,deltaY:t.lastScrollTop-T.scrollTop}),e.scrollY&&(T.scrollTop<=d.value&&t.lastScrollTop-T.scrollTop>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"top"}),t.lastScrollToUpperTime=y.timeStamp),T.scrollTop+T.offsetHeight+_.value>=T.scrollHeight&&t.lastScrollTop-T.scrollTop<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"bottom"}),t.lastScrollToLowerTime=y.timeStamp)),e.scrollX&&(T.scrollLeft<=d.value&&t.lastScrollLeft-T.scrollLeft>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"left"}),t.lastScrollToUpperTime=y.timeStamp),T.scrollLeft+T.offsetWidth+_.value>=T.scrollWidth&&t.lastScrollLeft-T.scrollLeft<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"right"}),t.lastScrollToLowerTime=y.timeStamp)),t.lastScrollTop=T.scrollTop,t.lastScrollLeft=T.scrollLeft}function m(y){e.scrollY&&(e.scrollWithAnimation?b(y,"y"):o.value.scrollTop=y)}function g(y){e.scrollX&&(e.scrollWithAnimation?b(y,"x"):o.value.scrollLeft=y)}function c(y){if(y){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(y)){console.error("id error: scroll-into-view=".concat(y));return}var T=n.value.querySelector("#"+y);if(T){var E=o.value.getBoundingClientRect(),O=T.getBoundingClientRect();if(e.scrollX){var N=O.left-E.left,R=o.value.scrollLeft,V=R+N;e.scrollWithAnimation?b(V,"x"):o.value.scrollLeft=V}if(e.scrollY){var ue=O.top-E.top,M=o.value.scrollTop,B=M+ue;e.scrollWithAnimation?b(B,"y"):o.value.scrollTop=B}}}}function h(y,T){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var E=o.value;T==="x"?(E.style.overflowX=e.scrollX?"auto":"hidden",E.scrollLeft=y):T==="y"&&(E.style.overflowY=e.scrollY?"auto":"hidden",E.scrollTop=y),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function w(y){switch(y){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,a("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=f=0,y==="restore"&&(v=!1,a("refresherrestore",{},{})),y==="refresherabort"&&v&&(v=!1,a("refresherabort",{},{}));break}t.refreshState=y}Re(()=>{jr(()=>{m(r.value),g(i.value)}),c(e.scrollIntoView);var y=function(V){V.preventDefault(),V.stopPropagation(),x(V)},T={x:0,y:0},E=null,O=function(V){if(T!==null){var ue=V.touches[0].pageX,M=V.touches[0].pageY,B=o.value;if(Math.abs(ue-T.x)>Math.abs(M-T.y))if(e.scrollX){if(B.scrollLeft===0&&ue>T.x){E=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&ueT.y)E=!1,e.refresherEnabled&&V.cancelable!==!1&&V.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&M0&&(v=!0,a("refresherpulling",V,{deltaY:Q})));var te=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(te>1?1:te)*360}}},N=function(V){V.touches.length===1&&(ar({disable:!0}),T={x:V.touches[0].pageX,y:V.touches[0].pageY})},R=function(V){T=null,ar({disable:!1}),t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};o.value.addEventListener("touchstart",N,fh),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",y,mi(!1)),o.value.addEventListener("touchend",R,fh),Fn(),Ce(()=>{o.value.removeEventListener("touchstart",N),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",y),o.value.removeEventListener("touchend",R)})}),as(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),H(r,y=>{m(y)}),H(i,y=>{g(y)}),H(()=>e.scrollIntoView,y=>{c(y)}),H(()=>e.refresherTriggered,y=>{y===!0?w("refreshing"):y===!1&&w("restore")})}var OS={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},AS=ge({name:"Slider",props:OS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=U(null),o=U(Number(e.value));H(()=>e.value,v=>{o.value=Number(v)});var s=Pe(i,r),l=IS(e,o),{_onClick:u,_onTrack:f}=kS(e,o,i,a,s);return Re(()=>{zn(n.value,f)}),()=>{var{setBgColor:v,setBlockBg:p,setActiveColor:d,setBlockStyle:_}=l;return I("uni-slider",{ref:i,onClick:Or(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:v.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:p.value,class:"uni-slider-handle"},null,4),I("div",{style:_.value,class:"uni-slider-thumb"},null,4),I("div",{style:d.value,class:"uni-slider-track"},null,4)],4)]),Ti(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Ri,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function IS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:ee(()=>({backgroundColor:i()})),setBlockBg:ee(()=>({left:r()})),setActiveColor:ee(()=>({backgroundColor:a(),width:r()})),setBlockStyle:ee(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function kS(e,t,r,i,a){var n=v=>{e.disabled||(s(v),a("change",v,{value:t.value}))},o=v=>{var p=Number(e.max),d=Number(e.min),_=Number(e.step);return vp?p:MS.mul.call(Math.round((v-d)/_),_)+d},s=v=>{var p=Number(e.max),d=Number(e.min),_=i.value,b=getComputedStyle(_,null).marginLeft,x=_.offsetWidth;x=x+parseInt(b);var m=r.value,g=m.offsetWidth-(e.showValue?x:0),c=m.getBoundingClientRect().left,h=(v.x-c)*(p-d)/g+d;t.value=o(h)},l=v=>{if(!e.disabled)return v.detail.state==="move"?(s({x:v.detail.x}),a("changing",v,{value:t.value}),!1):v.detail.state==="end"&&a("change",v,{value:t.value})},u=_e(At,!1);if(u){var f={reset:()=>t.value=Number(e.min),submit:()=>{var v=["",null];return e.name!==""&&(v[0]=e.name,v[1]=t.value),v}};u.addField(f),Ce(()=>{u.removeField(f)})}return{_onClick:n,_onTrack:l}}var MS={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},RS={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function LS(e){var t=ee(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=ee(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=ee(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=Ae({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function PS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,f=1,v=null,p=!1,d=0,_,b="",x,m=ee(()=>e.circular&&r.value.length>t.displayMultipleItems);function g(M){if(!l)for(var B=r.value,Q=B.length,te=M+t.displayMultipleItems,W=0;W=G.length&&(M-=G.length),M=_%1>.5||_<0?M-1:M,n("transition",{},{dx:e.vertical?0:M*W.offsetWidth,dy:e.vertical?M*W.offsetHeight:0})}function h(){v&&(c(v.toPos),v=null)}function w(M){var B=r.value.length;if(!B)return-1;var Q=(Math.round(M)%B+B)%B;if(m.value){if(B<=t.displayMultipleItems)return 0}else if(Q>B-t.displayMultipleItems)return B-t.displayMultipleItems;return Q}function y(){v=null}function T(){if(!v){p=!1;return}var M=v,B=M.toPos,Q=M.acc,te=M.endTime,W=M.source,G=te-Date.now();if(G<=0){c(B),v=null,p=!1,_=null;var ae=r.value[t.current];if(ae){var Se=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Se,source:W})}return}var se=Q*G*G/2,K=B+se;c(K),x=requestAnimationFrame(T)}function E(M,B,Q){y();var te=t.duration,W=r.value.length,G=u;if(m.value)if(Q<0){for(;GM;)G-=W}else if(Q>0){for(;G>M;)G-=W;for(;G+WM;)G-=W;G+W-M0&&f<1||(f=1)}var G=u;u=-2;var ae=t.current;ae>=0?(l=!1,t.userTracking?(c(G+ae-d),d=ae):(c(ae),e.autoplay&&O())):(l=!0,c(-t.displayMultipleItems-1))}H([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var M=-1;if(e.currentItemId)for(var B=0,Q=r.value;Be.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...r.value]],N),H(()=>t.interval,()=>{s&&(o(),O())});function R(M,B){var Q=b;b="";var te=r.value;if(!Q){var W=te.length;E(M,"",m.value&&B+(W-M)%W>W/2?1:0)}var G=te[M];if(G){var ae=t.currentItemId=G.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:Q})}}H(()=>t.current,(M,B)=>{R(M,B),a("update:current",M)}),H(()=>t.currentItemId,M=>{a("update:currentItemId",M)});function V(M){M?O():o()}H(()=>e.autoplay&&!t.userTracking,V),V(e.autoplay&&!t.userTracking),Re(()=>{var M=!1,B=0,Q=0;function te(){o(),d=u,B=0,Q=Date.now(),y()}function W(ae){var Se=Q;Q=Date.now();var se=r.value.length,K=se-t.displayMultipleItems;function ie(nt){return .5-.25/(nt+.5)}function le(nt,nr){var Ne=d+nt;B=.6*B+.4*nr,m.value||(Ne<0||Ne>K)&&(Ne<0?Ne=-ie(-Ne):Ne>K&&(Ne=K+ie(Ne-K)),B=0),c(Ne)}var Ie=Q-Se||1,ke=i.value;e.vertical?le(-ae.dy/ke.offsetHeight,-ae.ddy/Ie):le(-ae.dx/ke.offsetWidth,-ae.ddx/Ie)}function G(ae){t.userTracking=!1;var Se=B/Math.abs(B),se=0;!ae&&Math.abs(B)>.2&&(se=.5*Se);var K=w(u+se);ae?c(d):(b="touch",t.current=K,E(K,"touch",se!==0?se:K===0&&m.value&&u>=1?1:0))}zn(i.value,ae=>{if(!e.disableTouch&&!l){if(ae.detail.state==="start")return t.userTracking=!0,M=!1,te();if(ae.detail.state==="end")return G(!1);if(ae.detail.state==="cancel")return G(!0);if(t.userTracking){if(!M){M=!0;var Se=Math.abs(ae.detail.dx),se=Math.abs(ae.detail.dy);if((Se>=se&&e.vertical||Se<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return W(ae.detail),!1}}})}),Wt(()=>{o(),cancelAnimationFrame(x)});function ue(M){E(t.current=M,b="click",m.value?1:0)}return{onSwiperDotClick:ue}}var NS=ge({name:"Swiper",props:RS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),o=U(null),s=U(null),l=LS(e),u=ee(()=>{var g={};return(e.nextMargin||e.previousMargin)&&(g=e.vertical?{left:0,right:0,top:mr(e.previousMargin,!0),bottom:mr(e.nextMargin,!0)}:{top:0,bottom:0,left:mr(e.previousMargin,!0),right:mr(e.nextMargin,!0)}),g}),f=ee(()=>{var g=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":g,height:e.vertical?g:"100%"}}),v=[],p=[],d=U([]);function _(){for(var g=[],c=function(w){var y=v[w];y instanceof Element||(y=y.el);var T=p.find(E=>y===E.rootRef.value);T&&g.push(Ya(T))},h=0;h{v=s.value.children,_()});var b=function(g){p.push(g),_()};Fe("addSwiperContext",b);var x=function(g){var c=p.indexOf(g);c>=0&&(p.splice(c,1),_())};Fe("removeSwiperContext",x);var{onSwiperDotClick:m}=PS(e,l,d,s,i,n);return()=>{var g=r.default&&r.default();return v=wl(g),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[g],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[d.value.map((c,h,w)=>I("div",{onClick:()=>m(h),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":h=l.current||h{var n=_e("addSwiperContext");n&&n(a)}),Wt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),$S={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},FS=ge({name:"Switch",props:$S,emits:["change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(e.checked),n=zS(e,a),o=Pe(i,r);H(()=>e.checked,l=>{a.value=l});var s=l=>{e.disabled||(a.value=!a.value,o("change",l,{value:a.value}))};return n&&(n.addHandler(s),Ce(()=>{n.removeHandler(s)})),Rn(e,{"label-click":s}),()=>{var{color:l,type:u}=e,f=ii(e,"disabled");return I("uni-switch",Qe({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ti(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?l:"#DFDFDF",borderColor:a.value?l:"#DFDFDF"}},null,6),[[Ri,u==="switch"]]),Ti(I("div",{class:"uni-checkbox-input"},[a.value?vn(cn,e.color,22):""],512),[[Ri,u==="checkbox"]])])],16,["onClick"])}}});function zS(e,t){var r=_e(At,!1),i=_e(Gi,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Wt(()=>{r.removeField(a)})),i}var na={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function US(e,t){return e.replace(/\\n/g,pi).split(pi).map(r=>HS(r,t))}function HS(e,t){var{space:r,decode:i}=t;return!e||(r&&na[r]&&(e=e.replace(/ /g,na[r])),!i)?e:e.replace(/ /g,na.nbsp).replace(/ /g,na.ensp).replace(/ /g,na.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var WS=ve({},jd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),El=!1;function VS(){var e="(prefers-color-scheme: dark)";El=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var jS=ge({name:"Textarea",props:WS,emit:["confirm","linechange",...Yd],setup(e,t){var{emit:r}=t,i=U(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:l}=qd(e,i,r),u=ee(()=>n.value.split(pi)),f=ee(()=>["done","go","next","search","send"].includes(e.confirmType)),v=U(0),p=U(null);H(()=>v.value,m=>{var g=i.value,c=p.value,h=parseFloat(getComputedStyle(g).lineHeight);isNaN(h)&&(h=c.offsetHeight);var w=Math.round(m/h);l("linechange",{},{height:m,heightRpx:750/window.innerWidth*m,lineCount:w}),e.autoHeight&&(g.style.height=m+"px")});function d(m){var{height:g}=m;v.value=g}function _(m){l("confirm",m,{value:n.value})}function b(m){m.key==="Enter"&&f.value&&m.preventDefault()}function x(m){if(m.key==="Enter"&&f.value){_(m);var g=m.target;!e.confirmHold&&g.blur()}}return VS(),()=>{var m=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":El},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:g=>g.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":El},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:b,onKeyup:x},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ti(I("div",Qe(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ri,!n.value.length]]),I("div",{ref:p,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(g=>I("div",null,[g.trim()?g:"."])),I(Ar,{initial:!0,onResize:d},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[m],40,["onSubmit"]):m])],512)}}});ve({},gx);function Wn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function ch(e,t,r){!e||bt(r||Xt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function vh(e){!e||O0(Xt(),e)}function Vn(e,t,r,i){var a=jt(),n=a.proxy;Re(()=>{ch(t||Wn(n),e,i),(r||!t)&&H(()=>n.id,(o,s)=>{ch(Wn(n,o),e,i),vh(s&&Wn(n,s))})}),Ce(()=>{vh(t||Wn(n))})}var YS=0;function jn(e){var t=dn(),r=jt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(YS++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function qS(e){return e.__uniContextInfo}class dh extends wd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Mn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Mn.mounted);this.$animate&&(this.$animate=!1,this.call(Mn.watch.animation.handler))}}}var XS=["space","decode"];class ZS extends dh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,XS);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=US(this._text,{space:r,decode:i}).join(pi),super.update(t)}}class KS extends ri{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var jT="",GS=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class JS extends dh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...GS,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new QS(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class QS{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class eE extends JS{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function hh(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function gh(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Cu+hh():0}var ph=Symbol("onDraw");function tE(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function Tl(e,t){return ee(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?vt(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function oa(e){var t=Ae({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=U(!1);function i(){var v=e.value,p=v.getBoundingClientRect(),d=["width","height"];r.value=p.width===0||p.height===0,r.value||(t.position=tE(v)?"absolute":"static",d.push("top","left")),d.forEach(_=>{var b=p[_];b=_==="top"?b+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:gh()):b,t[_]=b+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function l(v){s?s.push(v):v()}function u(v){var p=_e(ph),d=_=>{v(_),o.forEach(b=>b(t)),o=null};l(()=>{p?p(d):d({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(v){o?o.push(v):v(t)};return Fe(ph,f),Re(()=>{i(),s.forEach(v=>v()),s=null}),Ce(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:u}}var rE=ge({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=Tl(e,["id"]),{position:s,onParentReady:l}=oa(a),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(u),u.setDislikeListener(v=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},v)}),u.setRenderingListener(v=>{v.result===0?(a.value.style.height=v.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:v.result})}),u.setAdClickedListener(()=>{n("adclicked",{},{})}),H(()=>s,v=>u.setStyle(v),{deep:!0}),H(()=>e.adpid,v=>{v&&f()}),H(()=>e.data,v=>{v&&u.renderingBind(v)});function f(){var v={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(v.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",v,p=>{var{code:d,data:_,message:b}=p;d===0?u.renderingBind(_):n("error",{},{errMsg:b})})}e.adpid&&f()}),Ce(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class we extends ri{constructor(t,r,i,a,n,o,s){super(t,r,a);var l=document.createElement("div");l.__vueParent=iE(this),this.$props=Ae({}),this.init(o),this.$app=uc(dT(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),re(o,"t")&&this.setText(o.t||""),o.a&&re(o.a,La)&&dl(this.$,o.a[La]),this.insert(a,n),Kf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),re(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=bd(this.$,r,i)}addEvent(t,r){this.$props[t]=md(this.id,r,Ro(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===La)this.$&&dl(this.$,r);else if(t===Mu)this.$.__ownerId=r;else if(t===Ru)rr(()=>ud(this,r),od);else if(t===Po){var i=vl(this.$||at(this.pid).$,r),a=this.$props.style;mt(i)&&mt(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else kn(t)?this.$.style.setProperty(t,r):(r=vl(this.$||at(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){kn(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Eh(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class sa extends we{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return rr(this.getRebuildFn(),ol),super.setText(t)}appendChild(t){return rr(this.getRebuildFn(),ol),super.appendChild(t)}insertBefore(t,r){return rr(this.getRebuildFn(),ol),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function iE(e){for(;e&&e.pid>0;)if(e=at(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Cl(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}var aE=["value","modelValue"];function mh(e){aE.forEach(t=>{if(re(e,t)){var r="onUpdate:"+t;re(e,r)||(e[r]=i=>e[t]=i)}})}class nE extends we{constructor(t,r,i,a){super(t,"uni-ad",rE,r,i,a)}}var YT="";class oE extends we{constructor(t,r,i,a){super(t,"uni-button",Sx,r,i,a)}}class ni extends ri{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class sE extends ni{constructor(t,r,i){super(t,"uni-camera",r,i)}}var qT="";class lE extends we{constructor(t,r,i,a){super(t,"uni-canvas",Mx,r,i,a,"uni-canvas > div")}}var XT="";class uE extends we{constructor(t,r,i,a){super(t,"uni-checkbox",$x,r,i,a,".uni-checkbox-wrapper")}setText(t){Cl(this.$holder,"uni-checkbox-input",t)}}var ZT="";class fE extends we{constructor(t,r,i,a){super(t,"uni-checkbox-group",Nx,r,i,a)}}var KT="",cE=0;function _h(e,t,r){var{position:i,hidden:a,onParentReady:n}=oa(e),o,s;n(l=>{var u=ee(()=>{var c={};for(var h in i){var w=i[h],y=parseFloat(w),T=parseFloat(l[h]);if(h==="top"||h==="left")w=Math.max(y,T)+"px";else if(h==="width"||h==="height"){var E=h==="width"?"left":"top",O=parseFloat(l[E]),N=parseFloat(i[E]),R=Math.max(O-N,0),V=Math.max(N+y-(O+T),0);w=Math.max(y-R-V,0)+"px"}c[h]=w}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],v=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],p=[],d={start:"left",end:"right"};function _(c){var h=getComputedStyle(e.value);return f.concat(v,p).forEach(w=>{c[w]=h[w]}),c}var b=Ae(_({})),x=null;s=function(){x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{x=null,_(b)})},window.addEventListener("updateview",s);function m(){var c={};for(var h in c){var w=c[h];(h==="top"||h==="left")&&(w=Math.min(parseFloat(w)-parseFloat(l[h]),0)+"px"),c[h]=w}return c}var g=ee(()=>{var c=m(),h=[{tag:"rect",position:c,rectStyles:{color:b.backgroundColor,radius:b.borderRadius,borderColor:b.borderColor,borderWidth:b.borderWidth}}];if("src"in r)r.src&&h.push({tag:"img",position:c,src:r.src});else{var w=parseFloat(b.lineHeight)-parseFloat(b.fontSize),y=parseFloat(c.width)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight);y=y<0?0:y;var T=parseFloat(c.height)-parseFloat(b.paddingTop)-w/2-parseFloat(b.paddingBottom);T=T<0?0:T,h.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(b.paddingTop)+w/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(b.paddingLeft),"px"),width:"".concat(y,"px"),height:"".concat(T,"px")},textStyles:{align:d[b.textAlign]||b.textAlign,color:b.color,decoration:"none",lineSpacing:"".concat(w,"px"),margin:"0px",overflow:b.textOverflow,size:b.fontSize,verticalAlign:"top",weight:b.fontWeight,whiteSpace:b.whiteSpace},text:r.text})}return h});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(cE++),u.value,g.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),H(()=>a.value,c=>{o[c?"hide":"show"]()}),H(()=>u.value,c=>{o.setStyle(c)},{deep:!0}),H(()=>g.value,()=>{o.reset(),o.draw(g.value)},{deep:!0})}),Ce(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var vE="_doc/uniapp_temp/",dE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function hE(e,t,r){var i=U(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?vt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:vE+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:l=>{var{width:u,height:f}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),H(()=>e.src,n),Ce(()=>{a&&a.abort()}),i}var bh=ge({name:"CoverImage",props:dE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=Ae({src:""}),o=hE(e,n,a);return _h(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class gE extends we{constructor(t,r,i,a){super(t,"uni-cover-image",bh,r,i,a)}}var GT="",pE=ge({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=Ae({text:""});return _h(i,n,o),ra(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class mE extends sa{constructor(t,r,i,a){super(t,"uni-cover-view",pE,r,i,a,".uni-cover-view")}}var JT="";class _E extends we{constructor(t,r,i,a){super(t,"uni-editor",uy,r,i,a)}}var QT="";class bE extends we{constructor(t,r,i,a){super(t,"uni-form",_x,r,i,a,"span")}}class wE extends ni{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var e2="";class xE extends we{constructor(t,r,i,a){super(t,"uni-icon",dy,r,i,a)}}var t2="";class yE extends we{constructor(t,r,i,a){super(t,"uni-image",py,r,i,a)}}var r2="";class SE extends we{constructor(t,r,i,a){super(t,"uni-input",Dy,r,i,a)}init(t){super.init(t),mh(this.$props)}}var i2="";class EE extends we{constructor(t,r,i,a){super(t,"uni-label",xx,r,i,a)}}class TE extends ni{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class CE extends ni{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var a2="",OE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Ol(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var AE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},IE=ge({name:"Map",props:AE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=Tl(e,["id"]),{position:s,hidden:l,onParentReady:u}=oa(n),f,{_addMarkers:v,_addMapLines:p,_addMapCircles:d,_setMap:_}=kE(e,a);u(()=>{f=ve(plus.maps.create(Xt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),l.value&&f.hide(),f.onclick=x=>{a("click",{},x)},f.onstatuschanged=x=>{a("regionchange",{},{})},_(f),v(e.markers),p(e.polyline),d(e.circles),H(()=>o.value,x=>f&&f.setStyles(x),{deep:!0}),H(()=>s,x=>f&&f.setStyles(x),{deep:!0}),H(l,x=>{f&&f[x?"hide":"show"]()}),H(()=>e.scale,x=>{f&&f.setZoom(parseInt(String(x)))}),H([()=>e.latitude,()=>e.longitude],x=>{var[m,g]=x;f&&f.setStyles({center:new plus.maps.Point(Number(m),Number(g))})}),H(()=>e.markers,x=>{v(x,!0)},{deep:!0}),H(()=>e.polyline,x=>{p(x)},{deep:!0}),H(()=>e.circles,x=>{d(x)},{deep:!0})});var b=ee(()=>e.controls.map(x=>{var m={position:"absolute"};return["top","left","width","height"].forEach(g=>{x.position[g]&&(m[g]=x.position[g]+"px")}),{id:x.id,iconPath:vt(x.iconPath),position:m,clickable:x.clickable}}));return Ce(()=>{f&&(f.close(),_(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),b.value.map((x,m)=>I(bh,{key:m,src:x.iconPath,style:x.position,"auto-size":!0,onClick:()=>x.clickable&&a("controltap",{},{controlId:x.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function kE(e,t){var r;function i(d){var{longitude:_,latitude:b}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(_||e.longitude),Number(b||e.latitude))),d({errMsg:"moveToLocation:ok"}))}function a(d){!r||r.getCurrentCenter((_,b)=>{d({longitude:b.getLng(),latitude:b.getLat(),errMsg:"getCenterLocation:ok"})})}function n(d){if(!!r){var _=r.getBounds();d({southwest:_.getSouthWest(),northeast:_.getNorthEast(),errMsg:"getRegion:ok"})}}function o(d){!r||d({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(d){if(!!r){var{id:_,latitude:b,longitude:x,iconPath:m,callout:g,label:c}=d;OE(x,b,h=>{var w,{latitude:y,longitude:T}=h.coord,E=new plus.maps.Marker(new plus.maps.Point(T,y));m&&E.setIcon(vt(m)),c&&c.content&&E.setLabel(c.content);var O=void 0;g&&g.content&&(O=new plus.maps.Bubble(g.content)),O&&E.setBubble(O),(_||_===0)&&(E.onclick=N=>{t("markertap",{},{markerId:_})},O&&(O.onclick=()=>{t("callouttap",{},{markerId:_})})),(w=r)===null||w===void 0||w.addOverlay(E),r.__markers__.push(E)})}}function l(){if(!!r){var d=r.__markers__;d.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__markers__=[]}}function u(d,_){_&&l(),d.forEach(b=>{s(b)})}function f(d){!r||(r.__lines__.length>0&&(r.__lines__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__lines__=[]),d.forEach(_=>{var b,{color:x,width:m}=_,g=_.points.map(w=>new plus.maps.Point(w.longitude,w.latitude)),c=new plus.maps.Polyline(g);if(x){var h=Ol(x);c.setStrokeColor(h.color),c.setStrokeOpacity(h.opacity)}m&&c.setLineWidth(m),(b=r)===null||b===void 0||b.addOverlay(c),r.__lines__.push(c)}))}function v(d){!r||(r.__circles__.length>0&&(r.__circles__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__circles__=[]),d.forEach(_=>{var b,{latitude:x,longitude:m,color:g,fillColor:c,radius:h,strokeWidth:w}=_,y=new plus.maps.Circle(new plus.maps.Point(m,x),h);if(g){var T=Ol(g);y.setStrokeColor(T.color),y.setStrokeOpacity(T.opacity)}if(c){var E=Ol(c);y.setFillColor(E.color),y.setFillOpacity(E.opacity)}w&&y.setLineWidth(w),(b=r)===null||b===void 0||b.addOverlay(y),r.__circles__.push(y)}))}var p={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return Vn((d,_,b)=>{p[d]&&p[d](b,_)},jn(),!0),{_addMarkers:u,_addMapLines:f,_addMapCircles:v,_setMap(d){r=d}}}class ME extends we{constructor(t,r,i,a){super(t,"uni-map",IE,r,i,a,".uni-map-slot")}}var n2="";class RE extends sa{constructor(t,r,i,a){super(t,"uni-movable-area",Uy,r,i,a)}}var o2="";class LE extends we{constructor(t,r,i,a){super(t,"uni-movable-view",Vy,r,i,a)}}var s2="";class PE extends we{constructor(t,r,i,a){super(t,"uni-navigator",Xy,r,i,a)}}class NE extends ni{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class DE extends ni{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var oi,wh,si;function xh(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function yh(){return oi.webview.currentWebview().id}var Yn,Al,Il={};function kl(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Il[r];i&&i(t),t.keep||delete Il[r]}}function BE(e,t){xh()==="v8"?si?(Yn&&Yn.close(),Yn=new si(yh()),Yn.onmessage=kl):Al||(Al=wh.requireModule("globalEvent"),Al.addEventListener("plusMessage",kl)):window.__plusMessage=kl,Il[e]=t}class $E{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(si){var a=new si(i);a.postMessage(r)}else oi.webview.postMessageToUniNView&&oi.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function FE(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;oi=t.plus||plus,wh=t.weex||(typeof weex=="object"?weex:null),si=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());a=ve({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ve(s,a.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:16,viewport:oi.screen.resolutionWidth}};a=ve(u,a);var f=oi.webview.create("",l,a,{extras:{from:yh(),runtime:xh(),data:i,useGlobalEvent:!si}});return f.addEventListener("close",o),BE(l,v=>{typeof n=="function"&&n(v.data),v.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new $E(f)}var Oe={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},li={YEAR:"year",MONTH:"month",DAY:"day"};function qn(e){return e>9?e:"0".concat(e)}function Xn(e,t){e=String(e||"");var r=new Date;if(t===Oe.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function zE(e){if(e.mode===Oe.TIME)return"00:00";if(e.mode===Oe.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case li.YEAR:return t;case li.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function UE(e){if(e.mode===Oe.TIME)return"23:59";if(e.mode===Oe.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case li.YEAR:return t;case li.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var HE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Oe.SELECTOR,validator(e){return Object.values(Oe).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:zE},end:{type:String,default:UE},disabled:{type:[Boolean,String],default:!1}},WE=ge({name:"Picker",props:HE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;x0();var{t:i,getLocale:a}=Ge(),n=U(null),o=Pe(n,r),s=U(null),l=U(null),u=()=>{var m=e.value;switch(e.mode){case Oe.MULTISELECTOR:{Array.isArray(m)||(m=[]),Array.isArray(s.value)||(s.value=[]);for(var g=s.value.length=Math.max(m.length,e.range.length),c=0;c{l.value&&l.value.sendMessage(m)},v=m=>{var g={event:"cancel"};l.value=FE({url:"__uniapppicker",data:m,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var h=c.event;if(h==="created"){f(m);return}if(h==="columnchange"){delete c.event,o(h,{},c);return}g=c},onClose:()=>{l.value=null;var c=g.event;delete g.event,c&&o(c,{},g)}})},p=(m,g)=>{plus.nativeUI[e.mode===Oe.TIME?"pickTime":"pickDate"](c=>{var h=c.date;o("change",{},{value:e.mode===Oe.TIME?"".concat(qn(h.getHours()),":").concat(qn(h.getMinutes())):"".concat(h.getFullYear(),"-").concat(qn(h.getMonth()+1),"-").concat(qn(h.getDate()))})},()=>{o("cancel",{},{})},e.mode===Oe.TIME?{time:Xn(e.value,Oe.TIME),popover:g}:{date:Xn(e.value,Oe.DATE),minDate:Xn(e.start,Oe.DATE),maxDate:Xn(e.end,Oe.DATE),popover:g})},d=(m,g)=>{(m.mode===Oe.TIME||m.mode===Oe.DATE)&&!m.fields?p(m,g):(m.fields=Object.values(li).includes(m.fields)?m.fields:li.DAY,v(m))},_=m=>{if(!e.disabled){var g=m.currentTarget,c=g.getBoundingClientRect();d(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+gh(),left:c.left,width:c.width,height:c.height})}},b=_e(At,!1),x={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Oe.SELECTOR:s.value=0;break;case Oe.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(m=>0));break;case Oe.DATE:case Oe.TIME:s.value="";break}}};return b&&(b.addField(x),Ce(()=>b.removeField(x))),Object.keys(e).forEach(m=>{m!=="name"&&H(()=>e[m],g=>{var c={};c[m]=g,f(c)},{deep:!0})}),H(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:n,onClick:_},[I("slot",null,null)],8,["onClick"])}});class VE extends we{constructor(t,r,i,a){super(t,"uni-picker",WE,r,i,a)}}var l2="";class jE extends sa{constructor(t,r,i,a){super(t,"uni-picker-view",Gy,r,i,a,".uni-picker-view-wrapper")}}var u2="";class YE extends sa{constructor(t,r,i,a){super(t,"uni-picker-view-column",nS,r,i,a,".uni-picker-view-content")}}var f2="";class qE extends we{constructor(t,r,i,a){super(t,"uni-progress",sS,r,i,a)}}var c2="";class XE extends we{constructor(t,r,i,a){super(t,"uni-radio",dS,r,i,a,".uni-radio-wrapper")}setText(t){Cl(this.$holder,"uni-radio-input",t)}}var v2="";class ZE extends we{constructor(t,r,i,a){super(t,"uni-radio-group",fS,r,i,a)}}var d2="";class KE extends we{constructor(t,r,i,a){super(t,"uni-rich-text",yS,r,i,a)}}var h2="";class GE extends we{constructor(t,r,i,a){super(t,"uni-scroll-view",ES,r,i,a,".uni-scroll-view-content")}setText(t){Cl(this.$holder,"uni-scroll-view-refresher",t)}}var g2="";class JE extends we{constructor(t,r,i,a){super(t,"uni-slider",AS,r,i,a)}}var p2="";class QE extends sa{constructor(t,r,i,a){super(t,"uni-swiper",NS,r,i,a,".uni-swiper-slide-frame")}}var m2="";class eT extends we{constructor(t,r,i,a){super(t,"uni-swiper-item",BS,r,i,a)}}var _2="";class tT extends we{constructor(t,r,i,a){super(t,"uni-switch",FS,r,i,a)}}var b2="";class rT extends we{constructor(t,r,i,a){super(t,"uni-textarea",jS,r,i,a)}init(t){super.init(t),mh(this.$props)}}var w2="",iT={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Sh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],aT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],nT=ge({name:"Video",props:iT,emits:Sh,setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=Tl(e,["id"]),{position:s,hidden:l,onParentReady:u}=oa(n),f;u(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),l.value&&f.hide(),Sh.forEach(p=>{f.addEventListener(p,d=>{a(p,{},d.detail)})}),H(()=>o.value,p=>f.setStyles(p),{deep:!0}),H(()=>s,p=>f.setStyles(p),{deep:!0}),H(()=>l.value,p=>{f[p?"hide":"show"](),p||f.setStyles(s)})});var v=jn();return Vn((p,d)=>{if(aT.includes(p)){var _;switch(p){case"seek":_=d.position;break;case"sendDanmu":_=d;break;case"playbackRate":_=d.rate;break;case"requestFullScreen":_=d.direction;break}f&&f[p](_)}},v,!0),Ce(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class oT extends we{constructor(t,r,i,a){super(t,"uni-video",nT,r,i,a,".uni-video-slot")}}var x2="",sT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},it,lT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ve(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var l=Cu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=hh()),o.top=String(l),o.bottom=o.bottom||"0"}it=plus.webview.create(r,t,o),s&&it.addEventListener("titleUpdate",function(){var u;if(!!a.updateTitle){var f=(u=it)===null||u===void 0?void 0:u.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(it)},uT=()=>{var e;plus.webview.currentWebview().remove(it),(e=it)===null||e===void 0||e.close("none"),it=null},fT=ge({name:"WebView",props:sT,setup(e){var t=Xt(),r=U(null),{hidden:i,onParentReady:a}=oa(r),n=ee(()=>e.webviewStyles);return a(()=>{var o,s=U(bb+t);lT({htmlId:s.value,src:vt(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(mb,{},t),i.value&&((o=it)===null||o===void 0||o.hide())}),Ce(()=>{uT(),UniViewJSBridge.publishHandler(_b,{},t)}),H(()=>e.src,o=>{var s,l=vt(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=it)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=it)===null||s===void 0||s.loadURL(l)}}),H(n,o=>{var s;(s=it)===null||s===void 0||s.setStyle(o)}),H(i,o=>{it&&it[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class cT extends we{constructor(t,r,i,a){super(t,"uni-web-view",fT,r,i,a)}}var vT={"#text":KS,"#comment":cx,VIEW:eE,IMAGE:yE,TEXT:ZS,NAVIGATOR:PE,FORM:bE,BUTTON:oE,INPUT:SE,LABEL:EE,RADIO:XE,CHECKBOX:uE,"CHECKBOX-GROUP":fE,AD:nE,CAMERA:sE,CANVAS:lE,"COVER-IMAGE":gE,"COVER-VIEW":mE,EDITOR:_E,"FUNCTIONAL-PAGE-NAVIGATOR":wE,ICON:xE,"RADIO-GROUP":ZE,"LIVE-PLAYER":TE,"LIVE-PUSHER":CE,MAP:ME,"MOVABLE-AREA":RE,"MOVABLE-VIEW":LE,"OFFICIAL-ACCOUNT":NE,"OPEN-DATA":DE,PICKER:VE,"PICKER-VIEW":jE,"PICKER-VIEW-COLUMN":YE,PROGRESS:qE,"RICH-TEXT":KE,"SCROLL-VIEW":GE,SLIDER:JE,SWIPER:QE,"SWIPER-ITEM":eT,SWITCH:tT,TEXTAREA:rT,VIDEO:oT,"WEB-VIEW":cT};function dT(e,t){return()=>__(e,t)}var Zn=new Map;function at(e){return Zn.get(e)}function hT(e){return Zn.get(e)}function Eh(e){return Zn.delete(e)}function Th(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ri(e,t,r,document.createElement(t));else{var o=vT[t];o?n=new o(e,r,i,a):n=new wd(e,document.createElement(t),r,i,a)}return Zn.set(e,n),n}var Ml=[],Ch=!1;function Oh(e){if(Ch)return e();Ml.push(e)}function Rl(){Ch=!0,Ml.forEach(e=>e()),Ml.length=0}function gT(){}function Ah(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;pT(r),mT(i,a,n),_T();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),wT(s,l,u),o&&document.addEventListener("touchmove",lb),t?bT(r):Rl()}function pT(e){window.__PAGE_INFO__={route:e}}function mT(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function _T(){Th(0,"div",-1,-1).$=document.getElementById("app")}function bT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Rl,t.onerror=Rl,document.head.appendChild(t)}function wT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};G_(i)}var Ih=!1;function xT(e){if(!Ih){Ih=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Mp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Rp)}};requestAnimationFrame(()=>document.addEventListener("scroll",ub(t)))}}function yT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Np(i||r||0,a),t()}function ST(e){var t=e[0];t[0]===Lu?ET(t):Oh(()=>TT(e))}function ET(e){return Ah(e[1])}function TT(e){var t=e[0],r=j1(t[0]===pb?t[1]:[]);e.forEach(i=>{switch(i[0]){case Lu:return Ah(i[1]);case Wp:return gT();case Vp:return Th(i[1],r(i[2]),i[3],i[4],Y1(r,i[5]));case jp:return at(i[1]).remove();case Yp:return at(i[1]).setAttr(r(i[2]),r(i[3]));case qp:return at(i[1]).removeAttr(r(i[2]));case Xp:return at(i[1]).addEvent(r(i[2]),i[3]);case Gp:return at(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Zp:return at(i[1]).removeEvent(r(i[2]));case Kp:return at(i[1]).setText(r(i[2]));case Jp:return xT(i[1])}}),K1()}function CT(){var{subscribe:e}=UniViewJSBridge;e(bc,ST),e(wb,t=>Ge().setLocale(t)),e(wc,OT)}function OT(){UniViewJSBridge.publishHandler("webviewReady")}function kh(e){return window.__$__(e).$}function AT(e){var t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Ll(e,t){var r={},{top:i}=K_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=ko(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=qS(e)),r}function IT(e,t){return e?window.__$__(e).$:t.$el}function Mh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function kT(e,t,r,i,a){var n=IT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Mh(n,r)?n:n.querySelector(r);return u?Ll(u,a):null}else{var f=[],v=(l?o:n).querySelectorAll(r);return v&&v.length&&[].forEach.call(v,p=>{f.push(Ll(p,a))}),!l&&Mh(n,r)&&f.unshift(Ll(n,a)),f}}function MT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:l}=a;n===null?i.push(AT(l)):i.push(kT(e,n,o,s,l))}),r(i)}function RT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function LT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=kh(i);(o.__io||(o.__io={}))[r]=B1(o,a,n)}function PT(e,t){var{reqId:r,component:i}=e,a=kh(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var Pl={},Nl={};function NT(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Rh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Rh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Rh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function DT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Pl[r]=window.matchMedia(NT(a)),s=Nl[r]=l=>n(l.matches);s(o),o.addListener(s)}function BT(e,t){var{reqId:r,component:i}=e,a=Nl[r],n=Pl[r];n&&(n.removeListener(a),delete Nl[r],delete Pl[r])}function $T(e,t){var{family:r,source:i,desc:a}=e;Pp(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var FT={$el:document.body};function zT(){var e=Xt();C0(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),bt(e,"requestComponentInfo",(t,r)=>{MT(FT,t.reqs,r)}),bt(e,"addIntersectionObserver",t=>{LT(ve({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeIntersectionObserver",t=>{PT(t)}),bt(e,"addMediaQueryObserver",t=>{DT(ve({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeMediaQueryObserver",t=>{BT(t)}),bt(e,P1,yT),bt(e,L1,$T),bt(e,R1,t=>{RT(null,t)})}window.uni=W1,window.UniViewJSBridge=xc,window.rpx2px=id,window.__$__=at,window.__f__=Fp;function Lh(){N0(),zT(),CT(),V1(),xc.publishHandler(wc)}typeof plus!="undefined"?Lh():document.addEventListener("plusready",Lh)}); +(function(Kn){typeof define=="function"&&define.amd?define(Kn):Kn()})(function(){"use strict";var Kn="",UT="",HT="",Pr={exports:{}},fa={exports:{}},ca={exports:{}},$h=ca.exports={version:"2.6.12"};typeof __e=="number"&&(__e=$h);var Ft={exports:{}},va=Ft.exports=typeof va!="undefined"&&va.Math==Math?va:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=va);var Fh=ca.exports,$l=Ft.exports,Fl="__core-js_shared__",zl=$l[Fl]||($l[Fl]={});(fa.exports=function(e,t){return zl[e]||(zl[e]=t!==void 0?t:{})})("versions",[]).push({version:Fh.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var zh=0,Uh=Math.random(),Gn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++zh+Uh).toString(36))},Jn=fa.exports("wks"),Hh=Gn,Qn=Ft.exports.Symbol,Ul=typeof Qn=="function",Wh=Pr.exports=function(e){return Jn[e]||(Jn[e]=Ul&&Qn[e]||(Ul?Qn:Hh)("Symbol."+e))};Wh.store=Jn;var da={},eo=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Vh=eo,to=function(e){if(!Vh(e))throw TypeError(e+" is not an object!");return e},ha=function(e){try{return!!e()}catch(t){return!0}},fi=!ha(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Hl=eo,ro=Ft.exports.document,jh=Hl(ro)&&Hl(ro.createElement),Wl=function(e){return jh?ro.createElement(e):{}},Yh=!fi&&!ha(function(){return Object.defineProperty(Wl("div"),"a",{get:function(){return 7}}).a!=7}),ga=eo,qh=function(e,t){if(!ga(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ga(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ga(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ga(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Vl=to,Xh=Yh,Zh=qh,Kh=Object.defineProperty;da.f=fi?Object.defineProperty:function(t,r,i){if(Vl(t),r=Zh(r,!0),Vl(i),Xh)try{return Kh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var jl=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Gh=da,Jh=jl,Nr=fi?function(e,t,r){return Gh.f(e,t,Jh(1,r))}:function(e,t,r){return e[t]=r,e},io=Pr.exports("unscopables"),ao=Array.prototype;ao[io]==null&&Nr(ao,io,{});var Qh=function(e){ao[io][e]=!0},eg=function(e,t){return{value:t,done:!!e}},no={},tg={}.toString,rg=function(e){return tg.call(e).slice(8,-1)},ig=rg,ag=Object("z").propertyIsEnumerable(0)?Object:function(e){return ig(e)=="String"?e.split(""):Object(e)},Yl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ng=ag,og=Yl,pa=function(e){return ng(og(e))},ma={exports:{}},sg={}.hasOwnProperty,_a=function(e,t){return sg.call(e,t)},lg=fa.exports("native-function-to-string",Function.toString),ug=Ft.exports,ba=Nr,ql=_a,oo=Gn("src"),so=lg,Xl="toString",fg=(""+so).split(Xl);ca.exports.inspectSource=function(e){return so.call(e)},(ma.exports=function(e,t,r,i){var a=typeof r=="function";a&&(ql(r,"name")||ba(r,"name",t)),e[t]!==r&&(a&&(ql(r,oo)||ba(r,oo,e[t]?""+e[t]:fg.join(String(t)))),e===ug?e[t]=r:i?e[t]?e[t]=r:ba(e,t,r):(delete e[t],ba(e,t,r)))})(Function.prototype,Xl,function(){return typeof this=="function"&&this[oo]||so.call(this)});var Zl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},cg=Zl,vg=function(e,t,r){if(cg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Dr=Ft.exports,wa=ca.exports,dg=Nr,hg=ma.exports,Kl=vg,lo="prototype",We=function(e,t,r){var i=e&We.F,a=e&We.G,n=e&We.S,o=e&We.P,s=e&We.B,l=a?Dr:n?Dr[t]||(Dr[t]={}):(Dr[t]||{})[lo],u=a?wa:wa[t]||(wa[t]={}),f=u[lo]||(u[lo]={}),v,p,d,_;a&&(r=t);for(v in r)p=!i&&l&&l[v]!==void 0,d=(p?l:r)[v],_=s&&p?Kl(d,Dr):o&&typeof d=="function"?Kl(Function.call,d):d,l&&hg(l,v,d,e&We.U),u[v]!=d&&dg(u,v,_),o&&f[v]!=d&&(f[v]=d)};Dr.core=wa,We.F=1,We.G=2,We.S=4,We.P=8,We.B=16,We.W=32,We.U=64,We.R=128;var uo=We,gg=Math.ceil,pg=Math.floor,Gl=function(e){return isNaN(e=+e)?0:(e>0?pg:gg)(e)},mg=Gl,_g=Math.min,bg=function(e){return e>0?_g(mg(e),9007199254740991):0},wg=Gl,xg=Math.max,yg=Math.min,Sg=function(e,t){return e=wg(e),e<0?xg(e+t,0):yg(e,t)},Eg=pa,Tg=bg,Cg=Sg,Og=function(e){return function(t,r,i){var a=Eg(t),n=Tg(a.length),o=Cg(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Jl=fa.exports("keys"),Ag=Gn,fo=function(e){return Jl[e]||(Jl[e]=Ag(e))},Ql=_a,Ig=pa,kg=Og(!1),Mg=fo("IE_PROTO"),Rg=function(e,t){var r=Ig(e),i=0,a=[],n;for(n in r)n!=Mg&&Ql(r,n)&&a.push(n);for(;t.length>i;)Ql(r,n=t[i++])&&(~kg(a,n)||a.push(n));return a},eu="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Lg=Rg,Pg=eu,co=Object.keys||function(t){return Lg(t,Pg)},Ng=da,Dg=to,Bg=co,$g=fi?Object.defineProperties:function(t,r){Dg(t);for(var i=Bg(r),a=i.length,n=0,o;a>n;)Ng.f(t,o=i[n++],r[o]);return t},tu=Ft.exports.document,Fg=tu&&tu.documentElement,zg=to,Ug=$g,ru=eu,Hg=fo("IE_PROTO"),vo=function(){},ho="prototype",xa=function(){var e=Wl("iframe"),t=ru.length,r="<",i=">",a;for(e.style.display="none",Fg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),xa=a.F;t--;)delete xa[ho][ru[t]];return xa()},Wg=Object.create||function(t,r){var i;return t!==null?(vo[ho]=zg(t),i=new vo,vo[ho]=null,i[Hg]=t):i=xa(),r===void 0?i:Ug(i,r)},Vg=da.f,jg=_a,iu=Pr.exports("toStringTag"),au=function(e,t,r){e&&!jg(e=r?e:e.prototype,iu)&&Vg(e,iu,{configurable:!0,value:t})},Yg=Wg,qg=jl,Xg=au,nu={};Nr(nu,Pr.exports("iterator"),function(){return this});var Zg=function(e,t,r){e.prototype=Yg(nu,{next:qg(1,r)}),Xg(e,t+" Iterator")},Kg=Yl,ou=function(e){return Object(Kg(e))},Gg=_a,Jg=ou,su=fo("IE_PROTO"),Qg=Object.prototype,ep=Object.getPrototypeOf||function(e){return e=Jg(e),Gg(e,su)?e[su]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Qg:null},go=uo,tp=ma.exports,lu=Nr,uu=no,rp=Zg,ip=au,ap=ep,ci=Pr.exports("iterator"),po=!([].keys&&"next"in[].keys()),np="@@iterator",fu="keys",ya="values",cu=function(){return this},op=function(e,t,r,i,a,n,o){rp(r,t,i);var s=function(c){if(!po&&c in v)return v[c];switch(c){case fu:return function(){return new r(this,c)};case ya:return function(){return new r(this,c)}}return function(){return new r(this,c)}},l=t+" Iterator",u=a==ya,f=!1,v=e.prototype,p=v[ci]||v[np]||a&&v[a],d=p||s(a),_=a?u?s("entries"):d:void 0,b=t=="Array"&&v.entries||p,x,m,g;if(b&&(g=ap(b.call(new e)),g!==Object.prototype&&g.next&&(ip(g,l,!0),typeof g[ci]!="function"&&lu(g,ci,cu))),u&&p&&p.name!==ya&&(f=!0,d=function(){return p.call(this)}),(po||f||!v[ci])&&lu(v,ci,d),uu[t]=d,uu[l]=cu,a)if(x={values:u?d:s(ya),keys:n?d:s(fu),entries:_},o)for(m in x)m in v||tp(v,m,x[m]);else go(go.P+go.F*(po||f),t,x);return x},mo=Qh,Sa=eg,vu=no,sp=pa,lp=op(Array,"Array",function(e,t){this._t=sp(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,Sa(1)):t=="keys"?Sa(0,r):t=="values"?Sa(0,e[r]):Sa(0,[r,e[r]])},"values");vu.Arguments=vu.Array,mo("keys"),mo("values"),mo("entries");for(var du=lp,up=co,fp=ma.exports,cp=Ft.exports,hu=Nr,gu=no,pu=Pr.exports,mu=pu("iterator"),_u=pu("toStringTag"),bu=gu.Array,wu={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},xu=up(wu),_o=0;_o!!r[n.toLowerCase()]:n=>!!r[n]}var dp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hp=Ca(dp);function Su(e){return!!e||e===""}var gp=Ca("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function bo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(mp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function _p(e){var t="";if(!e||ye(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Ke(r);(ye(i)||typeof i=="number"&&gp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function wo(e){var t="";if(ye(e))t=e;else if(ne(e))for(var r=0;r{},bp=()=>!1,wp=/^on[^a-z]/,Oa=e=>wp.test(e),xo=e=>e.startsWith("onUpdate:"),ve=Object.assign,yo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},xp=Object.prototype.hasOwnProperty,re=(e,t)=>xp.call(e,t),ne=Array.isArray,di=e=>hi(e)==="[object Map]",yp=e=>hi(e)==="[object Set]",oe=e=>typeof e=="function",ye=e=>typeof e=="string",So=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",Tu=e=>He(e)&&oe(e.then)&&oe(e.catch),Sp=Object.prototype.toString,hi=e=>Sp.call(e),Eo=e=>hi(e).slice(8,-1),mt=e=>hi(e)==="[object Object]",To=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Aa=Ca(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ia=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Ep=/-(\w)/g,zt=Ia(e=>e.replace(Ep,(t,r)=>r?r.toUpperCase():"")),Tp=/\B([A-Z])/g,Ke=Ia(e=>e.replace(Tp,"-$1").toLowerCase()),ka=Ia(e=>e.charAt(0).toUpperCase()+e.slice(1)),Co=Ia(e=>e?"on".concat(ka(e)):""),gi=(e,t)=>!Object.is(e,t),Oo=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Cp=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Cu,Op=()=>Cu||(Cu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),pi=` +`,Ou=44,Ra="#007aff",Ap=/^([a-z-]+:)?\/\//i,Ip=/^data:.*,.*/,Au="wxs://",Iu="json://",kp="wxsModules",Mp="renderjsModules",Rp="onPageScroll",Lp="onReachBottom",Pp="onWxsInvokeCallMethod",Ao=0;function Io(e){var t=Date.now(),r=Ao?t-Ao:0;Ao=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function ko(e){return ve({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function Mo(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:ko(e),offsetTop:r,offsetLeft:i}}function Np(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:v,variant:p,featureSettings:d}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),v&&s.push("unicode-range:".concat(v)),p&&s.push("font-variant:".concat(p)),d&&s.push("font-feature-settings:".concat(d))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Dp(e,t){if(ye(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:a,scrollHeight:n}=i;if(e=Math.min(e,n-a),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/s*10),o(s-10)})};o(t)}}function Bp(){return typeof __channelId__=="string"&&__channelId__}function $p(e,t){switch(Eo(t)){case"Function":return"function() { [native code] }";default:return t}}function Fp(e,t,r){if(Bp())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=hi(a).toLowerCase();if(n==="[object object]"||n==="[object array]")try{a="---BEGIN:JSON---"+JSON.stringify(a,$p)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=Eo(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function zp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a{var i=t[r];return i||(t[r]=e(r))}}function r0(e){return t0(e)}function i0(e){return e.indexOf("/")===0}function Do(e){return i0(e)?e:"/"+e}function Pa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;ne.apply(this,arguments);r=setTimeout(a,t)};return i.cancel=function(){clearTimeout(r)},i}var n0=Array.isArray,o0=e=>e!==null&&typeof e=="object",s0=["{","}"];class l0{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:s0;if(!r)return[t];var a=this._caches[t];return a||(a=c0(t,i),this._caches[t]=a),v0(a,r)}}var u0=/^(?:\d)+/,f0=/^(?:\w)+/;function c0(e,t){for(var[r,i]=t,a=[],n=0,o="";nd0.call(e,t),h0=new l0;function g0(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function p0(e,t){return t.find(r=>e.indexOf(r)===0)}function Bu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return _i;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?_i:e.indexOf("-hant")>-1||g0(e,["-tw","-hk","-mo","-cht"])?Na:_i;var r=p0(e,[Ut,Bo,$o]);if(r)return r}}class m0{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Ut,this.fallbackLocale=Ut,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||h0,this.messages=a||{},this.setLocale(r||Ut),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Bu(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Du(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Bu(r,this.messages),r&&(a=this.messages[r])):i=r,Du(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function _0(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function b0(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Ut}function w0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=b0()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Ut);var a=new m0({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(u,f){return a.t(u,f)};else{var l=!1;n=function(u,f){var v=getApp().$vm;return v&&(v.$locale,l||(l=!0,_0(v,a))),a.t(u,f)}}return n(o,s)};return{i18n:a,f(o,s,l){return a.f(o,s,l)},t(o,s){return n(o,s)},add(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,l)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var x0=Pa(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),bi;function Ge(){if(!bi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,bi=w0(e),x0()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>bi.add(r,__uniConfig.locales[r])),bi.setLocale(e)}}return bi}function _t(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var y0=Pa(()=>{var e="uni.picker.",t=["done","cancel"];Ge().add(Ut,_t(e,t,["Done","Cancel"]),!1),Ge().add($o,_t(e,t,["OK","Cancelar"]),!1),Ge().add(Bo,_t(e,t,["OK","Annuler"]),!1),Ge().add(_i,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Ge().add(Na,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),S0=Pa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Ge().add(Ut,_t(e,t,["feedback","send"]),!1),Ge().add($o,_t(e,t,["realimentaci\xF3n","enviar"]),!1),Ge().add(Bo,_t(e,t,["retour d'information","envoyer"]),!1),Ge().add(_i,_t(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Ge().add(Na,_t(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),$u=function(){};$u.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;i1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var Fu="invokeViewApi",zu="invokeServiceApi",T0=1,C0=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?T0++:0;r&&i(zu+"."+n,r,!0),a(zu,{id:n,name:e,args:t})},Da=Object.create(null);function Ba(e,t){return e+"."+t}function O0(e,t){UniViewJSBridge.subscribe(Ba(e,Fu),t?t(Uu):Uu)}function bt(e,t,r){t=Ba(e,t),Da[t]||(Da[t]=r)}function A0(e,t){t=Ba(e,t),delete Da[t]}function Uu(e,t){var{id:r,name:i,args:a}=e;i=Ba(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Fu+"."+r,s)},o=Da[i];o?o(a,n):n({})}var I0=ve(E0("service"),{invokeServiceMethod:C0}),k0=350,Hu=10,$a=mi(!0),wi;function xi(){wi&&(clearTimeout(wi),wi=null)}var Wu=0,Vu=0;function M0(e){if(xi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Wu=t,Vu=r,wi=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},k0)}}function R0(e){if(!!wi){if(e.touches.length!==1)return xi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Wu)>Hu||Math.abs(r-Vu)>Hu)return xi()}}function L0(){window.addEventListener("touchstart",M0,$a),window.addEventListener("touchmove",R0,$a),window.addEventListener("touchend",xi,$a),window.addEventListener("touchcancel",xi,$a)}function ju(e,t){var r=Number(e);return isNaN(r)?t:r}function P0(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function N0(){function e(){var t=__uniConfig.globalStyle||{},r=ju(t.rpxCalcMaxDeviceWidth,960),i=ju(t.rpxCalcBaseDeviceWidth,375),a=P0();a=a<=r?a:i,document.documentElement.style.fontSize=a/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function D0(){N0(),L0()}var B0=ha,$0=function(e,t){return!!e&&B0(function(){t?e.call(null,function(){},1):e.call(null)})},Fo=uo,F0=Zl,Yu=ou,qu=ha,zo=[].sort,Xu=[1,2,3];Fo(Fo.P+Fo.F*(qu(function(){Xu.sort(void 0)})||!qu(function(){Xu.sort(null)})||!$0(zo)),"Array",{sort:function(t){return t===void 0?zo.call(Yu(this)):zo.call(Yu(this),F0(t))}});var lr,Fa=[];class z0{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&lr&&(this.parent=lr,this.index=(lr.scopes||(lr.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Fa.push(this),lr=this)}off(){this.active&&(Fa.pop(),lr=Fa[Fa.length-1])}stop(t){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function U0(e,t){t=t||lr,t&&t.active&&t.effects.push(e)}var Uo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},Zu=e=>(e.w&Ht)>0,Ku=e=>(e.n&Ht)>0,H0=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],U0(this,i)}run(){if(!this.active)return this.fn();if(!Si.includes(this))try{return Si.push(ur=this),V0(),Ht=1<<++yi,yi<=Wo?H0(this):Gu(this),this.fn()}finally{yi<=Wo&&W0(this),Ht=1<<--yi,cr(),Si.pop();var t=Si.length;ur=t>0?Si[t-1]:void 0}}stop(){this.active&&(Gu(this),this.onStop&&this.onStop(),this.active=!1)}}function Gu(e){var{deps:t}=e;if(t.length){for(var r=0;r{(v==="length"||v>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?To(r)&&s.push(o.get("length")):(s.push(o.get(fr)),di(e)&&s.push(o.get(Vo)));break;case"delete":ne(e)||(s.push(o.get(fr)),di(e)&&s.push(o.get(Vo)));break;case"set":di(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&qo(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);qo(Uo(l))}}}function qo(e,t){for(var r of ne(e)?e:[...e])(r!==ur||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var j0=Ca("__proto__,__v_isRef,__isVue"),ef=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(So)),Y0=Xo(),q0=Xo(!1,!0),X0=Xo(!0),tf=Z0();function Z0(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Fr();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_raw"&&n===(e?t?cm:cf:t?ff:uf).get(i))return i;var o=ne(i);if(!e&&o&&re(tf,a))return Reflect.get(tf,a,n);var s=Reflect.get(i,a,n);if((So(a)?ef.has(a):j0(a))||(e||Je(i,"get",a),t))return s;if(Ve(s)){var l=!o||!To(a);return l?s.value:s}return He(s)?e?vf(s):Ae(s):s}}var K0=rf(),G0=rf(!0);function rf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(!e&&!Jo(a)&&(a=me(a),o=me(o),!ne(r)&&Ve(o)&&!Ve(a)))return o.value=a,!0;var s=ne(r)&&To(i)?Number(i)e,za=e=>Reflect.getPrototypeOf(e);function Ua(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=me(e),n=me(t);t!==n&&!r&&Je(a,"get",t),!r&&Je(a,"get",n);var{has:o}=za(a),s=i?Zo:r?Qo:Ei;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Ha(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&Je(i,"has",e),!t&&Je(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&Je(me(e),"iterate",fr),Reflect.get(e,"size",e)}function nf(e){e=me(e);var t=me(this),r=za(t),i=r.has.call(t,e);return i||(t.add(e),Mt(t,"add",e,e)),this}function of(e,t){t=me(t);var r=me(this),{has:i,get:a}=za(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?gi(t,o)&&Mt(r,"set",e,t):Mt(r,"add",e,t),this}function sf(e){var t=me(this),{has:r,get:i}=za(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Mt(t,"delete",e,void 0),n}function lf(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Mt(e,"clear",void 0,void 0),r}function Va(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),l=t?Zo:e?Qo:Ei;return!e&&Je(s,"iterate",fr),o.forEach((u,f)=>i.call(a,l(u),l(f),n))}}function ja(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=di(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,l=i[e](...arguments),u=r?Zo:t?Qo:Ei;return!t&&Je(a,"iterate",s?Vo:fr),{next(){var{value:f,done:v}=l.next();return v?{value:f,done:v}:{value:o?[u(f[0]),u(f[1])]:u(f),done:v}},[Symbol.iterator](){return this}}}}function Wt(e){return function(){return e==="delete"?!1:this}}function im(){var e={get(n){return Ua(this,n)},get size(){return Wa(this)},has:Ha,add:nf,set:of,delete:sf,clear:lf,forEach:Va(!1,!1)},t={get(n){return Ua(this,n,!1,!0)},get size(){return Wa(this)},has:Ha,add:nf,set:of,delete:sf,clear:lf,forEach:Va(!1,!0)},r={get(n){return Ua(this,n,!0)},get size(){return Wa(this,!0)},has(n){return Ha.call(this,n,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:Va(!0,!1)},i={get(n){return Ua(this,n,!0,!0)},get size(){return Wa(this,!0)},has(n){return Ha.call(this,n,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:Va(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=ja(n,!1,!1),r[n]=ja(n,!0,!1),t[n]=ja(n,!1,!0),i[n]=ja(n,!0,!0)}),[e,r,t,i]}var[am,nm,om,sm]=im();function Ko(e,t){var r=t?e?sm:om:e?nm:am;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(re(r,a)&&a in i?r:i,a,n)}var lm={get:Ko(!1,!1)},um={get:Ko(!1,!0)},fm={get:Ko(!0,!1)},uf=new WeakMap,ff=new WeakMap,cf=new WeakMap,cm=new WeakMap;function vm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dm(e){return e.__v_skip||!Object.isExtensible(e)?0:vm(Eo(e))}function Ae(e){return e&&e.__v_isReadonly?e:Go(e,!1,af,lm,uf)}function hm(e){return Go(e,!1,rm,um,ff)}function vf(e){return Go(e,!0,tm,fm,cf)}function Go(e,t,r,i,a){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=dm(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function zr(e){return Jo(e)?zr(e.__v_raw):!!(e&&e.__v_isReactive)}function Jo(e){return!!(e&&e.__v_isReadonly)}function df(e){return zr(e)||Jo(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function Ya(e){return Ma(e,"__v_skip",!0),e}var Ei=e=>He(e)?Ae(e):e,Qo=e=>He(e)?vf(e):e;function hf(e){Ju()&&(e=me(e),e.dep||(e.dep=Uo()),Qu(e.dep))}function gf(e,t){e=me(e),e.dep&&qo(e.dep)}function Ve(e){return Boolean(e&&e.__v_isRef===!0)}function U(e){return pf(e,!1)}function es(e){return pf(e,!0)}function pf(e,t){return Ve(e)?e:new gm(e,t)}class gm{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ei(t)}get value(){return hf(this),this._value}set value(t){t=this._shallow?t:me(t),gi(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Ei(t),gf(this))}}function pm(e){return Ve(e)?e.value:e}var mm={get:(e,t,r)=>pm(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return Ve(a)&&!Ve(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function mf(e){return zr(e)?e:new Proxy(e,mm)}class _m{constructor(t,r,i){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new jo(t,()=>{this._dirty||(this._dirty=!0,gf(this))}),this.__v_isReadonly=i}get value(){var t=me(this);return hf(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ee(e,t){var r,i,a=oe(e);a?(r=e,i=pt):(r=e.get,i=e.set);var n=new _m(r,i,a||!i);return n}function bm(e,t){for(var r=e.vnode.props||xe,i=arguments.length,a=new Array(i>2?i-2:0),n=2;nb.trim()):f&&(o=a.map(Cp))}var p,d=r[p=Co(t)]||r[p=Co(zt(t))];!d&&s&&(d=r[p=Co(Ke(t))]),d&&ct(d,e,6,o);var _=r[p+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,ct(_,e,6,o)}}function _f(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!oe(e)){var l=u=>{var f=_f(u,t,!0);f&&(s=!0,ve(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(u=>o[u]=null):ve(o,n),i.set(e,o),o)}function ts(e,t){return!e||!Oa(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Ke(t))||re(e,t))}var ft=null,bf=null;function qa(e){var t=ft;return ft=e,bf=e&&e.type.__scopeId||null,t}function wm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ft;if(!t||e._n)return e;var r=function(){r._d&&Uf(-1);var i=qa(t),a=e(...arguments);return qa(i),r._d&&Uf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function WT(){}function rs(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:v,data:p,setupState:d,ctx:_,inheritAttrs:b}=e,x,m,g=qa(e);try{if(r.shapeFlag&4){var c=a||i;x=xt(f.call(c,c,v,n,d,p,_)),m=l}else{var h=t;x=xt(h.length>1?h(n,{attrs:l,slots:s,emit:u}):h(n,null)),m=t.props?l:xm(l)}}catch(E){tn(E,e,1),x=I(Ur)}var w=x;if(m&&b!==!1){var y=Object.keys(m),{shapeFlag:T}=w;y.length&&T&(1|6)&&(o&&y.some(xo)&&(m=ym(m,o)),w=Oi(w,m))}return r.dirs&&(w.dirs=w.dirs?w.dirs.concat(r.dirs):r.dirs),r.transition&&(w.transition=r.transition),x=w,qa(g),x}var xm=e=>{var t;for(var r in e)(r==="class"||r==="style"||Oa(r))&&((t||(t={}))[r]=e[r]);return t},ym=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function Sm(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?wf(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,v=0;ve.__isSuspense;function Cm(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):p_(e)}function Fe(e,t){if(ze){var r=ze.provides,i=ze.parent&&ze.parent.provides;i===r&&(r=ze.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ze||ft;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&oe(t)?t.call(i.proxy):t}}function Om(e){return oe(e)?{setup:e,name:e.name}:e}var is=e=>!!e.type.__asyncLoader,xf=e=>e.type.__isKeepAlive;function as(e,t){yf(e,"a",t)}function Am(e,t){yf(e,"da",t)}function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ze,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Xa(t,i,r),r)for(var a=r.parent;a&&a.parent;)xf(a.parent.vnode)&&Im(i,t,r,a),a=a.parent}function Im(e,t,r,i){var a=Xa(t,e,i,!0);Vt(()=>{yo(i[t],a)},r)}function Xa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ze,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Fr(),Hr(r);for(var o=arguments.length,s=new Array(o),l=0;lfunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze;return(!en||e==="sp")&&Xa(e,t,r)},Sf=Rt("bm"),Re=Rt("m"),km=Rt("bu"),Mm=Rt("u"),Ce=Rt("bum"),Vt=Rt("um"),Rm=Rt("sp"),Lm=Rt("rtg"),Pm=Rt("rtc");function Nm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze;Xa("ec",e,t)}var ns=!0;function Dm(e){var t=Cf(e),r=e.proxy,i=e.ctx;ns=!1,t.beforeCreate&&Ef(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:v,mounted:p,beforeUpdate:d,updated:_,activated:b,deactivated:x,beforeDestroy:m,beforeUnmount:g,destroyed:c,unmounted:h,render:w,renderTracked:y,renderTriggered:T,errorCaptured:E,serverPrefetch:O,expose:N,inheritAttrs:R,components:V,directives:ue,filters:M}=t,B=null;if(u&&Bm(u,i,B,e.appContext.config.unwrapInjectedRef),o)for(var Q in o){var te=o[Q];oe(te)&&(i[Q]=te.bind(r))}if(a&&function(){var ie=a.call(r,r);He(ie)&&(e.data=Ae(ie))}(),ns=!0,n){var W=function(ie){var le=n[ie],Ie=oe(le)?le.bind(r,r):oe(le.get)?le.get.bind(r,r):pt,ke=!oe(le)&&oe(le.set)?le.set.bind(r):pt,nt=ee({get:Ie,set:ke});Object.defineProperty(i,ie,{enumerable:!0,configurable:!0,get:()=>nt.value,set:nr=>nt.value=nr})};for(var G in n)W(G)}if(s)for(var ae in s)Tf(s[ae],i,r,ae);if(l){var Se=oe(l)?l.call(r):l;Reflect.ownKeys(Se).forEach(ie=>{Fe(ie,Se[ie])})}f&&Ef(f,e,"c");function se(ie,le){ne(le)?le.forEach(Ie=>ie(Ie.bind(r))):le&&ie(le.bind(r))}if(se(Sf,v),se(Re,p),se(km,d),se(Mm,_),se(as,b),se(Am,x),se(Nm,E),se(Pm,y),se(Lm,T),se(Ce,g),se(Vt,h),se(Rm,O),ne(N))if(N.length){var K=e.exposed||(e.exposed={});N.forEach(ie=>{Object.defineProperty(K,ie,{get:()=>r[ie],set:le=>r[ie]=le})})}else e.exposed||(e.exposed={});w&&e.render===pt&&(e.render=w),R!=null&&(e.inheritAttrs=R),V&&(e.components=V),ue&&(e.directives=ue)}function Bm(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=os(e));var i=function(n){var o=e[n],s=void 0;He(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),Ve(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[n]=s};for(var a in e)i(a)}function Ef(e,t,r){ct(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Tf(e,t,r,i){var a=i.includes(".")?ec(r,i):()=>r[i];if(ye(e)){var n=t[e];oe(n)&&H(a,n)}else if(oe(e))H(a,e.bind(r));else if(He(e))if(ne(e))e.forEach(s=>Tf(s,t,r,i));else{var o=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(o)&&H(a,o,e)}}function Cf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),l;return s?l=s:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(u=>Za(l,u,o,!0)),Za(l,t,o)),n.set(t,l),l}function Za(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Za(e,n,r,!0),a&&a.forEach(l=>Za(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=$m[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var $m={data:Of,props:vr,emits:vr,methods:vr,computed:vr,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:vr,directives:vr,watch:zm,provide:Of,inject:Fm};function Of(e,t){return t?e?function(){return ve(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function Fm(e,t){return vr(os(e),os(t))}function os(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Ma(n,Ga,1),e.propsDefaults=Object.create(null),Af(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:hm(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Hm(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,v=0;v2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],l=!1;if(!oe(e)){var u=c=>{l=!0;var[h,w]=If(c,t,!0);ve(o,h),w&&s.push(...w)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!l)return i.set(e,vi),vi;if(ne(n))for(var f=0;f-1,b[1]=m<0||x-1||re(b,"default"))&&s.push(d)}}}var g=[o,s];return i.set(e,g),g}function kf(e){return e[0]!=="$"}function Mf(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Rf(e,t){return Mf(e)===Mf(t)}function Lf(e,t){return ne(t)?t.findIndex(r=>Rf(r,e)):oe(t)&&Rf(t,e)?0:-1}var Pf=e=>e[0]==="_"||e==="$stable",ls=e=>ne(e)?e.map(xt):[xt(e)],Wm=(e,t,r)=>{var i=wm(function(){return ls(t(...arguments))},r);return i._c=!1,i},Nf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!Pf(a)){var n=e[a];oe(n)?t[a]=Wm(a,n,i):n!=null&&function(){var o=ls(n);t[a]=()=>o}()}},Df=(e,t)=>{var r=ls(t);e.slots.default=()=>r},Vm=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Ma(t,"_",r)):Nf(t,e.slots={})}else e.slots={},t&&Df(e,t);Ma(e.slots,Ga,1)},jm=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=xe;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ve(a,t),!r&&s===1&&delete a._):(n=!t.$stable,Nf(t,a)),o=t}else t&&(Df(e,t),o={default:1});if(n)for(var l in a)!Pf(l)&&!(l in o)&&delete a[l]};function Ti(e,t){var r=ft;if(r===null)return e;for(var i=r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;a!=null&&!He(a)&&(a=null);var n=Bf(),o=new Set,s=!1,l=n.app={_uid:Ym++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:w_,get config(){return n.config},set config(u){},use(u){for(var f=arguments.length,v=new Array(f>1?f-1:0),p=1;p4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((b,x)=>us(b,t&&(ne(t)?t[x]:t),r,i,a));return}if(!(is(i)&&!a)){var n=i.shapeFlag&4?hs(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:l}=e,u=t&&t.r,f=s.refs===xe?s.refs={}:s.refs,v=s.setupState;if(u!=null&&u!==l&&(ye(u)?(f[u]=null,re(v,u)&&(v[u]=null)):Ve(u)&&(u.value=null)),oe(l))Yt(l,s,12,[o,f]);else{var p=ye(l),d=Ve(l);if(p||d){var _=()=>{if(e.f){var b=p?f[l]:l.value;a?ne(b)&&yo(b,n):ne(b)?b.includes(n)||b.push(n):p?f[l]=[n]:(l.value=[n],e.k&&(f[e.k]=l.value))}else p?(f[l]=o,re(v,l)&&(v[l]=o)):Ve(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(_.id=-1,qe(_,r)):_()}}}}var qe=Cm;function Xm(e){return Zm(e)}function Zm(e,t){var r=Op();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:v,nextSibling:p,setScopeId:d=pt,cloneNode:_,insertStaticContent:b}=e,x=function(S,C,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,$=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!C.dynamicChildren;if(S!==C){S&&!Ci(S,C)&&(L=nt(S),K(S,P,F,!0),S=null),C.patchFlag===-2&&(z=!1,C.dynamicChildren=null);var{type:D,ref:J,shapeFlag:Z}=C;switch(D){case fs:m(S,C,k,L);break;case Ur:g(S,C,k,L);break;case cs:S==null&&c(C,k,L,j);break;case wt:ue(S,C,k,L,P,F,j,$,z);break;default:Z&1?y(S,C,k,L,P,F,j,$,z):Z&6?M(S,C,k,L,P,F,j,$,z):(Z&64||Z&128)&&D.process(S,C,k,L,P,F,j,$,z,Ne)}J!=null&&P&&us(J,S&&S.ref,F,C||S,!C)}},m=(S,C,k,L)=>{if(S==null)i(C.el=s(C.children),k,L);else{var P=C.el=S.el;C.children!==S.children&&u(P,C.children)}},g=(S,C,k,L)=>{S==null?i(C.el=l(C.children||""),k,L):C.el=S.el},c=(S,C,k,L)=>{[S.el,S.anchor]=b(S.children,C,k,L)},h=(S,C,k)=>{for(var{el:L,anchor:P}=S,F;L&&L!==P;)F=p(L),i(L,C,k),L=F;i(P,C,k)},w=S=>{for(var{el:C,anchor:k}=S,L;C&&C!==k;)L=p(C),a(C),C=L;a(k)},y=(S,C,k,L,P,F,j,$,z)=>{j=j||C.type==="svg",S==null?T(C,k,L,P,F,j,$,z):N(S,C,P,F,j,$,z)},T=(S,C,k,L,P,F,j,$)=>{var z,D,{type:J,props:Z,shapeFlag:X,transition:ce,patchFlag:Be,dirs:Te}=S;if(S.el&&_!==void 0&&Be===-1)z=S.el=_(S.el);else{if(z=S.el=o(S.type,F,Z&&Z.is,Z),X&8?f(z,S.children):X&16&&O(S.children,z,null,L,P,F&&J!=="foreignObject",j,$),Te&&dr(S,null,L,"created"),Z){for(var A in Z)A!=="value"&&!Aa(A)&&n(z,A,null,Z[A],F,S.children,L,P,ke);"value"in Z&&n(z,"value",null,Z.value),(D=Z.onVnodeBeforeMount)&&yt(D,L,S)}E(z,S,S.scopeId,j,L)}Object.defineProperty(z,"__vueParentComponent",{value:L,enumerable:!1}),Te&&dr(S,null,L,"beforeMount");var Y=(!P||P&&!P.pendingBranch)&&ce&&!ce.persisted;Y&&ce.beforeEnter(z),i(z,C,k),((D=Z&&Z.onVnodeMounted)||Y||Te)&&qe(()=>{D&&yt(D,L,S),Y&&ce.enter(z),Te&&dr(S,null,L,"mounted")},P)},E=(S,C,k,L,P)=>{if(k&&d(S,k),L)for(var F=0;F8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var $=C.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:J}=C;z|=S.patchFlag&16;var Z=S.props||xe,X=C.props||xe,ce;k&&hr(k,!1),(ce=X.onVnodeBeforeUpdate)&&yt(ce,k,C,S),J&&dr(C,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=P&&C.type!=="foreignObject";if(D?R(S.dynamicChildren,D,$,k,L,Be,F):j||G(S,C,$,null,k,L,Be,F,!1),z>0){if(z&16)V($,C,Z,X,k,L,P);else if(z&2&&Z.class!==X.class&&n($,"class",null,X.class,P),z&4&&n($,"style",Z.style,X.style,P),z&8)for(var Te=C.dynamicProps,A=0;A{ce&&yt(ce,k,C,S),J&&dr(C,S,k,"updated")},L)},R=(S,C,k,L,P,F,j)=>{for(var $=0;${if(k!==L){for(var $ in L)if(!Aa($)){var z=L[$],D=k[$];z!==D&&$!=="value"&&n(S,$,D,z,j,C.children,P,F,ke)}if(k!==xe)for(var J in k)!Aa(J)&&!(J in L)&&n(S,J,k[J],null,j,C.children,P,F,ke);"value"in L&&n(S,"value",k.value,L.value)}},ue=(S,C,k,L,P,F,j,$,z)=>{var D=C.el=S?S.el:s(""),J=C.anchor=S?S.anchor:s(""),{patchFlag:Z,dynamicChildren:X,slotScopeIds:ce}=C;ce&&($=$?$.concat(ce):ce),S==null?(i(D,k,L),i(J,k,L),O(C.children,k,J,P,F,j,$,z)):Z>0&&Z&64&&X&&S.dynamicChildren?(R(S.dynamicChildren,X,k,P,F,j,$),(C.key!=null||P&&C===P.subTree)&&$f(S,C,!0)):G(S,C,k,J,P,F,j,$,z)},M=(S,C,k,L,P,F,j,$,z)=>{C.slotScopeIds=$,S==null?C.shapeFlag&512?P.ctx.activate(C,k,L,j,z):B(C,k,L,P,F,j,z):Q(S,C,z)},B=(S,C,k,L,P,F,j)=>{var $=S.component=o_(S,L,P);if(xf(S)&&($.ctx.renderer=Ne),s_($),$.asyncDep){if(P&&P.registerDep($,te),!S.el){var z=$.subTree=I(Ur);g(null,z,C,k)}return}te($,S,C,k,P,F,j)},Q=(S,C,k)=>{var L=C.component=S.component;if(Sm(S,C,k))if(L.asyncDep&&!L.asyncResolved){W(L,C,k);return}else L.next=C,h_(L.update),L.update();else C.component=S.component,C.el=S.el,L.vnode=C},te=(S,C,k,L,P,F,j)=>{var $=()=>{if(S.isMounted){var{next:fe,bu:$e,u:Ze,parent:De,vnode:gt}=S,or=fe,kt;hr(S,!1),fe?(fe.el=gt.el,W(S,fe,j)):fe=gt,$e&&Oo($e),(kt=fe.props&&fe.props.onVnodeBeforeUpdate)&&yt(kt,De,fe,gt),hr(S,!0);var Rr=rs(S),$t=S.subTree;S.subTree=Rr,x($t,Rr,v($t.el),nt($t),S,P,F),fe.el=Rr.el,or===null&&Em(S,Rr.el),Ze&&qe(Ze,P),(kt=fe.props&&fe.props.onVnodeUpdated)&&qe(()=>yt(kt,De,fe,gt),P)}else{var J,{el:Z,props:X}=C,{bm:ce,m:Be,parent:Te}=S,A=is(C);if(hr(S,!1),ce&&Oo(ce),!A&&(J=X&&X.onVnodeBeforeMount)&&yt(J,Te,C),hr(S,!0),Z&&ua){var Y=()=>{S.subTree=rs(S),ua(Z,S.subTree,S,P,null)};A?C.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var q=S.subTree=rs(S);x(null,q,k,L,S,P,F),C.el=q.el}if(Be&&qe(Be,P),!A&&(J=X&&X.onVnodeMounted)){var he=C;qe(()=>yt(J,Te,he),P)}C.shapeFlag&256&&S.a&&qe(S.a,P),S.isMounted=!0,C=k=L=null}},z=S.effect=new jo($,()=>Xf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},W=(S,C,k)=>{C.component=S;var L=S.vnode.props;S.vnode=C,S.next=null,Hm(S,C.props,L,k),jm(S,C.children,k),Fr(),_s(void 0,S.update),cr()},G=function(S,C,k,L,P,F,j,$){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,J=S?S.shapeFlag:0,Z=C.children,{patchFlag:X,shapeFlag:ce}=C;if(X>0){if(X&128){Se(D,Z,k,L,P,F,j,$,z);return}else if(X&256){ae(D,Z,k,L,P,F,j,$,z);return}}ce&8?(J&16&&ke(D,P,F),Z!==D&&f(k,Z)):J&16?ce&16?Se(D,Z,k,L,P,F,j,$,z):ke(D,P,F,!0):(J&8&&f(k,""),ce&16&&O(Z,k,L,P,F,j,$,z))},ae=(S,C,k,L,P,F,j,$,z)=>{S=S||vi,C=C||vi;var D=S.length,J=C.length,Z=Math.min(D,J),X;for(X=0;XJ?ke(S,P,F,!0,!1,Z):O(C,k,L,P,F,j,$,z,Z)},Se=(S,C,k,L,P,F,j,$,z)=>{for(var D=0,J=C.length,Z=S.length-1,X=J-1;D<=Z&&D<=X;){var ce=S[D],Be=C[D]=z?jt(C[D]):xt(C[D]);if(Ci(ce,Be))x(ce,Be,k,null,P,F,j,$,z);else break;D++}for(;D<=Z&&D<=X;){var Te=S[Z],A=C[X]=z?jt(C[X]):xt(C[X]);if(Ci(Te,A))x(Te,A,k,null,P,F,j,$,z);else break;Z--,X--}if(D>Z){if(D<=X)for(var Y=X+1,q=YX)for(;D<=Z;)K(S[D],P,F,!0),D++;else{var he=D,fe=D,$e=new Map;for(D=fe;D<=X;D++){var Ze=C[D]=z?jt(C[D]):xt(C[D]);Ze.key!=null&&$e.set(Ze.key,D)}var De,gt=0,or=X-fe+1,kt=!1,Rr=0,$t=new Array(or);for(D=0;D=or){K(ui,P,F,!0);continue}var Lr=void 0;if(ui.key!=null)Lr=$e.get(ui.key);else for(De=fe;De<=X;De++)if($t[De-fe]===0&&Ci(ui,C[De])){Lr=De;break}Lr===void 0?K(ui,P,F,!0):($t[Lr-fe]=D+1,Lr>=Rr?Rr=Lr:kt=!0,x(ui,C[Lr],k,null,P,F,j,$,z),gt++)}var Nh=kt?Km($t):vi;for(De=Nh.length-1,D=or-1;D>=0;D--){var Bl=fe+D,Dh=C[Bl],Bh=Bl+14&&arguments[4]!==void 0?arguments[4]:null,{el:F,type:j,transition:$,children:z,shapeFlag:D}=S;if(D&6){se(S.component.subTree,C,k,L);return}if(D&128){S.suspense.move(C,k,L);return}if(D&64){j.move(S,C,k,Ne);return}if(j===wt){i(F,C,k);for(var J=0;J$.enter(F),P);else{var{leave:X,delayLeave:ce,afterLeave:Be}=$,Te=()=>i(F,C,k),A=()=>{X(F,()=>{Te(),Be&&Be()})};ce?ce(F,Te,A):A()}else i(F,C,k)},K=function(S,C,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:F,props:j,ref:$,children:z,dynamicChildren:D,shapeFlag:J,patchFlag:Z,dirs:X}=S;if($!=null&&us($,null,k,S,!0),J&256){C.ctx.deactivate(S);return}var ce=J&1&&X,Be=!is(S),Te;if(Be&&(Te=j&&j.onVnodeBeforeUnmount)&&yt(Te,C,S),J&6)Ie(S.component,k,L);else{if(J&128){S.suspense.unmount(k,L);return}ce&&dr(S,null,C,"beforeUnmount"),J&64?S.type.remove(S,C,k,P,Ne,L):D&&(F!==wt||Z>0&&Z&64)?ke(D,C,k,!1,!0):(F===wt&&Z&(128|256)||!P&&J&16)&&ke(z,C,k),L&&ie(S)}(Be&&(Te=j&&j.onVnodeUnmounted)||ce)&&qe(()=>{Te&&yt(Te,C,S),ce&&dr(S,null,C,"unmounted")},k)},ie=S=>{var{type:C,el:k,anchor:L,transition:P}=S;if(C===wt){le(k,L);return}if(C===cs){w(S);return}var F=()=>{a(k),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(S.shapeFlag&1&&P&&!P.persisted){var{leave:j,delayLeave:$}=P,z=()=>j(k,F);$?$(S.el,F,z):z()}else F()},le=(S,C)=>{for(var k;S!==C;)k=p(S),a(S),S=k;a(C)},Ie=(S,C,k)=>{var{bum:L,scope:P,update:F,subTree:j,um:$}=S;L&&Oo(L),P.stop(),F&&(F.active=!1,K(j,S,C,k)),$&&qe($,C),qe(()=>{S.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},ke=function(S,C,k){for(var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=F;jS.shapeFlag&6?nt(S.component.subTree):S.shapeFlag&128?S.suspense.next():p(S.anchor||S.el),nr=(S,C,k)=>{if(S==null)C._vnode&&K(C._vnode,null,null,!0);else{var L=C.__vueParent;x(C._vnode||null,S,C,null,L,null,k)}C._vnode=S},Ne={p:x,um:K,m:se,r:ie,mt:B,mc:O,pc:G,pbc:R,n:nt,o:e},la,ua;return t&&([la,ua]=t(Ne)),{render:nr,hydrate:la,createApp:qm(nr,la)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function $f(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var Gm=e=>e.__isTeleport,Jm=Symbol(),wt=Symbol(void 0),fs=Symbol(void 0),Ur=Symbol(void 0),cs=Symbol(void 0),Ff=null,zf=1;function Uf(e){zf+=e}function Ka(e){return e?e.__v_isVNode===!0:!1}function Ci(e,t){return e.type===t.type&&e.key===t.key}var Ga="__vInternal",Hf=e=>{var{key:t}=e;return t!=null?t:null},Ja=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?ye(t)||Ve(t)||oe(t)?{i:ft,r:t,k:r,f:!!i}:t:null};function Qm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===wt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hf(t),ref:t&&Ja(t),scopeId:bf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(vs(l,r),n&128&&e.normalize(l)):r&&(l.shapeFlag|=ye(r)?8:16),zf>0&&!o&&Ff&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Ff.push(l),l}var I=e_;function e_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===Jm)&&(e=Ur),Ka(e)){var o=Oi(e,t,!0);return r&&vs(o,r),o}if(c_(e)&&(e=e.__vccOpts),t){t=t_(t);var{class:s,style:l}=t;s&&!ye(s)&&(t.class=wo(s)),He(l)&&(df(l)&&!ne(l)&&(l=ve({},l)),t.style=bo(l))}var u=ye(e)?1:Tm(e)?128:Gm(e)?64:He(e)?4:oe(e)?2:0;return Qm(e,t,r,i,a,u,n,!0)}function t_(e){return e?df(e)||Ga in e?ve({},e):e:null}function Oi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?Qe(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Hf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(Ja(t)):[a,Ja(t)]:Ja(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oi(e.ssContent),ssFallback:e.ssFallback&&Oi(e.ssFallback),el:e.el,anchor:e.anchor};return l}function r_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(fs,null,e,t)}function xt(e){return e==null||typeof e=="boolean"?I(Ur):ne(e)?I(wt,null,e.slice()):typeof e=="object"?jt(e):I(fs,null,String(e))}function jt(e){return e.el===null||e.memo?e:Oi(e)}function vs(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&(1|64)){var a=t.default;a&&(a._c&&(a._d=!1),vs(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(Ga in t)?t._ctx=ft:n===3&&ft&&(ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:ft},r=32):(t=String(t),i&64?(r=16,t=[r_(t)]):r=8);e.children=t,e.shapeFlag|=r}function Qe(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;ct(e,t,7,[r,i])}var ds=e=>e?Wf(e)?hs(e)||e.proxy:ds(e.parent):null,Qa=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ds(e.parent),$root:e=>ds(e.root),$emit:e=>e.emit,$options:e=>Cf(e),$forceUpdate:e=>()=>Xf(e.update),$nextTick:e=>jr.bind(e.proxy),$watch:e=>__.bind(e)}),i_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:l,appContext:u}=r,f;if(t[0]!=="$"){var v=s[t];if(v!==void 0)switch(v){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==xe&&re(a,t))return s[t]=1,a[t];if(n!==xe&&re(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&re(f,t))return s[t]=3,o[t];if(i!==xe&&re(i,t))return s[t]=4,i[t];ns&&(s[t]=0)}}var p=Qa[t],d,_;if(p)return t==="$attrs"&&Je(r,"get",t),p(r);if((d=l.__cssModules)&&(d=d[t]))return d;if(i!==xe&&re(i,t))return s[t]=4,i[t];if(_=u.config.globalProperties,re(_,t))return _[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;if(n!==xe&&re(n,t))n[t]=r;else if(a!==xe&&re(a,t))a[t]=r;else if(re(i.props,t))return!1;return t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,l;return!!a[t]||r!==xe&&re(r,t)||i!==xe&&re(i,t)||(l=s[0])&&re(l,t)||re(n,t)||re(Qa,t)||re(o.config.globalProperties,t)}},a_=Bf(),n_=0;function o_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||a_,n={uid:n_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new z0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:If(i,a),emitsOptions:_f(i,a),emit:null,emitted:null,propsDefaults:xe,inheritAttrs:i.inheritAttrs,ctx:xe,data:xe,props:xe,attrs:xe,slots:xe,refs:xe,setupState:xe,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=bm.bind(null,n),e.ce&&e.ce(n),n}var ze=null,Lt=()=>ze||ft,Hr=e=>{ze=e,e.scope.on()},gr=()=>{ze&&ze.scope.off(),ze=null};function Wf(e){return e.vnode.shapeFlag&4}var en=!1;function s_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;en=t;var{props:r,children:i}=e.vnode,a=Wf(e);Um(e,r,a,t),Vm(e,i);var n=a?l_(e,t):void 0;return en=!1,n}function l_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Ya(new Proxy(e.ctx,i_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?f_(e):null;Hr(e),Fr();var n=Yt(i,e,0,[e.props,a]);if(cr(),gr(),Tu(n)){if(n.then(gr,gr),t)return n.then(o=>{Vf(e,o,t)}).catch(o=>{tn(o,e,0)});e.asyncDep=n}else Vf(e,n,t)}else Yf(e,t)}function Vf(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=mf(t)),Yf(e,r)}var jf;function Yf(e,t,r){var i=e.type;if(!e.render){if(!t&&jf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=ve(ve({isCustomElement:n,delimiters:s},o),l);i.render=jf(a,u)}}e.render=i.render||pt}Hr(e),Fr(),Dm(e),cr(),gr()}function u_(e){return new Proxy(e.attrs,{get(t,r){return Je(e,"get","$attrs"),t[r]}})}function f_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=u_(e))},slots:e.slots,emit:e.emit,expose:t}}function hs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mf(Ya(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Qa)return Qa[r](e)}}))}function c_(e){return oe(e)&&"__vccOpts"in e}function Yt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){tn(n,t,r)}return a}function ct(e,t,r,i){if(oe(e)){var a=Yt(e,t,r,i);return a&&Tu(a)&&a.catch(s=>{tn(s,t,r)}),a}for(var n=[],o=0;o>>1,a=Mi(et[i]);aPt&&et.splice(t,1)}function Kf(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),Zf()}function g_(e){Kf(e,Ii,Ai,Wr)}function p_(e){Kf(e,qt,ki,Vr)}function _s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ai.length){for(ms=t,Ii=[...new Set(Ai)],Ai.length=0,Wr=0;WrMi(r)-Mi(i)),Vr=0;Vre.id==null?1/0:e.id;function Jf(e){gs=!1,rn=!0,_s(e),et.sort((i,a)=>Mi(i)-Mi(a));var t=pt;try{for(Pt=0;Pt2&&arguments[2]!==void 0?arguments[2]:xe,s=ze,l,u=!1,f=!1;if(Ve(e)?(l=()=>e.value,u=!!e._shallow):zr(e)?(l=()=>e,i=!0):ne(e)?(f=!0,u=e.some(zr),l=()=>e.map(g=>{if(Ve(g))return g.value;if(zr(g))return pr(g);if(oe(g))return Yt(g,s,2)})):oe(e)?t?l=()=>Yt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return p&&p(),ct(e,s,3,[d])}:l=pt,t&&i){var v=l;l=()=>pr(v())}var p,d=g=>{p=m.onStop=()=>{Yt(g,s,4)}};if(en)return d=pt,t?r&&ct(t,s,3,[l(),f?[]:void 0,d]):l(),pt;var _=f?[]:Qf,b=()=>{if(!!m.active)if(t){var g=m.run();(i||u||(f?g.some((c,h)=>gi(c,_[h])):gi(g,_)))&&(p&&p(),ct(t,s,3,[g,_===Qf?void 0:_,d]),_=g)}else m.run()};b.allowRecurse=!!t;var x;a==="sync"?x=b:a==="post"?x=()=>qe(b,s&&s.suspense):x=()=>{!s||s.isMounted?g_(b):b()};var m=new jo(l,x);return t?r?b():_=m.run():a==="post"?qe(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&yo(s.scope.effects,m)}}function __(e,t,r){var i=this.proxy,a=ye(e)?e.includes(".")?ec(i,e):()=>i[e]:e.bind(i,i),n;oe(t)?n=t:(n=t.handler,r=t);var o=ze;Hr(this);var s=bs(a,n.bind(i),r);return o?Hr(o):gr(),s}function ec(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{pr(a,t)});else if(mt(e))for(var i in e)pr(e[i],t);return e}function b_(e,t,r){var i=arguments.length;return i===2?He(t)&&!ne(t)?Ka(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Ka(r)&&(r=[r]),I(e,t,r))}var w_="3.2.26",x_="http://www.w3.org/2000/svg",Yr=typeof document!="undefined"?document:null,tc=new Map,y_={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var a=t?Yr.createElementNS(x_,e):Yr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>Yr.createTextNode(e),createComment:e=>Yr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i){var a=r?r.previousSibling:t.lastChild,n=tc.get(e);if(!n){var o=Yr.createElement("template");if(o.innerHTML=i?"".concat(e,""):e,n=o.content,i){for(var s=n.firstChild;s.firstChild;)n.appendChild(s.firstChild);n.removeChild(s)}tc.set(e,n)}return t.insertBefore(n.cloneNode(!0),r),[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function S_(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function E_(e,t,r){var i=e.style,a=ye(r);if(r&&!a){for(var n in r)ws(i,n,r[n]);if(t&&!ye(t))for(var o in t)r[o]==null&&ws(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var rc=/\s*!important$/;function ws(e,t,r){if(ne(r))r.forEach(a=>ws(e,t,a));else if(r=O_(r),t.startsWith("--"))e.setProperty(t,r);else{var i=T_(e,t);rc.test(r)?e.setProperty(Ke(i),r.replace(rc,""),"important"):e[i]=r}}var ic=["Webkit","Moz","ms"],xs={};function T_(e,t){var r=xs[t];if(r)return r;var i=zt(t);if(i!=="filter"&&i in e)return xs[t]=i;i=ka(i);for(var a=0;atypeof rpx2px!="function"?e:ye(e)?e.replace(C_,(t,r)=>rpx2px(r)+"px"):e,ac="http://www.w3.org/1999/xlink";function A_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ac,t.slice(6,t.length)):e.setAttributeNS(ac,t,r);else{var n=hp(t);r==null||n&&!Su(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function I_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var l=typeof e[t];if(l==="boolean"){e[t]=Su(r);return}else if(r==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch(u){}e.removeAttribute(t);return}}try{e[t]=r}catch(u){}}var an=Date.now,nc=!1;if(typeof window!="undefined"){an()>document.createEvent("Event").timeStamp&&(an=()=>performance.now());var oc=navigator.userAgent.match(/firefox\/(\d+)/i);nc=!!(oc&&Number(oc[1])<=53)}var ys=0,k_=Promise.resolve(),M_=()=>{ys=0},R_=()=>ys||(k_.then(M_),ys=an());function L_(e,t,r,i){e.addEventListener(t,r,i)}function P_(e,t,r,i){e.removeEventListener(t,r,i)}function N_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,l]=D_(t);if(i){var u=n[t]=B_(i,a);L_(e,s,u,l)}else o&&(P_(e,s,o,l),n[t]=void 0)}}var sc=/(?:Once|Passive|Capture)$/;function D_(e){var t;if(sc.test(e)){t={};for(var r;r=e.match(sc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ke(e.slice(2)),t]}function B_(e,t){var r=i=>{var a=i.timeStamp||an();(nc||a>=r.attached-1)&&ct($_(i,r.value),t,5,[i])};return r.value=e,r.attached=R_(),r}function $_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i(a))}else return t}var lc=/^on[a-z]/,F_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?S_(e,i,a):t==="style"?E_(e,r,i):Oa(t)?xo(t)||N_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):z_(e,t,i,a))?I_(e,t,i,n,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),A_(e,t,i,a))};function z_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&lc.test(t)&&oe(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||lc.test(t)&&ye(r)?!1:t in e}var U_=["ctrl","shift","alt","meta"],H_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>U_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},Ss=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Li(e,!1)}):Li(e,i))},beforeUnmount(e,t){var{value:r}=t;Li(e,r)}};function Li(e,t){e.style.display=t?e._vod:"none"}var W_=ve({patchProp:F_},y_),uc;function V_(){return uc||(uc=Xm(W_))}var fc=function(){var e=V_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=j_(r);if(!!i){var a=e._component;!oe(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function j_(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var cc=["top","left","right","bottom"],Es,nn={},ot;function Ts(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function vc(){if(ot=typeof ot=="string"?ot:Ts(),!ot){cc.forEach(function(s){nn[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(f){var v=l[f];u[f]=v})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,l){var u=document.createElement("div"),f=document.createElement("div"),v=document.createElement("div"),p=document.createElement("div"),d=100,_=1e4,b={position:"absolute",width:d+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+l+")"};e(u,b),e(f,b),e(v,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(p,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(v),f.appendChild(p),s.appendChild(u),s.appendChild(f),r(function(){u.scrollTop=f.scrollTop=_;var m=u.scrollTop,g=f.scrollTop;function c(){this.scrollTop!==(this===u?m:g)&&(u.scrollTop=f.scrollTop=_,m=u.scrollTop,g=f.scrollTop,Y_(l))}u.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var x=getComputedStyle(u);Object.defineProperty(nn,l,{configurable:!0,get:function(){return parseFloat(x.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),cc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),Es=!0}function on(e){return Es||vc(),nn[e]}var sn=[];function Y_(e){sn.length||setTimeout(function(){var t={};sn.forEach(function(r){t[r]=nn[r]}),sn.length=0,ln.forEach(function(r){r(t)})},0),sn.push(e)}var ln=[];function q_(e){!Ts()||(Es||vc(),typeof e=="function"&&ln.push(e))}function X_(e){var t=ln.indexOf(e);t>=0&&ln.splice(t,1)}var Z_={get support(){return(typeof ot=="string"?ot:Ts()).length!=0},get top(){return on("top")},get left(){return on("left")},get right(){return on("right")},get bottom(){return on("bottom")},onChange:q_,offChange:X_},un=Z_,dc=Ss(()=>{},["prevent"]);function Cs(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+un.top:0}function K_(){var e=document.documentElement.style,t=Cs(),r=parseInt(e.getPropertyValue("--window-bottom")),i=parseInt(e.getPropertyValue("--window-left")),a=parseInt(e.getPropertyValue("--window-right"));return{top:t,bottom:r?r+un.bottom:0,left:i?i+un.left:0,right:a?a+un.right:0}}function G_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function fn(e){return Symbol(e)}function hc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function mr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return J_(e);if(typeof e=="string"){var r=parseInt(e)||0;return hc(e)?uni.upx2px(r):r}return e}function J_(e){return hc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var Q_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",eb="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",tb="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",rb="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",ib="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",cn="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ab="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",nb="M15.84 0.096q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",ob="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function vn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function dn(){return Xt()}function sb(){return window.__PAGE_INFO__}function Xt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function lb(e){e.preventDefault()}var gc,pc=0;function ub(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:u}=document.documentElement,f=window.innerHeight,v=window.scrollY,p=v>0&&u>f&&v+f+i>=u,d=Math.abs(u-pc)>i;return p&&(!n||d)?(pc=u,n=!0,!0):(!p&&n&&(n=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(u()||(gc=setTimeout(u,300))),a=!1};return function(){clearTimeout(gc),a||requestAnimationFrame(l),a=!0}}function Os(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Os(e,t.substr(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Do(n.concat(r).join("/"))}class fb{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=mc(this.$el.querySelector(t));if(!!r)return As(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];oe(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Pp,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function As(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new fb(e)),e.$el.__wxsComponentDescriptor}function hn(e,t){return As(e)}function mc(e){if(!!e)return Pi(e)}function Pi(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var cb=e=>e.type==="click";function _c(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];if(i.tagName.indexOf("UNI-")!==0)return[e];var a=bc(e);if(cb(e))db(a,e);else if(e instanceof TouchEvent){var n=Cs();a.touches=wc(e.touches,n),a.changedTouches=wc(e.changedTouches,n)}return[a]}function vb(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function bc(e){var{type:t,timeStamp:r,target:i,currentTarget:a}=e,n={type:t,timeStamp:r,target:Mo(vb(i)),detail:{},currentTarget:Mo(a)};return e._stopped&&(n._stopped=!0),e.type.startsWith("touch")&&(n.touches=e.touches,n.changedTouches=e.changedTouches),n}function db(e,t){var{x:r,y:i}=t,a=Cs();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[hb(t)]}function hb(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function wc(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Xt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},gb)}function yb(e,t){var r=e[0];if(!(!t||!mt(t.formatArgs)&&mt(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Cb(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ob=0;function Ab(e,t,r){var i="".concat(Date.now()).concat(Ob++),a=new plus.nativeObj.Bitmap("bitmap".concat(i));a.loadBase64Data(e,function(){var o=e.match(/data:image\/(\S+?);/)||[null,"png"],s;o[1]&&(s=o[1].replace("jpeg","jpg"));var l="".concat(t,"/").concat(i,".").concat(s);a.save(l,{overwrite:!0,quality:100,format:s},function(){n(),r(null,l)},function(u){n(),r(u)})},function(o){n(),r(o)});function n(){a.clear()}}var Nt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(n[l]=s[l])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,l,u){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+l),u);return}for(var f=0;f=0;)e[t]=0}var Rb=0,Ac=1,Lb=2,Pb=3,Nb=258,Is=29,Di=256,Bi=Di+1+Is,Zr=30,ks=19,Ic=2*Bi+1,_r=15,Ms=16,Db=7,Rs=256,kc=16,Mc=17,Rc=18,Ls=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],gn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Bb=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Lc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],$b=512,Dt=new Array((Bi+2)*2);Xr(Dt);var $i=new Array(Zr*2);Xr($i);var Fi=new Array($b);Xr(Fi);var zi=new Array(Nb-Pb+1);Xr(zi);var Ps=new Array(Is);Xr(Ps);var pn=new Array(Zr);Xr(pn);function Ns(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Pc,Nc,Dc;function Ds(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Bc(e){return e<256?Fi[e]:Fi[256+(e>>>7)]}function Ui(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Xe(e,t,r){e.bi_valid>Ms-r?(e.bi_buf|=t<>Ms-e.bi_valid,e.bi_valid+=r-Ms):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Fb(e){e.bi_valid===16?(Ui(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function zb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,u,f,v,p,d,_,b=0;for(p=0;p<=_r;p++)e.bl_count[p]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(p=l,b++),r[f*2+1]=p,!(f>i)&&(e.bl_count[p]++,d=0,f>=s&&(d=o[f-s]),_=r[f*2],e.opt_len+=_*(p+d),n&&(e.static_len+=_*(a[f*2+1]+d)));if(b!==0){do{for(p=l-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[l]--,b-=2}while(b>0);for(p=l;p!==0;p--)for(f=e.bl_count[p];f!==0;)v=e.heap[--u],!(v>i)&&(r[v*2+1]!==p&&(e.opt_len+=(p-r[v*2+1])*r[v*2],r[v*2+1]=p),f--)}}function Fc(e,t,r){var i=new Array(_r+1),a=0,n,o;for(n=1;n<=_r;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=$c(i[s]++,s))}}function Ub(){var e,t,r,i,a,n=new Array(_r+1);for(r=0,i=0;i>=7;i8?Ui(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Hb(e,t,r,i){Uc(e),i&&(Ui(e,r),Ui(e,~r)),Ib.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function Hc(e,t,r,i){var a=t*2,n=r*2;return e[a]>1;o>=1;o--)Bs(e,r,o);u=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Bs(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[u*2]=r[o*2]+r[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=u,e.heap[1]=u++,Bs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],zb(e,t),Fc(r,l,e.bl_count)}function Vc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[Lc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Vb(e,t,r,i){var a;for(Xe(e,t-257,5),Xe(e,r-1,5),Xe(e,i-4,4),a=0;a>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Cc;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Oc;for(r=32;r0?(e.strm.data_type===Mb&&(e.strm.data_type=jb(e)),$s(e,e.l_desc),$s(e,e.d_desc),o=Wb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?qc(e,t,r,i):e.strategy===kb||n===a?(Xe(e,(Ac<<1)+(i?1:0),3),Wc(e,Dt,$i)):(Xe(e,(Lb<<1)+(i?1:0),3),Vb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Wc(e,e.dyn_ltree,e.dyn_dtree)),zc(e),i&&Uc(e)}function Zb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(zi[r]+Di+1)*2]++,e.dyn_dtree[Bc(t)*2]++),e.last_lit===e.lit_bufsize-1}qr._tr_init=Yb,qr._tr_stored_block=qc,qr._tr_flush_block=Xb,qr._tr_tally=Zb,qr._tr_align=qb;function Kb(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var Xc=Kb;function Gb(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var Jb=Gb();function Qb(e,t,r,i){var a=Jb,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Zc=Qb,Fs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Ye=Nt,st=qr,Kc=Xc,Zt=Zc,ew=Fs,br=0,tw=1,rw=3,Kt=4,Gc=5,Tt=0,Jc=1,lt=-2,iw=-3,zs=-5,aw=-1,nw=1,mn=2,ow=3,sw=4,lw=0,uw=2,_n=8,fw=9,cw=15,vw=8,dw=29,hw=256,Us=hw+1+dw,gw=30,pw=19,mw=2*Us+1,_w=15,de=3,Gt=258,dt=Gt+de+1,bw=32,bn=42,Hs=69,wn=73,xn=91,yn=103,wr=113,Hi=666,Le=1,Wi=2,xr=3,Kr=4,ww=3;function Jt(e,t){return e.msg=ew[t],t}function Qc(e){return(e<<1)-(e>4?9:0)}function Qt(e){for(var t=e.length;--t>=0;)e[t]=0}function er(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(Ye.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function Ue(e,t){st._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,er(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function Vi(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function xw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,Ye.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=Kc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Zt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function ev(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-dt?e.strstart-(e.w_size-dt):0,u=e.window,f=e.w_mask,v=e.prev,p=e.strstart+Gt,d=u[i+o-1],_=u[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==_||u[a+o-1]!==d||u[a]!==u[i]||u[++a]!==u[i+1])){i+=2,a++;do;while(u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&io){if(e.match_start=t,o=n,n>=s)break;d=u[i+o-1],_=u[i+o]}}while((t=v[t&f])>l&&--r!=0);return o<=e.lookahead?o:e.lookahead}function yr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-dt)){Ye.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=xw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=de)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===br)return Le;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Ue(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-dt&&(Ue(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Kt?(Ue(e,!0),e.strm.avail_out===0?xr:Kr):(e.strstart>e.block_start&&(Ue(e,!1),e.strm.avail_out===0),Le)}function Ws(e,t){for(var r,i;;){if(e.lookahead=de&&(e.ins_h=(e.ins_h<=de)if(i=st._tr_tally(e,e.strstart-e.match_start,e.match_length-de),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=de){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=de&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=de-1)),e.prev_length>=de&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-de,i=st._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-de),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=de&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+Gt;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=de?(r=st._tr_tally(e,1,e.match_length-de),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Ue(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Kt?(Ue(e,!0),e.strm.avail_out===0?xr:Kr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Le:Wi}function Ew(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===br)return Le;break}if(e.match_length=0,r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Ue(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Kt?(Ue(e,!0),e.strm.avail_out===0?xr:Kr):e.last_lit&&(Ue(e,!1),e.strm.avail_out===0)?Le:Wi}function Ct(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var Jr;Jr=[new Ct(0,0,0,0,yw),new Ct(4,4,8,4,Ws),new Ct(4,5,16,8,Ws),new Ct(4,6,32,32,Ws),new Ct(4,4,16,16,Gr),new Ct(8,16,32,32,Gr),new Ct(8,16,128,128,Gr),new Ct(8,32,128,256,Gr),new Ct(32,128,258,1024,Gr),new Ct(32,258,258,4096,Gr)];function Tw(e){e.window_size=2*e.w_size,Qt(e.head),e.max_lazy_match=Jr[e.level].max_lazy,e.good_match=Jr[e.level].good_length,e.nice_match=Jr[e.level].nice_length,e.max_chain_length=Jr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=de-1,e.match_available=0,e.ins_h=0}function Cw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_n,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Ye.Buf16(mw*2),this.dyn_dtree=new Ye.Buf16((2*gw+1)*2),this.bl_tree=new Ye.Buf16((2*pw+1)*2),Qt(this.dyn_ltree),Qt(this.dyn_dtree),Qt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ye.Buf16(_w+1),this.heap=new Ye.Buf16(2*Us+1),Qt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ye.Buf16(2*Us+1),Qt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function tv(e){var t;return!e||!e.state?Jt(e,lt):(e.total_in=e.total_out=0,e.data_type=uw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?bn:wr,e.adler=t.wrap===2?0:1,t.last_flush=br,st._tr_init(t),Tt)}function rv(e){var t=tv(e);return t===Tt&&Tw(e.state),t}function Ow(e,t){return!e||!e.state||e.state.wrap!==2?lt:(e.state.gzhead=t,Tt)}function iv(e,t,r,i,a,n){if(!e)return lt;var o=1;if(t===aw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>fw||r!==_n||i<8||i>15||t<0||t>9||n<0||n>sw)return Jt(e,lt);i===8&&(i=9);var s=new Cw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Gc||t<0)return e?Jt(e,lt):lt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Hi&&t!==Kt)return Jt(e,e.avail_out===0?zs:lt);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===bn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=mn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Zt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Hs):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=mn||i.level<2?4:0),pe(i,ww),i.status=wr);else{var o=_n+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=mn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=bw),o+=31-o%31,i.status=wr,Vi(i,o),i.strstart!==0&&(Vi(i,e.adler>>>16),Vi(i,e.adler&65535)),e.adler=1}if(i.status===Hs)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),er(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=wn)}else i.status=wn;if(i.status===wn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),er(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),er(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Zt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=yn)}else i.status=yn;if(i.status===yn&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&er(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=wr)):i.status=wr),i.pending!==0){if(er(e),e.avail_out===0)return i.last_flush=-1,Tt}else if(e.avail_in===0&&Qc(t)<=Qc(r)&&t!==Kt)return Jt(e,zs);if(i.status===Hi&&e.avail_in!==0)return Jt(e,zs);if(e.avail_in!==0||i.lookahead!==0||t!==br&&i.status!==Hi){var l=i.strategy===mn?Ew(i,t):i.strategy===ow?Sw(i,t):Jr[i.level].func(i,t);if((l===xr||l===Kr)&&(i.status=Hi),l===Le||l===xr)return e.avail_out===0&&(i.last_flush=-1),Tt;if(l===Wi&&(t===tw?st._tr_align(i):t!==Gc&&(st._tr_stored_block(i,0,0,!1),t===rw&&(Qt(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),er(e),e.avail_out===0))return i.last_flush=-1,Tt}return t!==Kt?Tt:i.wrap<=0?Jc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(Vi(i,e.adler>>>16),Vi(i,e.adler&65535)),er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Tt:Jc)}function kw(e){var t;return!e||!e.state?lt:(t=e.state.status,t!==bn&&t!==Hs&&t!==wn&&t!==xn&&t!==yn&&t!==wr&&t!==Hi?Jt(e,lt):(e.state=null,t===wr?Jt(e,iw):Tt))}function Mw(e,t){var r=t.length,i,a,n,o,s,l,u,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==bn||i.lookahead))return lt;for(o===1&&(e.adler=Kc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(Qt(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new Ye.Buf8(i.w_size),Ye.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,l=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=de;){a=i.strstart,n=i.lookahead-(de-1);do i.ins_h=(i.ins_h<=252?6:tr>=248?5:tr>=240?4:tr>=224?3:tr>=192?2:1;ji[254]=ji[254]=1,Sr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function ov(e,t){if(t<65534&&(e.subarray&&nv||!e.subarray&&av))return String.fromCharCode.apply(null,Sn.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return ov(s,i)},Sr.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)==128;)r--;return r<0||r===0?t:r+ji[e[r]]>t?r:t};function Rw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var sv=Rw,Yi=St,qi=Nt,Vs=Sr,js=Fs,Lw=sv,lv=Object.prototype.toString,Pw=0,Ys=4,Qr=0,uv=1,fv=2,Nw=-1,Dw=0,Bw=8;function Er(e){if(!(this instanceof Er))return new Er(e);this.options=qi.assign({level:Nw,method:Bw,chunkSize:16384,windowBits:15,memLevel:8,strategy:Dw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Lw,this.strm.avail_out=0;var r=Yi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==Qr)throw new Error(js[r]);if(t.header&&Yi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Vs.string2buf(t.dictionary):lv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=Yi.deflateSetDictionary(this.strm,i),r!==Qr)throw new Error(js[r]);this._dict_set=!0}}Er.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?Ys:Pw,typeof e=="string"?r.input=Vs.string2buf(e):lv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new qi.Buf8(i),r.next_out=0,r.avail_out=i),a=Yi.deflate(r,n),a!==uv&&a!==Qr)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===Ys||n===fv))&&(this.options.to==="string"?this.onData(Vs.buf2binstring(qi.shrinkBuf(r.output,r.next_out))):this.onData(qi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==uv);return n===Ys?(a=Yi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Qr):(n===fv&&(this.onEnd(Qr),r.avail_out=0),!0)},Er.prototype.onData=function(e){this.chunks.push(e)},Er.prototype.onEnd=function(e){e===Qr&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=qi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function qs(e,t){var r=new Er(t);if(r.push(e,!0),r.err)throw r.msg||js[r.err];return r.result}function $w(e,t){return t=t||{},t.raw=!0,qs(e,t)}function Fw(e,t){return t=t||{},t.gzip=!0,qs(e,t)}Ni.Deflate=Er,Ni.deflate=qs,Ni.deflateRaw=$w,Ni.gzip=Fw;var Xi={},ht={},En=30,zw=12,Uw=function(t,r){var i,a,n,o,s,l,u,f,v,p,d,_,b,x,m,g,c,h,w,y,T,E,O,N,R;i=t.state,a=t.next_in,N=t.input,n=a+(t.avail_in-5),o=t.next_out,R=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=i.dmax,f=i.wsize,v=i.whave,p=i.wnext,d=i.window,_=i.hold,b=i.bits,x=i.lencode,m=i.distcode,g=(1<>>24,_>>>=w,b-=w,w=h>>>16&255,w===0)R[o++]=h&65535;else if(w&16){y=h&65535,w&=15,w&&(b>>=w,b-=w),b<15&&(_+=N[a++]<>>24,_>>>=w,b-=w,w=h>>>16&255,w&16){if(T=h&65535,w&=15,bu){t.msg="invalid distance too far back",i.mode=En;break e}if(_>>>=w,b-=w,w=o-s,T>w){if(w=T-w,w>v&&i.sane){t.msg="invalid distance too far back",i.mode=En;break e}if(E=0,O=d,p===0){if(E+=f-w,w2;)R[o++]=O[E++],R[o++]=O[E++],R[o++]=O[E++],y-=3;y&&(R[o++]=O[E++],y>1&&(R[o++]=O[E++]))}else{E=o-T;do R[o++]=R[E++],R[o++]=R[E++],R[o++]=R[E++],y-=3;while(y>2);y&&(R[o++]=R[E++],y>1&&(R[o++]=R[E++]))}}else if((w&64)==0){h=m[(h&65535)+(_&(1<>3,a-=y,b-=y<<3,_&=(1<=1&&V[d]===0;d--);if(_>d&&(_=d),d===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(p=1;p0&&(t===hv||d!==1))return-1;for(ue[1]=0,f=1;fvv||t===gv&&g>dv)return 1;for(;;){Q=f-x,s[v]R?(te=M[B+s[v]],W=O[N+s[v]]):(te=32+64,W=0),h=1<>x)+w]=Q<<24|te<<16|W|0;while(w!==0);for(h=1<>=1;if(h!==0?(c&=h-1,c+=h):c=0,v++,--V[f]==0){if(f===d)break;f=r[i+s[v]]}if(f>_&&(c&T)!==y){for(x===0&&(x=_),E+=p,b=f-x,m=1<vv||t===gv&&g>dv)return 1;y=c&T,n[y]=_<<24|b<<16|E-o|0}}return c!==0&&(n[E+c]=f-x<<24|64<<16|0),l.bits=_,0},tt=Nt,Zs=Xc,Ot=Zc,qw=Uw,Zi=Yw,Xw=0,pv=1,mv=2,_v=4,Zw=5,Tn=6,Tr=0,Kw=1,Gw=2,ut=-2,bv=-3,wv=-4,Jw=-5,xv=8,yv=1,Sv=2,Ev=3,Tv=4,Cv=5,Ov=6,Av=7,Iv=8,kv=9,Mv=10,Cn=11,Bt=12,Ks=13,Rv=14,Gs=15,Lv=16,Pv=17,Nv=18,Dv=19,On=20,An=21,Bv=22,$v=23,Fv=24,zv=25,Uv=26,Js=27,Hv=28,Wv=29,Ee=30,Vv=31,Qw=32,e1=852,t1=592,r1=15,i1=r1;function jv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function a1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new tt.Buf16(320),this.work=new tt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Yv(e){var t;return!e||!e.state?ut:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=yv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new tt.Buf32(e1),t.distcode=t.distdyn=new tt.Buf32(t1),t.sane=1,t.back=-1,Tr)}function qv(e){var t;return!e||!e.state?ut:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Yv(e))}function Xv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ut:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,qv(e))}function Zv(e,t){var r,i;return e?(i=new a1,e.state=i,i.window=null,r=Xv(e,t),r!==Tr&&(e.state=null),r):ut}function n1(e){return Zv(e,i1)}var Kv=!0,Qs,el;function o1(e){if(Kv){var t;for(Qs=new tt.Buf32(512),el=new tt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Zi(pv,e.lens,0,288,Qs,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Zi(mv,e.lens,0,32,el,0,e.work,{bits:5}),Kv=!1}e.lencode=Qs,e.lenbits=9,e.distcode=el,e.distbits=5}function Gv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(tt.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),tt.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(tt.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave>>8&255,r.check=Ot(r.check,O,2,0),u=0,f=0,r.mode=Sv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=Ee;break}if((u&15)!==xv){e.msg="unknown compression method",r.mode=Ee;break}if(u>>>=4,f-=4,T=(u&15)+8,r.wbits===0)r.wbits=T;else if(T>r.wbits){e.msg="invalid window size",r.mode=Ee;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=Ot(r.check,O,2,0)),u=0,f=0,r.mode=Ev;case Ev:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,r.check=Ot(r.check,O,4,0)),u=0,f=0,r.mode=Tv;case Tv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>8),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=Ot(r.check,O,2,0)),u=0,f=0,r.mode=Cv;case Cv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>>8&255,r.check=Ot(r.check,O,2,0)),u=0,f=0}else r.head&&(r.head.extra=null);r.mode=Ov;case Ov:if(r.flags&1024&&(d=r.length,d>s&&(d=s),d&&(r.head&&(T=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),tt.arraySet(r.head.extra,i,n,d,T)),r.flags&512&&(r.check=Ot(r.check,i,d,n)),s-=d,n+=d,r.length-=d),r.length))break e;r.length=0,r.mode=Av;case Av:if(r.flags&2048){if(s===0)break e;d=0;do T=i[n+d++],r.head&&T&&r.length<65536&&(r.head.name+=String.fromCharCode(T));while(T&&d>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Bt;break;case Mv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>=f&7,f-=f&7,r.mode=Js;break}for(;f<3;){if(s===0)break e;s--,u+=i[n++]<>>=1,f-=1,u&3){case 0:r.mode=Rv;break;case 1:if(o1(r),r.mode=On,t===Tn){u>>>=2,f-=2;break e}break;case 2:r.mode=Pv;break;case 3:e.msg="invalid block type",r.mode=Ee}u>>>=2,f-=2;break;case Rv:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ee;break}if(r.length=u&65535,u=0,f=0,r.mode=Gs,t===Tn)break e;case Gs:r.mode=Lv;case Lv:if(d=r.length,d){if(d>s&&(d=s),d>l&&(d=l),d===0)break e;tt.arraySet(a,i,n,d,o),s-=d,n+=d,l-=d,o+=d,r.length-=d;break}r.mode=Bt;break;case Pv:for(;f<14;){if(s===0)break e;s--,u+=i[n++]<>>=5,f-=5,r.ndist=(u&31)+1,u>>>=5,f-=5,r.ncode=(u&15)+4,u>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ee;break}r.have=0,r.mode=Nv;case Nv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[V[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},E=Zi(Xw,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,E){e.msg="invalid code lengths set",r.mode=Ee;break}r.have=0,r.mode=Dv;case Dv:for(;r.have>>24,g=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,u+=i[n++]<>>=m,f-=m,r.lens[r.have++]=c;else{if(c===16){for(R=m+2;f>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Ee;break}T=r.lens[r.have-1],d=3+(u&3),u>>>=2,f-=2}else if(c===17){for(R=m+3;f>>=m,f-=m,T=0,d=3+(u&7),u>>>=3,f-=3}else{for(R=m+7;f>>=m,f-=m,T=0,d=11+(u&127),u>>>=7,f-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ee;break}for(;d--;)r.lens[r.have++]=T}}if(r.mode===Ee)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ee;break}if(r.lenbits=9,N={bits:r.lenbits},E=Zi(pv,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,E){e.msg="invalid literal/lengths set",r.mode=Ee;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},E=Zi(mv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,E){e.msg="invalid distances set",r.mode=Ee;break}if(r.mode=On,t===Tn)break e;case On:r.mode=An;case An:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,qw(e,p),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,r.mode===Bt&&(r.back=-1);break}for(r.back=0;x=r.lencode[u&(1<>>24,g=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,u+=i[n++]<>h)],m=x>>>24,g=x>>>16&255,c=x&65535,!(h+m<=f);){if(s===0)break e;s--,u+=i[n++]<>>=h,f-=h,r.back+=h}if(u>>>=m,f-=m,r.back+=m,r.length=c,g===0){r.mode=Uv;break}if(g&32){r.back=-1,r.mode=Bt;break}if(g&64){e.msg="invalid literal/length code",r.mode=Ee;break}r.extra=g&15,r.mode=Bv;case Bv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=$v;case $v:for(;x=r.distcode[u&(1<>>24,g=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,u+=i[n++]<>h)],m=x>>>24,g=x>>>16&255,c=x&65535,!(h+m<=f);){if(s===0)break e;s--,u+=i[n++]<>>=h,f-=h,r.back+=h}if(u>>>=m,f-=m,r.back+=m,g&64){e.msg="invalid distance code",r.mode=Ee;break}r.offset=c,r.extra=g&15,r.mode=Fv;case Fv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ee;break}r.mode=zv;case zv:if(l===0)break e;if(d=p-l,r.offset>d){if(d=r.offset-d,d>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ee;break}d>r.wnext?(d-=r.wnext,_=r.wsize-d):_=r.wnext-d,d>r.length&&(d=r.length),b=r.window}else b=a,_=o-r.offset,d=r.length;d>l&&(d=l),l-=d,r.length-=d;do a[o++]=b[_++];while(--d);r.length===0&&(r.mode=An);break;case Uv:if(l===0)break e;a[o++]=r.length,l--,r.mode=An;break;case Js:if(r.wrap){for(;f<32;){if(s===0)break e;s--,u|=i[n++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d1,this.strm.avail_out=0;var r=ti.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(tl[r]);if(this.header=new h1,ti.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=In.string2buf(t.dictionary):Qv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ti.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(tl[r])}Cr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,l,u,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=In.binstring2buf(e):Qv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Ki.Buf8(i),r.next_out=0,r.avail_out=i),n=ti.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ti.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=In.utf8border(r.output,r.next_out),l=r.next_out-s,u=In.buf2string(r.output,s),r.next_out=l,r.avail_out=i-l,l&&Ki.arraySet(r.output,r.output,s,l,0),this.onData(u)):this.onData(Ki.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ti.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Cr.prototype.onData=function(e){this.chunks.push(e)},Cr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ki.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function rl(e,t){var r=new Cr(t);if(r.push(e,!0),r.err)throw r.msg||tl[r.err];return r.result}function g1(e,t){return t=t||{},t.raw=!0,rl(e,t)}Xi.Inflate=Cr,Xi.inflate=rl,Xi.inflateRaw=g1,Xi.ungzip=rl;var p1=Nt.assign,m1=Ni,_1=Xi,b1=Jv,ed={};p1(ed,m1,_1,b1);var td=ed;function w1(e){return Promise.resolve(e)}var x1="upx2px",y1=1e-4,S1=750,rd=!1,il=0,id=0;function E1(){var{platform:e,pixelRatio:t,windowWidth:r}=Ec();il=r,id=t,rd=e==="ios"}function ad(e,t){var r=Number(e);return isNaN(r)?t:r}var nd=Tb(x1,(e,t)=>{if(il===0&&E1(),e=Number(e),e===0)return 0;var r=t||il;{var i=__uniConfig.globalStyle||{},a=ad(i.rpxCalcMaxDeviceWidth,960),n=ad(i.rpxCalcBaseDeviceWidth,375);r=r<=a?r:n}var o=e/S1*r;return o<0&&(o=-o),o=Math.floor(o+y1),o===0&&(id===1||!rd?o=1:o=.5),e<0?-o:o}),T1=[{name:"id",type:String,required:!0}];T1.concat({name:"componentInstance",type:Object});var od={};od.f={}.propertyIsEnumerable;var C1=fi,O1=co,A1=pa,I1=od.f,k1=function(e){return function(t){for(var r=A1(t),i=O1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!C1||I1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},sd=uo,M1=k1(!1);sd(sd.S,"Object",{values:function(t){return M1(t)}});var R1="setPageMeta",L1="loadFontFace",P1="pageScrollTo",N1=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(h){return null}}var t=function(c){for(var h=c,w=e(h);w;)h=w.ownerDocument,w=e(h);return h}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=_(c.rootBounds),this.boundingClientRect=_(c.boundingClientRect),this.intersectionRect=_(c.intersectionRect||d()),this.isIntersecting=!!c.intersectionRect;var h=this.boundingClientRect,w=h.width*h.height,y=this.intersectionRect,T=y.width*y.height;w?this.intersectionRatio=Number((T/w).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,h){var w=h||{};if(typeof c!="function")throw new Error("callback must be a function");if(w.root&&w.root.nodeType!=1&&w.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(w.rootMargin),this.thresholds=this._initThresholds(w.threshold),this.root=w.root||null,this.rootMargin=this._rootMarginValues.map(function(y){return y.value+y.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,h){!c||!h?a=d():a=b(c,h),r.forEach(function(w){w._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var h=this._observationTargets.some(function(w){return w.element==c});if(!h){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(h){return h.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var h=c||[0];return Array.isArray(h)||(h=[h]),h.sort().filter(function(w,y,T){if(typeof w!="number"||isNaN(w)||w<0||w>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return w!==T[y-1]})},o.prototype._parseRootMargin=function(c){var h=c||"0px",w=h.split(/\s+/).map(function(y){var T=/^(-?\d*\.?\d+)(px|%)$/.exec(y);if(!T)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(T[1]),unit:T[2]}});return w[1]=w[1]||w[0],w[2]=w[2]||w[0],w[3]=w[3]||w[1],w},o.prototype._monitorIntersections=function(c){var h=c.defaultView;if(!!h&&this._monitoringDocuments.indexOf(c)==-1){var w=this._checkForIntersections,y=null,T=null;this.POLL_INTERVAL?y=h.setInterval(w,this.POLL_INTERVAL):(u(h,"resize",w,!0),u(c,"scroll",w,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in h&&(T=new h.MutationObserver(w),T.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var N=c.defaultView;N&&(y&&N.clearInterval(y),f(N,"resize",w,!0)),f(c,"scroll",w,!0),T&&T.disconnect()});var E=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=E){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var h=this._monitoringDocuments.indexOf(c);if(h!=-1){var w=this.root&&(this.root.ownerDocument||this.root)||t,y=this._observationTargets.some(function(O){var N=O.element.ownerDocument;if(N==c)return!0;for(;N&&N!=w;){var R=e(N);if(N=R&&R.ownerDocument,N==c)return!0}return!1});if(!y){var T=this._monitoringUnsubscribes[h];if(this._monitoringDocuments.splice(h,1),this._monitoringUnsubscribes.splice(h,1),T(),c!=w){var E=e(c);E&&this._unmonitorIntersections(E.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var h=0;h=0&&N>=0&&{top:w,bottom:y,left:T,right:E,width:O,height:N}||null}function p(c){var h;try{h=c.getBoundingClientRect()}catch(w){}return h?(h.width&&h.height||(h={top:h.top,right:h.right,bottom:h.bottom,left:h.left,width:h.right-h.left,height:h.bottom-h.top}),h):d()}function d(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function b(c,h){var w=h.top-c.top,y=h.left-c.left;return{top:w,left:y,height:h.height,width:h.width,bottom:w+h.height,right:y+h.width}}function x(c,h){for(var w=h;w;){if(w==c)return!0;w=m(w)}return!1}function m(c){var h=c.parentNode;return c.nodeType==9&&c!=t?e(c):(h&&h.assignedSlot&&(h=h.assignedSlot.parentNode),h&&h.nodeType==11&&h.host?h.host:h)}function g(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function al(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function D1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function B1(e,t,r){N1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:D1(u),intersectionRect:al(u.intersectionRect),boundingClientRect:al(u.boundingClientRect),relativeRect:al(u.rootBounds),time:Date.now(),dataset:ko(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function j1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function Y1(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=q1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function q1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function X1(e,t){return e.priority=t,e}var nl=new Set,Z1=1,ol=2,ld=3,ud=4;function rr(e,t){nl.add(X1(e,t))}function K1(){try{[...nl].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{nl.clear()}}function fd(e,t){var r=window["__"+kp],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var G1=Au.length;function J1(e,t,r){var[i,a,n,o]=ll(t),s=sl(e,i);if(ne(r)||ne(o)){var[l,u]=n.split(".");return ul(s,a,l,u,r||o)}return tx(s,a,n)}function Q1(e,t,r){var[i,a,n]=ll(t),[o,s]=n.split("."),l=sl(e,i);return ul(l,a,o,s,[ix(r,e),hn(Pi(l))])}function sl(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function ll(e){return JSON.parse(e.substr(G1))}function ex(e,t,r,i){var[a,n,o]=ll(e),s=sl(t,a),[l,u]=o.split(".");return ul(s,n,l,u,[r,i,hn(Pi(s)),hn(Pi(t))])}function ul(e,t,r,i,a){var n=fd(t,e);if(!n)return console.error(Io("wxs","module "+r+" not found"));var o=n[i];return oe(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function tx(e,t,r){var i=fd(t,e);return i?Nu(i,r.substr(r.indexOf(".")+1)):console.error(Io("wxs","module "+r+" not found"))}function rx(e,t,r){var i=r;return a=>{try{ex(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function ix(e,t){var r=Pi(t);return Object.defineProperty(e,"instance",{get(){return hn(r)}}),e}function cd(e,t){Object.keys(t).forEach(r=>{nx(e,t[r])})}function ax(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function nx(e,t){var r=ox(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=sx(r)}}function ox(e){var t=window["__"+Mp],r=t&&t[e];return r||console.error(Io("renderjs",e+" not found"))}function sx(e){return e=e.default||e,e.render=()=>{},fc(e).mount(document.createElement("div"))}class ri{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=hT(i);n&&n.appendUniChild(this)}init(t){re(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,a=at(t);r===-1?a.appendChild(i):a.insertBefore(i,at(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Th(this.id),ax(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(No)===0){var i=r.replace(No,""),a=t[i],n=rx(this,t[r],a);rr(()=>n(a),ud),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(No+t);if(a)return rr(()=>i?jr(()=>a(r)):a(r),ud),!0}}function vd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function dd(e,t){var r=e.style;if(ye(t))t===""?e.removeAttribute("style"):r.cssText=mr(t,!0);else for(var i in t)fl(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)fl(r,n,a[n])}var hd=/\s*!important$/;function fl(e,t,r){if(ne(r))r.forEach(a=>fl(e,t,a));else if(r=mr(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=lx(e,t);hd.test(r)?e.setProperty(Ke(i),r.replace(hd,""),"important"):e[i]=r}}var gd=["Webkit"],cl={};function lx(e,t){var r=cl[t];if(r)return r;var i=zt(t);if(i!=="filter"&&i in e)return cl[t]=i;i=ka(i);for(var a=0;a{var[n]=_c(a);n.type=Up(a.type,r),UniViewJSBridge.publishHandler(xc,[[e0,e,n]])};return t?Ss(i,wd(t)):i}function wd(e){var t=[];return e&Lo.prevent&&t.push("prevent"),e&Lo.self&&t.push("self"),e&Lo.stop&&t.push("stop"),t}function ux(e,t,r,i){var[a,n]=Ro(t);i===-1?pd(e,a):md(e,a)||e.addEventListener(a,e.__listeners[a]=xd(e,r,i),n)}function xd(e,t,r){var i=a=>{Q1(e,t,_c(a)[0])};return r?Ss(i,wd(r)):i}var fx=Iu.length;function vl(e,t){return ye(t)&&(t.indexOf(Iu)===0?t=JSON.parse(t.substr(fx)):t.indexOf(Au)===0&&(t=J1(e,t))),t}function kn(e){return e.indexOf("--")===0}function dl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class yd extends ri{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=Ae({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){re(t,"a")&&this.setAttrs(t.a),re(t,"s")&&this.setAttr("style",t.s),re(t,"e")&&this.addEvents(t.e),re(t,"w")&&this.addWxsEvents(t.w),super.init(t),H(this.$props,()=>{rr(this._update,Z1)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){ux(this.$,t,r,i)}addEvent(t,r){_d(this.$,t,r)}removeEvent(t){_d(this.$,t,-1)}setAttr(t,r){t===Mu?vd(this.$,r):t===Po?dd(this.$,r):t===La?dl(this.$,r):t===Ru?this.$.__ownerId=r:t===Lu?rr(()=>cd(this,r),ld):t===Hp?this.$.innerHTML=r:t===Wp?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Mu?vd(this.$,""):t===Po?dd(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=vl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:kn(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:kn(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class cx extends ri{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var VT="";function Sd(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function vx(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function dx(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,l={},u=[];return n.forEach(f=>{var v=f.type,p=[...f.args];if(t.concat(r).includes(v))v.startsWith("rotate")||v.startsWith("skew")?p=p.map(_=>parseFloat(_)+"deg"):v.startsWith("translate")&&(p=p.map(Sd)),r.indexOf(v)>=0&&(p.length=1),u.push("".concat(v,"(").concat(p.join(","),")"));else if(i.concat(a).includes(p[0])){v=p[0];var d=p[1];l[v]=a.includes(v)?Sd(d):d}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(f=>"".concat(vx(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function Ed(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,l=dx(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{n()},0)}var Mn={props:["animation"],watch:{animation:{deep:!0,handler(){Ed(this)}}},mounted(){Ed(this)}},ge=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Mn),hx(e)},hx=e=>(e.compatConfig={MODE:3},Om(e)),gx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function hl(e){var t=U(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function ii(e,t){return ye(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Or(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,a)=>{e.value&&t(r,mx(r,i,e.value,a||{}))}}function px(e){return(t,r)=>{e(t,bc(r))}}function mx(e,t,r,i){var a=Mo(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var At=fn("uf"),_x=ge({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=U(null);return bx(Pe(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function bx(e){var t=[];return Fe(At,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Gi=fn("ul"),wx={for:{type:String,default:""}},xx=ge({name:"Label",props:wx,setup(e,t){var{slots:r}=t,i=dn(),a=yx(),n=ee(()=>e.for||r.default&&r.default.length),o=Or(s=>{var l=s.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function yx(){var e=[];return Fe(Gi,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function Rn(e,t){Td(e.id,t),H(()=>e.id,(r,i)=>{Cd(i,t,!0),Td(r,t,!0)}),Vt(()=>{Cd(e.id,t)})}function Td(e,t,r){var i=dn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Cd(e,t,r){var i=dn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Sx=ge({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,t){var{slots:r}=t,i=U(null);S0();var a=_e(At,!1),{hovering:n,binding:o}=hl(e),{t:s}=Ge(),l=Or((f,v)=>{if(e.disabled)return f.stopImmediatePropagation();v&&i.value.click();var p=e.formType;if(p){if(!a)return;p==="submit"?a.submit(f):p==="reset"&&a.reset(f);return}e.openType==="feedback"&&Ex(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),u=_e(Gi,!1);return u&&(u.addHandler(l),Ce(()=>{u.removeHandler(l)})),Rn(e,{"label-click":l}),()=>{var f=e.hoverClass,v=ii(e,"disabled"),p=ii(e,"loading"),d=ii(e,"plain"),_=f&&f!=="none";return I("uni-button",Qe({ref:i,onClick:l,class:_&&n.value?f:""},_&&o,v,p,d),[r.default&&r.default()],16,["onClick"])}}});function Ex(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Ar=ge({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=U(null),a=Cx(i),n=Tx(i,r,a);return Ox(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Tx(e,t,r){var i=Ae({width:-1,height:-1});return H(()=>ve({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Cx(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ox(e,t,r,i){as(i),Re(()=>{t.initial&&jr(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var be=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Od(e){e.width=e.offsetWidth*be,e.height=e.offsetHeight*be,e.getContext("2d").__hidpi__=!0}var Ad=!1;function Ax(){if(!Ad){Ad=!0;var e=function(i,a){for(var n in i)re(i,n)&&a(i[n],n)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,l,u,f,v,p,d){if(!this.__hidpi__)return i.apply(this,arguments);n*=be,o*=be,s*=be,l*=be,u*=be,f*=be,v=d?v*be:v,p=d?p*be:p,i.call(this,a,n,o,s,l,u,f,v,p)}}(r.drawImage),be!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*be});else if(Array.isArray(i))for(var s=0;sAx());function Id(e){return e&&vt(e)}function Ln(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function kd(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var Ji;function Md(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Ji||(Ji=document.createElement("canvas")),Ji.width=e,Ji.height=t,Ji}var kx={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1}},Mx=ge({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:kx,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Ix();var a=U(null),n=U(null),o=U(!1),s=px(r),{$attrs:l,$excludeAttrs:u,$listeners:f}=wl({excludeListeners:!0}),{_listeners:v}=Rx(e,f,s),{_handleSubscribe:p,_resize:d}=Lx(a,o);return Vn(p,jn(e.canvasId),!0),Re(()=>{d()}),()=>{var{canvasId:_,disableScroll:b}=e;return I("uni-canvas",Qe({"canvas-id":_,"disable-scroll":b},l.value,u.value,v.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ar,{ref:n,onResize:d},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Rx(e,t,r){var i=ee(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ve({},(()=>{var s={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=n[l];s[l]=u}return s})());return a.forEach(s=>{var l=o[s],u=[];l&&u.push(Or(f=>{r(s.replace("on","").toLocaleLowerCase(),ve({},(()=>{var v={};for(var p in f)v[p]=f[p];return v})(),{touches:kd(f.currentTarget,f.touches),changedTouches:kd(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(dc),o[s]=u}),o});return{_listeners:i}}function Lx(e,t){var r=[],i={};function a(d){var _=e.value,b=!d||_.width!==Math.floor(d.width*be)||_.height!==Math.floor(d.height*be);if(!!b)if(_.width>0&&_.height>0){var x=_.getContext("2d"),m=x.getImageData(0,0,_.width,_.height);Od(_),x.putImageData(m,0,0)}else Od(_)}function n(d,_){var{actions:b,reserve:x}=d;if(!!b){if(t.value){r.push([b,x]);return}var m=e.value,g=m.getContext("2d");x||(g.fillStyle="#000000",g.strokeStyle="#000000",g.shadowColor="#000000",g.shadowBlur=0,g.shadowOffsetX=0,g.shadowOffsetY=0,g.setTransform(1,0,0,1,0,0),g.clearRect(0,0,m.width,m.height)),o(b);for(var c=function(y){var T=b[y],E=T.method,O=T.data,N=O[0];if(/^set/.test(E)&&E!=="setTransform"){var R=E[3].toLowerCase()+E.slice(4),V;if(R==="fillStyle"||R==="strokeStyle"){if(N==="normal")V=Ln(O[1]);else if(N==="linear"){var ue=g.createLinearGradient(...O[1]);O[2].forEach(function(K){var ie=K[0],le=Ln(K[1]);ue.addColorStop(ie,le)}),V=ue}else if(N==="radial"){var M=O[1],B=M[0],Q=M[1],te=M[2],W=g.createRadialGradient(B,Q,0,B,Q,te);O[2].forEach(function(K){var ie=K[0],le=Ln(K[1]);W.addColorStop(ie,le)}),V=W}else if(N==="pattern"){var G=s(O[1],b.slice(y+1),_,function(K){K&&(g[R]=g.createPattern(K,O[2]))});return G?"continue":"break"}g[R]=V}else if(R==="globalAlpha")g[R]=Number(N)/255;else if(R==="shadow"){var ae=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];O.forEach(function(K,ie){g[ae[ie]]=ae[ie]==="shadowColor"?Ln(K):K})}else if(R==="fontSize"){var Se=g.__font__||g.font;g.__font__=g.font=Se.replace(/\d+\.?\d*px/,N+"px")}else R==="lineDash"?(g.setLineDash(N),g.lineDashOffset=O[1]||0):R==="textBaseline"?(N==="normal"&&(O[0]="alphabetic"),g[R]=N):R==="font"?g.__font__=g.font=N:g[R]=N}else if(E==="fillPath"||E==="strokePath")E=E.replace(/Path/,""),g.beginPath(),O.forEach(function(K){g[K.method].apply(g,K.data)}),g[E]();else if(E==="fillText")g.fillText.apply(g,O);else if(E==="drawImage"){var se=function(){var K=[...O],ie=K[0],le=K.slice(1);if(i=i||{},s(ie,b.slice(y+1),_,function(Ie){Ie&&g.drawImage.apply(g,[Ie].concat([...le.slice(4,8)],[...le.slice(0,4)]))}))return"break"}();if(se==="break")return"break"}else E==="clip"?(O.forEach(function(K){g[K.method].apply(g,K.data)}),g.clip()):g[E].apply(g,O)},h=0;h{c.src=h}).catch(()=>{c.src=m})}})}function s(d,_,b,x){var m=i[d];return m.ready?(x(m),!0):(r.unshift([_,!0]),t.value=!0,m.onload=function(){m.ready=!0,x(m),t.value=!1;var g=r.slice(0);r=[];for(var c=g.shift();c;)n({actions:c[0],reserve:c[1]},b),c=g.shift()},!1)}function l(d,_){var{x:b=0,y:x=0,width:m,height:g,destWidth:c,destHeight:h,hidpi:w=!0,dataType:y,quality:T=1,type:E="png"}=d,O=e.value,N,R=O.offsetWidth-b;m=m?Math.min(m,R):R;var V=O.offsetHeight-x;g=g?Math.min(g,V):V,w?(c=m,h=g):!c&&!h?(c=Math.round(m*be),h=Math.round(g*be)):c?h||(h=Math.round(g/m*c)):c=Math.round(m/g*h);var ue=Md(c,h),M=ue.getContext("2d");(E==="jpeg"||E==="jpg")&&(E="jpeg",M.fillStyle="#fff",M.fillRect(0,0,c,h)),M.__hidpi__=!0,M.drawImageByCanvas(O,b,x,m,g,0,0,c,h,!1);var B;try{var Q;if(y==="base64")N=ue.toDataURL("image/".concat(E),T);else{var te=M.getImageData(0,0,c,h);N=td.deflateRaw(te.data,{to:"string"}),Q=!0}B={data:N,compressed:Q,width:c,height:h}}catch(W){B={errMsg:"canvasGetImageData:fail ".concat(W)}}if(ue.height=ue.width=0,M.__hidpi__=!1,_)_(B);else return B}function u(d,_){var{data:b,x,y:m,width:g,height:c,compressed:h}=d;try{h&&(b=td.inflateRaw(b)),c||(c=Math.round(b.length/4/g));var w=Md(g,c),y=w.getContext("2d");y.putImageData(new ImageData(new Uint8ClampedArray(b),g,c),0,0),e.value.getContext("2d").drawImage(w,x,m,g,c),w.height=w.width=0}catch(T){_({errMsg:"canvasPutImageData:fail"});return}_({errMsg:"canvasPutImageData:ok"})}function f(d,_){var{x:b=0,y:x=0,width:m,height:g,destWidth:c,destHeight:h,fileType:w,quality:y,dirname:T}=d,E=l({x:b,y:x,width:m,height:g,destWidth:c,destHeight:h,hidpi:!1,dataType:"base64",type:w,quality:y});if(!E.data||!E.data.length){_({errMsg:E.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ab(E.data,T,(O,N)=>{var R="toTempFilePath:".concat(O?"fail":"ok");O&&(R+=" ".concat(O.message)),_({errMsg:R,tempFilePath:N})})}var v={actionsChanged:n,getImageData:l,putImageData:u,toTempFilePath:f};function p(d,_,b){var x=v[d];d.indexOf("_")!==0&&typeof x=="function"&&x(_,b)}return ve(v,{_resize:a,_handleSubscribe:p})}var Rd=fn("ucg"),Px={name:{type:String,default:""}},Nx=ge({name:"CheckboxGroup",props:Px,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return Dx(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Dx(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);Fe(Rd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(At,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Bx={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},$x=ge({name:"Checkbox",props:Bx,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value);H([()=>e.checked,()=>e.value],u=>{var[f,v]=u;i.value=f,a.value=v});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=Fx(i,a,n),l=u=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(u))};return s&&(s.addHandler(l),Ce(()=>{s.removeHandler(l)})),Rn(e,{"label-click":l}),()=>{var u=ii(e,"disabled");return I("uni-checkbox",Qe(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?vn(cn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function Fx(e,t,r){var i=ee(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Rd,!1);n&&n.addField(i);var o=_e(At,!1);o&&o.addField(a);var s=_e(Gi,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Ld,Qi,Pn,ir,Nn,gl;Br(()=>{Qi=plus.os.name==="Android",Pn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){ir=e.height,Nn&&Nn()},!1);function Pd(){}function ea(e,t,r){Br(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=gl||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(l.mode===a){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function zx(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Br(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function Ux(e){var t=e.softinputNavBar;t&&Br(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Nd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Dd=["keyboardheightchange"];function Bd(e,t,r){var i={};function a(n){var o,s=()=>{r("keyboardheightchange",{},{height:ir,duration:.25}),o&&ir===0&&ea(e,n),e.autoBlur&&o&&ir===0&&(Qi||parseInt(Pn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Ld),document.addEventListener("click",Pd,!1),Nn=s,ir&&r("keyboardheightchange",{},{height:ir,duration:0}),zx(e,i),ea(e,n)}),Qi&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&ir===0&&ea(e,n)}),Qi||(parseInt(Pn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ea(e,n)}),parseFloat(Pn)>=14.6&&!gl&&Br(()=>{var u=plus.webview.currentWebview();gl=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",Pd,!1),Nn=null,ir&&r("keyboardheightchange",{},{height:0,duration:0}),Ux(i),Qi&&(Ld=setTimeout(()=>{ea(e,n,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{n.blur(),o=!1,l()})}H(()=>t.value,n=>a(n))}var $d=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Fd=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Hx=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Wx=ai("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Vx=ai("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),jx=ai("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Yx=ai("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),qx=ai("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Xx=ai("script,style");function zd(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!Xx[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,v){return v=v.replace(/|/g,"$1$2"),t.chars&&t.chars(v),""}),u("",n.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(f,v,p,d){if(v=v.toLowerCase(),Vx[v])for(;n.last()&&jx[n.last()];)u("",n.last());if(Yx[v]&&n.last()==v&&u("",v),d=Wx[v]||!!d,d||n.push(v),t.start){var _=[];p.replace(Hx,function(b,x){var m=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:qx[x]?x:"";_.push({name:x,value:m,escaped:m.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(v,_,d)}}function u(f,v){if(v)for(var p=n.length-1;p>=0&&n[p]!=v;p--);else var p=0;if(p>=0){for(var d=n.length-1;d>=p;d--)t.end&&t.end(n[d]);n.length=p}}}function ai(e){for(var t={},r=e.split(","),i=0;io()),delete pl[t]}}a.push(r)}function Zx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function Kx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function Gx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function Jx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function Qx(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),f=t.find(l.target);u==="checked"?f.format("list","unchecked"):u==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ey(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function ty(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Ke(s),i)}),o}function ry(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Ke(o),i)}),n}function iy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Ke(o),{scope:s})}),a}function ay(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&vt(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function ny(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function oy(e){var t={divider:Zx,ins:Kx,align:Gx,direction:Jx,list:Qx,background:ey,box:ty,font:ry,text:iy,image:ay,link:ny},r={};Object.values(t).forEach(i=>ve(r,i(e))),e.register(r,!0)}function sy(e,t,r){var i,a,n,o=!1;H(()=>e.readOnly,_=>{i&&(n.enable(!_),_||n.blur())}),H(()=>e.placeholder,_=>{i&&u(_)});function s(_){var b=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],x="",m;zd(_,{start:function(c,h,w){if(!b.includes(c)){m=!w;return}m=!1;var y=h.map(E=>{var{name:O,value:N}=E;return"".concat(O,'="').concat(N,'"')}).join(" "),T="<".concat(c," ").concat(y," ").concat(w?"/":"",">");x+=T},end:function(c){m||(x+=""))},chars:function(c){m||(x+=c)}}),a=!0;var g=n.clipboard.convert(x);return a=!1,g}function l(){var _=n.root.innerHTML,b=n.getText(),x=n.getContents();return{html:_,text:b,delta:x}}function u(_){var b="data-placeholder",x=n.root;x.getAttribute(b)!==_&&x.setAttribute(b,_)}var f={};function v(_){var b=_?n.getFormat(_):{},x=Object.keys(b);(x.length!==Object.keys(f).length||x.find(m=>b[m]!==f[m]))&&(f=b,r("statuschange",{},b))}function p(_){var b=window.Quill;oy(b);var x={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};_.length&&(b.register("modules/ImageResize",window.ImageResize.default),x.modules={ImageResize:{modules:_}});var m=t.value;n=new b(m,x);var g=n.root,c=["focus","blur","input"];c.forEach(h=>{g.addEventListener(h,w=>{var y=l();if(h==="input"){if(Ec().platform==="ios"){var T=(y.html.match(/([\s\S]*)<\/span>/)||[])[1],E=T&&T.replace(/\s/g,"")?"":e.placeholder;u(E)}w.stopPropagation()}else r(h,w,y)})}),n.on("text-change",()=>{o||r("input",{},l())}),n.on("selection-change",v),n.on("scroll-optimize",()=>{var h=n.selection.getRange()[0];v(h)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(h,w)=>(a||w.ops&&(w.ops=w.ops.filter(y=>{var{insert:T}=y;return typeof T=="string"}).map(y=>{var{insert:T}=y;return{insert:T}})),w)),i=!0,r("ready",{},{})}Re(()=>{var _=[];e.showImgSize&&_.push("DisplaySize"),e.showImgToolbar&&_.push("Toolbar"),e.showImgResize&&_.push("Resize");var b="./__uniappquill.js";Ud(window.Quill,b,()=>{if(_.length){var x="./__uniappquillimageresize.js";Ud(window.ImageResize,x,()=>{p(_)})}else p(_)})});var d=jn();Vn((_,b,x)=>{var{options:m,callbackId:g}=b,c,h,w;if(i){var y=window.Quill;switch(_){case"format":{var{name:T="",value:E=!1}=m;h=n.getSelection(!0);var O=n.getFormat(h)[T]||!1;if(["bold","italic","underline","strike","ins"].includes(T))E=!O;else if(T==="direction"){E=E==="rtl"&&O?!1:E;var N=n.getFormat(h).align;E==="rtl"&&!N?n.format("align","right","user"):!E&&N==="right"&&n.format("align",!1,"user")}else if(T==="indent"){var R=n.getFormat(h).direction==="rtl";E=E==="+1",R&&(E=!E),E=E?"+1":"-1"}else T==="list"&&(E=E==="check"?"unchecked":E,O=O==="checked"?"unchecked":O),E=O&&O!==(E||!1)||!O&&E?E:!O;n.format(T,E,"user")}break;case"insertDivider":h=n.getSelection(!0),n.insertText(h.index,pi,"user"),n.insertEmbed(h.index+1,"divider",!0,"user"),n.setSelection(h.index+2,0,"silent");break;case"insertImage":{h=n.getSelection(!0);var{src:V="",alt:ue="",width:M="",height:B="",extClass:Q="",data:te={}}=m,W=vt(V);n.insertEmbed(h.index,"image",W,"user");var G=/^(file|blob):/.test(W)?W:!1;o=!0,n.formatText(h.index,1,"data-local",G),n.formatText(h.index,1,"alt",ue),n.formatText(h.index,1,"width",M),n.formatText(h.index,1,"height",B),n.formatText(h.index,1,"class",Q),o=!1,n.formatText(h.index,1,"data-custom",Object.keys(te).map(ie=>"".concat(ie,"=").concat(te[ie])).join("&")),n.setSelection(h.index+1,0,"silent")}break;case"insertText":{h=n.getSelection(!0);var{text:ae=""}=m;n.insertText(h.index,ae,"user"),n.setSelection(h.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Se,html:se}=m;typeof Se=="object"?n.setContents(Se,"silent"):typeof se=="string"?n.setContents(s(se),"silent"):w="contents is missing"}break;case"getContents":c=l();break;case"clear":n.setText("");break;case"removeFormat":{h=n.getSelection(!0);var K=y.import("parchment");h.length?n.removeFormat(h.index,h.length,"user"):Object.keys(n.getFormat(h)).forEach(ie=>{K.query(ie,K.Scope.INLINE)&&n.format(ie,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":h=n.selection.savedRange,c={text:""},h&&h.length!==0&&(c.text=n.getText(h.index,h.length));break;case"scrollIntoView":n.scrollIntoView();break}v(h)}else w="not ready";g&&x({callbackId:g,data:ve({},c,{errMsg:"".concat(_,":").concat(w?"fail "+w:"ok")})})},d,!0)}var ly=ve({},Nd,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),uy=ge({name:"Editor",props:ly,emit:["ready","focus","blur","input","statuschange",...Dd],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r);return sy(e,i,a),Bd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Hd="#10aeff",fy="#f76260",Wd="#b2b2b2",cy="#f43530",vy={success:{d:ab,c:Ra},success_no_circle:{d:cn,c:Ra},info:{d:rb,c:Hd},warn:{d:ob,c:fy},waiting:{d:nb,c:Hd},cancel:{d:Q_,c:cy},download:{d:tb,c:Ra},search:{d:ib,c:Wd},clear:{d:eb,c:Wd}},dy=ge({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=ee(()=>vy[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&vn(r.d,e.color||r.c,mr(e.size))])}}}),hy={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Dn={widthFix:["offsetWidth","height"],heightFix:["offsetHeight","width"]},gy={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},py=ge({name:"Image",props:hy,setup(e,t){var{emit:r}=t,i=U(null),a=my(i,e),n=Pe(i,r),{fixSize:o}=xy(i,e,a);return _y(a,o,n),()=>{var{mode:s}=e,{imgSrc:l,modeStyle:u,src:f}=a,v;return v=l?I("img",{src:l,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:u},null,4),v,Dn[s]?I(Ar,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function my(e,t){var r=U(""),i=ee(()=>{var n="auto",o="",s=gy[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=Ae({rootEl:e,src:ee(()=>t.src?vt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function _y(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=l,e.imgSrc=u},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=l=>{var{width:u,height:f}=i;a(u,f,s),t(),o(),r("load",l,{width:u,height:f})},i.onerror=l=>{a(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};H(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ce(()=>o())}var by=navigator.vendor==="Google Inc.";function wy(e){return by&&e>10&&(e=Math.round(e/2)*2),e}function xy(e,t,r){var i=()=>{var{mode:n}=t,o=Dn[n];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var f=e.value,v=f[o[0]];v&&(f.style[o[1]]=wy(v/u)+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return H(()=>t.mode,(n,o)=>{Dn[o]&&a(),Dn[n]&&i()}),{fixSize:i,resetSize:a}}function yy(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),l=0;l{a=null,r=u,e.apply(this,s)},u-rBn.forEach(t=>t.userAction=e);function Ey(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Vd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!ml&&jd(!0),ml++,setTimeout(()=>{!--ml&&jd(!1)},0)},Sy)}),Vd=!0}Bn.push(e)}function Ty(e){var t=Bn.indexOf(e);t>=0&&Bn.splice(t,1)}function Cy(){var e=Ae({userAction:!1});return Re(()=>{Ey(e)}),Ce(()=>{Ty(e)}),{state:e}}function Yd(){var e=Ae({attrs:{}});return Re(()=>{for(var t=Lt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Oy(e,t){var r=_e(At,!1);if(!!r){var i=Lt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ce(()=>{r.removeField(a)})}}function Ay(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var Iy=function(){bt(Xt(),"getSelectedTextRange",Ay)},ky=200,_l;function bl(e){return e===null?"":String(e)}var qd=ve({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1}},Nd),Xd=["input","focus","blur","update:value","update:modelValue","update:focus",...Dd];function My(e,t,r){var i=U(null),a=Pe(t,r),n=ee(()=>{var v=Number(e.selectionStart);return isNaN(v)?-1:v}),o=ee(()=>{var v=Number(e.selectionEnd);return isNaN(v)?-1:v}),s=ee(()=>{var v=Number(e.cursor);return isNaN(v)?-1:v}),l=ee(()=>{var v=Number(e.maxlength);return isNaN(v)?140:v}),u=bl(e.modelValue)||bl(e.value),f=Ae({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return H(()=>f.focus,v=>r("update:focus",v)),H(()=>f.maxlength,v=>f.value=f.value.slice(0,v)),{fieldRef:i,state:f,trigger:a}}function Ry(e,t,r,i){var a=a0(s=>{t.value=bl(s)},100);H(()=>e.modelValue,a),H(()=>e.value,a);var n=yy((s,l)=>{a.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{a.cancel(),n(s,l),u&&n.flush()};return Sf(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function Ly(e,t){var{state:r}=Cy(),i=ee(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=ky-(Date.now()-_l);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}H(()=>e.focus,o=>{o?a():n()}),Re(()=>{_l=_l||Date.now(),i.value&&jr(a)})}function Py(e,t,r,i,a){function n(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(){var l=e.value,u=function(p){t.focus=!0,r("focus",p,{value:t.value}),n(),o()},f=function(p,d){p.stopPropagation(),!(typeof a=="function"&&a(p,t)===!1)&&(t.value=l.value,t.composing||i(p,{value:l.value,cursor:l.selectionEnd},d))},v=function(p){t.composing&&(t.composing=!1,f(p,!0)),t.focus=!1,r("blur",p,{value:t.value,cursor:p.target.selectionEnd})};l.addEventListener("change",p=>p.stopPropagation()),l.addEventListener("focus",u),l.addEventListener("blur",v),l.addEventListener("input",f),l.addEventListener("compositionstart",p=>{p.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",p=>{p.stopPropagation(),t.composing&&(t.composing=!1,f(p))})}H([()=>t.selectionStart,()=>t.selectionEnd],n),H(()=>t.cursor,o),H(()=>e.value,s)}function Zd(e,t,r,i){Iy();var{fieldRef:a,state:n,trigger:o}=My(e,t,r),{triggerInput:s}=Ry(e,n,r,o);Ly(e,a),Bd(e,a,o);var{state:l}=Yd();Oy("name",n),Py(a,n,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var Ny=ve({},qd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Dy=ge({name:"Input",props:Ny,emits:["confirm",...Xd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=ee(()=>{var g="";switch(e.type){case"text":e.confirmType==="search"&&(g="search");break;case"idcard":g="text";break;case"digit":g="number";break;default:g=~i.includes(e.type)?e.type:"text";break}return e.password?"password":g}),o=ee(()=>{var g=a.indexOf(e.textContentType),c=a.indexOf(Ke(e.textContentType)),h=g!==-1?g:c!==-1?c:0;return a[h]}),s=U(""),l,u=U(null),{fieldRef:f,state:v,scopedAttrsState:p,fixDisabledColor:d,trigger:_}=Zd(e,u,r,(g,c)=>{var h=g.target;if(n.value==="number"){if(l&&(h.removeEventListener("blur",l),l=null),h.validity&&!h.validity.valid)return!s.value&&g.data==="-"||s.value[0]==="-"&&g.inputType==="deleteContentBackward"?(s.value="-",c.value="",l=()=>{s.value=h.value=""},h.addEventListener("blur",l),!1):(s.value=c.value=h.value=s.value==="-"?"":s.value,!1);s.value=h.value;var w=c.maxlength;if(w>0&&h.value.length>w)return h.value=h.value.slice(0,w),c.value=h.value,!1}}),b=["number","digit"],x=ee(()=>b.includes(e.type)?"0.000000000000000001":"");function m(g){if(g.key==="Enter"){var c=g.target;g.stopPropagation(),_("confirm",g,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var g=e.disabled&&d?I("input",{ref:f,value:v.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:v.maxlength,step:x.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:v.value,disabled:!!e.disabled,type:n.value,maxlength:v.maxlength,step:x.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Ti(I("div",Qe(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ri,!(v.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[g],40,["onSubmit"]):g])],512)}}});function By(e){return Object.keys(e).map(t=>[t,e[t]])}var $y=["class","style"],Fy=/^on[A-Z]+/,wl=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Lt(),a=es({}),n=es({}),o=es({}),s=r.concat($y);return i.attrs=Ae(i.attrs),m_(()=>{var l=By(i.attrs).reduce((u,f)=>{var[v,p]=f;return s.includes(v)?u.exclude[v]=p:Fy.test(v)?(t||(u.attrs[v]=p),u.listeners[v]=p):u.attrs[v]=p,u},{exclude:{},attrs:{},listeners:{}});a.value=l.attrs,n.value=l.listeners,o.value=l.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},$n,ta;function Fn(){Br(()=>{$n||($n=plus.webview.currentWebview()),ta||(ta=($n.getStyle()||{}).pullToRefresh||{})})}function ar(e){var{disable:t}=e;ta&&ta.support&&$n.setPullToRefresh(Object.assign({},ta,{support:!t}))}function xl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Ka(r)?r.type===wt?t.push(...xl(r.children)):t.push(r):Array.isArray(r)&&t.push(...xl(r))}),t}function ra(e){var t=Lt();t.rebuild=e}var zy={scaleArea:{type:Boolean,default:!1}},Uy=ge({inheritAttrs:!1,name:"MovableArea",props:zy,setup(e,t){var{slots:r}=t,i=U(null),a=U(!1),{setContexts:n,events:o}=Hy(e,i),{$listeners:s,$attrs:l,$excludeAttrs:u}=wl(),f=s.value,v=["onTouchstart","onTouchmove","onTouchend"];v.forEach(m=>{var g=f[m],c=o["_".concat(m)];f[m]=g?[].concat(g,c):c}),Re(()=>{o._resize(),Fn(),a.value=!0});var p=[],d=[];function _(){for(var m=[],g=function(h){var w=p[h];w instanceof Element||(w=w.el);var y=d.find(T=>w===T.rootRef.value);y&&m.push(Ya(y))},c=0;c{p=i.value.children,_()});var b=m=>{d.push(m),_()},x=m=>{var g=d.indexOf(m);g>=0&&(d.splice(g,1),_())};return Fe("_isMounted",a),Fe("movableAreaRootRef",i),Fe("addMovableViewContext",b),Fe("removeMovableViewContext",x),()=>(r.default&&r.default(),I("uni-movable-area",Qe({ref:i},l.value,u.value,f),[I(Ar,{onReize:o._resize},null,8,["onReize"]),p],16))}});function Kd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Hy(e,t){var r=U(0),i=U(0),a=Ae({x:null,y:null}),n=U(null),o=null,s=[];function l(b){b&&b!==1&&(e.scaleArea?s.forEach(function(x){x._setScale(b)}):o&&o._setScale(b))}function u(b){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,m=t.value;function g(c){for(var h=0;h{ar({disable:!0});var x=b.touches;if(x&&x.length>1){var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(n.value=Kd(m),a.x=m.x,a.y=m.y,!e.scaleArea){var g=u(x[0].target),c=u(x[1].target);o=g&&g===c?g:null}}}),v=Or(b=>{var x=b.touches;if(x&&x.length>1){b.preventDefault();var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(a.x!==null&&n.value&&n.value>0){var g=Kd(m)/n.value;l(g)}a.x=m.x,a.y=m.y}}),p=Or(b=>{ar({disable:!1});var x=b.touches;x&&x.length||b.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(m){m._endScale()}):o&&o._endScale())});function d(){_(),s.forEach(function(b,x){b.setParent()})}function _(){var b=window.getComputedStyle(t.value),x=t.value.getBoundingClientRect();r.value=x.width-["Left","Right"].reduce(function(m,g){var c="border"+g+"Width",h="padding"+g;return m+parseFloat(b[c])+parseFloat(b[h])},0),i.value=x.height-["Top","Bottom"].reduce(function(m,g){var c="border"+g+"Width",h="padding"+g;return m+parseFloat(b[c])+parseFloat(b[h])},0)}return Fe("movableAreaWidth",r),Fe("movableAreaHeight",i),{setContexts(b){s=b},events:{_onTouchstart:f,_onTouchmove:v,_onTouchend:p,_resize:d}}}var ia=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable!="undefined"?a.cancelable:!0)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Gd,Jd;function zn(e,t,r){Ce(()=>{document.removeEventListener("mousemove",Gd),document.removeEventListener("mouseup",Jd)});var i=0,a=0,n=0,o=0,s=function(d,_,b,x){if(t({target:d.target,currentTarget:d.currentTarget,preventDefault:d.preventDefault.bind(d),stopPropagation:d.stopPropagation.bind(d),touches:d.touches,changedTouches:d.changedTouches,detail:{state:_,x:b,y:x,dx:b-i,dy:x-a,ddx:b-n,ddy:x-o,timeStamp:d.timeStamp}})===!1)return!1},l=null,u,f;ia(e,"touchstart",function(d){if(u=!0,d.touches.length===1&&!l)return l=d,i=n=d.touches[0].pageX,a=o=d.touches[0].pageY,s(d,"start",i,a)}),ia(e,"mousedown",function(d){if(f=!0,!u&&!l)return l=d,i=n=d.pageX,a=o=d.pageY,s(d,"start",i,a)}),ia(e,"touchmove",function(d){if(d.touches.length===1&&l){var _=s(d,"move",d.touches[0].pageX,d.touches[0].pageY);return n=d.touches[0].pageX,o=d.touches[0].pageY,_}});var v=Gd=function(d){if(!u&&f&&l){var _=s(d,"move",d.pageX,d.pageY);return n=d.pageX,o=d.pageY,_}};document.addEventListener("mousemove",v),ia(e,"touchend",function(d){if(d.touches.length===0&&l)return u=!1,l=null,s(d,"end",d.changedTouches[0].pageX,d.changedTouches[0].pageY)});var p=Jd=function(d){if(f=!1,!u&&l)return l=null,s(d,"end",d.pageX,d.pageY)};document.addEventListener("mouseup",p),ia(e,"touchcancel",function(d){if(l){u=!1;var _=l;return l=null,s(d,r?"cancel":"end",_.touches[0].pageX,_.touches[0].pageY)}})}function Un(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},It.prototype.ds=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},It.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},It.prototype.dt=function(){return-this._x_v/this._x_a},It.prototype.done=function(){var e=Un(this.s().x,this._endPositionX)||Un(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},It.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},It.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function rt(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}rt.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(m){return(s+l*m)*Math.pow(Math.E,o*m)},dx:function(m){var g=Math.pow(Math.E,o*m);return o*(s+l*m)*g+l*g}}}if(n>0){var u=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),v=(t-u*e)/(f-u),p=e-v;return{x:function(m){var g,c;return m===this._t&&(g=this._powER1T,c=this._powER2T),this._t=m,g||(g=this._powER1T=Math.pow(Math.E,u*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),p*g+v*c},dx:function(m){var g,c;return m===this._t&&(g=this._powER1T,c=this._powER2T),this._t=m,g||(g=this._powER1T=Math.pow(Math.E,u*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),p*u*g+v*f*c}}}var d=Math.sqrt(4*i*a-r*r)/(2*i),_=-r/2*i,b=e,x=(t-_*e)/d;return{x:function(m){return Math.pow(Math.E,_*m)*(b*Math.cos(d*m)+x*Math.sin(d*m))},dx:function(m){var g=Math.pow(Math.E,_*m),c=Math.cos(d*m),h=Math.sin(d*m);return g*(x*d*c-b*d*h)+_*g*(x*h+b*c)}}},rt.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},rt.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},rt.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ir(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ir(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ir(t,.1)&&(t=0),Ir(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ir(i-e,.1)&&Ir(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},rt.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},rt.prototype.done=function(e){return e||(e=new Date().getTime()),Un(this.x(),this._endPosition,.1)&&Ir(this.dx(),.1)},rt.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},rt.prototype.springConstant=function(){return this._k},rt.prototype.damping=function(){return this._c},rt.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function aa(e,t,r){this._springX=new rt(e,t,r),this._springY=new rt(e,t,r),this._springScale=new rt(e,t,r),this._startTime=0}aa.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},aa.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},aa.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},aa.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var Wy={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},Vy=ge({name:"MovableView",props:Wy,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),{setParent:o}=jy(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Ar,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),Sl=!1;function Qd(e){Sl||(Sl=!0,requestAnimationFrame(function(){e(),Sl=!1}))}function eh(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=eh(e.offsetParent,t):0}function th(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=th(e.offsetParent,t):0}function rh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function ih(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),f&&u&&u(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Hn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function jy(e,t,r){var i=_e("movableAreaWidth",U(0)),a=_e("movableAreaHeight",U(0)),n=_e("_isMounted",U(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),l=_e("removeMovableViewContext",()=>{}),u=U(Hn(e.x)),f=U(Hn(e.y)),v=U(Number(e.scaleValue)||1),p=U(0),d=U(0),_=U(0),b=U(0),x=U(0),m=U(0),g=null,c=null,h={x:0,y:0},w={x:0,y:0},y=1,T=1,E=0,O=0,N=!1,R=!1,V,ue,M=null,B=null,Q=new yl,te=new yl,W={historyX:[0,0],historyY:[0,0],historyT:[0,0]},G=ee(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=ee(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Se=ee(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),se=ee(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),K=ee(()=>e.direction==="all"||e.direction==="horizontal"),ie=ee(()=>e.direction==="all"||e.direction==="vertical"),le=new aa(1,9*Math.pow(G.value,2)/40,G.value),Ie=new It(1,ae.value);H(()=>e.x,A=>{u.value=Hn(A)}),H(()=>e.y,A=>{f.value=Hn(A)}),H(u,A=>{nt(A)}),H(f,A=>{nr(A)}),H(()=>e.scaleValue,A=>{v.value=Number(A)||0}),H(v,A=>{la(A)}),H(Se,()=>{Ne()}),H(se,()=>{Ne()});function ke(){c&&c.cancel(),g&&g.cancel()}function nt(A){if(K.value){if(A+w.x===E)return E;g&&g.cancel(),J(A+w.x,f.value+w.y,y)}return A}function nr(A){if(ie.value){if(A+w.y===O)return O;g&&g.cancel(),J(u.value+w.x,A+w.y,y)}return A}function Ne(){if(!e.scale)return!1;$(y,!0),z(y)}function la(A){return e.scale?(A=D(A),$(A,!0),z(A),A):!1}function ua(){N||e.disabled||(ar({disable:!0}),ke(),W.historyX=[0,0],W.historyY=[0,0],W.historyT=[0,0],K.value&&(V=E),ie.value&&(ue=O),r.value.style.willChange="transform",M=null,B=null,R=!0)}function S(A){if(!N&&!e.disabled&&R){var Y=E,q=O;if(B===null&&(B=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),K.value&&(Y=A.detail.dx+V,W.historyX.shift(),W.historyX.push(Y),!ie.value&&M===null&&(M=Math.abs(A.detail.dx/A.detail.dy)<1)),ie.value&&(q=A.detail.dy+ue,W.historyY.shift(),W.historyY.push(q),!K.value&&M===null&&(M=Math.abs(A.detail.dy/A.detail.dx)<1)),W.historyT.shift(),W.historyT.push(A.detail.timeStamp),!M){A.preventDefault();var he="touch";Y<_.value?e.outOfBounds?(he="touch-out-of-bounds",Y=_.value-Q.x(_.value-Y)):Y=_.value:Y>x.value&&(e.outOfBounds?(he="touch-out-of-bounds",Y=x.value+Q.x(Y-x.value)):Y=x.value),qm.value&&(e.outOfBounds?(he="touch-out-of-bounds",q=m.value+te.x(q-m.value)):q=m.value),Qd(function(){X(Y,q,y,he)})}}}function C(){if(!N&&!e.disabled&&R&&(ar({disable:!1}),r.value.style.willChange="auto",R=!1,!M&&!Z("out-of-bounds")&&e.inertia)){var A=1e3*(W.historyX[1]-W.historyX[0])/(W.historyT[1]-W.historyT[0]),Y=1e3*(W.historyY[1]-W.historyY[0])/(W.historyT[1]-W.historyT[0]);Ie.setV(A,Y),Ie.setS(E,O);var q=Ie.delta().x,he=Ie.delta().y,fe=q+E,$e=he+O;fe<_.value?(fe=_.value,$e=O+(_.value-E)*he/q):fe>x.value&&(fe=x.value,$e=O+(x.value-E)*he/q),$em.value&&($e=m.value,fe=E+(m.value-O)*q/he),Ie.setEnd(fe,$e),c=ih(Ie,function(){var Ze=Ie.s(),De=Ze.x,gt=Ze.y;X(De,gt,y,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&ke()}function k(A,Y){var q=!1;return A>x.value?(A=x.value,q=!0):A<_.value&&(A=_.value,q=!0),Y>m.value?(Y=m.value,q=!0):Y3&&arguments[3]!==void 0?arguments[3]:"",fe=arguments.length>4?arguments[4]:void 0,$e=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=E||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),q=Number(q.toFixed(1)),E===A&&O===Y||fe||t("change",{},{x:rh(A,w.x),y:rh(Y,w.y),source:he}),e.scale||(q=y),q=D(q),q=+q.toFixed(3),$e&&q!==y&&t("scale",{},{x:A,y:Y,scale:q});var Ze="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+q+")";r.value.style.transform=Ze,r.value.style.webkitTransform=Ze,E=A,O=Y,y=q}function ce(){if(!!n.value){ke();var A=e.scale?v.value:1;L(),P(A),F(),E=u.value+w.x,O=f.value+w.y;var Y=k(E,O),q=Y.x,he=Y.y;X(q,he,A,"",!0),z(A)}}function Be(){N=!1,z(y)}function Te(A){A&&(A=T*A,j(),$(A))}return Re(()=>{zn(r.value,Y=>{switch(Y.detail.state){case"start":ua();break;case"move":S(Y);break;case"end":C()}}),ce(),Ie.reconfigure(1,ae.value),le.reconfigure(1,9*Math.pow(G.value,2)/40,G.value),r.value.style.transformOrigin="center",Fn();var A={rootRef:r,setParent:ce,_endScale:Be,_setScale:Te};s(A),Vt(()=>{l(A)})}),Vt(()=>{ke()}),{setParent:ce}}var Yy=["navigate","redirect","switchTab","reLaunch","navigateBack"],qy={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Yy.indexOf(e))}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1}},Xy=ge({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:qy,setup(e,t){var{slots:r}=t,i=Lt(),a=i&&i.root.type.__scopeId||"",{$attrs:n,$excludeAttrs:o,$listeners:s}=wl({excludeListeners:!0}),{hovering:l,binding:u}=hl(e);function f(v){if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}return()=>{var{hoverClass:v,url:p}=e,d=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:p,onClick:dc},[I("uni-navigator",Qe({class:d&&l.value?v:""},d&&u,n.value,o.value,s.value,{[a]:""},{onClick:f}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),Zy={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function Ky(e){var t=Ae([...e.value]),r=Ae({value:t,height:34});return H(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var Gy=ge({name:"PickerView",props:Zy,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=Pe(a,i),s=Ky(e),l=U(null),u=()=>{var _=l.value;s.height=_.$el.offsetHeight},f=U([]),v=U([]);function p(_){var b=v.value;if(b instanceof HTMLCollection)return Array.prototype.indexOf.call(b,_.el);b=b.filter(m=>m.type!==Ur);var x=b.indexOf(_);return x!==-1?x:f.value.indexOf(_)}var d=function(_){var b=ee({get(){var x=p(_.vnode);return s.value[x]||0},set(x){var m=p(_.vnode);if(!(m<0)){var g=s.value[m];if(g!==x){s.value[m]=x;var c=s.value.map(h=>h);i("update:value",c),o("change",{},{value:c})}}}});return b};return Fe("getPickerViewColumn",d),Fe("pickerViewProps",e),Fe("pickerViewState",s),ra(()=>{u(),v.value=n.value.children}),()=>{var _=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Ar,{ref:l,onResize:b=>{var{height:x}=b;return s.height=x}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[_],512)],512)}}});class ah{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function nh(e,t,r){return e>t-r&&e0){var f=(-i-Math.sqrt(o))/(2*a),v=(-i+Math.sqrt(o))/(2*a),p=(r-f*t)/(v-f),d=t-p;return{x:function(g){var c,h;return g===this._t&&(c=this._powER1T,h=this._powER2T),this._t=g,c||(c=this._powER1T=Math.pow(Math.E,f*g)),h||(h=this._powER2T=Math.pow(Math.E,v*g)),d*c+p*h},dx:function(g){var c,h;return g===this._t&&(c=this._powER1T,h=this._powER2T),this._t=g,c||(c=this._powER1T=Math.pow(Math.E,f*g)),h||(h=this._powER2T=Math.pow(Math.E,v*g)),d*f*c+p*v*h}}}var _=Math.sqrt(4*a*n-i*i)/(2*a),b=-i/2*a,x=t,m=(r-b*t)/_;return{x:function(g){return Math.pow(Math.E,b*g)*(x*Math.cos(_*g)+m*Math.sin(_*g))},dx:function(g){var c=Math.pow(Math.E,b*g),h=Math.cos(_*g),w=Math.sin(_*g);return c*(m*_*h-x*_*w)+b*c*(m*w+x*h)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!kr(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(kr(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),kr(r,.4)&&(r=0),kr(a,.4)&&(a=0),a+=this._endPosition),this._solution&&kr(a-t,.4)&&kr(r,.4)||(this._endPosition=t,this._solution=this._solve(a-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),nh(this.x(),this._endPosition,.4)&&kr(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){function t(i,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class Jy{constructor(t,r,i){this._extent=t,this._friction=r||new ah(.01),this._spring=i||new oh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function Qy(e,t,r){var i={id:0,cancelled:!1};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),f&&u&&u(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class eS{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new Jy(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=Qy(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var f=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function tS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new eS(e,t);function a(l){var u=l,f=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(l){var u=l,f=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),l.preventDefault()}function o(l){var u=l,f=l;if(r.trackingID!==-1){l.preventDefault();var v=a(l);if(v){for(r.maxDy=Math.max(r.maxDy,Math.abs(v.y)),r.maxDx=Math.max(r.maxDx,Math.abs(v.x)),r.historyX.push(v.x),r.historyY.push(v.y),r.historyTime.push(u.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(v.x,v.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=a(l);if(u){var f=r.listener;r.trackingID=-1,r.listener=null;var v=r.historyTime.length,p={x:0,y:0};if(v>2)for(var d=r.historyTime.length-1,_=r.historyTime[d],b=r.historyX[d],x=r.historyY[d];d>0;){d--;var m=r.historyTime[d],g=_-m;if(g>30&&g<50){p.x=(b-r.historyX[d])/(g/1e3),p.y=(x-r.historyY[d])/(g/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(u.x,u.y,p)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var rS=0;function iS(e){var t="uni-picker-view-content-".concat(rS++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return H(()=>e.value,r),t}function aS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r){s[u]=n[u]}),a.target.dispatchEvent(s)}})}var nS=ge({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=_e("getPickerViewColumn"),s=Lt(),l=o?o(s):U(0),u=_e("pickerViewProps"),f=_e("pickerViewState"),v=U(34),p=U(null),d=()=>{var O=p.value;v.value=O.$el.offsetHeight},_=ee(()=>(f.height-v.value)/2),{state:b}=Yd(),x=iS(v),m,g=Ae({current:l.value,length:0}),c;function h(){m&&!c&&(c=!0,jr(()=>{c=!1;var O=Math.min(g.current,g.length-1);O=Math.max(O,0),m.update(O*v.value,void 0,v.value)}))}H(()=>l.value,O=>{O!==g.current&&(g.current=O,h())}),H(()=>g.current,O=>l.value=O),H([()=>v.value,()=>g.length,()=>f.height],h);var w=0;function y(O){var N=w+O.deltaY;if(Math.abs(N)>10){w=0;var R=Math.min(g.current+(N<0?-1:1),g.length-1);g.current=R=Math.max(R,0),m.scrollTo(R*v.value)}else w=N;O.preventDefault()}function T(O){var{clientY:N}=O,R=a.value;if(!m.isScrolling()){var V=R.getBoundingClientRect(),ue=N-V.top-f.height/2,M=v.value/2;if(!(Math.abs(ue)<=M)){var B=Math.ceil((Math.abs(ue)-M)/v.value),Q=ue<0?-B:B,te=Math.min(g.current+Q,g.length-1);g.current=te=Math.max(te,0),m.scrollTo(te*v.value)}}}var E=()=>{var O=a.value,N=n.value,{scroller:R,handleTouchStart:V,handleTouchMove:ue,handleTouchEnd:M}=tS(N,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:v.value,friction:new ah(1e-4),spring:new oh(2,90,20),onSnap:B=>{!isNaN(B)&&B!==g.current&&(g.current=B)}});m=R,zn(O,B=>{switch(B.detail.state){case"start":V(B),ar({disable:!0});break;case"move":ue(B),B.stopPropagation();break;case"end":case"cancel":M(B),ar({disable:!1})}},!0),aS(O),Fn(),h()};return ra(()=>{g.length=n.value.children.length,d(),E()}),()=>{var O=r.default&&r.default(),N="".concat(_.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:y,onClick:T,class:"uni-picker-view-group"},[I("div",Qe(b.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(_.value,"px;").concat(u.maskStyle)}),null,16),I("div",Qe(b.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Ar,{ref:p,onResize:R=>{var{height:V}=R;return v.value=V}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",x],style:{padding:N}},[O],6)],40,["onWheel","onClick"])],512)}}}),Mr={activeColor:Ra,backgroundColor:"#EBEBEB",activeMode:"backwards"},oS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Mr.activeColor},activeColor:{type:String,default:Mr.activeColor},backgroundColor:{type:String,default:Mr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Mr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},sS=ge({name:"Progress",props:oS,setup(e){var t=lS(e);return sh(t,e),H(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,sh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function lS(e){var t=U(0),r=ee(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=ee(()=>{var o=e.color!==Mr.activeColor&&e.activeColor===Mr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=ee(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=Ae({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function sh(e,t){t.active?(e.currentPercent=t.activeMode===Mr.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}var lh=fn("ucg"),uS={name:{type:String,default:""}},fS=ge({name:"RadioGroup",props:uS,setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return cS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function cS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};Fe(lh,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var f=r.indexOf(u);s(f,!0),t("change",l,{value:i()})}});var a=_e(At,!1),n={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};a&&(a.addField(n),Ce(()=>{a.removeField(n)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((f,v)=>{v!==l&&(u?o(r[v],!1):r.forEach((p,d)=>{v>=d||r[d].value.radioChecked&&o(r[v],!1)}))})}return r}var vS={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},dS=ge({name:"Radio",props:vS,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value),n=ee(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));H([()=>e.checked,()=>e.value],v=>{var[p,d]=v;i.value=p,a.value=d});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:l,field:u}=hS(i,a,o),f=v=>{e.disabled||(i.value=!0,s&&s.radioChange(v,u))};return l&&(l.addHandler(f),Ce(()=>{l.removeHandler(f)})),Rn(e,{"label-click":f}),()=>{var v=ii(e,"disabled");return I("uni-radio",Qe(v,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?vn(cn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function hS(e,t,r){var i=ee({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),a={reset:r},n=_e(lh,!1);n&&n.addField(i);var o=_e(At,!1);o&&o.addField(a);var s=_e(Gi,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}function gS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function pS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&a!=="style"&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function mS(e){e=gS(e);var t=[],r={node:"root",children:[]};return zd(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=pS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var uh={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},El={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function _S(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(re(El,r)&&El[r])return El[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function bS(e,t,r){return e==="img"&&t==="src"?vt(r):r}function fh(e,t,r,i){return e.forEach(function(a){if(!!mt(a))if(!re(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!re(uh,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(mt(s)){var l=uh[n]||[];Object.keys(s).forEach(function(f){var v=s[f];switch(f){case"class":Array.isArray(v)&&(v=v.join(" "));case"style":o.setAttribute(f,v),r&&o.setAttribute(r,"");break;default:l.indexOf(f)!==-1&&o.setAttribute(f,bS(n,f,v))}})}wS(a,o,i);var u=a.children;Array.isArray(u)&&u.length&&fh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(_S(a.text)))}),t}function wS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var xS={nodes:{type:[Array,String],default:function(){return[]}}},yS=ge({name:"RichText",compatConfig:{MODE:3},props:xS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Lt(),n=U(null),o=Pe(n,r),s=!!i.onItemclick;function l(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,v)}function u(f){typeof f=="string"&&(f=mS(f));var v=fh(f,document.createDocumentFragment(),(a&&a.root.type).__scopeId||"",s&&l);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(v)}return H(()=>e.nodes,f=>{u(f)}),Re(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),ch=mi(!0),SS={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},ES=ge({name:"ScrollView",compatConfig:{MODE:3},props:SS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=U(null),o=U(null),s=U(null),l=U(null),u=Pe(a,r),{state:f,scrollTopNumber:v,scrollLeftNumber:p}=TS(e);CS(e,f,v,p,u,a,n,s,r);var d=ee(()=>{var _="";return e.scrollX?_+="overflow-x:auto;":_+="overflow-x:hidden;",e.scrollY?_+="overflow-y:auto;":_+="overflow-y:hidden;",_});return()=>{var{refresherEnabled:_,refresherBackground:b,refresherDefaultStyle:x}=e,{refresherHeight:m,refreshState:g,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:d.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[_?I("div",{ref:l,style:{backgroundColor:b,height:m+"px"},class:"uni-scroll-view-refresher"},[x!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[g=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,g=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,x=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function TS(e){var t=ee(()=>Number(e.scrollTop)||0),r=ee(()=>Number(e.scrollLeft)||0),i=Ae({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function CS(e,t,r,i,a,n,o,s,l){var u=!1,f=0,v=!1,p=()=>{},d=ee(()=>{var y=Number(e.upperThreshold);return isNaN(y)?50:y}),_=ee(()=>{var y=Number(e.lowerThreshold);return isNaN(y)?50:y});function b(y,T){var E=o.value,O=0,N="";if(y<0?y=0:T==="x"&&y>E.scrollWidth-E.offsetWidth?y=E.scrollWidth-E.offsetWidth:T==="y"&&y>E.scrollHeight-E.offsetHeight&&(y=E.scrollHeight-E.offsetHeight),T==="x"?O=E.scrollLeft-y:T==="y"&&(O=E.scrollTop-y),O!==0){var R=s.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",T==="x"?N="translateX("+O+"px) translateZ(0)":T==="y"&&(N="translateY("+O+"px) translateZ(0)"),R.removeEventListener("transitionend",p),R.removeEventListener("webkitTransitionEnd",p),p=()=>h(y,T),R.addEventListener("transitionend",p),R.addEventListener("webkitTransitionEnd",p),T==="x"?E.style.overflowX="hidden":T==="y"&&(E.style.overflowY="hidden"),R.style.transform=N,R.style.webkitTransform=N}}function x(y){var T=y.target;a("scroll",y,{scrollLeft:T.scrollLeft,scrollTop:T.scrollTop,scrollHeight:T.scrollHeight,scrollWidth:T.scrollWidth,deltaX:t.lastScrollLeft-T.scrollLeft,deltaY:t.lastScrollTop-T.scrollTop}),e.scrollY&&(T.scrollTop<=d.value&&t.lastScrollTop-T.scrollTop>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"top"}),t.lastScrollToUpperTime=y.timeStamp),T.scrollTop+T.offsetHeight+_.value>=T.scrollHeight&&t.lastScrollTop-T.scrollTop<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"bottom"}),t.lastScrollToLowerTime=y.timeStamp)),e.scrollX&&(T.scrollLeft<=d.value&&t.lastScrollLeft-T.scrollLeft>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"left"}),t.lastScrollToUpperTime=y.timeStamp),T.scrollLeft+T.offsetWidth+_.value>=T.scrollWidth&&t.lastScrollLeft-T.scrollLeft<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"right"}),t.lastScrollToLowerTime=y.timeStamp)),t.lastScrollTop=T.scrollTop,t.lastScrollLeft=T.scrollLeft}function m(y){e.scrollY&&(e.scrollWithAnimation?b(y,"y"):o.value.scrollTop=y)}function g(y){e.scrollX&&(e.scrollWithAnimation?b(y,"x"):o.value.scrollLeft=y)}function c(y){if(y){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(y)){console.error("id error: scroll-into-view=".concat(y));return}var T=n.value.querySelector("#"+y);if(T){var E=o.value.getBoundingClientRect(),O=T.getBoundingClientRect();if(e.scrollX){var N=O.left-E.left,R=o.value.scrollLeft,V=R+N;e.scrollWithAnimation?b(V,"x"):o.value.scrollLeft=V}if(e.scrollY){var ue=O.top-E.top,M=o.value.scrollTop,B=M+ue;e.scrollWithAnimation?b(B,"y"):o.value.scrollTop=B}}}}function h(y,T){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var E=o.value;T==="x"?(E.style.overflowX=e.scrollX?"auto":"hidden",E.scrollLeft=y):T==="y"&&(E.style.overflowY=e.scrollY?"auto":"hidden",E.scrollTop=y),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function w(y){switch(y){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,a("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=f=0,y==="restore"&&(v=!1,a("refresherrestore",{},{})),y==="refresherabort"&&v&&(v=!1,a("refresherabort",{},{}));break}t.refreshState=y}Re(()=>{jr(()=>{m(r.value),g(i.value)}),c(e.scrollIntoView);var y=function(V){V.preventDefault(),V.stopPropagation(),x(V)},T={x:0,y:0},E=null,O=function(V){if(T!==null){var ue=V.touches[0].pageX,M=V.touches[0].pageY,B=o.value;if(Math.abs(ue-T.x)>Math.abs(M-T.y))if(e.scrollX){if(B.scrollLeft===0&&ue>T.x){E=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&ueT.y)E=!1,e.refresherEnabled&&V.cancelable!==!1&&V.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&M0&&(v=!0,a("refresherpulling",V,{deltaY:Q})));var te=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(te>1?1:te)*360}}},N=function(V){V.touches.length===1&&(ar({disable:!0}),T={x:V.touches[0].pageX,y:V.touches[0].pageY})},R=function(V){T=null,ar({disable:!1}),t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};o.value.addEventListener("touchstart",N,ch),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",y,mi(!1)),o.value.addEventListener("touchend",R,ch),Fn(),Ce(()=>{o.value.removeEventListener("touchstart",N),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",y),o.value.removeEventListener("touchend",R)})}),as(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),H(r,y=>{m(y)}),H(i,y=>{g(y)}),H(()=>e.scrollIntoView,y=>{c(y)}),H(()=>e.refresherTriggered,y=>{y===!0?w("refreshing"):y===!1&&w("restore")})}var OS={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},AS=ge({name:"Slider",props:OS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=U(null),o=U(Number(e.value));H(()=>e.value,v=>{o.value=Number(v)});var s=Pe(i,r),l=IS(e,o),{_onClick:u,_onTrack:f}=kS(e,o,i,a,s);return Re(()=>{zn(n.value,f)}),()=>{var{setBgColor:v,setBlockBg:p,setActiveColor:d,setBlockStyle:_}=l;return I("uni-slider",{ref:i,onClick:Or(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:v.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:p.value,class:"uni-slider-handle"},null,4),I("div",{style:_.value,class:"uni-slider-thumb"},null,4),I("div",{style:d.value,class:"uni-slider-track"},null,4)],4)]),Ti(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Ri,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function IS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:ee(()=>({backgroundColor:i()})),setBlockBg:ee(()=>({left:r()})),setActiveColor:ee(()=>({backgroundColor:a(),width:r()})),setBlockStyle:ee(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function kS(e,t,r,i,a){var n=v=>{e.disabled||(s(v),a("change",v,{value:t.value}))},o=v=>{var p=Number(e.max),d=Number(e.min),_=Number(e.step);return vp?p:MS.mul.call(Math.round((v-d)/_),_)+d},s=v=>{var p=Number(e.max),d=Number(e.min),_=i.value,b=getComputedStyle(_,null).marginLeft,x=_.offsetWidth;x=x+parseInt(b);var m=r.value,g=m.offsetWidth-(e.showValue?x:0),c=m.getBoundingClientRect().left,h=(v.x-c)*(p-d)/g+d;t.value=o(h)},l=v=>{if(!e.disabled)return v.detail.state==="move"?(s({x:v.detail.x}),a("changing",v,{value:t.value}),!1):v.detail.state==="end"&&a("change",v,{value:t.value})},u=_e(At,!1);if(u){var f={reset:()=>t.value=Number(e.min),submit:()=>{var v=["",null];return e.name!==""&&(v[0]=e.name,v[1]=t.value),v}};u.addField(f),Ce(()=>{u.removeField(f)})}return{_onClick:n,_onTrack:l}}var MS={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},RS={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function LS(e){var t=ee(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=ee(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=ee(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=Ae({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function PS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,f=1,v=null,p=!1,d=0,_,b="",x,m=ee(()=>e.circular&&r.value.length>t.displayMultipleItems);function g(M){if(!l)for(var B=r.value,Q=B.length,te=M+t.displayMultipleItems,W=0;W=G.length&&(M-=G.length),M=_%1>.5||_<0?M-1:M,n("transition",{},{dx:e.vertical?0:M*W.offsetWidth,dy:e.vertical?M*W.offsetHeight:0})}function h(){v&&(c(v.toPos),v=null)}function w(M){var B=r.value.length;if(!B)return-1;var Q=(Math.round(M)%B+B)%B;if(m.value){if(B<=t.displayMultipleItems)return 0}else if(Q>B-t.displayMultipleItems)return B-t.displayMultipleItems;return Q}function y(){v=null}function T(){if(!v){p=!1;return}var M=v,B=M.toPos,Q=M.acc,te=M.endTime,W=M.source,G=te-Date.now();if(G<=0){c(B),v=null,p=!1,_=null;var ae=r.value[t.current];if(ae){var Se=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Se,source:W})}return}var se=Q*G*G/2,K=B+se;c(K),x=requestAnimationFrame(T)}function E(M,B,Q){y();var te=t.duration,W=r.value.length,G=u;if(m.value)if(Q<0){for(;GM;)G-=W}else if(Q>0){for(;G>M;)G-=W;for(;G+WM;)G-=W;G+W-M0&&f<1||(f=1)}var G=u;u=-2;var ae=t.current;ae>=0?(l=!1,t.userTracking?(c(G+ae-d),d=ae):(c(ae),e.autoplay&&O())):(l=!0,c(-t.displayMultipleItems-1))}H([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var M=-1;if(e.currentItemId)for(var B=0,Q=r.value;Be.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...r.value]],N),H(()=>t.interval,()=>{s&&(o(),O())});function R(M,B){var Q=b;b="";var te=r.value;if(!Q){var W=te.length;E(M,"",m.value&&B+(W-M)%W>W/2?1:0)}var G=te[M];if(G){var ae=t.currentItemId=G.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:Q})}}H(()=>t.current,(M,B)=>{R(M,B),a("update:current",M)}),H(()=>t.currentItemId,M=>{a("update:currentItemId",M)});function V(M){M?O():o()}H(()=>e.autoplay&&!t.userTracking,V),V(e.autoplay&&!t.userTracking),Re(()=>{var M=!1,B=0,Q=0;function te(){o(),d=u,B=0,Q=Date.now(),y()}function W(ae){var Se=Q;Q=Date.now();var se=r.value.length,K=se-t.displayMultipleItems;function ie(nt){return .5-.25/(nt+.5)}function le(nt,nr){var Ne=d+nt;B=.6*B+.4*nr,m.value||(Ne<0||Ne>K)&&(Ne<0?Ne=-ie(-Ne):Ne>K&&(Ne=K+ie(Ne-K)),B=0),c(Ne)}var Ie=Q-Se||1,ke=i.value;e.vertical?le(-ae.dy/ke.offsetHeight,-ae.ddy/Ie):le(-ae.dx/ke.offsetWidth,-ae.ddx/Ie)}function G(ae){t.userTracking=!1;var Se=B/Math.abs(B),se=0;!ae&&Math.abs(B)>.2&&(se=.5*Se);var K=w(u+se);ae?c(d):(b="touch",t.current=K,E(K,"touch",se!==0?se:K===0&&m.value&&u>=1?1:0))}zn(i.value,ae=>{if(!e.disableTouch&&!l){if(ae.detail.state==="start")return t.userTracking=!0,M=!1,te();if(ae.detail.state==="end")return G(!1);if(ae.detail.state==="cancel")return G(!0);if(t.userTracking){if(!M){M=!0;var Se=Math.abs(ae.detail.dx),se=Math.abs(ae.detail.dy);if((Se>=se&&e.vertical||Se<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return W(ae.detail),!1}}})}),Vt(()=>{o(),cancelAnimationFrame(x)});function ue(M){E(t.current=M,b="click",m.value?1:0)}return{onSwiperDotClick:ue}}var NS=ge({name:"Swiper",props:RS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),o=U(null),s=U(null),l=LS(e),u=ee(()=>{var g={};return(e.nextMargin||e.previousMargin)&&(g=e.vertical?{left:0,right:0,top:mr(e.previousMargin,!0),bottom:mr(e.nextMargin,!0)}:{top:0,bottom:0,left:mr(e.previousMargin,!0),right:mr(e.nextMargin,!0)}),g}),f=ee(()=>{var g=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":g,height:e.vertical?g:"100%"}}),v=[],p=[],d=U([]);function _(){for(var g=[],c=function(w){var y=v[w];y instanceof Element||(y=y.el);var T=p.find(E=>y===E.rootRef.value);T&&g.push(Ya(T))},h=0;h{v=s.value.children,_()});var b=function(g){p.push(g),_()};Fe("addSwiperContext",b);var x=function(g){var c=p.indexOf(g);c>=0&&(p.splice(c,1),_())};Fe("removeSwiperContext",x);var{onSwiperDotClick:m}=PS(e,l,d,s,i,n);return()=>{var g=r.default&&r.default();return v=xl(g),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[g],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[d.value.map((c,h,w)=>I("div",{onClick:()=>m(h),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":h=l.current||h{var n=_e("addSwiperContext");n&&n(a)}),Vt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),$S={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},FS=ge({name:"Switch",props:$S,emits:["change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(e.checked),n=zS(e,a),o=Pe(i,r);H(()=>e.checked,l=>{a.value=l});var s=l=>{e.disabled||(a.value=!a.value,o("change",l,{value:a.value}))};return n&&(n.addHandler(s),Ce(()=>{n.removeHandler(s)})),Rn(e,{"label-click":s}),()=>{var{color:l,type:u}=e,f=ii(e,"disabled");return I("uni-switch",Qe({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ti(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?l:"#DFDFDF",borderColor:a.value?l:"#DFDFDF"}},null,6),[[Ri,u==="switch"]]),Ti(I("div",{class:"uni-checkbox-input"},[a.value?vn(cn,e.color,22):""],512),[[Ri,u==="checkbox"]])])],16,["onClick"])}}});function zS(e,t){var r=_e(At,!1),i=_e(Gi,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Vt(()=>{r.removeField(a)})),i}var na={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function US(e,t){return e.replace(/\\n/g,pi).split(pi).map(r=>HS(r,t))}function HS(e,t){var{space:r,decode:i}=t;return!e||(r&&na[r]&&(e=e.replace(/ /g,na[r])),!i)?e:e.replace(/ /g,na.nbsp).replace(/ /g,na.ensp).replace(/ /g,na.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var WS=ve({},qd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Tl=!1;function VS(){var e="(prefers-color-scheme: dark)";Tl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var jS=ge({name:"Textarea",props:WS,emit:["confirm","linechange",...Xd],setup(e,t){var{emit:r}=t,i=U(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:l}=Zd(e,i,r),u=ee(()=>n.value.split(pi)),f=ee(()=>["done","go","next","search","send"].includes(e.confirmType)),v=U(0),p=U(null);H(()=>v.value,m=>{var g=i.value,c=p.value,h=parseFloat(getComputedStyle(g).lineHeight);isNaN(h)&&(h=c.offsetHeight);var w=Math.round(m/h);l("linechange",{},{height:m,heightRpx:750/window.innerWidth*m,lineCount:w}),e.autoHeight&&(g.style.height=m+"px")});function d(m){var{height:g}=m;v.value=g}function _(m){l("confirm",m,{value:n.value})}function b(m){m.key==="Enter"&&f.value&&m.preventDefault()}function x(m){if(m.key==="Enter"&&f.value){_(m);var g=m.target;!e.confirmHold&&g.blur()}}return VS(),()=>{var m=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:g=>g.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:b,onKeyup:x},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ti(I("div",Qe(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ri,!n.value.length]]),I("div",{ref:p,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(g=>I("div",null,[g.trim()?g:"."])),I(Ar,{initial:!0,onResize:d},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[m],40,["onSubmit"]):m])],512)}}});ve({},gx);function Wn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function vh(e,t,r){!e||bt(r||Xt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function dh(e){!e||A0(Xt(),e)}function Vn(e,t,r,i){var a=Lt(),n=a.proxy;Re(()=>{vh(t||Wn(n),e,i),(r||!t)&&H(()=>n.id,(o,s)=>{vh(Wn(n,o),e,i),dh(s&&Wn(n,s))})}),Ce(()=>{dh(t||Wn(n))})}var YS=0;function jn(e){var t=dn(),r=Lt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(YS++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function qS(e){return e.__uniContextInfo}class hh extends yd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Mn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Mn.mounted);this.$animate&&(this.$animate=!1,this.call(Mn.watch.animation.handler))}}}var XS=["space","decode"];class ZS extends hh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,XS);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=US(this._text,{space:r,decode:i}).join(pi),super.update(t)}}class KS extends ri{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var jT="",GS=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class JS extends hh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...GS,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new QS(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class QS{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class eE extends JS{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function gh(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function ph(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Ou+gh():0}var mh=Symbol("onDraw");function tE(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function Cl(e,t){return ee(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?vt(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function oa(e){var t=Ae({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=U(!1);function i(){var v=e.value,p=v.getBoundingClientRect(),d=["width","height"];r.value=p.width===0||p.height===0,r.value||(t.position=tE(v)?"absolute":"static",d.push("top","left")),d.forEach(_=>{var b=p[_];b=_==="top"?b+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:ph()):b,t[_]=b+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function l(v){s?s.push(v):v()}function u(v){var p=_e(mh),d=_=>{v(_),o.forEach(b=>b(t)),o=null};l(()=>{p?p(d):d({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(v){o?o.push(v):v(t)};return Fe(mh,f),Re(()=>{i(),s.forEach(v=>v()),s=null}),Ce(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:u}}var rE=ge({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=Cl(e,["id"]),{position:s,onParentReady:l}=oa(a),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(u),u.setDislikeListener(v=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},v)}),u.setRenderingListener(v=>{v.result===0?(a.value.style.height=v.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:v.result})}),u.setAdClickedListener(()=>{n("adclicked",{},{})}),H(()=>s,v=>u.setStyle(v),{deep:!0}),H(()=>e.adpid,v=>{v&&f()}),H(()=>e.data,v=>{v&&u.renderingBind(v)});function f(){var v={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(v.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",v,p=>{var{code:d,data:_,message:b}=p;d===0?u.renderingBind(_):n("error",{},{errMsg:b})})}e.adpid&&f()}),Ce(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class we extends ri{constructor(t,r,i,a,n,o,s){super(t,r,a);var l=document.createElement("div");l.__vueParent=iE(this),this.$props=Ae({}),this.init(o),this.$app=fc(dT(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),re(o,"t")&&this.setText(o.t||""),o.a&&re(o.a,La)&&dl(this.$,o.a[La]),this.insert(a,n),Gf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),re(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=xd(this.$,r,i)}addEvent(t,r){this.$props[t]=bd(this.id,r,Ro(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===La)this.$&&dl(this.$,r);else if(t===Ru)this.$.__ownerId=r;else if(t===Lu)rr(()=>cd(this,r),ld);else if(t===Po){var i=vl(this.$||at(this.pid).$,r),a=this.$props.style;mt(i)&&mt(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else kn(t)?this.$.style.setProperty(t,r):(r=vl(this.$||at(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){kn(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Th(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class sa extends we{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return rr(this.getRebuildFn(),ol),super.setText(t)}appendChild(t){return rr(this.getRebuildFn(),ol),super.appendChild(t)}insertBefore(t,r){return rr(this.getRebuildFn(),ol),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function iE(e){for(;e&&e.pid>0;)if(e=at(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Ol(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}var aE=["value","modelValue"];function _h(e){aE.forEach(t=>{if(re(e,t)){var r="onUpdate:"+t;re(e,r)||(e[r]=i=>e[t]=i)}})}class nE extends we{constructor(t,r,i,a){super(t,"uni-ad",rE,r,i,a)}}var YT="";class oE extends we{constructor(t,r,i,a){super(t,"uni-button",Sx,r,i,a)}}class ni extends ri{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class sE extends ni{constructor(t,r,i){super(t,"uni-camera",r,i)}}var qT="";class lE extends we{constructor(t,r,i,a){super(t,"uni-canvas",Mx,r,i,a,"uni-canvas > div")}}var XT="";class uE extends we{constructor(t,r,i,a){super(t,"uni-checkbox",$x,r,i,a,".uni-checkbox-wrapper")}setText(t){Ol(this.$holder,"uni-checkbox-input",t)}}var ZT="";class fE extends we{constructor(t,r,i,a){super(t,"uni-checkbox-group",Nx,r,i,a)}}var KT="",cE=0;function bh(e,t,r){var{position:i,hidden:a,onParentReady:n}=oa(e),o,s;n(l=>{var u=ee(()=>{var c={};for(var h in i){var w=i[h],y=parseFloat(w),T=parseFloat(l[h]);if(h==="top"||h==="left")w=Math.max(y,T)+"px";else if(h==="width"||h==="height"){var E=h==="width"?"left":"top",O=parseFloat(l[E]),N=parseFloat(i[E]),R=Math.max(O-N,0),V=Math.max(N+y-(O+T),0);w=Math.max(y-R-V,0)+"px"}c[h]=w}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],v=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],p=[],d={start:"left",end:"right"};function _(c){var h=getComputedStyle(e.value);return f.concat(v,p).forEach(w=>{c[w]=h[w]}),c}var b=Ae(_({})),x=null;s=function(){x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{x=null,_(b)})},window.addEventListener("updateview",s);function m(){var c={};for(var h in c){var w=c[h];(h==="top"||h==="left")&&(w=Math.min(parseFloat(w)-parseFloat(l[h]),0)+"px"),c[h]=w}return c}var g=ee(()=>{var c=m(),h=[{tag:"rect",position:c,rectStyles:{color:b.backgroundColor,radius:b.borderRadius,borderColor:b.borderColor,borderWidth:b.borderWidth}}];if("src"in r)r.src&&h.push({tag:"img",position:c,src:r.src});else{var w=parseFloat(b.lineHeight)-parseFloat(b.fontSize),y=parseFloat(c.width)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight);y=y<0?0:y;var T=parseFloat(c.height)-parseFloat(b.paddingTop)-w/2-parseFloat(b.paddingBottom);T=T<0?0:T,h.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(b.paddingTop)+w/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(b.paddingLeft),"px"),width:"".concat(y,"px"),height:"".concat(T,"px")},textStyles:{align:d[b.textAlign]||b.textAlign,color:b.color,decoration:"none",lineSpacing:"".concat(w,"px"),margin:"0px",overflow:b.textOverflow,size:b.fontSize,verticalAlign:"top",weight:b.fontWeight,whiteSpace:b.whiteSpace},text:r.text})}return h});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(cE++),u.value,g.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),H(()=>a.value,c=>{o[c?"hide":"show"]()}),H(()=>u.value,c=>{o.setStyle(c)},{deep:!0}),H(()=>g.value,()=>{o.reset(),o.draw(g.value)},{deep:!0})}),Ce(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var vE="_doc/uniapp_temp/",dE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function hE(e,t,r){var i=U(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?vt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:vE+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:l=>{var{width:u,height:f}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),H(()=>e.src,n),Ce(()=>{a&&a.abort()}),i}var wh=ge({name:"CoverImage",props:dE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=Ae({src:""}),o=hE(e,n,a);return bh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class gE extends we{constructor(t,r,i,a){super(t,"uni-cover-image",wh,r,i,a)}}var GT="",pE=ge({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=Ae({text:""});return bh(i,n,o),ra(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class mE extends sa{constructor(t,r,i,a){super(t,"uni-cover-view",pE,r,i,a,".uni-cover-view")}}var JT="";class _E extends we{constructor(t,r,i,a){super(t,"uni-editor",uy,r,i,a)}}var QT="";class bE extends we{constructor(t,r,i,a){super(t,"uni-form",_x,r,i,a,"span")}}class wE extends ni{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var e2="";class xE extends we{constructor(t,r,i,a){super(t,"uni-icon",dy,r,i,a)}}var t2="";class yE extends we{constructor(t,r,i,a){super(t,"uni-image",py,r,i,a)}}var r2="";class SE extends we{constructor(t,r,i,a){super(t,"uni-input",Dy,r,i,a)}init(t){super.init(t),_h(this.$props)}}var i2="";class EE extends we{constructor(t,r,i,a){super(t,"uni-label",xx,r,i,a)}}class TE extends ni{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class CE extends ni{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var a2="",OE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Al(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var AE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},IE=ge({name:"Map",props:AE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=Cl(e,["id"]),{position:s,hidden:l,onParentReady:u}=oa(n),f,{_addMarkers:v,_addMapLines:p,_addMapCircles:d,_setMap:_}=kE(e,a);u(()=>{f=ve(plus.maps.create(Xt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),l.value&&f.hide(),f.onclick=x=>{a("click",{},x)},f.onstatuschanged=x=>{a("regionchange",{},{})},_(f),v(e.markers),p(e.polyline),d(e.circles),H(()=>o.value,x=>f&&f.setStyles(x),{deep:!0}),H(()=>s,x=>f&&f.setStyles(x),{deep:!0}),H(l,x=>{f&&f[x?"hide":"show"]()}),H(()=>e.scale,x=>{f&&f.setZoom(parseInt(String(x)))}),H([()=>e.latitude,()=>e.longitude],x=>{var[m,g]=x;f&&f.setStyles({center:new plus.maps.Point(Number(m),Number(g))})}),H(()=>e.markers,x=>{v(x,!0)},{deep:!0}),H(()=>e.polyline,x=>{p(x)},{deep:!0}),H(()=>e.circles,x=>{d(x)},{deep:!0})});var b=ee(()=>e.controls.map(x=>{var m={position:"absolute"};return["top","left","width","height"].forEach(g=>{x.position[g]&&(m[g]=x.position[g]+"px")}),{id:x.id,iconPath:vt(x.iconPath),position:m,clickable:x.clickable}}));return Ce(()=>{f&&(f.close(),_(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),b.value.map((x,m)=>I(wh,{key:m,src:x.iconPath,style:x.position,"auto-size":!0,onClick:()=>x.clickable&&a("controltap",{},{controlId:x.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function kE(e,t){var r;function i(d){var{longitude:_,latitude:b}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(_||e.longitude),Number(b||e.latitude))),d({errMsg:"moveToLocation:ok"}))}function a(d){!r||r.getCurrentCenter((_,b)=>{d({longitude:b.getLng(),latitude:b.getLat(),errMsg:"getCenterLocation:ok"})})}function n(d){if(!!r){var _=r.getBounds();d({southwest:_.getSouthWest(),northeast:_.getNorthEast(),errMsg:"getRegion:ok"})}}function o(d){!r||d({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(d){if(!!r){var{id:_,latitude:b,longitude:x,iconPath:m,callout:g,label:c}=d;OE(x,b,h=>{var w,{latitude:y,longitude:T}=h.coord,E=new plus.maps.Marker(new plus.maps.Point(T,y));m&&E.setIcon(vt(m)),c&&c.content&&E.setLabel(c.content);var O=void 0;g&&g.content&&(O=new plus.maps.Bubble(g.content)),O&&E.setBubble(O),(_||_===0)&&(E.onclick=N=>{t("markertap",{},{markerId:_})},O&&(O.onclick=()=>{t("callouttap",{},{markerId:_})})),(w=r)===null||w===void 0||w.addOverlay(E),r.__markers__.push(E)})}}function l(){if(!!r){var d=r.__markers__;d.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__markers__=[]}}function u(d,_){_&&l(),d.forEach(b=>{s(b)})}function f(d){!r||(r.__lines__.length>0&&(r.__lines__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__lines__=[]),d.forEach(_=>{var b,{color:x,width:m}=_,g=_.points.map(w=>new plus.maps.Point(w.longitude,w.latitude)),c=new plus.maps.Polyline(g);if(x){var h=Al(x);c.setStrokeColor(h.color),c.setStrokeOpacity(h.opacity)}m&&c.setLineWidth(m),(b=r)===null||b===void 0||b.addOverlay(c),r.__lines__.push(c)}))}function v(d){!r||(r.__circles__.length>0&&(r.__circles__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__circles__=[]),d.forEach(_=>{var b,{latitude:x,longitude:m,color:g,fillColor:c,radius:h,strokeWidth:w}=_,y=new plus.maps.Circle(new plus.maps.Point(m,x),h);if(g){var T=Al(g);y.setStrokeColor(T.color),y.setStrokeOpacity(T.opacity)}if(c){var E=Al(c);y.setFillColor(E.color),y.setFillOpacity(E.opacity)}w&&y.setLineWidth(w),(b=r)===null||b===void 0||b.addOverlay(y),r.__circles__.push(y)}))}var p={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return Vn((d,_,b)=>{p[d]&&p[d](b,_)},jn(),!0),{_addMarkers:u,_addMapLines:f,_addMapCircles:v,_setMap(d){r=d}}}class ME extends we{constructor(t,r,i,a){super(t,"uni-map",IE,r,i,a,".uni-map-slot")}}var n2="";class RE extends sa{constructor(t,r,i,a){super(t,"uni-movable-area",Uy,r,i,a)}}var o2="";class LE extends we{constructor(t,r,i,a){super(t,"uni-movable-view",Vy,r,i,a)}}var s2="";class PE extends we{constructor(t,r,i,a){super(t,"uni-navigator",Xy,r,i,a)}}class NE extends ni{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class DE extends ni{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var oi,xh,si;function yh(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function Sh(){return oi.webview.currentWebview().id}var Yn,Il,kl={};function Ml(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=kl[r];i&&i(t),t.keep||delete kl[r]}}function BE(e,t){yh()==="v8"?si?(Yn&&Yn.close(),Yn=new si(Sh()),Yn.onmessage=Ml):Il||(Il=xh.requireModule("globalEvent"),Il.addEventListener("plusMessage",Ml)):window.__plusMessage=Ml,kl[e]=t}class $E{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(si){var a=new si(i);a.postMessage(r)}else oi.webview.postMessageToUniNView&&oi.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function FE(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;oi=t.plus||plus,xh=t.weex||(typeof weex=="object"?weex:null),si=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());a=ve({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ve(s,a.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:16,viewport:oi.screen.resolutionWidth}};a=ve(u,a);var f=oi.webview.create("",l,a,{extras:{from:Sh(),runtime:yh(),data:i,useGlobalEvent:!si}});return f.addEventListener("close",o),BE(l,v=>{typeof n=="function"&&n(v.data),v.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new $E(f)}var Oe={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},li={YEAR:"year",MONTH:"month",DAY:"day"};function qn(e){return e>9?e:"0".concat(e)}function Xn(e,t){e=String(e||"");var r=new Date;if(t===Oe.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function zE(e){if(e.mode===Oe.TIME)return"00:00";if(e.mode===Oe.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case li.YEAR:return t;case li.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function UE(e){if(e.mode===Oe.TIME)return"23:59";if(e.mode===Oe.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case li.YEAR:return t;case li.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var HE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Oe.SELECTOR,validator(e){return Object.values(Oe).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:zE},end:{type:String,default:UE},disabled:{type:[Boolean,String],default:!1}},WE=ge({name:"Picker",props:HE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;y0();var{t:i,getLocale:a}=Ge(),n=U(null),o=Pe(n,r),s=U(null),l=U(null),u=()=>{var m=e.value;switch(e.mode){case Oe.MULTISELECTOR:{Array.isArray(m)||(m=[]),Array.isArray(s.value)||(s.value=[]);for(var g=s.value.length=Math.max(m.length,e.range.length),c=0;c{l.value&&l.value.sendMessage(m)},v=m=>{var g={event:"cancel"};l.value=FE({url:"__uniapppicker",data:m,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var h=c.event;if(h==="created"){f(m);return}if(h==="columnchange"){delete c.event,o(h,{},c);return}g=c},onClose:()=>{l.value=null;var c=g.event;delete g.event,c&&o(c,{},g)}})},p=(m,g)=>{plus.nativeUI[e.mode===Oe.TIME?"pickTime":"pickDate"](c=>{var h=c.date;o("change",{},{value:e.mode===Oe.TIME?"".concat(qn(h.getHours()),":").concat(qn(h.getMinutes())):"".concat(h.getFullYear(),"-").concat(qn(h.getMonth()+1),"-").concat(qn(h.getDate()))})},()=>{o("cancel",{},{})},e.mode===Oe.TIME?{time:Xn(e.value,Oe.TIME),popover:g}:{date:Xn(e.value,Oe.DATE),minDate:Xn(e.start,Oe.DATE),maxDate:Xn(e.end,Oe.DATE),popover:g})},d=(m,g)=>{(m.mode===Oe.TIME||m.mode===Oe.DATE)&&!m.fields?p(m,g):(m.fields=Object.values(li).includes(m.fields)?m.fields:li.DAY,v(m))},_=m=>{if(!e.disabled){var g=m.currentTarget,c=g.getBoundingClientRect();d(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+ph(),left:c.left,width:c.width,height:c.height})}},b=_e(At,!1),x={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Oe.SELECTOR:s.value=0;break;case Oe.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(m=>0));break;case Oe.DATE:case Oe.TIME:s.value="";break}}};return b&&(b.addField(x),Ce(()=>b.removeField(x))),Object.keys(e).forEach(m=>{m!=="name"&&H(()=>e[m],g=>{var c={};c[m]=g,f(c)},{deep:!0})}),H(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:n,onClick:_},[I("slot",null,null)],8,["onClick"])}});class VE extends we{constructor(t,r,i,a){super(t,"uni-picker",WE,r,i,a)}}var l2="";class jE extends sa{constructor(t,r,i,a){super(t,"uni-picker-view",Gy,r,i,a,".uni-picker-view-wrapper")}}var u2="";class YE extends sa{constructor(t,r,i,a){super(t,"uni-picker-view-column",nS,r,i,a,".uni-picker-view-content")}}var f2="";class qE extends we{constructor(t,r,i,a){super(t,"uni-progress",sS,r,i,a)}}var c2="";class XE extends we{constructor(t,r,i,a){super(t,"uni-radio",dS,r,i,a,".uni-radio-wrapper")}setText(t){Ol(this.$holder,"uni-radio-input",t)}}var v2="";class ZE extends we{constructor(t,r,i,a){super(t,"uni-radio-group",fS,r,i,a)}}var d2="";class KE extends we{constructor(t,r,i,a){super(t,"uni-rich-text",yS,r,i,a)}}var h2="";class GE extends we{constructor(t,r,i,a){super(t,"uni-scroll-view",ES,r,i,a,".uni-scroll-view-content")}setText(t){Ol(this.$holder,"uni-scroll-view-refresher",t)}}var g2="";class JE extends we{constructor(t,r,i,a){super(t,"uni-slider",AS,r,i,a)}}var p2="";class QE extends sa{constructor(t,r,i,a){super(t,"uni-swiper",NS,r,i,a,".uni-swiper-slide-frame")}}var m2="";class eT extends we{constructor(t,r,i,a){super(t,"uni-swiper-item",BS,r,i,a)}}var _2="";class tT extends we{constructor(t,r,i,a){super(t,"uni-switch",FS,r,i,a)}}var b2="";class rT extends we{constructor(t,r,i,a){super(t,"uni-textarea",jS,r,i,a)}init(t){super.init(t),_h(this.$props)}}var w2="",iT={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Eh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],aT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],nT=ge({name:"Video",props:iT,emits:Eh,setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=Cl(e,["id"]),{position:s,hidden:l,onParentReady:u}=oa(n),f;u(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),l.value&&f.hide(),Eh.forEach(p=>{f.addEventListener(p,d=>{a(p,{},d.detail)})}),H(()=>o.value,p=>f.setStyles(p),{deep:!0}),H(()=>s,p=>f.setStyles(p),{deep:!0}),H(()=>l.value,p=>{f[p?"hide":"show"](),p||f.setStyles(s)})});var v=jn();return Vn((p,d)=>{if(aT.includes(p)){var _;switch(p){case"seek":_=d.position;break;case"sendDanmu":_=d;break;case"playbackRate":_=d.rate;break;case"requestFullScreen":_=d.direction;break}f&&f[p](_)}},v,!0),Ce(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class oT extends we{constructor(t,r,i,a){super(t,"uni-video",nT,r,i,a,".uni-video-slot")}}var x2="",sT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},it,lT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ve(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var l=Ou+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=gh()),o.top=String(l),o.bottom=o.bottom||"0"}it=plus.webview.create(r,t,o),s&&it.addEventListener("titleUpdate",function(){var u;if(!!a.updateTitle){var f=(u=it)===null||u===void 0?void 0:u.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(it)},uT=()=>{var e;plus.webview.currentWebview().remove(it),(e=it)===null||e===void 0||e.close("none"),it=null},fT=ge({name:"WebView",props:sT,setup(e){var t=Xt(),r=U(null),{hidden:i,onParentReady:a}=oa(r),n=ee(()=>e.webviewStyles);return a(()=>{var o,s=U(bb+t);lT({htmlId:s.value,src:vt(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(mb,{},t),i.value&&((o=it)===null||o===void 0||o.hide())}),Ce(()=>{uT(),UniViewJSBridge.publishHandler(_b,{},t)}),H(()=>e.src,o=>{var s,l=vt(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=it)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=it)===null||s===void 0||s.loadURL(l)}}),H(n,o=>{var s;(s=it)===null||s===void 0||s.setStyle(o)}),H(i,o=>{it&&it[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class cT extends we{constructor(t,r,i,a){super(t,"uni-web-view",fT,r,i,a)}}var vT={"#text":KS,"#comment":cx,VIEW:eE,IMAGE:yE,TEXT:ZS,NAVIGATOR:PE,FORM:bE,BUTTON:oE,INPUT:SE,LABEL:EE,RADIO:XE,CHECKBOX:uE,"CHECKBOX-GROUP":fE,AD:nE,CAMERA:sE,CANVAS:lE,"COVER-IMAGE":gE,"COVER-VIEW":mE,EDITOR:_E,"FUNCTIONAL-PAGE-NAVIGATOR":wE,ICON:xE,"RADIO-GROUP":ZE,"LIVE-PLAYER":TE,"LIVE-PUSHER":CE,MAP:ME,"MOVABLE-AREA":RE,"MOVABLE-VIEW":LE,"OFFICIAL-ACCOUNT":NE,"OPEN-DATA":DE,PICKER:VE,"PICKER-VIEW":jE,"PICKER-VIEW-COLUMN":YE,PROGRESS:qE,"RICH-TEXT":KE,"SCROLL-VIEW":GE,SLIDER:JE,SWIPER:QE,"SWIPER-ITEM":eT,SWITCH:tT,TEXTAREA:rT,VIDEO:oT,"WEB-VIEW":cT};function dT(e,t){return()=>b_(e,t)}var Zn=new Map;function at(e){return Zn.get(e)}function hT(e){return Zn.get(e)}function Th(e){return Zn.delete(e)}function Ch(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ri(e,t,r,document.createElement(t));else{var o=vT[t];o?n=new o(e,r,i,a):n=new yd(e,document.createElement(t),r,i,a)}return Zn.set(e,n),n}var Rl=[],Oh=!1;function Ah(e){if(Oh)return e();Rl.push(e)}function Ll(){Oh=!0,Rl.forEach(e=>e()),Rl.length=0}function gT(){}function Ih(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;pT(r),mT(i,a,n),_T();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),wT(s,l,u),o&&document.addEventListener("touchmove",lb),t?bT(r):Ll()}function pT(e){window.__PAGE_INFO__={route:e}}function mT(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function _T(){Ch(0,"div",-1,-1).$=document.getElementById("app")}function bT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Ll,t.onerror=Ll,document.head.appendChild(t)}function wT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};G_(i)}var kh=!1;function xT(e){if(!kh){kh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Rp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Lp)}};requestAnimationFrame(()=>document.addEventListener("scroll",ub(t)))}}function yT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Dp(i||r||0,a),t()}function ST(e){var t=e[0];t[0]===Pu?ET(t):Ah(()=>TT(e))}function ET(e){return Ih(e[1])}function TT(e){var t=e[0],r=j1(t[0]===pb?t[1]:[]);e.forEach(i=>{switch(i[0]){case Pu:return Ih(i[1]);case Vp:return gT();case jp:return Ch(i[1],r(i[2]),i[3],i[4],Y1(r,i[5]));case Yp:return at(i[1]).remove();case qp:return at(i[1]).setAttr(r(i[2]),r(i[3]));case Xp:return at(i[1]).removeAttr(r(i[2]));case Zp:return at(i[1]).addEvent(r(i[2]),i[3]);case Jp:return at(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Kp:return at(i[1]).removeEvent(r(i[2]));case Gp:return at(i[1]).setText(r(i[2]));case Qp:return xT(i[1])}}),K1()}function CT(){var{subscribe:e}=UniViewJSBridge;e(xc,ST),e(wb,t=>Ge().setLocale(t)),e(yc,OT)}function OT(){UniViewJSBridge.publishHandler("webviewReady")}function Mh(e){return window.__$__(e).$}function AT(e){var t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Pl(e,t){var r={},{top:i}=K_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=ko(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=qS(e)),r}function IT(e,t){return e?window.__$__(e).$:t.$el}function Rh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function kT(e,t,r,i,a){var n=IT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Rh(n,r)?n:n.querySelector(r);return u?Pl(u,a):null}else{var f=[],v=(l?o:n).querySelectorAll(r);return v&&v.length&&[].forEach.call(v,p=>{f.push(Pl(p,a))}),!l&&Rh(n,r)&&f.unshift(Pl(n,a)),f}}function MT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:l}=a;n===null?i.push(AT(l)):i.push(kT(e,n,o,s,l))}),r(i)}function RT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function LT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Mh(i);(o.__io||(o.__io={}))[r]=B1(o,a,n)}function PT(e,t){var{reqId:r,component:i}=e,a=Mh(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var Nl={},Dl={};function NT(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Lh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Lh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Lh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function DT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Nl[r]=window.matchMedia(NT(a)),s=Dl[r]=l=>n(l.matches);s(o),o.addListener(s)}function BT(e,t){var{reqId:r,component:i}=e,a=Dl[r],n=Nl[r];n&&(n.removeListener(a),delete Dl[r],delete Nl[r])}function $T(e,t){var{family:r,source:i,desc:a}=e;Np(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var FT={$el:document.body};function zT(){var e=Xt();O0(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),bt(e,"requestComponentInfo",(t,r)=>{MT(FT,t.reqs,r)}),bt(e,"addIntersectionObserver",t=>{LT(ve({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeIntersectionObserver",t=>{PT(t)}),bt(e,"addMediaQueryObserver",t=>{DT(ve({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeMediaQueryObserver",t=>{BT(t)}),bt(e,P1,yT),bt(e,L1,$T),bt(e,R1,t=>{RT(null,t)})}window.uni=W1,window.UniViewJSBridge=Sc,window.rpx2px=nd,window.__$__=at,window.__f__=zp;function Ph(){D0(),zT(),CT(),V1(),Sc.publishHandler(yc)}typeof plus!="undefined"?Ph():document.addEventListener("plusready",Ph)}); diff --git a/packages/uni-app-plus/src/service/framework/app/index.ts b/packages/uni-app-plus/src/service/framework/app/index.ts index 43ce577f1217322decff1f49e94b2afdff6559c0..d5ac86cc96fc82bb234da5efdfd1202a890d59ff 100644 --- a/packages/uni-app-plus/src/service/framework/app/index.ts +++ b/packages/uni-app-plus/src/service/framework/app/index.ts @@ -1,7 +1,7 @@ import { ComponentPublicInstance } from 'vue' import { extend } from '@vue/shared' import { formatLog } from '@dcloudio/uni-shared' -import { initAppVm, initService } from '@dcloudio/uni-core' +import { initAppVm, initService, defineGlobalData } from '@dcloudio/uni-core' import { initEntry } from './initEntry' import { initTabBar } from './initTabBar' @@ -42,10 +42,7 @@ export function registerApp(appVm: ComponentPublicInstance) { extend(appCtx, defaultApp) // 拷贝默认实现 - const { $options } = appVm - if ($options) { - appCtx.globalData = extend($options.globalData || {}, appCtx.globalData) - } + defineGlobalData(appCtx, defaultApp.globalData) initService() diff --git a/packages/uni-core/src/service/utils.ts b/packages/uni-core/src/service/utils.ts index 67b85898004890e11ee5b0897b68544a78a68ebe..8c62cf7306a12c4f7ee75dac2e75ff5dc0666986 100644 --- a/packages/uni-core/src/service/utils.ts +++ b/packages/uni-core/src/service/utils.ts @@ -1,3 +1,6 @@ +import type { ComponentPublicInstance } from '@vue/runtime-core' +import { extend } from '@vue/shared' + export interface LaunchOptions { path: string query: Record @@ -16,3 +19,19 @@ export function createLaunchOptions() { }, } } + +export function defineGlobalData( + app: ComponentPublicInstance, + defaultGlobalData?: Record +) { + const options = app.$options || {} + options.globalData = extend(options.globalData || {}, defaultGlobalData) + Object.defineProperty(app, 'globalData', { + get() { + return options.globalData + }, + set(newGlobalData) { + options.globalData = newGlobalData + }, + }) +} diff --git a/packages/uni-h5/dist/uni-h5.cjs.js b/packages/uni-h5/dist/uni-h5.cjs.js index 7b294a9dd6e5d6ea4baae1fac773597dbfeb5fcb..26d1401b40a0193dd78d9ad3bba2de13e5f69b65 100644 --- a/packages/uni-h5/dist/uni-h5.cjs.js +++ b/packages/uni-h5/dist/uni-h5.cjs.js @@ -480,6 +480,18 @@ function initPageVm(pageVm, page) { pageVm.$.__isActive = true; } } +function defineGlobalData(app, defaultGlobalData) { + const options = app.$options || {}; + options.globalData = shared.extend(options.globalData || {}, defaultGlobalData); + Object.defineProperty(app, "globalData", { + get() { + return options.globalData; + }, + set(newGlobalData) { + options.globalData = newGlobalData; + } + }); +} function converPx(value) { if (/^-?\d+[ur]px$/i.test(value)) { return value.replace(/(^-?\d+)[ur]px$/i, (text, num) => { @@ -4265,6 +4277,7 @@ const props$k = { }; var index$t = /* @__PURE__ */ defineBuiltInComponent({ name: "Navigator", + inheritAttrs: false, compatConfig: { MODE: 3 }, @@ -4272,6 +4285,15 @@ var index$t = /* @__PURE__ */ defineBuiltInComponent({ setup(props2, { slots }) { + const vm = vue.getCurrentInstance(); + const __scopeId = vm && vm.root.type.__scopeId || ""; + const { + $attrs, + $excludeAttrs, + $listeners + } = useAttrs({ + excludeListeners: true + }); const { hovering, binding @@ -4312,14 +4334,21 @@ var index$t = /* @__PURE__ */ defineBuiltInComponent({ } return () => { const { - hoverClass + hoverClass, + url } = props2; const hasHoverClass = props2.hoverClass && props2.hoverClass !== "none"; - return vue.createVNode("uni-navigator", vue.mergeProps({ + return vue.createVNode("a", { + "class": "navigator-wrap", + "href": url, + "onClick": onEventPrevent + }, [vue.createVNode("uni-navigator", vue.mergeProps({ "class": hasHoverClass && hovering.value ? hoverClass : "" - }, hasHoverClass && binding, { + }, hasHoverClass && binding, $attrs.value, $excludeAttrs.value, $listeners.value, { + [__scopeId]: "" + }, { "onClick": onClick - }), [slots.default && slots.default()], 16, ["onClick"]); + }), [slots.default && slots.default()], 16, ["onClick"])], 8, ["href", "onClick"]); }; } }); @@ -5130,11 +5159,10 @@ var index$p = /* @__PURE__ */ defineBuiltInComponent({ trigger("itemclick", e2, detail); } function _renderNodes(nodes) { - var _a; if (typeof nodes === "string") { nodes = parseHtml(nodes); } - const nodeList = parseNodes(nodes, document.createDocumentFragment(), ((_a = vm == null ? void 0 : vm.root) == null ? void 0 : _a.type).__scopeId || "", hasItemClick && triggerItemClick); + const nodeList = parseNodes(nodes, document.createDocumentFragment(), (vm && vm.root.type).__scopeId || "", hasItemClick && triggerItemClick); rootRef.value.firstElementChild.innerHTML = ""; rootRef.value.firstElementChild.appendChild(nodeList); } @@ -6909,7 +6937,7 @@ function getApp$1() { function initApp(vm) { appVm = vm; initAppVm(appVm); - appVm.globalData = appVm.$options.globalData || {}; + defineGlobalData(appVm); } function wrapperComponentSetup(comp, { clone, init, setup, before }) { if (clone) { @@ -6976,8 +7004,12 @@ function setupApp(comp) { }, before(comp2) { comp2.mpType = "app"; - comp2.setup = () => () => { - return vue.openBlock(), vue.createBlock(LayoutComponent); + const { setup } = comp2; + comp2.setup = (props2, ctx) => { + setup && setup(props2, ctx); + return () => { + return vue.openBlock(), vue.createBlock(LayoutComponent); + }; }; } }); diff --git a/packages/uni-h5/dist/uni-h5.es.js b/packages/uni-h5/dist/uni-h5.es.js index d3eb3a5edbdab67fe558f9bb7a945584f5be9abd..d383b607e0b6153996e7cf07a2e3ac02b3978f60 100644 --- a/packages/uni-h5/dist/uni-h5.es.js +++ b/packages/uni-h5/dist/uni-h5.es.js @@ -1512,6 +1512,18 @@ function createLaunchOptions() { } }; } +function defineGlobalData(app, defaultGlobalData) { + const options = app.$options || {}; + options.globalData = extend(options.globalData || {}, defaultGlobalData); + Object.defineProperty(app, "globalData", { + get() { + return options.globalData; + }, + set(newGlobalData) { + options.globalData = newGlobalData; + } + }); +} function converPx(value) { if (/^-?\d+[ur]px$/i.test(value)) { return value.replace(/(^-?\d+)[ur]px$/i, (text2, num) => { @@ -9997,6 +10009,7 @@ const props$r = { }; var index$q = /* @__PURE__ */ defineBuiltInComponent({ name: "Navigator", + inheritAttrs: false, compatConfig: { MODE: 3 }, @@ -10004,6 +10017,15 @@ var index$q = /* @__PURE__ */ defineBuiltInComponent({ setup(props2, { slots }) { + const vm = getCurrentInstance(); + const __scopeId = vm && vm.root.type.__scopeId || ""; + const { + $attrs, + $excludeAttrs, + $listeners + } = useAttrs({ + excludeListeners: true + }); const { hovering, binding @@ -10044,14 +10066,21 @@ var index$q = /* @__PURE__ */ defineBuiltInComponent({ } return () => { const { - hoverClass + hoverClass, + url } = props2; const hasHoverClass = props2.hoverClass && props2.hoverClass !== "none"; - return createVNode("uni-navigator", mergeProps({ + return createVNode("a", { + "class": "navigator-wrap", + "href": url, + "onClick": onEventPrevent + }, [createVNode("uni-navigator", mergeProps({ "class": hasHoverClass && hovering.value ? hoverClass : "" - }, hasHoverClass && binding, { + }, hasHoverClass && binding, $attrs.value, $excludeAttrs.value, $listeners.value, { + [__scopeId]: "" + }, { "onClick": onClick - }), [slots.default && slots.default()], 16, ["onClick"]); + }), [slots.default && slots.default()], 16, ["onClick"])], 8, ["href", "onClick"]); }; } }); @@ -11652,11 +11681,10 @@ var index$m = /* @__PURE__ */ defineBuiltInComponent({ trigger("itemclick", e2, detail); } function _renderNodes(nodes) { - var _a; if (typeof nodes === "string") { nodes = parseHtml(nodes); } - const nodeList = parseNodes(nodes, document.createDocumentFragment(), ((_a = vm == null ? void 0 : vm.root) == null ? void 0 : _a.type).__scopeId || "", hasItemClick && triggerItemClick); + const nodeList = parseNodes(nodes, document.createDocumentFragment(), (vm && vm.root.type).__scopeId || "", hasItemClick && triggerItemClick); rootRef.value.firstElementChild.innerHTML = ""; rootRef.value.firstElementChild.appendChild(nodeList); } @@ -13964,7 +13992,7 @@ function getApp$1() { function initApp(vm) { appVm = vm; initAppVm(appVm); - appVm.globalData = appVm.$options.globalData || {}; + defineGlobalData(appVm); initService(); initView(); } @@ -14092,8 +14120,12 @@ function setupApp(comp) { }, before(comp2) { comp2.mpType = "app"; - comp2.setup = () => () => { - return openBlock(), createBlock(LayoutComponent); + const { setup } = comp2; + comp2.setup = (props2, ctx) => { + setup && setup(props2, ctx); + return () => { + return openBlock(), createBlock(LayoutComponent); + }; }; } }); diff --git a/packages/uni-h5/src/framework/setup/app.ts b/packages/uni-h5/src/framework/setup/app.ts index 433acdcceff65755f5d198567e3dcba35e6c36df..c82ee5b2feed30d7b0d3c0d9f6cc0ec30d8fdf03 100644 --- a/packages/uni-h5/src/framework/setup/app.ts +++ b/packages/uni-h5/src/framework/setup/app.ts @@ -1,5 +1,10 @@ import { ComponentPublicInstance } from 'vue' -import { initAppVm, initService, initView } from '@dcloudio/uni-core' +import { + initAppVm, + initService, + initView, + defineGlobalData, +} from '@dcloudio/uni-core' let appVm: ComponentPublicInstance @@ -10,7 +15,7 @@ export function getApp() { export function initApp(vm: ComponentPublicInstance) { appVm = vm initAppVm(appVm) - appVm.globalData = appVm.$options.globalData || {} + defineGlobalData(appVm) initService() initView() } diff --git a/packages/uni-h5/src/framework/setup/index.ts b/packages/uni-h5/src/framework/setup/index.ts index b1ec290511eb9955d83acfee9580d70c16b0cf43..9f9ee71aa96af8b1f3393644a626c384d765a265 100644 --- a/packages/uni-h5/src/framework/setup/index.ts +++ b/packages/uni-h5/src/framework/setup/index.ts @@ -183,8 +183,12 @@ export function setupApp(comp: any) { }, before(comp) { comp.mpType = 'app' - comp.setup = () => () => { - return openBlock(), createBlock(LayoutComponent) + const { setup } = comp + comp.setup = (props, ctx) => { + setup && setup(props, ctx) + return () => { + return openBlock(), createBlock(LayoutComponent) + } } }, }) diff --git a/packages/uni-mp-core/src/runtime/app.ts b/packages/uni-mp-core/src/runtime/app.ts index f609e865a46ded94eea32a741e9dd83df3c043c0..c2ca20dfa3b0cd4be4da86b41533ff6bc5ae469d 100644 --- a/packages/uni-mp-core/src/runtime/app.ts +++ b/packages/uni-mp-core/src/runtime/app.ts @@ -56,15 +56,12 @@ export function parseApp( // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前 return } - initBaseInstance(internalInstance, { mpType: 'app', mpInstance: this, slots: [], }) - injectAppLaunchHooks(internalInstance) - ctx.globalData = this.globalData instance.$callHook( ON_LAUNCH,