function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [window.__assetsPath + 'lib/chunks/lazy-166fdbc3-mTxk8fIQ.js',window.__assetsPath + 'lib/chunks/ua-parser-DFQjJemU.js',window.__assetsPath + 'lib/chunks/main-CZ3ZSK5w.js',window.__assetsPath + 'lib/assets/main-C1ggjLor.css'] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } var dn=Object.defineProperty;var hn=(gt,$t,Et)=>$t in gt?dn(gt,$t,{enumerable:!0,configurable:!0,writable:!0,value:Et}):gt[$t]=Et;var _r=(gt,$t,Et)=>(hn(gt,typeof $t!="symbol"?$t+"":$t,Et),Et);import{_ as __vitePreload}from"./main-CZ3ZSK5w.js";var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(gt){return gt&>.__esModule&&Object.prototype.hasOwnProperty.call(gt,"default")?gt.default:gt}function getAugmentedNamespace(gt){if(gt.__esModule)return gt;var $t=gt.default;if(typeof $t=="function"){var Et=function Tt(){return this instanceof Tt?Reflect.construct($t,arguments,this.constructor):$t.apply(this,arguments)};Et.prototype=$t.prototype}else Et={};return Object.defineProperty(Et,"__esModule",{value:!0}),Object.keys(gt).forEach(function(Tt){var At=Object.getOwnPropertyDescriptor(gt,Tt);Object.defineProperty(Et,Tt,At.get?At:{enumerable:!0,get:function(){return gt[Tt]}})}),Et}var lib$1={exports:{}},_default$1={},lib={exports:{}},_default={};function getDefaultWhiteList$1(){var gt={};return gt["align-content"]=!1,gt["align-items"]=!1,gt["align-self"]=!1,gt["alignment-adjust"]=!1,gt["alignment-baseline"]=!1,gt.all=!1,gt["anchor-point"]=!1,gt.animation=!1,gt["animation-delay"]=!1,gt["animation-direction"]=!1,gt["animation-duration"]=!1,gt["animation-fill-mode"]=!1,gt["animation-iteration-count"]=!1,gt["animation-name"]=!1,gt["animation-play-state"]=!1,gt["animation-timing-function"]=!1,gt.azimuth=!1,gt["backface-visibility"]=!1,gt.background=!0,gt["background-attachment"]=!0,gt["background-clip"]=!0,gt["background-color"]=!0,gt["background-image"]=!0,gt["background-origin"]=!0,gt["background-position"]=!0,gt["background-repeat"]=!0,gt["background-size"]=!0,gt["baseline-shift"]=!1,gt.binding=!1,gt.bleed=!1,gt["bookmark-label"]=!1,gt["bookmark-level"]=!1,gt["bookmark-state"]=!1,gt.border=!0,gt["border-bottom"]=!0,gt["border-bottom-color"]=!0,gt["border-bottom-left-radius"]=!0,gt["border-bottom-right-radius"]=!0,gt["border-bottom-style"]=!0,gt["border-bottom-width"]=!0,gt["border-collapse"]=!0,gt["border-color"]=!0,gt["border-image"]=!0,gt["border-image-outset"]=!0,gt["border-image-repeat"]=!0,gt["border-image-slice"]=!0,gt["border-image-source"]=!0,gt["border-image-width"]=!0,gt["border-left"]=!0,gt["border-left-color"]=!0,gt["border-left-style"]=!0,gt["border-left-width"]=!0,gt["border-radius"]=!0,gt["border-right"]=!0,gt["border-right-color"]=!0,gt["border-right-style"]=!0,gt["border-right-width"]=!0,gt["border-spacing"]=!0,gt["border-style"]=!0,gt["border-top"]=!0,gt["border-top-color"]=!0,gt["border-top-left-radius"]=!0,gt["border-top-right-radius"]=!0,gt["border-top-style"]=!0,gt["border-top-width"]=!0,gt["border-width"]=!0,gt.bottom=!1,gt["box-decoration-break"]=!0,gt["box-shadow"]=!0,gt["box-sizing"]=!0,gt["box-snap"]=!0,gt["box-suppress"]=!0,gt["break-after"]=!0,gt["break-before"]=!0,gt["break-inside"]=!0,gt["caption-side"]=!1,gt.chains=!1,gt.clear=!0,gt.clip=!1,gt["clip-path"]=!1,gt["clip-rule"]=!1,gt.color=!0,gt["color-interpolation-filters"]=!0,gt["column-count"]=!1,gt["column-fill"]=!1,gt["column-gap"]=!1,gt["column-rule"]=!1,gt["column-rule-color"]=!1,gt["column-rule-style"]=!1,gt["column-rule-width"]=!1,gt["column-span"]=!1,gt["column-width"]=!1,gt.columns=!1,gt.contain=!1,gt.content=!1,gt["counter-increment"]=!1,gt["counter-reset"]=!1,gt["counter-set"]=!1,gt.crop=!1,gt.cue=!1,gt["cue-after"]=!1,gt["cue-before"]=!1,gt.cursor=!1,gt.direction=!1,gt.display=!0,gt["display-inside"]=!0,gt["display-list"]=!0,gt["display-outside"]=!0,gt["dominant-baseline"]=!1,gt.elevation=!1,gt["empty-cells"]=!1,gt.filter=!1,gt.flex=!1,gt["flex-basis"]=!1,gt["flex-direction"]=!1,gt["flex-flow"]=!1,gt["flex-grow"]=!1,gt["flex-shrink"]=!1,gt["flex-wrap"]=!1,gt.float=!1,gt["float-offset"]=!1,gt["flood-color"]=!1,gt["flood-opacity"]=!1,gt["flow-from"]=!1,gt["flow-into"]=!1,gt.font=!0,gt["font-family"]=!0,gt["font-feature-settings"]=!0,gt["font-kerning"]=!0,gt["font-language-override"]=!0,gt["font-size"]=!0,gt["font-size-adjust"]=!0,gt["font-stretch"]=!0,gt["font-style"]=!0,gt["font-synthesis"]=!0,gt["font-variant"]=!0,gt["font-variant-alternates"]=!0,gt["font-variant-caps"]=!0,gt["font-variant-east-asian"]=!0,gt["font-variant-ligatures"]=!0,gt["font-variant-numeric"]=!0,gt["font-variant-position"]=!0,gt["font-weight"]=!0,gt.grid=!1,gt["grid-area"]=!1,gt["grid-auto-columns"]=!1,gt["grid-auto-flow"]=!1,gt["grid-auto-rows"]=!1,gt["grid-column"]=!1,gt["grid-column-end"]=!1,gt["grid-column-start"]=!1,gt["grid-row"]=!1,gt["grid-row-end"]=!1,gt["grid-row-start"]=!1,gt["grid-template"]=!1,gt["grid-template-areas"]=!1,gt["grid-template-columns"]=!1,gt["grid-template-rows"]=!1,gt["hanging-punctuation"]=!1,gt.height=!0,gt.hyphens=!1,gt.icon=!1,gt["image-orientation"]=!1,gt["image-resolution"]=!1,gt["ime-mode"]=!1,gt["initial-letters"]=!1,gt["inline-box-align"]=!1,gt["justify-content"]=!1,gt["justify-items"]=!1,gt["justify-self"]=!1,gt.left=!1,gt["letter-spacing"]=!0,gt["lighting-color"]=!0,gt["line-box-contain"]=!1,gt["line-break"]=!1,gt["line-grid"]=!1,gt["line-height"]=!1,gt["line-snap"]=!1,gt["line-stacking"]=!1,gt["line-stacking-ruby"]=!1,gt["line-stacking-shift"]=!1,gt["line-stacking-strategy"]=!1,gt["list-style"]=!0,gt["list-style-image"]=!0,gt["list-style-position"]=!0,gt["list-style-type"]=!0,gt.margin=!0,gt["margin-bottom"]=!0,gt["margin-left"]=!0,gt["margin-right"]=!0,gt["margin-top"]=!0,gt["marker-offset"]=!1,gt["marker-side"]=!1,gt.marks=!1,gt.mask=!1,gt["mask-box"]=!1,gt["mask-box-outset"]=!1,gt["mask-box-repeat"]=!1,gt["mask-box-slice"]=!1,gt["mask-box-source"]=!1,gt["mask-box-width"]=!1,gt["mask-clip"]=!1,gt["mask-image"]=!1,gt["mask-origin"]=!1,gt["mask-position"]=!1,gt["mask-repeat"]=!1,gt["mask-size"]=!1,gt["mask-source-type"]=!1,gt["mask-type"]=!1,gt["max-height"]=!0,gt["max-lines"]=!1,gt["max-width"]=!0,gt["min-height"]=!0,gt["min-width"]=!0,gt["move-to"]=!1,gt["nav-down"]=!1,gt["nav-index"]=!1,gt["nav-left"]=!1,gt["nav-right"]=!1,gt["nav-up"]=!1,gt["object-fit"]=!1,gt["object-position"]=!1,gt.opacity=!1,gt.order=!1,gt.orphans=!1,gt.outline=!1,gt["outline-color"]=!1,gt["outline-offset"]=!1,gt["outline-style"]=!1,gt["outline-width"]=!1,gt.overflow=!1,gt["overflow-wrap"]=!1,gt["overflow-x"]=!1,gt["overflow-y"]=!1,gt.padding=!0,gt["padding-bottom"]=!0,gt["padding-left"]=!0,gt["padding-right"]=!0,gt["padding-top"]=!0,gt.page=!1,gt["page-break-after"]=!1,gt["page-break-before"]=!1,gt["page-break-inside"]=!1,gt["page-policy"]=!1,gt.pause=!1,gt["pause-after"]=!1,gt["pause-before"]=!1,gt.perspective=!1,gt["perspective-origin"]=!1,gt.pitch=!1,gt["pitch-range"]=!1,gt["play-during"]=!1,gt.position=!1,gt["presentation-level"]=!1,gt.quotes=!1,gt["region-fragment"]=!1,gt.resize=!1,gt.rest=!1,gt["rest-after"]=!1,gt["rest-before"]=!1,gt.richness=!1,gt.right=!1,gt.rotation=!1,gt["rotation-point"]=!1,gt["ruby-align"]=!1,gt["ruby-merge"]=!1,gt["ruby-position"]=!1,gt["shape-image-threshold"]=!1,gt["shape-outside"]=!1,gt["shape-margin"]=!1,gt.size=!1,gt.speak=!1,gt["speak-as"]=!1,gt["speak-header"]=!1,gt["speak-numeral"]=!1,gt["speak-punctuation"]=!1,gt["speech-rate"]=!1,gt.stress=!1,gt["string-set"]=!1,gt["tab-size"]=!1,gt["table-layout"]=!1,gt["text-align"]=!0,gt["text-align-last"]=!0,gt["text-combine-upright"]=!0,gt["text-decoration"]=!0,gt["text-decoration-color"]=!0,gt["text-decoration-line"]=!0,gt["text-decoration-skip"]=!0,gt["text-decoration-style"]=!0,gt["text-emphasis"]=!0,gt["text-emphasis-color"]=!0,gt["text-emphasis-position"]=!0,gt["text-emphasis-style"]=!0,gt["text-height"]=!0,gt["text-indent"]=!0,gt["text-justify"]=!0,gt["text-orientation"]=!0,gt["text-overflow"]=!0,gt["text-shadow"]=!0,gt["text-space-collapse"]=!0,gt["text-transform"]=!0,gt["text-underline-position"]=!0,gt["text-wrap"]=!0,gt.top=!1,gt.transform=!1,gt["transform-origin"]=!1,gt["transform-style"]=!1,gt.transition=!1,gt["transition-delay"]=!1,gt["transition-duration"]=!1,gt["transition-property"]=!1,gt["transition-timing-function"]=!1,gt["unicode-bidi"]=!1,gt["vertical-align"]=!1,gt.visibility=!1,gt["voice-balance"]=!1,gt["voice-duration"]=!1,gt["voice-family"]=!1,gt["voice-pitch"]=!1,gt["voice-range"]=!1,gt["voice-rate"]=!1,gt["voice-stress"]=!1,gt["voice-volume"]=!1,gt.volume=!1,gt["white-space"]=!1,gt.widows=!1,gt.width=!0,gt["will-change"]=!1,gt["word-break"]=!0,gt["word-spacing"]=!0,gt["word-wrap"]=!0,gt["wrap-flow"]=!1,gt["wrap-through"]=!1,gt["writing-mode"]=!1,gt["z-index"]=!1,gt}function onAttr(gt,$t,Et){}function onIgnoreAttr(gt,$t,Et){}var REGEXP_URL_JAVASCRIPT=/javascript\s*\:/img;function safeAttrValue$1(gt,$t){return REGEXP_URL_JAVASCRIPT.test($t)?"":$t}_default.whiteList=getDefaultWhiteList$1();_default.getDefaultWhiteList=getDefaultWhiteList$1;_default.onAttr=onAttr;_default.onIgnoreAttr=onIgnoreAttr;_default.safeAttrValue=safeAttrValue$1;var util$1={indexOf:function(gt,$t){var Et,Tt;if(Array.prototype.indexOf)return gt.indexOf($t);for(Et=0,Tt=gt.length;Et/g,REGEXP_QUOTE=/"/g,REGEXP_QUOTE_2=/"/g,REGEXP_ATTR_VALUE_1=/&#([a-zA-Z0-9]*);?/gim,REGEXP_ATTR_VALUE_COLON=/:?/gim,REGEXP_ATTR_VALUE_NEWLINE=/&newline;?/gim,REGEXP_DEFAULT_ON_TAG_ATTR_4=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,REGEXP_DEFAULT_ON_TAG_ATTR_7=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,REGEXP_DEFAULT_ON_TAG_ATTR_8=/u\s*r\s*l\s*\(.*/gi;function escapeQuote(gt){return gt.replace(REGEXP_QUOTE,""")}function unescapeQuote(gt){return gt.replace(REGEXP_QUOTE_2,'"')}function escapeHtmlEntities(gt){return gt.replace(REGEXP_ATTR_VALUE_1,function(Et,Tt){return Tt[0]==="x"||Tt[0]==="X"?String.fromCharCode(parseInt(Tt.substr(1),16)):String.fromCharCode(parseInt(Tt,10))})}function escapeDangerHtml5Entities(gt){return gt.replace(REGEXP_ATTR_VALUE_COLON,":").replace(REGEXP_ATTR_VALUE_NEWLINE," ")}function clearNonPrintableCharacter(gt){for(var $t="",Et=0,Tt=gt.length;Et",Tt);if(At===-1)break;Et=At+3}return $t}function stripBlankChar(gt){var $t=gt.split("");return $t=$t.filter(function(Et){var Tt=Et.charCodeAt(0);return Tt===127?!1:Tt<=31?Tt===10||Tt===13:!0}),$t.join("")}function getStyleAttrDefaultWhiteList(){var gt={};return gt["align-content"]=!0,gt["align-items"]=!0,gt["align-self"]=!0,gt["alignment-adjust"]=!0,gt["alignment-baseline"]=!0,gt.all=!1,gt["anchor-point"]=!1,gt.animation=!0,gt["animation-delay"]=!0,gt["animation-direction"]=!0,gt["animation-duration"]=!0,gt["animation-fill-mode"]=!0,gt["animation-iteration-count"]=!0,gt["animation-name"]=!0,gt["animation-play-state"]=!0,gt["animation-timing-function"]=!0,gt.azimuth=!1,gt["backface-visibility"]=!1,gt.background=!0,gt["background-attachment"]=!0,gt["background-clip"]=!0,gt["background-color"]=!0,gt["background-image"]=!0,gt["background-origin"]=!0,gt["background-position"]=!0,gt["background-repeat"]=!0,gt["background-size"]=!0,gt["baseline-shift"]=!1,gt.binding=!1,gt.bleed=!1,gt["bookmark-label"]=!1,gt["bookmark-level"]=!1,gt["bookmark-state"]=!1,gt.border=!0,gt["border-bottom"]=!0,gt["border-bottom-color"]=!0,gt["border-bottom-left-radius"]=!0,gt["border-bottom-right-radius"]=!0,gt["border-bottom-style"]=!0,gt["border-bottom-width"]=!0,gt["border-collapse"]=!0,gt["border-color"]=!0,gt["border-image"]=!0,gt["border-image-outset"]=!0,gt["border-image-repeat"]=!0,gt["border-image-slice"]=!0,gt["border-image-source"]=!0,gt["border-image-width"]=!0,gt["border-left"]=!0,gt["border-left-color"]=!0,gt["border-left-style"]=!0,gt["border-left-width"]=!0,gt["border-radius"]=!0,gt["border-right"]=!0,gt["border-right-color"]=!0,gt["border-right-style"]=!0,gt["border-right-width"]=!0,gt["border-spacing"]=!0,gt["border-style"]=!0,gt["border-top"]=!0,gt["border-top-color"]=!0,gt["border-top-left-radius"]=!0,gt["border-top-right-radius"]=!0,gt["border-top-style"]=!0,gt["border-top-width"]=!0,gt["border-width"]=!0,gt.bottom=!0,gt["box-decoration-break"]=!0,gt["box-shadow"]=!0,gt["box-sizing"]=!0,gt["box-snap"]=!0,gt["box-suppress"]=!0,gt["break-after"]=!0,gt["break-before"]=!0,gt["break-inside"]=!0,gt["caption-side"]=!1,gt.chains=!1,gt.clear=!0,gt.clip=!1,gt["clip-path"]=!1,gt["clip-rule"]=!1,gt.color=!0,gt["color-interpolation-filters"]=!0,gt["column-count"]=!1,gt["column-fill"]=!1,gt["column-gap"]=!0,gt.gap=!0,gt["column-rule"]=!1,gt["column-rule-color"]=!1,gt["column-rule-style"]=!1,gt["column-rule-width"]=!1,gt["column-span"]=!1,gt["column-width"]=!1,gt.columns=!1,gt.contain=!1,gt.content=!1,gt["counter-increment"]=!1,gt["counter-reset"]=!1,gt["counter-set"]=!1,gt.crop=!1,gt.cue=!1,gt["cue-after"]=!1,gt["cue-before"]=!1,gt.cursor=!0,gt.direction=!0,gt.display=!0,gt["display-inside"]=!0,gt["display-list"]=!0,gt["display-outside"]=!0,gt["dominant-baseline"]=!1,gt.elevation=!1,gt["empty-cells"]=!1,gt.filter=!0,gt.flex=!0,gt["flex-basis"]=!0,gt["flex-direction"]=!0,gt["flex-flow"]=!0,gt["flex-grow"]=!0,gt["flex-shrink"]=!0,gt["flex-wrap"]=!0,gt.float=!0,gt["float-offset"]=!0,gt["flood-color"]=!1,gt["flood-opacity"]=!1,gt["flow-from"]=!1,gt["flow-into"]=!1,gt.font=!0,gt["font-family"]=!0,gt["font-feature-settings"]=!0,gt["font-kerning"]=!0,gt["font-language-override"]=!0,gt["font-size"]=!0,gt["font-size-adjust"]=!0,gt["font-stretch"]=!0,gt["font-style"]=!0,gt["font-synthesis"]=!0,gt["font-variant"]=!0,gt["font-variant-alternates"]=!0,gt["font-variant-caps"]=!0,gt["font-variant-east-asian"]=!0,gt["font-variant-ligatures"]=!0,gt["font-variant-numeric"]=!0,gt["font-variant-position"]=!0,gt["font-weight"]=!0,gt.grid=!1,gt["grid-area"]=!1,gt["grid-auto-columns"]=!1,gt["grid-auto-flow"]=!1,gt["grid-auto-rows"]=!1,gt["grid-column"]=!1,gt["grid-column-end"]=!1,gt["grid-column-start"]=!1,gt["grid-row"]=!1,gt["grid-row-end"]=!1,gt["grid-row-start"]=!1,gt["grid-template"]=!1,gt["grid-template-areas"]=!1,gt["grid-template-columns"]=!1,gt["grid-template-rows"]=!1,gt["hanging-punctuation"]=!1,gt.height=!0,gt.hyphens=!1,gt.icon=!1,gt["image-orientation"]=!1,gt["image-resolution"]=!1,gt["ime-mode"]=!1,gt["initial-letters"]=!1,gt["inline-box-align"]=!1,gt["justify-content"]=!0,gt["justify-items"]=!0,gt["justify-self"]=!0,gt.left=!0,gt["letter-spacing"]=!0,gt["lighting-color"]=!0,gt["line-box-contain"]=!1,gt["line-break"]=!1,gt["line-grid"]=!1,gt["line-height"]=!1,gt["line-snap"]=!1,gt["line-stacking"]=!1,gt["line-stacking-ruby"]=!1,gt["line-stacking-shift"]=!1,gt["line-stacking-strategy"]=!1,gt["list-style"]=!0,gt["list-style-image"]=!0,gt["list-style-position"]=!0,gt["list-style-type"]=!0,gt.margin=!0,gt["margin-bottom"]=!0,gt["margin-left"]=!0,gt["margin-right"]=!0,gt["margin-top"]=!0,gt["marker-offset"]=!1,gt["marker-side"]=!1,gt.marks=!1,gt.mask=!1,gt["mask-box"]=!1,gt["mask-box-outset"]=!1,gt["mask-box-repeat"]=!1,gt["mask-box-slice"]=!1,gt["mask-box-source"]=!1,gt["mask-box-width"]=!1,gt["mask-clip"]=!1,gt["mask-image"]=!1,gt["mask-origin"]=!1,gt["mask-position"]=!1,gt["mask-repeat"]=!1,gt["mask-size"]=!1,gt["mask-source-type"]=!1,gt["mask-type"]=!1,gt["max-height"]=!0,gt["max-lines"]=!1,gt["max-width"]=!0,gt["min-height"]=!0,gt["min-width"]=!0,gt["move-to"]=!1,gt["nav-down"]=!1,gt["nav-index"]=!1,gt["nav-left"]=!1,gt["nav-right"]=!1,gt["nav-up"]=!1,gt["object-fit"]=!0,gt["object-position"]=!0,gt.opacity=!0,gt.order=!0,gt.orphans=!1,gt.outline=!1,gt["outline-color"]=!1,gt["outline-offset"]=!1,gt["outline-style"]=!1,gt["outline-width"]=!1,gt.overflow=!0,gt["overflow-wrap"]=!0,gt["overflow-x"]=!0,gt["overflow-y"]=!0,gt.padding=!0,gt["padding-bottom"]=!0,gt["padding-left"]=!0,gt["padding-right"]=!0,gt["padding-top"]=!0,gt.page=!1,gt["page-break-after"]=!1,gt["page-break-before"]=!1,gt["page-break-inside"]=!1,gt["page-policy"]=!1,gt.pause=!1,gt["pause-after"]=!1,gt["pause-before"]=!1,gt.perspective=!1,gt["perspective-origin"]=!1,gt.pitch=!1,gt["pitch-range"]=!1,gt["play-during"]=!1,gt.position=!0,gt["presentation-level"]=!1,gt.quotes=!1,gt["region-fragment"]=!1,gt.resize=!0,gt.rest=!1,gt["rest-after"]=!1,gt["rest-before"]=!1,gt.richness=!1,gt.right=!0,gt.rotation=!1,gt["rotation-point"]=!1,gt["ruby-align"]=!1,gt["ruby-merge"]=!1,gt["ruby-position"]=!1,gt["shape-image-threshold"]=!1,gt["shape-outside"]=!1,gt["shape-margin"]=!1,gt.size=!1,gt.speak=!1,gt["speak-as"]=!1,gt["speak-header"]=!1,gt["speak-numeral"]=!1,gt["speak-punctuation"]=!1,gt["speech-rate"]=!1,gt.stress=!1,gt["string-set"]=!1,gt["tab-size"]=!1,gt["table-layout"]=!1,gt["text-align"]=!0,gt["text-align-last"]=!0,gt["text-combine-upright"]=!0,gt["text-decoration"]=!0,gt["text-decoration-color"]=!0,gt["text-decoration-line"]=!0,gt["text-decoration-skip"]=!0,gt["text-decoration-style"]=!0,gt["text-emphasis"]=!0,gt["text-emphasis-color"]=!0,gt["text-emphasis-position"]=!0,gt["text-emphasis-style"]=!0,gt["text-height"]=!0,gt["text-indent"]=!0,gt["text-justify"]=!0,gt["text-orientation"]=!0,gt["text-overflow"]=!0,gt["text-shadow"]=!0,gt["text-space-collapse"]=!0,gt["text-transform"]=!0,gt["text-underline-position"]=!0,gt["text-wrap"]=!0,gt.top=!0,gt.transform=!0,gt["transform-origin"]=!0,gt["transform-style"]=!0,gt.transition=!0,gt["transition-delay"]=!0,gt["transition-duration"]=!0,gt["transition-property"]=!0,gt["transition-timing-function"]=!1,gt["unicode-bidi"]=!1,gt["vertical-align"]=!0,gt.visibility=!0,gt["voice-balance"]=!1,gt["voice-duration"]=!1,gt["voice-family"]=!1,gt["voice-pitch"]=!1,gt["voice-range"]=!1,gt["voice-rate"]=!1,gt["voice-stress"]=!1,gt["voice-volume"]=!1,gt.volume=!1,gt["white-space"]=!1,gt.widows=!1,gt.width=!0,gt["will-change"]=!1,gt["word-break"]=!0,gt["word-spacing"]=!0,gt["word-wrap"]=!0,gt["wrap-flow"]=!1,gt["wrap-through"]=!1,gt["writing-mode"]=!1,gt["z-index"]=!0,gt}_default$1.whiteList=getDefaultWhiteList();_default$1.getDefaultWhiteList=getDefaultWhiteList;_default$1.onTag=onTag;_default$1.onIgnoreTag=onIgnoreTag;_default$1.onTagAttr=onTagAttr;_default$1.onIgnoreTagAttr=onIgnoreTagAttr;_default$1.safeAttrValue=safeAttrValue;_default$1.escapeHtml=escapeHtml;_default$1.escapeQuote=escapeQuote;_default$1.unescapeQuote=unescapeQuote;_default$1.escapeHtmlEntities=escapeHtmlEntities;_default$1.escapeDangerHtml5Entities=escapeDangerHtml5Entities;_default$1.clearNonPrintableCharacter=clearNonPrintableCharacter;_default$1.friendlyAttrValue=friendlyAttrValue;_default$1.escapeAttrValue=escapeAttrValue;_default$1.onIgnoreTagStripAll=onIgnoreTagStripAll;_default$1.StripTagBody=StripTagBody;_default$1.stripCommentTag=stripCommentTag;_default$1.stripBlankChar=stripBlankChar;_default$1.cssFilter=defaultCSSFilter;_default$1.getDefaultCSSWhiteList=getDefaultCSSWhiteList;_default$1.styleAttrWhiteList=getStyleAttrDefaultWhiteList();var parser$1={},_$a=util;function getTagName(gt){var $t=_$a.spaceIndex(gt);if($t===-1)var Et=gt.slice(1,-1);else var Et=gt.slice(1,$t+1);return Et=_$a.trim(Et).toLowerCase(),Et.slice(0,1)==="/"&&(Et=Et.slice(1)),Et.slice(-1)==="/"&&(Et=Et.slice(0,-1)),Et}function isClosing(gt){return gt.slice(0,2)===""){Tt+=Et(gt.slice(At,Ct)),Dt=gt.slice(Ct,It+1),Ut=getTagName(Dt),Tt+=$t(Ct,Tt.length,Ut,Dt,isClosing(Dt)),At=It+1,Ct=!1;continue}if(Mt==='"'||Mt==="'")for(var Ft=1,Bt=gt.charAt(It-Ft);Bt.trim()===""||Bt==="=";){if(Bt==="="){Pt=Mt;continue e}Bt=gt.charAt(It-++Ft)}}else if(Mt===Pt){Pt=!1;continue}}return At0;$t--){var Et=gt[$t];if(Et!==" ")return Et==="="?$t:-1}}function isQuoteWrapString(gt){return gt[0]==='"'&>[gt.length-1]==='"'||gt[0]==="'"&>[gt.length-1]==="'"}function stripQuoteWrap(gt){return isQuoteWrapString(gt)?gt.substr(1,gt.length-2):gt}parser$1.parseTag=parseTag$1;parser$1.parseAttr=parseAttr$1;var FilterCSS=libExports$1.FilterCSS,DEFAULT=_default$1,parser=parser$1,parseTag=parser.parseTag,parseAttr=parser.parseAttr,_$9=util;function isNull(gt){return gt==null}function getAttrs(gt){var $t=_$9.spaceIndex(gt);if($t===-1)return{html:"",closing:gt[gt.length-2]==="/"};gt=_$9.trim(gt.slice($t+1,-1));var Et=gt[gt.length-1]==="/";return Et&&(gt=_$9.trim(gt.slice(0,-1))),{html:gt,closing:Et}}function shallowCopyObject(gt){var $t={};for(var Et in gt)$t[Et]=gt[Et];return $t}function FilterXSS(gt){gt=shallowCopyObject(gt||{}),gt.stripIgnoreTag&&(gt.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),gt.onIgnoreTag=DEFAULT.onIgnoreTagStripAll),gt.whiteList=Object.assign({},DEFAULT.whiteList,gt.whiteList),gt.onTag=gt.onTag||DEFAULT.onTag,gt.onTagAttr=gt.onTagAttr||DEFAULT.onTagAttr,gt.onIgnoreTag=gt.onIgnoreTag||DEFAULT.onIgnoreTag,gt.onIgnoreTagAttr=gt.onIgnoreTagAttr||DEFAULT.onIgnoreTagAttr,gt.safeAttrValue=gt.safeAttrValue||DEFAULT.safeAttrValue,gt.escapeHtml=gt.escapeHtml||DEFAULT.escapeHtml,this.options=gt,gt.css===!1?this.cssFilter=!1:(gt.css=gt.css||{whiteList:DEFAULT.styleAttrWhiteList},this.cssFilter=new FilterCSS(gt.css))}FilterXSS.prototype.process=function(gt){if(gt=gt||"",gt=gt.toString(),!gt)return"";var $t=this,Et=$t.options,Tt=Et.whiteList,At=Et.onTag,Ct=Et.onIgnoreTag,Pt=Et.onTagAttr,It=Et.onIgnoreTagAttr,Nt=Et.safeAttrValue,Ut=Et.escapeHtml,Dt=$t.cssFilter;Et.stripBlankChar&&(gt=DEFAULT.stripBlankChar(gt)),Et.allowCommentTag||(gt=DEFAULT.stripCommentTag(gt));var Mt=!1;if(Et.stripIgnoreTagBody){var Mt=DEFAULT.StripTagBody(Et.stripIgnoreTagBody,Ct);Ct=Mt.onIgnoreTag}var Ft=parseTag(gt,function(Bt,Gt,Vt,Ht,Wt){var Kt={sourcePosition:Bt,position:Gt,isClosing:Wt,isWhite:Tt.hasOwnProperty(Vt)},qt=At(Vt,Ht,Kt);if(!isNull(qt))return qt;if(Kt.isWhite){if(Kt.isClosing)return"";var Jt=getAttrs(Ht),Xt=Tt[Vt],Zt=parseAttr(Jt.html,function(tr,Qt){var zt=_$9.indexOf(Xt,tr)!==-1,nr=Pt(Vt,tr,Qt,zt);if(!isNull(nr))return nr;if(zt)return Qt=Nt(Vt,tr,Qt,Dt),Qt?tr+'="'+Qt+'"':tr;var nr=It(Vt,tr,Qt,zt);return isNull(nr)?void 0:nr}),Ht="<"+Vt;return Zt&&(Ht+=" "+Zt),Jt.closing&&(Ht+=" /"),Ht+=">",Ht}else{var qt=Ct(Vt,Ht,Kt);return isNull(qt)?Ut(Ht):qt}},Ut);return Mt&&(Ft=Mt.remove(Ft)),Ft};var xss$1=FilterXSS;(function(gt,$t){var Et=_default$1,Tt=parser$1,At=xss$1;function Ct(Nt,Ut){var Dt=new At(Ut);return Dt.process(Nt)}$t=gt.exports=Ct,$t.filterXSS=Ct,$t.FilterXSS=At;for(var Pt in Et)$t[Pt]=Et[Pt];for(var Pt in Tt)$t[Pt]=Tt[Pt];typeof window<"u"&&(window.filterXSS=gt.exports);function It(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}It()&&(self.filterXSS=gt.exports)})(lib$1,lib$1.exports);var libExports=lib$1.exports;const xss=getDefaultExportFromCjs(libExports);var define_global_process_env_default={};var emptyObject=Object.freeze({}),isArray=Array.isArray;function isUndef(gt){return gt==null}function isDef$1(gt){return gt!=null}function isTrue(gt){return gt===!0}function isFalse(gt){return gt===!1}function isPrimitive(gt){return typeof gt=="string"||typeof gt=="number"||typeof gt=="symbol"||typeof gt=="boolean"}function isFunction$2(gt){return typeof gt=="function"}function isObject$4(gt){return gt!==null&&typeof gt=="object"}var _toString=Object.prototype.toString;function toRawType(gt){return _toString.call(gt).slice(8,-1)}function isPlainObject(gt){return _toString.call(gt)==="[object Object]"}function isRegExp(gt){return _toString.call(gt)==="[object RegExp]"}function isValidArrayIndex(gt){var $t=parseFloat(String(gt));return $t>=0&&Math.floor($t)===$t&&isFinite(gt)}function isPromise$1(gt){return isDef$1(gt)&&typeof gt.then=="function"&&typeof gt.catch=="function"}function toString(gt){return gt==null?"":Array.isArray(gt)||isPlainObject(gt)&>.toString===_toString?JSON.stringify(gt,null,2):String(gt)}function toNumber$2(gt){var $t=parseFloat(gt);return isNaN($t)?gt:$t}function makeMap(gt,$t){for(var Et=Object.create(null),Tt=gt.split(","),At=0;At-1)return gt.splice(Tt,1)}}var hasOwnProperty$2=Object.prototype.hasOwnProperty;function hasOwn(gt,$t){return hasOwnProperty$2.call(gt,$t)}function cached(gt){var $t=Object.create(null);return function(Tt){var At=$t[Tt];return At||($t[Tt]=gt(Tt))}}var camelizeRE=/-(\w)/g,camelize=cached(function(gt){return gt.replace(camelizeRE,function($t,Et){return Et?Et.toUpperCase():""})}),capitalize=cached(function(gt){return gt.charAt(0).toUpperCase()+gt.slice(1)}),hyphenateRE=/\B([A-Z])/g,hyphenate=cached(function(gt){return gt.replace(hyphenateRE,"-$1").toLowerCase()});function polyfillBind(gt,$t){function Et(Tt){var At=arguments.length;return At?At>1?gt.apply($t,arguments):gt.call($t,Tt):gt.call($t)}return Et._length=gt.length,Et}function nativeBind(gt,$t){return gt.bind($t)}var bind$1=Function.prototype.bind?nativeBind:polyfillBind;function toArray(gt,$t){$t=$t||0;for(var Et=gt.length-$t,Tt=new Array(Et);Et--;)Tt[Et]=gt[Et+$t];return Tt}function extend$1(gt,$t){for(var Et in $t)gt[Et]=$t[Et];return gt}function toObject(gt){for(var $t={},Et=0;Et0,isEdge=UA&&UA.indexOf("edge/")>0;UA&&UA.indexOf("android")>0;var isIOS$1=UA&&/iphone|ipad|ipod|ios/.test(UA),isFF=UA&&UA.match(/firefox\/(\d+)/),nativeWatch={}.watch,supportsPassive=!1;if(inBrowser$1)try{var opts={};Object.defineProperty(opts,"passive",{get:function(){supportsPassive=!0}}),window.addEventListener("test-passive",null,opts)}catch(gt){}var _isServer,isServerRendering=function(){return _isServer===void 0&&(!inBrowser$1&&typeof global<"u"?_isServer=global.process&&define_global_process_env_default.VUE_ENV==="server":_isServer=!1),_isServer},devtools=inBrowser$1&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative(gt){return typeof gt=="function"&&/native code/.test(gt.toString())}var hasSymbol=typeof Symbol<"u"&&isNative(Symbol)&&typeof Reflect<"u"&&isNative(Reflect.ownKeys),_Set;typeof Set<"u"&&isNative(Set)?_Set=Set:_Set=function(){function gt(){this.set=Object.create(null)}return gt.prototype.has=function($t){return this.set[$t]===!0},gt.prototype.add=function($t){this.set[$t]=!0},gt.prototype.clear=function(){this.set=Object.create(null)},gt}();var currentInstance=null;function getCurrentInstance(){return currentInstance&&{proxy:currentInstance}}function setCurrentInstance(gt){gt===void 0&&(gt=null),gt||currentInstance&¤tInstance._scope.off(),currentInstance=gt,gt&>._scope.on()}var VNode=function(){function gt($t,Et,Tt,At,Ct,Pt,It,Nt){this.tag=$t,this.data=Et,this.children=Tt,this.text=At,this.elm=Ct,this.ns=void 0,this.context=Pt,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=Et&&Et.key,this.componentOptions=It,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=Nt,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(gt.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),gt}(),createEmptyVNode=function(gt){gt===void 0&&(gt="");var $t=new VNode;return $t.text=gt,$t.isComment=!0,$t};function createTextVNode(gt){return new VNode(void 0,void 0,void 0,String(gt))}function cloneVNode(gt){var $t=new VNode(gt.tag,gt.data,gt.children&>.children.slice(),gt.text,gt.elm,gt.context,gt.componentOptions,gt.asyncFactory);return $t.ns=gt.ns,$t.isStatic=gt.isStatic,$t.key=gt.key,$t.isComment=gt.isComment,$t.fnContext=gt.fnContext,$t.fnOptions=gt.fnOptions,$t.fnScopeId=gt.fnScopeId,$t.asyncMeta=gt.asyncMeta,$t.isCloned=!0,$t}var uid$2=0,pendingCleanupDeps=[],cleanupDeps=function(){for(var gt=0;gt0&&(At=normalizeArrayChildren(At,"".concat($t||"","_").concat(Tt)),isTextNode(At[0])&&isTextNode(Pt)&&(Et[Ct]=createTextVNode(Pt.text+At[0].text),At.shift()),Et.push.apply(Et,At)):isPrimitive(At)?isTextNode(Pt)?Et[Ct]=createTextVNode(Pt.text+At):At!==""&&Et.push(createTextVNode(At)):isTextNode(At)&&isTextNode(Pt)?Et[Ct]=createTextVNode(Pt.text+At.text):(isTrue(gt._isVList)&&isDef$1(At.tag)&&isUndef(At.key)&&isDef$1($t)&&(At.key="__vlist".concat($t,"_").concat(Tt,"__")),Et.push(At)));return Et}var SIMPLE_NORMALIZE=1,ALWAYS_NORMALIZE=2;function createElement$1(gt,$t,Et,Tt,At,Ct){return(isArray(Et)||isPrimitive(Et))&&(At=Tt,Tt=Et,Et=void 0),isTrue(Ct)&&(At=ALWAYS_NORMALIZE),_createElement(gt,$t,Et,Tt,At)}function _createElement(gt,$t,Et,Tt,At){if(isDef$1(Et)&&isDef$1(Et.__ob__)||(isDef$1(Et)&&isDef$1(Et.is)&&($t=Et.is),!$t))return createEmptyVNode();isArray(Tt)&&isFunction$2(Tt[0])&&(Et=Et||{},Et.scopedSlots={default:Tt[0]},Tt.length=0),At===ALWAYS_NORMALIZE?Tt=normalizeChildren(Tt):At===SIMPLE_NORMALIZE&&(Tt=simpleNormalizeChildren(Tt));var Ct,Pt;if(typeof $t=="string"){var It=void 0;Pt=gt.$vnode&>.$vnode.ns||config$2.getTagNamespace($t),config$2.isReservedTag($t)?Ct=new VNode(config$2.parsePlatformTagName($t),Et,Tt,void 0,void 0,gt):(!Et||!Et.pre)&&isDef$1(It=resolveAsset(gt.$options,"components",$t))?Ct=createComponent(It,Et,gt,Tt,$t):Ct=new VNode($t,Et,Tt,void 0,void 0,gt)}else Ct=createComponent($t,Et,gt,Tt);return isArray(Ct)?Ct:isDef$1(Ct)?(isDef$1(Pt)&&applyNS(Ct,Pt),isDef$1(Et)&®isterDeepBindings(Et),Ct):createEmptyVNode()}function applyNS(gt,$t,Et){if(gt.ns=$t,gt.tag==="foreignObject"&&($t=void 0,Et=!0),isDef$1(gt.children))for(var Tt=0,At=gt.children.length;Tt0,Pt=$t?!!$t.$stable:!Ct,It=$t&&$t.$key;if(!$t)At={};else{if($t._normalized)return $t._normalized;if(Pt&&Tt&&Tt!==emptyObject&&It===Tt.$key&&!Ct&&!Tt.$hasNormal)return Tt;At={};for(var Nt in $t)$t[Nt]&&Nt[0]!=="$"&&(At[Nt]=normalizeScopedSlot(gt,Et,Nt,$t[Nt]))}for(var Ut in Et)Ut in At||(At[Ut]=proxyNormalSlot(Et,Ut));return $t&&Object.isExtensible($t)&&($t._normalized=At),def(At,"$stable",Pt),def(At,"$key",It),def(At,"$hasNormal",Ct),At}function normalizeScopedSlot(gt,$t,Et,Tt){var At=function(){var Ct=currentInstance;setCurrentInstance(gt);var Pt=arguments.length?Tt.apply(null,arguments):Tt({});Pt=Pt&&typeof Pt=="object"&&!isArray(Pt)?[Pt]:normalizeChildren(Pt);var It=Pt&&Pt[0];return setCurrentInstance(Ct),Pt&&(!It||Pt.length===1&&It.isComment&&!isAsyncPlaceholder(It))?void 0:Pt};return Tt.proxy&&Object.defineProperty($t,Et,{get:At,enumerable:!0,configurable:!0}),At}function proxyNormalSlot(gt,$t){return function(){return gt[$t]}}function initSetup(gt){var $t=gt.$options,Et=$t.setup;if(Et){var Tt=gt._setupContext=createSetupContext(gt);setCurrentInstance(gt),pushTarget();var At=invokeWithErrorHandling(Et,null,[gt._props||shallowReactive({}),Tt],gt,"setup");if(popTarget(),setCurrentInstance(),isFunction$2(At))$t.render=At;else if(isObject$4(At))if(gt._setupState=At,At.__sfc){var Pt=gt._setupProxy={};for(var Ct in At)Ct!=="__sfc"&&proxyWithRefUnwrap(Pt,At,Ct)}else for(var Ct in At)isReserved(Ct)||proxyWithRefUnwrap(gt,At,Ct)}}function createSetupContext(gt){return{get attrs(){if(!gt._attrsProxy){var $t=gt._attrsProxy={};def($t,"_v_attr_proxy",!0),syncSetupProxy($t,gt.$attrs,emptyObject,gt,"$attrs")}return gt._attrsProxy},get listeners(){if(!gt._listenersProxy){var $t=gt._listenersProxy={};syncSetupProxy($t,gt.$listeners,emptyObject,gt,"$listeners")}return gt._listenersProxy},get slots(){return initSlotsProxy(gt)},emit:bind$1(gt.$emit,gt),expose:function($t){$t&&Object.keys($t).forEach(function(Et){return proxyWithRefUnwrap(gt,$t,Et)})}}}function syncSetupProxy(gt,$t,Et,Tt,At){var Ct=!1;for(var Pt in $t)Pt in gt?$t[Pt]!==Et[Pt]&&(Ct=!0):(Ct=!0,defineProxyAttr(gt,Pt,Tt,At));for(var Pt in gt)Pt in $t||(Ct=!0,delete gt[Pt]);return Ct}function defineProxyAttr(gt,$t,Et,Tt){Object.defineProperty(gt,$t,{enumerable:!0,configurable:!0,get:function(){return Et[Tt][$t]}})}function initSlotsProxy(gt){return gt._slotsProxy||syncSetupSlots(gt._slotsProxy={},gt.$scopedSlots),gt._slotsProxy}function syncSetupSlots(gt,$t){for(var Et in $t)gt[Et]=$t[Et];for(var Et in gt)Et in $t||delete gt[Et]}function useSlots(){return getContext$1().slots}function useAttrs(){return getContext$1().attrs}function useListeners(){return getContext$1().listeners}function getContext$1(){var gt=currentInstance;return gt._setupContext||(gt._setupContext=createSetupContext(gt))}function mergeDefaults(gt,$t){var Et=isArray(gt)?gt.reduce(function(Ct,Pt){return Ct[Pt]={},Ct},{}):gt;for(var Tt in $t){var At=Et[Tt];At?isArray(At)||isFunction$2(At)?Et[Tt]={type:At,default:$t[Tt]}:At.default=$t[Tt]:At===null&&(Et[Tt]={default:$t[Tt]})}return Et}function initRender(gt){gt._vnode=null,gt._staticTrees=null;var $t=gt.$options,Et=gt.$vnode=$t._parentVnode,Tt=Et&&Et.context;gt.$slots=resolveSlots($t._renderChildren,Tt),gt.$scopedSlots=Et?normalizeScopedSlots(gt.$parent,Et.data.scopedSlots,gt.$slots):emptyObject,gt._c=function(Ct,Pt,It,Nt){return createElement$1(gt,Ct,Pt,It,Nt,!1)},gt.$createElement=function(Ct,Pt,It,Nt){return createElement$1(gt,Ct,Pt,It,Nt,!0)};var At=Et&&Et.data;defineReactive(gt,"$attrs",At&&At.attrs||emptyObject,null,!0),defineReactive(gt,"$listeners",$t._parentListeners||emptyObject,null,!0)}var currentRenderingInstance=null;function renderMixin(gt){installRenderHelpers(gt.prototype),gt.prototype.$nextTick=function($t){return nextTick($t,this)},gt.prototype._render=function(){var $t=this,Et=$t.$options,Tt=Et.render,At=Et._parentVnode;At&&$t._isMounted&&($t.$scopedSlots=normalizeScopedSlots($t.$parent,At.data.scopedSlots,$t.$slots,$t.$scopedSlots),$t._slotsProxy&&syncSetupSlots($t._slotsProxy,$t.$scopedSlots)),$t.$vnode=At;var Ct;try{setCurrentInstance($t),currentRenderingInstance=$t,Ct=Tt.call($t._renderProxy,$t.$createElement)}catch(Pt){handleError(Pt,$t,"render"),Ct=$t._vnode}finally{currentRenderingInstance=null,setCurrentInstance()}return isArray(Ct)&&Ct.length===1&&(Ct=Ct[0]),Ct instanceof VNode||(Ct=createEmptyVNode()),Ct.parent=At,Ct}}function ensureCtor(gt,$t){return(gt.__esModule||hasSymbol&>[Symbol.toStringTag]==="Module")&&(gt=gt.default),isObject$4(gt)?$t.extend(gt):gt}function createAsyncPlaceholder(gt,$t,Et,Tt,At){var Ct=createEmptyVNode();return Ct.asyncFactory=gt,Ct.asyncMeta={data:$t,context:Et,children:Tt,tag:At},Ct}function resolveAsyncComponent(gt,$t){if(isTrue(gt.error)&&isDef$1(gt.errorComp))return gt.errorComp;if(isDef$1(gt.resolved))return gt.resolved;var Et=currentRenderingInstance;if(Et&&isDef$1(gt.owners)&>.owners.indexOf(Et)===-1&>.owners.push(Et),isTrue(gt.loading)&&isDef$1(gt.loadingComp))return gt.loadingComp;if(Et&&!isDef$1(gt.owners)){var Tt=gt.owners=[Et],At=!0,Ct=null,Pt=null;Et.$on("hook:destroyed",function(){return remove$2(Tt,Et)});var It=function(Mt){for(var Ft=0,Bt=Tt.length;Ft1?toArray(At):At;for(var Ct=toArray(arguments,1),Pt='event handler for "'.concat(Et,'"'),It=0,Nt=At.length;Itdocument.createEvent("Event").timeStamp&&(getNow=function(){return performance_1.now()})}var sortCompareFn=function(gt,$t){if(gt.post){if(!$t.post)return 1}else if($t.post)return-1;return gt.id-$t.id};function flushSchedulerQueue(){currentFlushTimestamp=getNow(),flushing=!0;var gt,$t;for(queue.sort(sortCompareFn),index$1=0;index$1index$1&&queue[Et].id>gt.id;)Et--;queue.splice(Et+1,0,gt)}waiting||(waiting=!0,nextTick(flushSchedulerQueue))}}var WATCHER="watcher",WATCHER_CB="".concat(WATCHER," callback"),WATCHER_GETTER="".concat(WATCHER," getter"),WATCHER_CLEANUP="".concat(WATCHER," cleanup");function watchEffect(gt,$t){return doWatch(gt,null,$t)}function watchPostEffect(gt,$t){return doWatch(gt,null,{flush:"post"})}function watchSyncEffect(gt,$t){return doWatch(gt,null,{flush:"sync"})}var INITIAL_WATCHER_VALUE={};function watch(gt,$t,Et){return doWatch(gt,$t,Et)}function doWatch(gt,$t,Et){var Tt=Et===void 0?emptyObject:Et,At=Tt.immediate,Ct=Tt.deep,Pt=Tt.flush,It=Pt===void 0?"pre":Pt;Tt.onTrack,Tt.onTrigger;var Nt=currentInstance,Ut=function(Kt,qt,Jt){return Jt===void 0&&(Jt=null),invokeWithErrorHandling(Kt,null,Jt,Nt,qt)},Dt,Mt=!1,Ft=!1;if(isRef(gt)?(Dt=function(){return gt.value},Mt=isShallow(gt)):isReactive(gt)?(Dt=function(){return gt.__ob__.dep.depend(),gt},Ct=!0):isArray(gt)?(Ft=!0,Mt=gt.some(function(Kt){return isReactive(Kt)||isShallow(Kt)}),Dt=function(){return gt.map(function(Kt){if(isRef(Kt))return Kt.value;if(isReactive(Kt))return traverse(Kt);if(isFunction$2(Kt))return Ut(Kt,WATCHER_GETTER)})}):isFunction$2(gt)?$t?Dt=function(){return Ut(gt,WATCHER_GETTER)}:Dt=function(){if(!(Nt&&Nt._isDestroyed))return Gt&&Gt(),Ut(gt,WATCHER,[Vt])}:Dt=noop$2,$t&&Ct){var Bt=Dt;Dt=function(){return traverse(Bt())}}var Gt,Vt=function(Kt){Gt=Ht.onStop=function(){Ut(Kt,WATCHER_CLEANUP)}};if(isServerRendering())return Vt=noop$2,$t?At&&Ut($t,WATCHER_CB,[Dt(),Ft?[]:void 0,Vt]):Dt(),noop$2;var Ht=new Watcher(currentInstance,Dt,noop$2,{lazy:!0});Ht.noRecurse=!$t;var Wt=Ft?[]:INITIAL_WATCHER_VALUE;return Ht.run=function(){if(Ht.active)if($t){var Kt=Ht.get();(Ct||Mt||(Ft?Kt.some(function(qt,Jt){return hasChanged(qt,Wt[Jt])}):hasChanged(Kt,Wt)))&&(Gt&&Gt(),Ut($t,WATCHER_CB,[Kt,Wt===INITIAL_WATCHER_VALUE?void 0:Wt,Vt]),Wt=Kt)}else Ht.get()},It==="sync"?Ht.update=Ht.run:It==="post"?(Ht.post=!0,Ht.update=function(){return queueWatcher(Ht)}):Ht.update=function(){if(Nt&&Nt===currentInstance&&!Nt._isMounted){var Kt=Nt._preWatchers||(Nt._preWatchers=[]);Kt.indexOf(Ht)<0&&Kt.push(Ht)}else queueWatcher(Ht)},$t?At?Ht.run():Wt=Ht.get():It==="post"&&Nt?Nt.$once("hook:mounted",function(){return Ht.get()}):Ht.get(),function(){Ht.teardown()}}var activeEffectScope,EffectScope=function(){function gt($t){$t===void 0&&($t=!1),this.detached=$t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!$t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}return gt.prototype.run=function($t){if(this.active){var Et=activeEffectScope;try{return activeEffectScope=this,$t()}finally{activeEffectScope=Et}}},gt.prototype.on=function(){activeEffectScope=this},gt.prototype.off=function(){activeEffectScope=this.parent},gt.prototype.stop=function($t){if(this.active){var Et=void 0,Tt=void 0;for(Et=0,Tt=this.effects.length;Et1)return Et&&isFunction$2($t)?$t.call(Tt):$t}}function h$7(gt,$t,Et){return createElement$1(currentInstance,gt,$t,Et,2,!0)}function handleError(gt,$t,Et){pushTarget();try{if($t)for(var Tt=$t;Tt=Tt.$parent;){var At=Tt.$options.errorCaptured;if(At)for(var Ct=0;Ct-1){if(Ct&&!hasOwn(At,"default"))Pt=!1;else if(Pt===""||Pt===hyphenate(gt)){var Nt=getTypeIndex(String,At.type);(Nt<0||It-1)return this;var Tt=toArray(arguments,1);return Tt.unshift(this),isFunction$2($t.install)?$t.install.apply($t,Tt):isFunction$2($t)&&$t.apply(null,Tt),Et.push($t),this}}function initMixin(gt){gt.mixin=function($t){return this.options=mergeOptions(this.options,$t),this}}function initExtend(gt){gt.cid=0;var $t=1;gt.extend=function(Et){Et=Et||{};var Tt=this,At=Tt.cid,Ct=Et._Ctor||(Et._Ctor={});if(Ct[At])return Ct[At];var Pt=getComponentName(Et)||getComponentName(Tt.options),It=function(Ut){this._init(Ut)};return It.prototype=Object.create(Tt.prototype),It.prototype.constructor=It,It.cid=$t++,It.options=mergeOptions(Tt.options,Et),It.super=Tt,It.options.props&&initProps(It),It.options.computed&&initComputed(It),It.extend=Tt.extend,It.mixin=Tt.mixin,It.use=Tt.use,ASSET_TYPES.forEach(function(Nt){It[Nt]=Tt[Nt]}),Pt&&(It.options.components[Pt]=It),It.superOptions=Tt.options,It.extendOptions=Et,It.sealedOptions=extend$1({},It.options),Ct[At]=It,It}}function initProps(gt){var $t=gt.options.props;for(var Et in $t)proxy(gt.prototype,"_props",Et)}function initComputed(gt){var $t=gt.options.computed;for(var Et in $t)defineComputed(gt.prototype,Et,$t[Et])}function initAssetRegisters(gt){ASSET_TYPES.forEach(function($t){gt[$t]=function(Et,Tt){return Tt?($t==="component"&&isPlainObject(Tt)&&(Tt.name=Tt.name||Et,Tt=this.options._base.extend(Tt)),$t==="directive"&&isFunction$2(Tt)&&(Tt={bind:Tt,update:Tt}),this.options[$t+"s"][Et]=Tt,Tt):this.options[$t+"s"][Et]}})}function _getComponentName(gt){return gt&&(getComponentName(gt.Ctor.options)||gt.tag)}function matches(gt,$t){return isArray(gt)?gt.indexOf($t)>-1:typeof gt=="string"?gt.split(",").indexOf($t)>-1:isRegExp(gt)?gt.test($t):!1}function pruneCache(gt,$t){var Et=gt.cache,Tt=gt.keys,At=gt._vnode;for(var Ct in Et){var Pt=Et[Ct];if(Pt){var It=Pt.name;It&&!$t(It)&&pruneCacheEntry(Et,Ct,Tt,At)}}}function pruneCacheEntry(gt,$t,Et,Tt){var At=gt[$t];At&&(!Tt||At.tag!==Tt.tag)&&At.componentInstance.$destroy(),gt[$t]=null,remove$2(Et,$t)}var patternTypes=[String,RegExp,Array],KeepAlive={name:"keep-alive",abstract:!0,props:{include:patternTypes,exclude:patternTypes,max:[String,Number]},methods:{cacheVNode:function(){var gt=this,$t=gt.cache,Et=gt.keys,Tt=gt.vnodeToCache,At=gt.keyToCache;if(Tt){var Ct=Tt.tag,Pt=Tt.componentInstance,It=Tt.componentOptions;$t[At]={name:_getComponentName(It),tag:Ct,componentInstance:Pt},Et.push(At),this.max&&Et.length>parseInt(this.max)&&pruneCacheEntry($t,Et[0],Et,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var gt in this.cache)pruneCacheEntry(this.cache,gt,this.keys)},mounted:function(){var gt=this;this.cacheVNode(),this.$watch("include",function($t){pruneCache(gt,function(Et){return matches($t,Et)})}),this.$watch("exclude",function($t){pruneCache(gt,function(Et){return!matches($t,Et)})})},updated:function(){this.cacheVNode()},render:function(){var gt=this.$slots.default,$t=getFirstComponentChild(gt),Et=$t&&$t.componentOptions;if(Et){var Tt=_getComponentName(Et),At=this,Ct=At.include,Pt=At.exclude;if(Ct&&(!Tt||!matches(Ct,Tt))||Pt&&Tt&&matches(Pt,Tt))return $t;var It=this,Nt=It.cache,Ut=It.keys,Dt=$t.key==null?Et.Ctor.cid+(Et.tag?"::".concat(Et.tag):""):$t.key;Nt[Dt]?($t.componentInstance=Nt[Dt].componentInstance,remove$2(Ut,Dt),Ut.push(Dt)):(this.vnodeToCache=$t,this.keyToCache=Dt),$t.data.keepAlive=!0}return $t||gt&>[0]}},builtInComponents={KeepAlive};function initGlobalAPI(gt){var $t={};$t.get=function(){return config$2},Object.defineProperty(gt,"config",$t),gt.util={warn:warn$2,extend:extend$1,mergeOptions,defineReactive},gt.set=set,gt.delete=del,gt.nextTick=nextTick,gt.observable=function(Et){return observe(Et),Et},gt.options=Object.create(null),ASSET_TYPES.forEach(function(Et){gt.options[Et+"s"]=Object.create(null)}),gt.options._base=gt,extend$1(gt.options.components,builtInComponents),initUse(gt),initMixin(gt),initExtend(gt),initAssetRegisters(gt)}initGlobalAPI(Vue);Object.defineProperty(Vue.prototype,"$isServer",{get:isServerRendering});Object.defineProperty(Vue.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(Vue,"FunctionalRenderContext",{value:FunctionalRenderContext});Vue.version=version$1;var isReservedAttr=makeMap("style,class"),acceptValue=makeMap("input,textarea,option,select,progress"),mustUseProp=function(gt,$t,Et){return Et==="value"&&acceptValue(gt)&&$t!=="button"||Et==="selected"&>==="option"||Et==="checked"&>==="input"||Et==="muted"&>==="video"},isEnumeratedAttr=makeMap("contenteditable,draggable,spellcheck"),isValidContentEditableValue=makeMap("events,caret,typing,plaintext-only"),convertEnumeratedValue=function(gt,$t){return isFalsyAttrValue($t)||$t==="false"?"false":gt==="contenteditable"&&isValidContentEditableValue($t)?$t:"true"},isBooleanAttr=makeMap("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),xlinkNS="http://www.w3.org/1999/xlink",isXlink=function(gt){return gt.charAt(5)===":"&>.slice(0,5)==="xlink"},getXlinkProp=function(gt){return isXlink(gt)?gt.slice(6,gt.length):""},isFalsyAttrValue=function(gt){return gt==null||gt===!1};function genClassForVnode(gt){for(var $t=gt.data,Et=gt,Tt=gt;isDef$1(Tt.componentInstance);)Tt=Tt.componentInstance._vnode,Tt&&Tt.data&&($t=mergeClassData(Tt.data,$t));for(;isDef$1(Et=Et.parent);)Et&&Et.data&&($t=mergeClassData($t,Et.data));return renderClass($t.staticClass,$t.class)}function mergeClassData(gt,$t){return{staticClass:concat(gt.staticClass,$t.staticClass),class:isDef$1(gt.class)?[gt.class,$t.class]:$t.class}}function renderClass(gt,$t){return isDef$1(gt)||isDef$1($t)?concat(gt,stringifyClass($t)):""}function concat(gt,$t){return gt?$t?gt+" "+$t:gt:$t||""}function stringifyClass(gt){return Array.isArray(gt)?stringifyArray(gt):isObject$4(gt)?stringifyObject(gt):typeof gt=="string"?gt:""}function stringifyArray(gt){for(var $t="",Et,Tt=0,At=gt.length;Tt-1?unknownElementCache[gt]=$t.constructor===window.HTMLUnknownElement||$t.constructor===window.HTMLElement:unknownElementCache[gt]=/HTMLUnknownElement/.test($t.toString())}var isTextInputType=makeMap("text,number,password,search,email,tel,url");function query(gt){if(typeof gt=="string"){var $t=document.querySelector(gt);return $t||document.createElement("div")}else return gt}function createElement(gt,$t){var Et=document.createElement(gt);return gt!=="select"||$t.data&&$t.data.attrs&&$t.data.attrs.multiple!==void 0&&Et.setAttribute("multiple","multiple"),Et}function createElementNS(gt,$t){return document.createElementNS(namespaceMap[gt],$t)}function createTextNode(gt){return document.createTextNode(gt)}function createComment(gt){return document.createComment(gt)}function insertBefore(gt,$t,Et){gt.insertBefore($t,Et)}function removeChild(gt,$t){gt.removeChild($t)}function appendChild(gt,$t){gt.appendChild($t)}function parentNode(gt){return gt.parentNode}function nextSibling(gt){return gt.nextSibling}function tagName(gt){return gt.tagName}function setTextContent(gt,$t){gt.textContent=$t}function setStyleScope(gt,$t){gt.setAttribute($t,"")}var nodeOps=Object.freeze({__proto__:null,createElement,createElementNS,createTextNode,createComment,insertBefore,removeChild,appendChild,parentNode,nextSibling,tagName,setTextContent,setStyleScope}),ref={create:function(gt,$t){registerRef($t)},update:function(gt,$t){gt.data.ref!==$t.data.ref&&(registerRef(gt,!0),registerRef($t))},destroy:function(gt){registerRef(gt,!0)}};function registerRef(gt,$t){var Et=gt.data.ref;if(isDef$1(Et)){var Tt=gt.context,At=gt.componentInstance||gt.elm,Ct=$t?null:At,Pt=$t?void 0:At;if(isFunction$2(Et)){invokeWithErrorHandling(Et,Tt,[Ct],Tt,"template ref function");return}var It=gt.data.refInFor,Nt=typeof Et=="string"||typeof Et=="number",Ut=isRef(Et),Dt=Tt.$refs;if(Nt||Ut){if(It){var Mt=Nt?Dt[Et]:Et.value;$t?isArray(Mt)&&remove$2(Mt,At):isArray(Mt)?Mt.includes(At)||Mt.push(At):Nt?(Dt[Et]=[At],setSetupRef(Tt,Et,Dt[Et])):Et.value=[At]}else if(Nt){if($t&&Dt[Et]!==At)return;Dt[Et]=Pt,setSetupRef(Tt,Et,Ct)}else if(Ut){if($t&&Et.value!==At)return;Et.value=Ct}}}}function setSetupRef(gt,$t,Et){var Tt=gt._setupState;Tt&&hasOwn(Tt,$t)&&(isRef(Tt[$t])?Tt[$t].value=Et:Tt[$t]=Et)}var emptyNode=new VNode("",{},[]),hooks=["create","activate","update","remove","destroy"];function sameVnode(gt,$t){return gt.key===$t.key&>.asyncFactory===$t.asyncFactory&&(gt.tag===$t.tag&>.isComment===$t.isComment&&isDef$1(gt.data)===isDef$1($t.data)&&sameInputType(gt,$t)||isTrue(gt.isAsyncPlaceholder)&&isUndef($t.asyncFactory.error))}function sameInputType(gt,$t){if(gt.tag!=="input")return!0;var Et,Tt=isDef$1(Et=gt.data)&&isDef$1(Et=Et.attrs)&&Et.type,At=isDef$1(Et=$t.data)&&isDef$1(Et=Et.attrs)&&Et.type;return Tt===At||isTextInputType(Tt)&&isTextInputType(At)}function createKeyToOldIdx(gt,$t,Et){var Tt,At,Ct={};for(Tt=$t;Tt<=Et;++Tt)At=gt[Tt].key,isDef$1(At)&&(Ct[At]=Tt);return Ct}function createPatchFunction(gt){var $t,Et,Tt={},At=gt.modules,Ct=gt.nodeOps;for($t=0;$tvr?(Mr=isUndef(or[$r+1])?null:or[$r+1].elm,Kt(Yt,Mr,or,ur,$r,cr)):ur>$r&&Jt(er,ar,vr)}function rr(Yt,er,or,cr){for(var ir=or;ir-1?baseSetAttr(gt,$t,Et):isBooleanAttr($t)?isFalsyAttrValue(Et)?gt.removeAttribute($t):(Et=$t==="allowfullscreen"&>.tagName==="EMBED"?"true":$t,gt.setAttribute($t,Et)):isEnumeratedAttr($t)?gt.setAttribute($t,convertEnumeratedValue($t,Et)):isXlink($t)?isFalsyAttrValue(Et)?gt.removeAttributeNS(xlinkNS,getXlinkProp($t)):gt.setAttributeNS(xlinkNS,$t,Et):baseSetAttr(gt,$t,Et)}function baseSetAttr(gt,$t,Et){if(isFalsyAttrValue(Et))gt.removeAttribute($t);else{if(isIE&&!isIE9&>.tagName==="TEXTAREA"&&$t==="placeholder"&&Et!==""&&!gt.__ieph){var Tt=function(At){At.stopImmediatePropagation(),gt.removeEventListener("input",Tt)};gt.addEventListener("input",Tt),gt.__ieph=!0}gt.setAttribute($t,Et)}}var attrs={create:updateAttrs,update:updateAttrs};function updateClass(gt,$t){var Et=$t.elm,Tt=$t.data,At=gt.data;if(!(isUndef(Tt.staticClass)&&isUndef(Tt.class)&&(isUndef(At)||isUndef(At.staticClass)&&isUndef(At.class)))){var Ct=genClassForVnode($t),Pt=Et._transitionClasses;isDef$1(Pt)&&(Ct=concat(Ct,stringifyClass(Pt))),Ct!==Et._prevClass&&(Et.setAttribute("class",Ct),Et._prevClass=Ct)}}var klass$1={create:updateClass,update:updateClass},validDivisionCharRE=/[\w).+\-_$\]]/;function parseFilters(gt){var $t=!1,Et=!1,Tt=!1,At=!1,Ct=0,Pt=0,It=0,Nt=0,Ut,Dt,Mt,Ft,Bt;for(Mt=0;Mt=0&&(Vt=gt.charAt(Gt),Vt===" ");Gt--);(!Vt||!validDivisionCharRE.test(Vt))&&(At=!0)}}Ft===void 0?Ft=gt.slice(0,Mt).trim():Nt!==0&&Ht();function Ht(){(Bt||(Bt=[])).push(gt.slice(Nt,Mt).trim()),Nt=Mt+1}if(Bt)for(Mt=0;Mt-1?{exp:gt.slice(0,index),key:'"'+gt.slice(index+1)+'"'}:{exp:gt,key:null};for(str=gt,index=expressionPos=expressionEndPos=0;!eof();)chr=next(),isStringStart(chr)?parseString(chr):chr===91&&parseBracket(chr);return{exp:gt.slice(0,expressionPos),key:gt.slice(expressionPos+1,expressionEndPos)}}function next(){return str.charCodeAt(++index)}function eof(){return index>=len}function isStringStart(gt){return gt===34||gt===39}function parseBracket(gt){var $t=1;for(expressionPos=index;!eof();){if(gt=next(),isStringStart(gt)){parseString(gt);continue}if(gt===91&&$t++,gt===93&&$t--,$t===0){expressionEndPos=index;break}}}function parseString(gt){for(var $t=gt;!eof()&&(gt=next(),gt!==$t););}var RANGE_TOKEN="__r",CHECKBOX_RADIO_TOKEN="__c";function model$1(gt,$t,Et){var Tt=$t.value,At=$t.modifiers,Ct=gt.tag,Pt=gt.attrsMap.type;if(gt.component)return genComponentModel(gt,Tt,At),!1;if(Ct==="select")genSelect(gt,Tt,At);else if(Ct==="input"&&Pt==="checkbox")genCheckboxModel(gt,Tt,At);else if(Ct==="input"&&Pt==="radio")genRadioModel(gt,Tt,At);else if(Ct==="input"||Ct==="textarea")genDefaultModel(gt,Tt,At);else if(!config$2.isReservedTag(Ct))return genComponentModel(gt,Tt,At),!1;return!0}function genCheckboxModel(gt,$t,Et){var Tt=Et&&Et.number,At=getBindingAttr(gt,"value")||"null",Ct=getBindingAttr(gt,"true-value")||"true",Pt=getBindingAttr(gt,"false-value")||"false";addProp(gt,"checked","Array.isArray(".concat($t,")")+"?_i(".concat($t,",").concat(At,")>-1")+(Ct==="true"?":(".concat($t,")"):":_q(".concat($t,",").concat(Ct,")"))),addHandler(gt,"change","var $$a=".concat($t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(Ct,"):(").concat(Pt,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(Tt?"_n("+At+")":At,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(genAssignmentCode($t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(genAssignmentCode($t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(genAssignmentCode($t,"$$c"),"}"),null,!0)}function genRadioModel(gt,$t,Et){var Tt=Et&&Et.number,At=getBindingAttr(gt,"value")||"null";At=Tt?"_n(".concat(At,")"):At,addProp(gt,"checked","_q(".concat($t,",").concat(At,")")),addHandler(gt,"change",genAssignmentCode($t,At),null,!0)}function genSelect(gt,$t,Et){var Tt=Et&&Et.number,At='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(Tt?"_n(val)":"val","})"),Ct="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",Pt="var $$selectedVal = ".concat(At,";");Pt="".concat(Pt," ").concat(genAssignmentCode($t,Ct)),addHandler(gt,"change",Pt,null,!0)}function genDefaultModel(gt,$t,Et){var Tt=gt.attrsMap.type,At=Et||{},Ct=At.lazy,Pt=At.number,It=At.trim,Nt=!Ct&&Tt!=="range",Ut=Ct?"change":Tt==="range"?RANGE_TOKEN:"input",Dt="$event.target.value";It&&(Dt="$event.target.value.trim()"),Pt&&(Dt="_n(".concat(Dt,")"));var Mt=genAssignmentCode($t,Dt);Nt&&(Mt="if($event.target.composing)return;".concat(Mt)),addProp(gt,"value","(".concat($t,")")),addHandler(gt,Ut,Mt,null,!0),(It||Pt)&&addHandler(gt,"blur","$forceUpdate()")}function normalizeEvents(gt){if(isDef$1(gt[RANGE_TOKEN])){var $t=isIE?"change":"input";gt[$t]=[].concat(gt[RANGE_TOKEN],gt[$t]||[]),delete gt[RANGE_TOKEN]}isDef$1(gt[CHECKBOX_RADIO_TOKEN])&&(gt.change=[].concat(gt[CHECKBOX_RADIO_TOKEN],gt.change||[]),delete gt[CHECKBOX_RADIO_TOKEN])}var target;function createOnceHandler(gt,$t,Et){var Tt=target;return function At(){var Ct=$t.apply(null,arguments);Ct!==null&&remove(gt,At,Et,Tt)}}var useMicrotaskFix=isUsingMicroTask&&!(isFF&&Number(isFF[1])<=53);function add(gt,$t,Et,Tt){if(useMicrotaskFix){var At=currentFlushTimestamp,Ct=$t;$t=Ct._wrapper=function(Pt){if(Pt.target===Pt.currentTarget||Pt.timeStamp>=At||Pt.timeStamp<=0||Pt.target.ownerDocument!==document)return Ct.apply(this,arguments)}}target.addEventListener(gt,$t,supportsPassive?{capture:Et,passive:Tt}:Et)}function remove(gt,$t,Et,Tt){(Tt||target).removeEventListener(gt,$t._wrapper||$t,Et)}function updateDOMListeners(gt,$t){if(!(isUndef(gt.data.on)&&isUndef($t.data.on))){var Et=$t.data.on||{},Tt=gt.data.on||{};target=$t.elm||gt.elm,normalizeEvents(Et),updateListeners(Et,Tt,add,remove,createOnceHandler,$t.context),target=void 0}}var events$1={create:updateDOMListeners,update:updateDOMListeners,destroy:function(gt){return updateDOMListeners(gt,emptyNode)}},svgContainer;function updateDOMProps(gt,$t){if(!(isUndef(gt.data.domProps)&&isUndef($t.data.domProps))){var Et,Tt,At=$t.elm,Ct=gt.data.domProps||{},Pt=$t.data.domProps||{};(isDef$1(Pt.__ob__)||isTrue(Pt._v_attr_proxy))&&(Pt=$t.data.domProps=extend$1({},Pt));for(Et in Ct)Et in Pt||(At[Et]="");for(Et in Pt){if(Tt=Pt[Et],Et==="textContent"||Et==="innerHTML"){if($t.children&&($t.children.length=0),Tt===Ct[Et])continue;At.childNodes.length===1&&At.removeChild(At.childNodes[0])}if(Et==="value"&&At.tagName!=="PROGRESS"){At._value=Tt;var It=isUndef(Tt)?"":String(Tt);shouldUpdateValue(At,It)&&(At.value=It)}else if(Et==="innerHTML"&&isSVG(At.tagName)&&isUndef(At.innerHTML)){svgContainer=svgContainer||document.createElement("div"),svgContainer.innerHTML="".concat(Tt,"");for(var Nt=svgContainer.firstChild;At.firstChild;)At.removeChild(At.firstChild);for(;Nt.firstChild;)At.appendChild(Nt.firstChild)}else if(Tt!==Ct[Et])try{At[Et]=Tt}catch(Ut){}}}}function shouldUpdateValue(gt,$t){return!gt.composing&&(gt.tagName==="OPTION"||isNotInFocusAndDirty(gt,$t)||isDirtyWithModifiers(gt,$t))}function isNotInFocusAndDirty(gt,$t){var Et=!0;try{Et=document.activeElement!==gt}catch(Tt){}return Et&>.value!==$t}function isDirtyWithModifiers(gt,$t){var Et=gt.value,Tt=gt._vModifiers;if(isDef$1(Tt)){if(Tt.number)return toNumber$2(Et)!==toNumber$2($t);if(Tt.trim)return Et.trim()!==$t.trim()}return Et!==$t}var domProps={create:updateDOMProps,update:updateDOMProps},parseStyleText=cached(function(gt){var $t={},Et=/;(?![^(]*\))/g,Tt=/:(.+)/;return gt.split(Et).forEach(function(At){if(At){var Ct=At.split(Tt);Ct.length>1&&($t[Ct[0].trim()]=Ct[1].trim())}}),$t});function normalizeStyleData(gt){var $t=normalizeStyleBinding(gt.style);return gt.staticStyle?extend$1(gt.staticStyle,$t):$t}function normalizeStyleBinding(gt){return Array.isArray(gt)?toObject(gt):typeof gt=="string"?parseStyleText(gt):gt}function getStyle(gt,$t){var Et={},Tt;if($t)for(var At=gt;At.componentInstance;)At=At.componentInstance._vnode,At&&At.data&&(Tt=normalizeStyleData(At.data))&&extend$1(Et,Tt);(Tt=normalizeStyleData(gt.data))&&extend$1(Et,Tt);for(var Ct=gt;Ct=Ct.parent;)Ct.data&&(Tt=normalizeStyleData(Ct.data))&&extend$1(Et,Tt);return Et}var cssVarRE=/^--/,importantRE=/\s*!important$/,setProp=function(gt,$t,Et){if(cssVarRE.test($t))gt.style.setProperty($t,Et);else if(importantRE.test(Et))gt.style.setProperty(hyphenate($t),Et.replace(importantRE,""),"important");else{var Tt=normalize($t);if(Array.isArray(Et))for(var At=0,Ct=Et.length;At-1?$t.split(whitespaceRE$1).forEach(function(Tt){return gt.classList.add(Tt)}):gt.classList.add($t);else{var Et=" ".concat(gt.getAttribute("class")||""," ");Et.indexOf(" "+$t+" ")<0&>.setAttribute("class",(Et+$t).trim())}}function removeClass(gt,$t){if(!(!$t||!($t=$t.trim())))if(gt.classList)$t.indexOf(" ")>-1?$t.split(whitespaceRE$1).forEach(function(At){return gt.classList.remove(At)}):gt.classList.remove($t),gt.classList.length||gt.removeAttribute("class");else{for(var Et=" ".concat(gt.getAttribute("class")||""," "),Tt=" "+$t+" ";Et.indexOf(Tt)>=0;)Et=Et.replace(Tt," ");Et=Et.trim(),Et?gt.setAttribute("class",Et):gt.removeAttribute("class")}}function resolveTransition(gt){if(gt){if(typeof gt=="object"){var $t={};return gt.css!==!1&&extend$1($t,autoCssTransition(gt.name||"v")),extend$1($t,gt),$t}else if(typeof gt=="string")return autoCssTransition(gt)}}var autoCssTransition=cached(function(gt){return{enterClass:"".concat(gt,"-enter"),enterToClass:"".concat(gt,"-enter-to"),enterActiveClass:"".concat(gt,"-enter-active"),leaveClass:"".concat(gt,"-leave"),leaveToClass:"".concat(gt,"-leave-to"),leaveActiveClass:"".concat(gt,"-leave-active")}}),hasTransition=inBrowser$1&&!isIE9,TRANSITION="transition",ANIMATION="animation",transitionProp="transition",transitionEndEvent="transitionend",animationProp="animation",animationEndEvent="animationend";hasTransition&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(transitionProp="WebkitTransition",transitionEndEvent="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(animationProp="WebkitAnimation",animationEndEvent="webkitAnimationEnd"));var raf=inBrowser$1?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(gt){return gt()};function nextFrame(gt){raf(function(){raf(gt)})}function addTransitionClass(gt,$t){var Et=gt._transitionClasses||(gt._transitionClasses=[]);Et.indexOf($t)<0&&(Et.push($t),addClass(gt,$t))}function removeTransitionClass(gt,$t){gt._transitionClasses&&remove$2(gt._transitionClasses,$t),removeClass(gt,$t)}function whenTransitionEnds(gt,$t,Et){var Tt=getTransitionInfo(gt,$t),At=Tt.type,Ct=Tt.timeout,Pt=Tt.propCount;if(!At)return Et();var It=At===TRANSITION?transitionEndEvent:animationEndEvent,Nt=0,Ut=function(){gt.removeEventListener(It,Dt),Et()},Dt=function(Mt){Mt.target===gt&&++Nt>=Pt&&Ut()};setTimeout(function(){Nt0&&(Ut=TRANSITION,Dt=Ct,Mt=At.length):$t===ANIMATION?Nt>0&&(Ut=ANIMATION,Dt=Nt,Mt=It.length):(Dt=Math.max(Ct,Nt),Ut=Dt>0?Ct>Nt?TRANSITION:ANIMATION:null,Mt=Ut?Ut===TRANSITION?At.length:It.length:0);var Ft=Ut===TRANSITION&&transformRE.test(Et[transitionProp+"Property"]);return{type:Ut,timeout:Dt,propCount:Mt,hasTransform:Ft}}function getTimeout(gt,$t){for(;gt.length<$t.length;)gt=gt.concat(gt);return Math.max.apply(null,$t.map(function(Et,Tt){return toMs(Et)+toMs(gt[Tt])}))}function toMs(gt){return Number(gt.slice(0,-1).replace(",","."))*1e3}function enter(gt,$t){var Et=gt.elm;isDef$1(Et._leaveCb)&&(Et._leaveCb.cancelled=!0,Et._leaveCb());var Tt=resolveTransition(gt.data.transition);if(!isUndef(Tt)&&!(isDef$1(Et._enterCb)||Et.nodeType!==1)){for(var At=Tt.css,Ct=Tt.type,Pt=Tt.enterClass,It=Tt.enterToClass,Nt=Tt.enterActiveClass,Ut=Tt.appearClass,Dt=Tt.appearToClass,Mt=Tt.appearActiveClass,Ft=Tt.beforeEnter,Bt=Tt.enter,Gt=Tt.afterEnter,Vt=Tt.enterCancelled,Ht=Tt.beforeAppear,Wt=Tt.appear,Kt=Tt.afterAppear,qt=Tt.appearCancelled,Jt=Tt.duration,Xt=activeInstance,Zt=activeInstance.$vnode;Zt&&Zt.parent;)Xt=Zt.context,Zt=Zt.parent;var rr=!Xt._isMounted||!gt.isRootInsert;if(!(rr&&!Wt&&Wt!=="")){var tr=rr&&Ut?Ut:Pt,Qt=rr&&Mt?Mt:Nt,zt=rr&&Dt?Dt:It,nr=rr&&Ht||Ft,Yt=rr&&isFunction$2(Wt)?Wt:Bt,er=rr&&Kt||Gt,or=rr&&qt||Vt,cr=toNumber$2(isObject$4(Jt)?Jt.enter:Jt),ir=At!==!1&&!isIE9,ar=getHookArgumentsLength(Yt),ur=Et._enterCb=once(function(){ir&&(removeTransitionClass(Et,zt),removeTransitionClass(Et,Qt)),ur.cancelled?(ir&&removeTransitionClass(Et,tr),or&&or(Et)):er&&er(Et),Et._enterCb=null});gt.data.show||mergeVNodeHook(gt,"insert",function(){var vr=Et.parentNode,gr=vr&&vr._pending&&vr._pending[gt.key];gr&&gr.tag===gt.tag&&gr.elm._leaveCb&&gr.elm._leaveCb(),Yt&&Yt(Et,ur)}),nr&&nr(Et),ir&&(addTransitionClass(Et,tr),addTransitionClass(Et,Qt),nextFrame(function(){removeTransitionClass(Et,tr),ur.cancelled||(addTransitionClass(Et,zt),ar||(isValidDuration(cr)?setTimeout(ur,cr):whenTransitionEnds(Et,Ct,ur)))})),gt.data.show&&($t&&$t(),Yt&&Yt(Et,ur)),!ir&&!ar&&ur()}}}function leave(gt,$t){var Et=gt.elm;isDef$1(Et._enterCb)&&(Et._enterCb.cancelled=!0,Et._enterCb());var Tt=resolveTransition(gt.data.transition);if(isUndef(Tt)||Et.nodeType!==1)return $t();if(isDef$1(Et._leaveCb))return;var At=Tt.css,Ct=Tt.type,Pt=Tt.leaveClass,It=Tt.leaveToClass,Nt=Tt.leaveActiveClass,Ut=Tt.beforeLeave,Dt=Tt.leave,Mt=Tt.afterLeave,Ft=Tt.leaveCancelled,Bt=Tt.delayLeave,Gt=Tt.duration,Vt=At!==!1&&!isIE9,Ht=getHookArgumentsLength(Dt),Wt=toNumber$2(isObject$4(Gt)?Gt.leave:Gt),Kt=Et._leaveCb=once(function(){Et.parentNode&&Et.parentNode._pending&&(Et.parentNode._pending[gt.key]=null),Vt&&(removeTransitionClass(Et,It),removeTransitionClass(Et,Nt)),Kt.cancelled?(Vt&&removeTransitionClass(Et,Pt),Ft&&Ft(Et)):($t(),Mt&&Mt(Et)),Et._leaveCb=null});Bt?Bt(qt):qt();function qt(){Kt.cancelled||(!gt.data.show&&Et.parentNode&&((Et.parentNode._pending||(Et.parentNode._pending={}))[gt.key]=gt),Ut&&Ut(Et),Vt&&(addTransitionClass(Et,Pt),addTransitionClass(Et,Nt),nextFrame(function(){removeTransitionClass(Et,Pt),Kt.cancelled||(addTransitionClass(Et,It),Ht||(isValidDuration(Wt)?setTimeout(Kt,Wt):whenTransitionEnds(Et,Ct,Kt)))})),Dt&&Dt(Et,Kt),!Vt&&!Ht&&Kt())}}function isValidDuration(gt){return typeof gt=="number"&&!isNaN(gt)}function getHookArgumentsLength(gt){if(isUndef(gt))return!1;var $t=gt.fns;return isDef$1($t)?getHookArgumentsLength(Array.isArray($t)?$t[0]:$t):(gt._length||gt.length)>1}function _enter(gt,$t){$t.data.show!==!0&&enter($t)}var transition=inBrowser$1?{create:_enter,activate:_enter,remove:function(gt,$t){gt.data.show!==!0?leave(gt,$t):$t()}}:{},platformModules=[attrs,klass$1,events$1,domProps,style$1,transition],modules$1=platformModules.concat(baseModules),patch=createPatchFunction({nodeOps,modules:modules$1});isIE9&&document.addEventListener("selectionchange",function(){var gt=document.activeElement;gt&>.vmodel&&trigger(gt,"input")});var directive={inserted:function(gt,$t,Et,Tt){Et.tag==="select"?(Tt.elm&&!Tt.elm._vOptions?mergeVNodeHook(Et,"postpatch",function(){directive.componentUpdated(gt,$t,Et)}):setSelected(gt,$t,Et.context),gt._vOptions=[].map.call(gt.options,getValue)):(Et.tag==="textarea"||isTextInputType(gt.type))&&(gt._vModifiers=$t.modifiers,$t.modifiers.lazy||(gt.addEventListener("compositionstart",onCompositionStart),gt.addEventListener("compositionend",onCompositionEnd),gt.addEventListener("change",onCompositionEnd),isIE9&&(gt.vmodel=!0)))},componentUpdated:function(gt,$t,Et){if(Et.tag==="select"){setSelected(gt,$t,Et.context);var Tt=gt._vOptions,At=gt._vOptions=[].map.call(gt.options,getValue);if(At.some(function(Pt,It){return!looseEqual(Pt,Tt[It])})){var Ct=gt.multiple?$t.value.some(function(Pt){return hasNoMatchingOption(Pt,At)}):$t.value!==$t.oldValue&&hasNoMatchingOption($t.value,At);Ct&&trigger(gt,"change")}}}};function setSelected(gt,$t,Et){actuallySetSelected(gt,$t),(isIE||isEdge)&&setTimeout(function(){actuallySetSelected(gt,$t)},0)}function actuallySetSelected(gt,$t,Et){var Tt=$t.value,At=gt.multiple;if(!(At&&!Array.isArray(Tt))){for(var Ct,Pt,It=0,Nt=gt.options.length;It-1,Pt.selected!==Ct&&(Pt.selected=Ct);else if(looseEqual(getValue(Pt),Tt)){gt.selectedIndex!==It&&(gt.selectedIndex=It);return}At||(gt.selectedIndex=-1)}}function hasNoMatchingOption(gt,$t){return $t.every(function(Et){return!looseEqual(Et,gt)})}function getValue(gt){return"_value"in gt?gt._value:gt.value}function onCompositionStart(gt){gt.target.composing=!0}function onCompositionEnd(gt){gt.target.composing&&(gt.target.composing=!1,trigger(gt.target,"input"))}function trigger(gt,$t){var Et=document.createEvent("HTMLEvents");Et.initEvent($t,!0,!0),gt.dispatchEvent(Et)}function locateNode(gt){return gt.componentInstance&&(!gt.data||!gt.data.transition)?locateNode(gt.componentInstance._vnode):gt}var show={bind:function(gt,$t,Et){var Tt=$t.value;Et=locateNode(Et);var At=Et.data&&Et.data.transition,Ct=gt.__vOriginalDisplay=gt.style.display==="none"?"":gt.style.display;Tt&&At?(Et.data.show=!0,enter(Et,function(){gt.style.display=Ct})):gt.style.display=Tt?Ct:"none"},update:function(gt,$t,Et){var Tt=$t.value,At=$t.oldValue;if(!Tt!=!At){Et=locateNode(Et);var Ct=Et.data&&Et.data.transition;Ct?(Et.data.show=!0,Tt?enter(Et,function(){gt.style.display=gt.__vOriginalDisplay}):leave(Et,function(){gt.style.display="none"})):gt.style.display=Tt?gt.__vOriginalDisplay:"none"}},unbind:function(gt,$t,Et,Tt,At){At||(gt.style.display=gt.__vOriginalDisplay)}},platformDirectives={model:directive,show},transitionProps={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function getRealChild(gt){var $t=gt&>.componentOptions;return $t&&$t.Ctor.options.abstract?getRealChild(getFirstComponentChild($t.children)):gt}function extractTransitionData(gt){var $t={},Et=gt.$options;for(var Tt in Et.propsData)$t[Tt]=gt[Tt];var At=Et._parentListeners;for(var Tt in At)$t[camelize(Tt)]=At[Tt];return $t}function placeholder(gt,$t){if(/\d-keep-alive$/.test($t.tag))return gt("keep-alive",{props:$t.componentOptions.propsData})}function hasParentTransition(gt){for(;gt=gt.parent;)if(gt.data.transition)return!0}function isSameChild(gt,$t){return $t.key===gt.key&&$t.tag===gt.tag}var isNotTextNode=function(gt){return gt.tag||isAsyncPlaceholder(gt)},isVShowDirective=function(gt){return gt.name==="show"},Transition={name:"transition",props:transitionProps,abstract:!0,render:function(gt){var $t=this,Et=this.$slots.default;if(Et&&(Et=Et.filter(isNotTextNode),!!Et.length)){var Tt=this.mode,At=Et[0];if(hasParentTransition(this.$vnode))return At;var Ct=getRealChild(At);if(!Ct)return At;if(this._leaving)return placeholder(gt,At);var Pt="__transition-".concat(this._uid,"-");Ct.key=Ct.key==null?Ct.isComment?Pt+"comment":Pt+Ct.tag:isPrimitive(Ct.key)?String(Ct.key).indexOf(Pt)===0?Ct.key:Pt+Ct.key:Ct.key;var It=(Ct.data||(Ct.data={})).transition=extractTransitionData(this),Nt=this._vnode,Ut=getRealChild(Nt);if(Ct.data.directives&&Ct.data.directives.some(isVShowDirective)&&(Ct.data.show=!0),Ut&&Ut.data&&!isSameChild(Ct,Ut)&&!isAsyncPlaceholder(Ut)&&!(Ut.componentInstance&&Ut.componentInstance._vnode.isComment)){var Dt=Ut.data.transition=extend$1({},It);if(Tt==="out-in")return this._leaving=!0,mergeVNodeHook(Dt,"afterLeave",function(){$t._leaving=!1,$t.$forceUpdate()}),placeholder(gt,At);if(Tt==="in-out"){if(isAsyncPlaceholder(Ct))return Nt;var Mt,Ft=function(){Mt()};mergeVNodeHook(It,"afterEnter",Ft),mergeVNodeHook(It,"enterCancelled",Ft),mergeVNodeHook(Dt,"delayLeave",function(Bt){Mt=Bt})}}return At}}},props=extend$1({tag:String,moveClass:String},transitionProps);delete props.mode;var TransitionGroup={props,beforeMount:function(){var gt=this,$t=this._update;this._update=function(Et,Tt){var At=setActiveInstance(gt);gt.__patch__(gt._vnode,gt.kept,!1,!0),gt._vnode=gt.kept,At(),$t.call(gt,Et,Tt)}},render:function(gt){for(var $t=this.tag||this.$vnode.data.tag||"span",Et=Object.create(null),Tt=this.prevChildren=this.children,At=this.$slots.default||[],Ct=this.children=[],Pt=extractTransitionData(this),It=0;ItCt&&(At.push(Nt=gt.slice(Ct,It)),Tt.push(JSON.stringify(Nt)));var Ut=parseFilters(Pt[1].trim());Tt.push("_s(".concat(Ut,")")),At.push({"@binding":Ut}),Ct=It+Pt[0].length}return Ct\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,dynamicArgAttribute=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ncname="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(unicodeRegExp.source,"]*"),qnameCapture="((?:".concat(ncname,"\\:)?").concat(ncname,")"),startTagOpen=new RegExp("^<".concat(qnameCapture)),startTagClose=/^\s*(\/?)>/,endTag=new RegExp("^<\\/".concat(qnameCapture,"[^>]*>")),doctype=/^]+>/i,comment=/^",""":'"',"&":"&"," ":"\n"," ":" ","'":"'"},encodedAttr=/&(?:lt|gt|quot|amp|#39);/g,encodedAttrWithNewLines=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,isIgnoreNewlineTag=makeMap("pre,textarea",!0),shouldIgnoreFirstNewline=function(gt,$t){return gt&&isIgnoreNewlineTag(gt)&&$t[0]==="\n"};function decodeAttr(gt,$t){var Et=$t?encodedAttrWithNewLines:encodedAttr;return gt.replace(Et,function(Tt){return decodingMap[Tt]})}function parseHTML(gt,$t){for(var Et=[],Tt=$t.expectHTML,At=$t.isUnaryTag||no,Ct=$t.canBeLeftOpenTag||no,Pt=0,It,Nt,Ut=function(){if(It=gt,!Nt||!isPlainTextElement(Nt)){var Vt=gt.indexOf("<");if(Vt===0){if(comment.test(gt)){var Ht=gt.indexOf("-->");if(Ht>=0)return $t.shouldKeepComment&&$t.comment&&$t.comment(gt.substring(4,Ht),Pt,Pt+Ht+3),Mt(Ht+3),"continue"}if(conditionalComment.test(gt)){var Wt=gt.indexOf("]>");if(Wt>=0)return Mt(Wt+2),"continue"}var Kt=gt.match(doctype);if(Kt)return Mt(Kt[0].length),"continue";var qt=gt.match(endTag);if(qt){var Jt=Pt;return Mt(qt[0].length),Gt(qt[1],Jt,Pt),"continue"}var Xt=Ft();if(Xt)return Bt(Xt),shouldIgnoreFirstNewline(Xt.tagName,gt)&&Mt(1),"continue"}var Zt=void 0,rr=void 0,tr=void 0;if(Vt>=0){for(rr=gt.slice(Vt);!endTag.test(rr)&&!startTagOpen.test(rr)&&!comment.test(rr)&&!conditionalComment.test(rr)&&(tr=rr.indexOf("<",1),!(tr<0));)Vt+=tr,rr=gt.slice(Vt);Zt=gt.substring(0,Vt)}Vt<0&&(Zt=gt),Zt&&Mt(Zt.length),$t.chars&&Zt&&$t.chars(Zt,Pt-Zt.length,Pt)}else{var Qt=0,zt=Nt.toLowerCase(),nr=reCache[zt]||(reCache[zt]=new RegExp("([\\s\\S]*?)(]*>)","i")),rr=gt.replace(nr,function(er,or,cr){return Qt=cr.length,!isPlainTextElement(zt)&&zt!=="noscript"&&(or=or.replace(//g,"$1").replace(//g,"$1")),shouldIgnoreFirstNewline(zt,or)&&(or=or.slice(1)),$t.chars&&$t.chars(or),""});Pt+=gt.length-rr.length,gt=rr,Gt(zt,Pt-Qt,Pt)}if(gt===It)return $t.chars&&$t.chars(gt),"break"};gt;){var Dt=Ut();if(Dt==="break")break}Gt();function Mt(Vt){Pt+=Vt,gt=gt.substring(Vt)}function Ft(){var Vt=gt.match(startTagOpen);if(Vt){var Ht={tagName:Vt[1],attrs:[],start:Pt};Mt(Vt[0].length);for(var Wt=void 0,Kt=void 0;!(Wt=gt.match(startTagClose))&&(Kt=gt.match(dynamicArgAttribute)||gt.match(attribute));)Kt.start=Pt,Mt(Kt[0].length),Kt.end=Pt,Ht.attrs.push(Kt);if(Wt)return Ht.unarySlash=Wt[1],Mt(Wt[0].length),Ht.end=Pt,Ht}}function Bt(Vt){var Ht=Vt.tagName,Wt=Vt.unarySlash;Tt&&(Nt==="p"&&isNonPhrasingTag(Ht)&&Gt(Nt),Ct(Ht)&&Nt===Ht&&Gt(Ht));for(var Kt=At(Ht)||!!Wt,qt=Vt.attrs.length,Jt=new Array(qt),Xt=0;Xt=0&&Et[Kt].lowerCasedTag!==qt;Kt--);else Kt=0;if(Kt>=0){for(var Jt=Et.length-1;Jt>=Kt;Jt--)$t.end&&$t.end(Et[Jt].tag,Ht,Wt);Et.length=Kt,Nt=Kt&&Et[Kt-1].tag}else qt==="br"?$t.start&&$t.start(Vt,[],!0,Ht,Wt):qt==="p"&&($t.start&&$t.start(Vt,[],!1,Ht,Wt),$t.end&&$t.end(Vt,Ht,Wt))}}var onRE=/^@|^v-on:/,dirRE=/^v-|^@|^:|^#/,forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g,dynamicArgRE=/^\[.*\]$/,argRE=/:(.*)$/,bindRE=/^:|^\.|^v-bind:/,modifierRE=/\.[^.\]]+(?=[^\]]*$)/g,slotRE=/^v-slot(:|$)|^#/,lineBreakRE=/[\r\n]/,whitespaceRE=/[ \f\t\r\n]+/g,decodeHTMLCached=cached(he$3.decode),emptySlotScopeToken="_empty_",warn,delimiters,transforms,preTransforms,postTransforms,platformIsPreTag,platformMustUseProp,platformGetTagNamespace;function createASTElement(gt,$t,Et){return{type:1,tag:gt,attrsList:$t,attrsMap:makeAttrsMap($t),rawAttrsMap:{},parent:Et,children:[]}}function parse(gt,$t){warn=$t.warn||baseWarn,platformIsPreTag=$t.isPreTag||no,platformMustUseProp=$t.mustUseProp||no,platformGetTagNamespace=$t.getTagNamespace||no,$t.isReservedTag,transforms=pluckModuleFunction($t.modules,"transformNode"),preTransforms=pluckModuleFunction($t.modules,"preTransformNode"),postTransforms=pluckModuleFunction($t.modules,"postTransformNode"),delimiters=$t.delimiters;var Et=[],Tt=$t.preserveWhitespace!==!1,At=$t.whitespace,Ct,Pt,It=!1,Nt=!1;function Ut(Mt){if(Dt(Mt),!It&&!Mt.processed&&(Mt=processElement(Mt,$t)),!Et.length&&Mt!==Ct&&Ct.if&&(Mt.elseif||Mt.else)&&addIfCondition(Ct,{exp:Mt.elseif,block:Mt}),Pt&&!Mt.forbidden)if(Mt.elseif||Mt.else)processIfConditions(Mt,Pt);else{if(Mt.slotScope){var Ft=Mt.slotTarget||'"default"';(Pt.scopedSlots||(Pt.scopedSlots={}))[Ft]=Mt}Pt.children.push(Mt),Mt.parent=Pt}Mt.children=Mt.children.filter(function(Gt){return!Gt.slotScope}),Dt(Mt),Mt.pre&&(It=!1),platformIsPreTag(Mt.tag)&&(Nt=!1);for(var Bt=0;Bt|^function(?:\s+[\w$]+)?\s*\(/,fnInvokeRE=/\([^)]*?\);*$/,simplePathRE=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,keyCodes={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},keyNames={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},genGuard=function(gt){return"if(".concat(gt,")return null;")},modifierCode={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:genGuard("$event.target !== $event.currentTarget"),ctrl:genGuard("!$event.ctrlKey"),shift:genGuard("!$event.shiftKey"),alt:genGuard("!$event.altKey"),meta:genGuard("!$event.metaKey"),left:genGuard("'button' in $event && $event.button !== 0"),middle:genGuard("'button' in $event && $event.button !== 1"),right:genGuard("'button' in $event && $event.button !== 2")};function genHandlers(gt,$t){var Et=$t?"nativeOn:":"on:",Tt="",At="";for(var Ct in gt){var Pt=genHandler(gt[Ct]);gt[Ct]&>[Ct].dynamic?At+="".concat(Ct,",").concat(Pt,","):Tt+='"'.concat(Ct,'":').concat(Pt,",")}return Tt="{".concat(Tt.slice(0,-1),"}"),At?Et+"_d(".concat(Tt,",[").concat(At.slice(0,-1),"])"):Et+Tt}function genHandler(gt){if(!gt)return"function(){}";if(Array.isArray(gt))return"[".concat(gt.map(function(Dt){return genHandler(Dt)}).join(","),"]");var $t=simplePathRE.test(gt.value),Et=fnExpRE.test(gt.value),Tt=simplePathRE.test(gt.value.replace(fnInvokeRE,""));if(gt.modifiers){var At="",Ct="",Pt=[],It=function(Dt){if(modifierCode[Dt])Ct+=modifierCode[Dt],keyCodes[Dt]&&Pt.push(Dt);else if(Dt==="exact"){var Mt=gt.modifiers;Ct+=genGuard(["ctrl","shift","alt","meta"].filter(function(Ft){return!Mt[Ft]}).map(function(Ft){return"$event.".concat(Ft,"Key")}).join("||"))}else Pt.push(Dt)};for(var Nt in gt.modifiers)It(Nt);Pt.length&&(At+=genKeyFilter(Pt)),Ct&&(At+=Ct);var Ut=$t?"return ".concat(gt.value,".apply(null, arguments)"):Et?"return (".concat(gt.value,").apply(null, arguments)"):Tt?"return ".concat(gt.value):gt.value;return"function($event){".concat(At).concat(Ut,"}")}else return $t||Et?gt.value:"function($event){".concat(Tt?"return ".concat(gt.value):gt.value,"}")}function genKeyFilter(gt){return"if(!$event.type.indexOf('key')&&"+"".concat(gt.map(genFilterCode).join("&&"),")return null;")}function genFilterCode(gt){var $t=parseInt(gt,10);if($t)return"$event.keyCode!==".concat($t);var Et=keyCodes[gt],Tt=keyNames[gt];return"_k($event.keyCode,"+"".concat(JSON.stringify(gt),",")+"".concat(JSON.stringify(Et),",")+"$event.key,"+"".concat(JSON.stringify(Tt))+")"}function on(gt,$t){gt.wrapListeners=function(Et){return"_g(".concat(Et,",").concat($t.value,")")}}function bind$2(gt,$t){gt.wrapData=function(Et){return"_b(".concat(Et,",'").concat(gt.tag,"',").concat($t.value,",").concat($t.modifiers&&$t.modifiers.prop?"true":"false").concat($t.modifiers&&$t.modifiers.sync?",true":"",")")}}var baseDirectives={on,bind:bind$2,cloak:noop$2},CodegenState=function(){function gt($t){this.options=$t,this.warn=$t.warn||baseWarn,this.transforms=pluckModuleFunction($t.modules,"transformCode"),this.dataGenFns=pluckModuleFunction($t.modules,"genData"),this.directives=extend$1(extend$1({},baseDirectives),$t.directives);var Et=$t.isReservedTag||no;this.maybeComponent=function(Tt){return!!Tt.component||!Et(Tt.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}return gt}();function generate(gt,$t){var Et=new CodegenState($t),Tt=gt?gt.tag==="script"?"null":genElement(gt,Et):'_c("div")';return{render:"with(this){return ".concat(Tt,"}"),staticRenderFns:Et.staticRenderFns}}function genElement(gt,$t){if(gt.parent&&(gt.pre=gt.pre||gt.parent.pre),gt.staticRoot&&!gt.staticProcessed)return genStatic(gt,$t);if(gt.once&&!gt.onceProcessed)return genOnce(gt,$t);if(gt.for&&!gt.forProcessed)return genFor(gt,$t);if(gt.if&&!gt.ifProcessed)return genIf(gt,$t);if(gt.tag==="template"&&!gt.slotTarget&&!$t.pre)return genChildren(gt,$t)||"void 0";if(gt.tag==="slot")return genSlot(gt,$t);var Et=void 0;if(gt.component)Et=genComponent(gt.component,gt,$t);else{var Tt=void 0,At=$t.maybeComponent(gt);(!gt.plain||gt.pre&&At)&&(Tt=genData(gt,$t));var Ct=void 0,Pt=$t.options.bindings;At&&Pt&&Pt.__isScriptSetup!==!1&&(Ct=checkBindingType(Pt,gt.tag)),Ct||(Ct="'".concat(gt.tag,"'"));var It=gt.inlineTemplate?null:genChildren(gt,$t,!0);Et="_c(".concat(Ct).concat(Tt?",".concat(Tt):"").concat(It?",".concat(It):"",")")}for(var Nt=0;Nt<$t.transforms.length;Nt++)Et=$t.transforms[Nt](gt,Et);return Et}function checkBindingType(gt,$t){var Et=camelize($t),Tt=capitalize(Et),At=function(It){if(gt[$t]===It)return $t;if(gt[Et]===It)return Et;if(gt[Tt]===It)return Tt},Ct=At("setup-const")||At("setup-reactive-const");if(Ct)return Ct;var Pt=At("setup-let")||At("setup-ref")||At("setup-maybe-ref");if(Pt)return Pt}function genStatic(gt,$t){gt.staticProcessed=!0;var Et=$t.pre;return gt.pre&&($t.pre=gt.pre),$t.staticRenderFns.push("with(this){return ".concat(genElement(gt,$t),"}")),$t.pre=Et,"_m(".concat($t.staticRenderFns.length-1).concat(gt.staticInFor?",true":"",")")}function genOnce(gt,$t){if(gt.onceProcessed=!0,gt.if&&!gt.ifProcessed)return genIf(gt,$t);if(gt.staticInFor){for(var Et="",Tt=gt.parent;Tt;){if(Tt.for){Et=Tt.key;break}Tt=Tt.parent}return Et?"_o(".concat(genElement(gt,$t),",").concat($t.onceId++,",").concat(Et,")"):genElement(gt,$t)}else return genStatic(gt,$t)}function genIf(gt,$t,Et,Tt){return gt.ifProcessed=!0,genIfConditions(gt.ifConditions.slice(),$t,Et,Tt)}function genIfConditions(gt,$t,Et,Tt){if(!gt.length)return Tt||"_e()";var At=gt.shift();if(At.exp)return"(".concat(At.exp,")?").concat(Ct(At.block),":").concat(genIfConditions(gt,$t,Et,Tt));return"".concat(Ct(At.block));function Ct(Pt){return Et?Et(Pt,$t):Pt.once?genOnce(Pt,$t):genElement(Pt,$t)}}function genFor(gt,$t,Et,Tt){var At=gt.for,Ct=gt.alias,Pt=gt.iterator1?",".concat(gt.iterator1):"",It=gt.iterator2?",".concat(gt.iterator2):"";return gt.forProcessed=!0,"".concat(Tt||"_l","((").concat(At,"),")+"function(".concat(Ct).concat(Pt).concat(It,"){")+"return ".concat((Et||genElement)(gt,$t))+"})"}function genData(gt,$t){var Et="{",Tt=genDirectives(gt,$t);Tt&&(Et+=Tt+","),gt.key&&(Et+="key:".concat(gt.key,",")),gt.ref&&(Et+="ref:".concat(gt.ref,",")),gt.refInFor&&(Et+="refInFor:true,"),gt.pre&&(Et+="pre:true,"),gt.component&&(Et+='tag:"'.concat(gt.tag,'",'));for(var At=0;At<$t.dataGenFns.length;At++)Et+=$t.dataGenFns[At](gt);if(gt.attrs&&(Et+="attrs:".concat(genProps(gt.attrs),",")),gt.props&&(Et+="domProps:".concat(genProps(gt.props),",")),gt.events&&(Et+="".concat(genHandlers(gt.events,!1),",")),gt.nativeEvents&&(Et+="".concat(genHandlers(gt.nativeEvents,!0),",")),gt.slotTarget&&!gt.slotScope&&(Et+="slot:".concat(gt.slotTarget,",")),gt.scopedSlots&&(Et+="".concat(genScopedSlots(gt,gt.scopedSlots,$t),",")),gt.model&&(Et+="model:{value:".concat(gt.model.value,",callback:").concat(gt.model.callback,",expression:").concat(gt.model.expression,"},")),gt.inlineTemplate){var Ct=genInlineTemplate(gt,$t);Ct&&(Et+="".concat(Ct,","))}return Et=Et.replace(/,$/,"")+"}",gt.dynamicAttrs&&(Et="_b(".concat(Et,',"').concat(gt.tag,'",').concat(genProps(gt.dynamicAttrs),")")),gt.wrapData&&(Et=gt.wrapData(Et)),gt.wrapListeners&&(Et=gt.wrapListeners(Et)),Et}function genDirectives(gt,$t){var Et=gt.directives;if(Et){var Tt="directives:[",At=!1,Ct,Pt,It,Nt;for(Ct=0,Pt=Et.length;Ct>>0}function containsSlotChild(gt){return gt.type===1?gt.tag==="slot"?!0:gt.children.some(containsSlotChild):!1}function genScopedSlot(gt,$t){var Et=gt.attrsMap["slot-scope"];if(gt.if&&!gt.ifProcessed&&!Et)return genIf(gt,$t,genScopedSlot,"null");if(gt.for&&!gt.forProcessed)return genFor(gt,$t,genScopedSlot);var Tt=gt.slotScope===emptySlotScopeToken?"":String(gt.slotScope),At="function(".concat(Tt,"){")+"return ".concat(gt.tag==="template"?gt.if&&Et?"(".concat(gt.if,")?").concat(genChildren(gt,$t)||"undefined",":undefined"):genChildren(gt,$t)||"undefined":genElement(gt,$t),"}"),Ct=Tt?"":",proxy:true";return"{key:".concat(gt.slotTarget||'"default"',",fn:").concat(At).concat(Ct,"}")}function genChildren(gt,$t,Et,Tt,At){var Ct=gt.children;if(Ct.length){var Pt=Ct[0];if(Ct.length===1&&Pt.for&&Pt.tag!=="template"&&Pt.tag!=="slot"){var It=Et?$t.maybeComponent(Pt)?",1":",0":"";return"".concat((Tt||genElement)(Pt,$t)).concat(It)}var Nt=Et?getNormalizationType(Ct,$t.maybeComponent):0,Ut=At||genNode;return"[".concat(Ct.map(function(Dt){return Ut(Dt,$t)}).join(","),"]").concat(Nt?",".concat(Nt):"")}}function getNormalizationType(gt,$t){for(var Et=0,Tt=0;Tt':'
',div.innerHTML.indexOf(" ")>0}var shouldDecodeNewlines=inBrowser$1?getShouldDecode(!1):!1,shouldDecodeNewlinesForHref=inBrowser$1?getShouldDecode(!0):!1,idToTemplate=cached(function(gt){var $t=query(gt);return $t&&$t.innerHTML}),mount=Vue.prototype.$mount;Vue.prototype.$mount=function(gt,$t){if(gt=gt&&query(gt),gt===document.body||gt===document.documentElement)return this;var Et=this.$options;if(!Et.render){var Tt=Et.template;if(Tt)if(typeof Tt=="string")Tt.charAt(0)==="#"&&(Tt=idToTemplate(Tt));else if(Tt.nodeType)Tt=Tt.innerHTML;else return this;else gt&&(Tt=getOuterHTML(gt));if(Tt){var At=compileToFunctions(Tt,{outputSourceRange:!1,shouldDecodeNewlines,shouldDecodeNewlinesForHref,delimiters:Et.delimiters,comments:Et.comments},this),Ct=At.render,Pt=At.staticRenderFns;Et.render=Ct,Et.staticRenderFns=Pt}}return mount.call(this,gt,$t)};function getOuterHTML(gt){if(gt.outerHTML)return gt.outerHTML;var $t=document.createElement("div");return $t.appendChild(gt.cloneNode(!0)),$t.innerHTML}Vue.compile=compileToFunctions;const vue_esm=Object.freeze(Object.defineProperty({__proto__:null,EffectScope,computed,customRef,default:Vue,defineAsyncComponent,defineComponent,del,effectScope,getCurrentInstance,getCurrentScope,h:h$7,inject,isProxy,isReactive,isReadonly,isRef,isShallow,markRaw,mergeDefaults,nextTick,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,provide,proxyRefs,reactive,readonly,ref:ref$1,set,shallowReactive,shallowReadonly,shallowRef,toRaw,toRef,toRefs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useListeners,useSlots,version:version$1,watch,watchEffect,watchPostEffect,watchSyncEffect},Symbol.toStringTag,{value:"Module"}));var Vue2=Vue;Vue.util.warn;function createApp(gt,$t){var Et,Tt={},At={config:Vue.config,use:Vue.use.bind(Vue),mixin:Vue.mixin.bind(Vue),component:Vue.component.bind(Vue),provide:function(Ct,Pt){return Tt[Ct]=Pt,this},directive:function(Ct,Pt){return Pt?(Vue.directive(Ct,Pt),At):Vue.directive(Ct)},mount:function(Ct,Pt){return Et||(Et=new Vue(Object.assign({propsData:$t},gt,{provide:Object.assign(Tt,gt.provide)})),Et.$mount(Ct,Pt),Et)},unmount:function(){Et&&(Et.$destroy(),Et=void 0)}};return At}function assign(gt){for(var $t=1;$t"u")){Pt=assign({},$t,Pt),typeof Pt.expires=="number"&&(Pt.expires=new Date(Date.now()+Pt.expires*864e5)),Pt.expires&&(Pt.expires=Pt.expires.toUTCString()),At=encodeURIComponent(At).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var It="";for(var Nt in Pt)Pt[Nt]&&(It+="; "+Nt,Pt[Nt]!==!0&&(It+="="+Pt[Nt].split(";")[0]));return document.cookie=At+"="+gt.write(Ct,At)+It}}function Tt(At){if(!(typeof document>"u"||arguments.length&&!At)){for(var Ct=document.cookie?document.cookie.split("; "):[],Pt={},It=0;It{this.resolve=$t,this.reject=Et})}}const hasOwnProperty$1=(()=>{const{hasOwnProperty:gt}=Object.prototype;return($t,Et)=>gt.call($t,Et)})(),isNonNullObject=gt=>typeof gt=="object"&>!==null,isFunction$1=gt=>typeof gt=="function",delay=gt=>new Promise($t=>setTimeout($t,gt)),memoize=(gt,$t=(...Et)=>Et[0])=>{const Et=new Map,Tt=new WeakMap;return(...At)=>{var Nt;const Ct=$t(...At),Pt=isNonNullObject(Ct)?Tt:Et,It=(Nt=Pt.get(Ct))!=null?Nt:gt(...At);return Pt.has(Ct)||Pt.set(Ct,It),It}},compareVersion=(gt,$t)=>{if(!gt||!$t)return Number.NaN;const Et=gt.split(".").map(At=>+At),Tt=$t.split(".").map(At=>+At);for(let At=0;At{var $t,Et;return(Et=($t=new RegExp("(?:".concat(gt,")\\/([\\d+.]+)")).exec(typeof navigator>"u"?"":navigator.userAgent))==null?void 0:$t[1])!=null?Et:""}),compareYodaVersion=gt=>compareVersion(getPlatformVersion("Yoda"),gt),compareKwaiAppVersion=gt=>compareVersion(getPlatformVersion("Kwai|ksNebula"),gt),system=(()=>{if(typeof navigator>"u")return"unknown";const{userAgent:gt,maxTouchPoints:$t}=navigator;return/android/iu.test(gt)?"Android":/iPhone|iPad|iPod/u.test(gt)||gt.includes("Mac")&&$t>1?"iOS":"unknown"})(),isAndroid=system==="Android",isIOS=system==="iOS",isYoda=()=>{var gt;return typeof window<"u"&&typeof((gt=window.__yodaBridge__)==null?void 0:gt.invoke)=="function"},isApp=gt=>!!getPlatformVersion(gt),isKwaiApp=isApp("Kwai|ksNebula"),SafeInteger=Number.MAX_SAFE_INTEGER||9007199254740991;let overflow=!1,_callbackId=1,_instanceId=genInstanceId();function genInstanceId(){const gt="".concat(SafeInteger),$t=Number(gt.slice(0,3))-100,Et=Math.floor(Math.random()*$t),Tt="".concat(Date.now()),At=Tt.slice(Tt.length-9),Ct=new Array(gt.length-12).fill(0).join("");return Number("".concat(Et).concat(At).concat(Ct))}function genCallbackId(gt){const $t=genNextId(gt);return $t>=SafeInteger?(overflow=!0,_callbackId=1,_instanceId=genInstanceId(),genCallbackId()):$t}function genNextId(gt){let $t=_instanceId+_callbackId++;for(;overflow||gt&>[$t];)$t=_instanceId+_callbackId++;return $t}function getUUId(gt){return genCallbackId(gt)}function debounce$2(gt,$t=300){let Et=null;return(...Tt)=>{clearTimeout(Et),Et=setTimeout(()=>{gt.apply(this,Tt)},$t)}}let yodaInstance=null;function setYoda(gt){yodaInstance=gt}function getYoda(){return yodaInstance}async function checkCanUse(gt,$t){const Tt=await getYoda().bridge("tool","canIUse",{namespace:gt,name:$t});return Tt.result=="1"&&Tt.canUse}const markStr$1="too_performance_";function getPerformanceId(){return markStr$1+getUUId()}function isPerformanceId(gt){return gt.startsWith(markStr$1)}const markStr="event_";function getEventId(gt){return markStr+getUUId(gt)}function getEventIdOnlyNumber(gt){return gt.replace(markStr,"")}function getEventIdByNumber(gt){return markStr+String(gt)}function isEventId(gt){return gt.startsWith(markStr)}const logArrayPool=[],logSessionMinTime=1e3*1,maxTime=30;var switchEnum;(function(gt){gt[gt.unload=0]="unload",gt[gt.open=1]="open",gt[gt.close=2]="close"})(switchEnum||(switchEnum={}));const isLocalBridge=gt=>["canIUse","getApiList"].includes(gt.name);let isSendLog=switchEnum.unload,getPageLoadDataPromise=null;const loggerSwitch=()=>{var Et,Tt;if(getPageLoadDataPromise)return getPageLoadDataPromise;const{promise:gt,resolve:$t}=new Deferred;if(getPageLoadDataPromise=gt,isSendLog==switchEnum.unload)if((Et=window.__yodaCommonDataObject__)!=null&&Et.sampleData){if(typeof window.__yodaCommonDataObject__.sampleData=="string")try{window.__yodaCommonDataObject__.sampleData=JSON.parse(window.__yodaCommonDataObject__.sampleData)}catch(At){window.__yodaCommonDataObject__.sampleData={}}isSendLog=(Tt=window.__yodaCommonDataObject__.sampleData)!=null&&Tt.bridgeHit?switchEnum.open:switchEnum.close,$t(isSendLog==switchEnum.open)}else getYoda().bridge("webview","getPageLoadData",{},({result:Ct,sampleData:Pt})=>{Ct==1?isSendLog=Pt!=null&&Pt.bridgeHit?switchEnum.open:switchEnum.close:isSendLog=switchEnum.close,$t(isSendLog==switchEnum.open)});else $t(isSendLog==switchEnum.open);return getPageLoadDataPromise};function sendLog(){window.__yodaBridge__.invoke("tool","sendPerformanceLog",JSON.stringify({data:logArrayPool}),getPerformanceId()),logArrayPool.length=0}const _logger=debounce$2(()=>{sendLog()},logSessionMinTime),getLog=(gt,$t,Et)=>{var At,Ct,Pt,It;const Tt={key:"bridge",value:{},dimension:{api:gt.name,namespace:gt.namespace},event_client_timestamp:$t,event_trigger_source:"H5",task_identifier:gt.callbackId,is_task_event:!0,task_status:""};switch(gt.type){case"invoke":Tt.value.h5_invoke_bridge_time=$t,Tt.task_status="START",(typeof((At=window.__yodaBridge__)==null?void 0:At.invoke)!="function"||typeof((It=(Pt=(Ct=window.webkit)==null?void 0:Ct.messageHandlers)==null?void 0:Pt.KMYYoda)==null?void 0:It.postMessage)!="function")&&(Tt.result=126002,Tt.error_msg="");break;case"callback":Tt.value.h5_receive_callback_time=$t,Tt.value.h5_invoke_bridge_time=Et,Tt.dimension.result_type=gt.resultCode,Tt.dimension.result_type&&(Tt.dimension.result_type=Tt.dimension.result_type.toString()),Tt.dimension.error_msg=gt.errorMsg,Tt.task_status="END";break;case"event":Tt.task_status="SUCCESS",delete Tt.dimension.api,delete Tt.dimension.namespace,Tt.dimension.event="";break}return Tt},logger=(gt,$t)=>{if(isLocalBridge(gt))return;const Et=Date.now().toString();return loggerSwitch().then(Tt=>{Tt&&(logArrayPool.push(getLog(gt,Et,$t)),logArrayPool.length>=maxTime?sendLog():_logger())}),Et};function createSingleDeferred(gt){let $t=null,Et=new Promise(Tt=>{$t=Tt});return gt&&(Et=Et.then(gt,gt)),{isMulti:!1,resolve:$t,promise:Et}}function createMultiDeferred(gt){const $t=new Promise(()=>{});return{isMulti:!0,resolve:gt,promise:$t}}const invokeMap={},deferredInvoke={pushMQ(gt=!1,$t,Et=!1){const Tt=Et?getEventId():getUUId(invokeMap),At=gt?createMultiDeferred($t):createSingleDeferred($t);return At.traceId=String(Tt),invokeMap[Tt]=At,At},removeMQ(gt){invokeMap[gt]=void 0},create(gt,$t,Et=!1,Tt){const At=this.pushMQ(Et,Tt);At.namespace=gt,At.name=$t;const Ct=logger({namespace:gt,name:$t,type:"invoke",callbackId:At.traceId});return invokeMap[At.traceId].startTime=Ct,{id:At.traceId,promise:At.promise}},resolve(gt,$t){if(isPerformanceId(gt))return;const Et=invokeMap[gt];Et&&(Et.resolve($t),Et.isMulti||this.removeMQ(gt),!isEventId(gt)&&logger({namespace:Et.namespace,name:Et.name,type:"callback",callbackId:Et.traceId,resultCode:$t.result},Et.startTime))},reject(gt,$t){const Et=invokeMap[gt];Et&&(Et.resolve($t),Et.isMulti||this.removeMQ(gt),!isEventId(gt)&&logger({namespace:Et.namespace,name:Et.name,type:"callback",callbackId:Et.traceId,resultCode:$t.result,errorMsg:$t.message},Et.startTime))}},BRIDGE_TYPE={noCallbackList:["popBack","exitWebView"],onClickList:["setPhysicalBackButton","setTopLeftBtn","setTopLeftSecondBtn","setTopRightBtn","setTopRightSecondBtn"],handlerList:["on","off"]},NAMESPACE_2_GLOBALVAR={kwai:"Kwai",kwaiAd:"KwaiAd",kwaiAdThird:"KwaiAdThird",kwaiMerchant:"KwaiMerchant",kwaiLive:"KwaiLive",kspay:"kspay",Kwai:"Kwai",KwaiAd:"KwaiAd",KwaiAdThird:"KwaiAdThird",KwaiMerchant:"KwaiMerchant",KwaiLive:"KwaiLive"},{noCallbackList,onClickList,handlerList}=BRIDGE_TYPE;function generateUUID(gt=!0){let $t=new Date().getTime();return typeof performance<"u"&&typeof performance.now=="function"&&($t+=performance.now()),(gt?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx":"xxxxxxxx_xxxx_4xxx_yxxx_xxxxxxxxxxxx").replace(/[xy]/g,Tt=>{const At=($t+Math.random()*16)%16|0;return $t=Math.floor($t/16),(Tt==="x"?At:At&3|8).toString(16)})}function generateUUCallbackFunction(gt,$t,Et){const Tt=generateUUID(!1),At="yoda_kuaishou_plugin_callback_".concat(Et,"_").concat(Tt);return window[At]=function(Ct){if(typeof Ct=="string")try{Ct=JSON.parse(Ct)}catch(Pt){console.warn(Pt)}isFunction$1(gt)?gt.call(window,Ct):typeof gt=="string"&&isFunction$1(window[gt])&&window[gt].call(window,Ct),$t||delete window[At]},At}function transformFuncToURL(gt,$t){const Et=gt;return gt&&Array.isArray(gt.actions)&&(Et.actions=gt.actions.map(Tt=>(Tt&&Tt.url&&isFunction$1(Tt.url)&&(Tt.url=generateUUCallbackFunction(Tt.url,!0,$t)),Tt))),Et}const handlerCbMap={};function generateHandlerFunction(gt,$t){let Et="",Tt=null;if(Object.keys(handlerCbMap).some(At=>{const Ct=handlerCbMap[At];return Ct===gt?(Tt=Ct,Et=At,!0):!1}),Tt!==gt&>){const At=generateUUCallbackFunction(gt,!0,$t);handlerCbMap[At]=gt,Et=At}return Et}function bridgeParamsHandler(gt,$t,Et,Tt){let At={...Et};const Ct="".concat(gt,"_").concat($t);if(onClickList.includes($t))At.onClick=generateUUCallbackFunction(At.onClick,!0,Ct);else if(noCallbackList.includes($t))At=null;else if(handlerList.includes($t)){const Pt=generateUUCallbackFunction(Tt,!1,Ct);At.handler&&isFunction$1(At.handler)&&(At.handler=generateHandlerFunction(At.handler,Ct)),At.callback=Pt}else if($t==="showDialog"){const{positiveButton:Pt,negativeButton:It,neutralButton:Nt}=At;Pt&&(At.positiveButton=transformFuncToURL(Pt,Ct)),It&&(At.negativeButton=transformFuncToURL(It,Ct)),Nt&&(At.neutralButton=transformFuncToURL(Nt,Ct))}else if(Object.keys(NAMESPACE_2_GLOBALVAR).includes(gt)){const Pt=generateUUCallbackFunction(Tt,!0,Ct);At.callback=At.callback||Pt}return At}const getMultiInstanceError=()=>new Error("当前环境存在 Yoda 多实例问题,详细请参考 https://docs.corp.kuaishou.com/k/home/VbQx2ulc6v3M/fcADLOKqHyHpSr7hiCKKQVtVM"),setupMultiInstanceGuard=()=>{let{__yodaBridgeCallback__:gt}=window;if(typeof gt=="function")throw getMultiInstanceError();Object.defineProperty(window,"__yodaBridgeCallback__",{get(){return gt},set($t){if(gt)throw getMultiInstanceError();gt=$t}})};let currentMode="production";const getCurrentMode=()=>currentMode,setCurrentMode=gt=>{currentMode=gt},loggerMethods=["debug","info","log","warn","error"],createLogger=gt=>Object.fromEntries(loggerMethods.map($t=>[$t,gt($t)])),print=(gt,$t,...Et)=>{getCurrentMode()!=="production"&&console[$t]("[".concat(gt,"]"),...Et)},console$1=createLogger(gt=>(...$t)=>print("@yoda/bridge",gt,...$t)),invoke$1=async gt=>{var Mt;const{namespace:$t,name:Et,params:Tt,multiCallback:At,callback:Ct}=gt,Pt=NAMESPACE_2_GLOBALVAR[$t],{id:It,promise:Nt}=deferredInvoke.create($t,Et,At,Ct),Ut=Pt||$t,Dt=Ft=>{invokeCallback(It,Ft)};return gt.namespace=Ut==="Kwai"&&typeof navigator<"u"&&navigator.userAgent.includes("livemate/")?"livemate":Ut,gt.params=(Mt=bridgeParamsHandler(Ut,Et,Tt,Dt))!=null?Mt:{},console$1.info("Invoking '".concat(gt.namespace,".").concat(gt.name,"'"),gt.params),isIOS&&!window.webkit&&compareYodaVersion("2.10.9.2")<0||window.__yodaBridge__.invoke(gt.namespace,gt.name,JSON.stringify(gt.params),String(It)),Nt},invokeCallback=(gt,$t)=>{isIOS&&compareYodaVersion("2.3.7")<0&&(gt="".concat(gt));const Et=typeof $t=="string"?JSON.parse($t):$t;(Et==null?void 0:Et.result)===1?deferredInvoke.resolve(gt,Et):deferredInvoke.reject(gt,Et)};typeof window<"u"&&(setupMultiInstanceGuard(),window.__yodaBridgeCallback__=invokeCallback);const apiSet=new Set,invokeAndroid9920=async gt=>{var It;const{namespace:$t,name:Et,params:Tt,multiCallback:At,callback:Ct}=gt;if(!apiSet.size){const Nt=await invoke$1({namespace:"tool",name:"getApiList",params:{}});Nt.result===1&&Array.isArray(Nt.apiList)&&Nt.apiList.forEach(({namespace:Ut,name:Dt})=>apiSet.add("".concat(Ut,".").concat(Dt)))}const Pt=apiSet.has("".concat((It=NAMESPACE_2_GLOBALVAR[$t])!=null?It:$t,".").concat(Et));return new Promise(Nt=>{if(Pt)invoke$1({namespace:$t,name:Et,params:Tt,multiCallback:At,callback:Ct}).then(Nt);else{const Ut={result:125004};Ct==null||Ct(Ut),Nt(Ut)}})};let currentContainer=null;const getContainer=()=>currentContainer,setContainer=gt=>{currentContainer=gt},getContext=({initialBridge:gt,initialParams:$t})=>({bridge:gt,params:$t});class BridgeError extends Error{constructor($t,Et,Tt,At){super($t),this.name="BridgeError",this.message=$t,this.code=Et,this.rawRes=At,this.context=getContext(Tt)}toJSON(){return{name:this.name,message:this.message,code:this.code,context:this.context}}}const isBridgeError=gt=>gt instanceof BridgeError,getLocation=async({useLastLocationWhileLimited:gt=!1,...$t})=>{const{invoke:Et}=getContainer();if(compareKwaiAppVersion("10.1.30")<0){const{biz:Tt,force:At,statKey:Ct,alertScene:Pt,updateLocationScene:It,...Nt}=$t,Dt={...Nt,biz_type:Tt,forced_permission_request:typeof At>"u"?2:At?1:3};try{const{data:{longitude:Bt,latitude:Gt}}=await Et("kwai.syncLocationWithPermissionCheck",{...Dt,forced_permission_request:3});return{longitude:Bt,latitude:Gt}}catch(Bt){}await Et("kwai.requestLocationPermissionWithPermissionCheck",Dt);const{data:{longitude:Mt,latitude:Ft}}=await Et("kwai.syncLocationWithPermissionCheck",Dt);return{longitude:Mt,latitude:Ft}}if(isAndroid&&compareKwaiAppVersion("10.3.30")<0){const{updateLocationScene:Tt=""}=$t;Object.assign($t,{useInterval:!Tt})}try{const{longitude:Tt,latitude:At}=await Et("system.requestLocation",$t);return{longitude:Tt,latitude:At}}catch(Tt){if(!isBridgeError(Tt))throw Tt;if(Tt.code===10014&>){const{longitude:At,latitude:Ct}=await Et("system.getLocationCityInfo",{biz:$t.biz});if(typeof At=="number"&&typeof Ct=="number")return{longitude:At,latitude:Ct}}throw Tt}},apis={getLocation},bridgeToLegacyKwaiBridge=Object.fromEntries(Object.entries({advertise:["startFansTopLivePlay","startNeoAdVideo"],feed:["authorizationStatusForCalendar","changeEventForCalendar","closeChildLock","getAddressBookAccessStatus","getCoronaTvChasingData","getFeed","openDetailPage","openFansGroup","setSettingEntryForCourse","startPlayLongVideo","updateDeviceBit","updateUserRecoBit","updateWeatherInfo","userIncentivesUpdateTasks"],game:["addShortcutToDesktop","appointGame","changeAppointStatus","gameSendLog","gameTaskSelectImage","getAppointStatus","getWebViewDisplayType","kgPageDidShowed","openNativeGamecenter"],growth:["getDeviceSecretInfo","unionPhoneNumber"],im:["setEnableIMTip"],live:["deleteSubscribe","liveReservationNotification","openLiveQuizLive","showSubscribeEditDialog","showSubscribeSelectPhotoDialog","subscribeLive","unsubscribeLive"],merchant:["closeLiveMerchantFloatingWindow","getLatestImage","getSidToken","loadUrlOnNewMerchantPage","merchantSetPhotoPlayStatus","onItemSelected","popupToFollow","querySessionIsStickyOnTop","reqSessionStickyOnTopWithThread","requestLocationAuthorization"],minigame:["publishSogameVideo"],pay:["authThirdPartyAccount","bindWithdrawType","couponPay","hasImportSdk","nebulaStartGatewayWithdraw","openKspayWebView","sfBindWithdrawType","startDeposit","startGatewayPay","startGatewayWithdraw","startHalfScreenRecharge","startKspayOrderPrepay"],platform:["getDarkMode","openWechatMiniProgram","sendSMS","startFaceRecognition"],post:["cancelJsInjectUpload","captureCertVideo","deleteCacheVideoByPhotoId","editAtlas","editDraft","editSmartAlbum","getEditDraftData","getSmartAlbumData","getVideoUploadStatus","intownShare","postAtlas","postVideo","preloadMagicFace","previewVideo","reUploadShopVideo","reeditPhoto","resumeVideoUpload","retryJsInjectUpload","saveImage","saveTempImages","selectAndUploadMedia","selectImage","selectMixMediasAndUpload","selectVideoAndUpload","startAudioRecord","uploadCertVideo","uploadShopVideo","uploadVideoFromAlbum","verifyLiveUser"],social:["addTokenBlockShareId","bindPhone","bindRiskPreCheck","decryptContactsName","enterGroupChat","followUser","joinGroup","login","logout","mobileQuickAuthInfo","mobileQuickLoginInfo","needUpdateProfile","requestFollowUserV2","selectCountryPhoneCode","sendIMMessage","sendImFriendMessage","setPageFollowRefer","setShareTokenToClipBoard","share","startAuthActivity","verifyAccount","verifySMSCode","verifyThirdPartyLogin","wechatLogin"],system:["collapseKeyboard","getPushPermission","getServerTime","gete2","openPushPermission"],tool:["getClipBoard","getExpTagTransList","loadUrlOnNewPage","openBrowser","scanCode"],ui:["selectCity","showBottomSheet","showPicker"],webview:["clearClipBoard","exitWebView","getABTest","getAppEnvironment","getDeviceInfo","hasInstalledApp","hideNavigationBar","popBack","resetTopButtons","setClipBoard","setPageTitle","setSlideBack","setTopLeftBtn","setTopLeftSecondBtn","setTopRightBtn","setTopRightSecondBtn","submitData"]}).flatMap(([gt,$t])=>$t.map(Et=>["".concat(gt,".").concat(Et),"kwai.".concat(Et)]))),invalidResultBridges=["social.currentUserInfo","post.draftRecommendPhotos","post.draftRecommendPublishPhotos","kwai.KSVerifyRealNameInfo","kwai.verifyRealNameInfo","component.aliyunVerifyRealNameInfo","component.verifyRealNameInfo"],multipleCallbacksBridges=["component.download","kwai.download","kwai.downloadThirdPartyAPP","kwai.startNFC","kwaiAd.callAdBridge","kwaiAd.callCardHandler","pay.startHalfScreenRecharge","post.postVideo","post.reUploadShopVideo","post.selectImage","post.uploadShopVideo","post.selectMixMediasAndUpload","post.launchAICut","advertise.startNeoTask","kwaiLive.subscribeChannel"],multipleCallbacksBridgeSet=new Set(multipleCallbacksBridges),useCallbackBridgeSet=new Set([...invalidResultBridges,...multipleCallbacksBridges]),version="2.0.12",globalConfig={get mode(){return getCurrentMode()},set mode(gt){setCurrentMode(gt),console$1.info("You're currently running version ".concat(version," in ").concat(gt," mode."))}},setGlobalConfig=gt=>{Object.assign(globalConfig,gt)},transformConfig=gt=>{const $t=[],Et=At=>{$t.push(Ct=>{const Pt=At[Ct.bridge];return typeof Pt>"u"?Ct:{...Ct,bridge:Pt}})},Tt=At=>{$t.push(Ct=>{const Pt=At[Ct.bridge];if(typeof Pt>"u")return Ct;const It={...Pt,...Ct.params};return{...Ct,params:It}})};return gt.bridge==="tool.checkAppInstalled"&&Tt({[gt.bridge]:{identifier:gt.params[isAndroid?"android":"ios"]}}),isIOS&&compareKwaiAppVersion("9.10.11")>=0&&Et({"hybrid.getHybridStatus":"webview.pageContentStatus","hybrid.getAndUpdateHybridDetail":"webview.pageContentInfo","hybrid.preloadVideoList":"media.pvList","hybrid.isVideoFullyCached":"media.vReady"}),isIOS&&compareKwaiAppVersion("11.1.40")<0&&Et({"advertise.startNeoAdVideo":"kwai.startNeoAdVideo"}),isIOS&&compareKwaiAppVersion("10.7.20")<0&&Et({"merchant.getSidToken":"kwai.getSidToken"}),isAndroid&&compareKwaiAppVersion("10.6.50")<0&&Et({"ui.setStatusBarStyle":"kwai.setStatusBarStyle"}),(compareKwaiAppVersion("10.4.30")<0||!isKwaiApp)&&Et(bridgeToLegacyKwaiBridge),isIOS&&compareKwaiAppVersion("10.4.10")<0&&Tt({"system.startVibrate":{strength:"low",duration:300}}),(compareKwaiAppVersion("10.3.20")<0||!isKwaiApp)&&Et({"webview.exitCurrentWebView":"kwai.".concat(isIOS?"exitCurrentWebview":"exitWebView")}),compareKwaiAppVersion("9.6.20")<0&&$t.push(At=>{const{bridge:Ct}=At;return["syncLocationWithPermissionCheck","getLocationWithPermissionCheck","requestLocationPermissionWithPermissionCheck"].some(Pt=>Ct.endsWith(Pt))?{...At,bridge:Ct.replace("WithPermissionCheck","")}:At}),$t.reduce((At,Ct)=>Ct(At),gt)},getInvocationConfig=gt=>{const[$t,Et={},Tt]=gt,[At,Ct]=typeof Tt=="function"?[{},Tt]:[Tt!=null?Tt:{}];return{initialBridge:$t,initialParams:Et,bridge:$t,params:Et,options:At,callback:Ct}},getLegacyErrorMessage=gt=>hasOwnProperty$1(gt,"error_msg")&&typeof gt.error_msg=="string"?gt.error_msg:"",isIntrinsicAPI=gt=>gt.bridge.startsWith("yoda."),invokeAPI=gt=>{const{bridge:$t,params:Et}=gt,[,Tt]=$t.split("."),At=apis[Tt];return At(Et)},invokeBridge=gt=>{const $t=getYoda(),{initialBridge:Et,bridge:Tt,params:At,callback:Ct}=gt,[Pt,It]=Tt.split(".");return useCallbackBridgeSet.has(Et)?($t.bridge(Pt,It,At,Nt=>{console$1.info("Received a response from '".concat(Tt,"'"),Nt),Ct==null||Ct(Nt)},multipleCallbacksBridgeSet.has(Et)),Promise.resolve()):new Promise((Nt,Ut)=>{$t.bridge(Pt,It,At,Dt=>{var Bt;if(console$1.info("Received a response from '".concat(Tt,"'"),Dt),Dt.result===1){const{result:Gt,...Vt}=Dt;Nt(Vt);return}const{message:Mt=getLegacyErrorMessage(Dt)}=Dt,Ft=new BridgeError(Mt,Dt.result,gt,Dt);(Bt=globalConfig.errorHandler)==null||Bt.call(globalConfig,Ft),Ut(Ft)})})},invoke=async(...gt)=>{var $t,Et;try{const Tt=getInvocationConfig(gt);if(!isYoda())throw new BridgeError(["Cannot invoke bridge","in non-Yoda environment."].join(" "),125014,Tt,null);const At=transformConfig(Tt),{options:{timeout:Ct=($t=globalConfig.timeout)!=null?$t:0}}=At,Pt=isIntrinsicAPI(At)?invokeAPI(At):invokeBridge(At);return Ct>0&&Number.isFinite(Ct)?await Promise.race([Pt,delay(Ct).then(()=>Promise.reject(new BridgeError("Bridge invocation timed out.",125010,At,null)))]):await Pt}catch(Tt){throw isBridgeError(Tt)&&((Et=globalConfig.errorHandler)==null||Et.call(globalConfig,Tt)),Tt}},legacyEventTypes=new Set(["native_visible","native_background","native_foreground","native_will_leave","native_leave","native_reentry","native_loadPage","native_pageFinished","native_userDidLogin","native_userDidLogout","native_networkChanged","native_screenshot_event","native_web_view_display_mode_changed","native_share_dialog_event","native_shake","native_darkModeChange"]),addListener$1=async(gt,$t,Et)=>{if(legacyEventTypes.has(gt)){await invoke("kwai.on",{type:gt,handler:$t});return}await invoke("event.addEventListener",{type:typeof(Et==null?void 0:Et.data)>"u"?gt:{type:gt,options:Et.data},listener:$t})},removeListener$1=async(gt,$t)=>{if(legacyEventTypes.has(gt)){await invoke("kwai.off",{type:gt,handler:$t});return}await invoke("event.removeEventListener",{type:gt,listener:$t})},eventMQ={};function addListener(gt,$t,Et){const Tt=eventMQ[gt]||{callbackId:Et,eventRecord:{}},At=getUUId();$t.__yodaCallbackId__[gt]=String(At),Tt.eventRecord[At]=$t,eventMQ[gt]=Tt}function createCb(gt){return function($t){const Et=eventMQ[gt];Object.keys((Et==null?void 0:Et.eventRecord)||{}).forEach(Tt=>Et.eventRecord[Number(Tt)](JSON.parse(JSON.stringify($t))))}}function getCallbackIdByType(gt){const $t=eventMQ[gt];return getEventIdByNumber($t.callbackId)}function removeListener(gt,$t){const Et=eventMQ[gt],Tt=$t.__yodaCallbackId__[gt];delete Et.eventRecord[Number(Tt)],delete $t.__yodaCallbackId__[gt],hasListener(gt)||delete eventMQ[gt]}function hasListener(gt){const $t=eventMQ[gt];return Object.keys(($t==null?void 0:$t.eventRecord)||{}).length>0}var Direction;(function(gt){gt.x="x",gt.y="y",gt.z="z"})(Direction||(Direction={}));const SHAKE_EVENT="shaked",SHAKE_START_EVENT="shake-start",SHAKE_END_EVENT="shake-end",JUDGE_STOP_TIME=1e3,DEFAULT_SETTING={level:2,times:3,intervalTime:1300,iOSIntervalTime:500,androidIntervalTime:1300,isEmitImmediately:!0},ANDROID_LEVEL_MAP={1:{basic:13,total:450},2:{basic:16,total:700},3:{basic:20,total:1100}},IOS_LEVEL_MAP={1:{basic:9,total:220},2:{basic:12,total:400},3:{basic:14,total:500}};class ShakeHandler{constructor($t){this.shakeConfig={},this.shakedArr=[],this.isChecking=!1,this.nowStatus={x:0,y:0,z:0},this.lastStatus={x:0,y:0,z:0},this.stopMark=null,this.checkIsShakeStoped=!1,this.notEmitButShaked=!0,this.isShakeStarted=!1,this.isAndroid=!1,this.isArrivedConfigStandard=!1,this.levelMap=ANDROID_LEVEL_MAP,this.dispatchEvent=null,this.setStillShaking=debounce$2(()=>this.notShaking(),JUDGE_STOP_TIME),this.dispatchEvent=$t.dispatchEvent,this.isAndroid=$t.isAndroid,this.levelMap=this.isAndroid?ANDROID_LEVEL_MAP:IOS_LEVEL_MAP}setOptions($t){$t?(this.shakeConfig={...DEFAULT_SETTING,...$t},this.shakeConfig.times=this.isAndroid?this.shakeConfig.times-1:(this.shakeConfig.times-1)*2,this.shakeConfig.intervalTime=this.isAndroid?this.shakeConfig.androidIntervalTime:this.shakeConfig.iOSIntervalTime):this.shakeConfig={...DEFAULT_SETTING}}resetShakeStatus($t){this.shakedArr=[],this.isChecking=!1,this.notEmitButShaked=!1,$t&&(this.isArrivedConfigStandard=!1,this.isShakeStarted=!1)}checkIsShake($t){if(this.isChecking=!0,Object.keys(this.nowStatus).forEach(Et=>this.nowStatus[Et]=$t[Et]*9.8),this.judgeArrivedTerminal()){this.lastStatus={x:0,y:0,z:0},this.handleShakeHappend(),this.setStillShaking(),this.isChecking=!1;return}this.judgeLikelyShake()?this.handleArrivedStandard():this.isChecking=!1}judgeLikelyShake(){const{x:$t,y:Et,z:Tt}=this.nowStatus,{basic:At,total:Ct}=this.levelMap[this.shakeConfig.level];return $t>At||Et>At||Tt>At||$t*$t+Et*Et+Tt*Tt>Ct}judgeArrivedTerminal(){let $t=0,Et=0,Tt=Direction.x;return Object.keys(this.nowStatus).forEach(At=>{Et=Math.abs(this.lastStatus[At]-this.nowStatus[At]),$t0?$t-this.shakedArr[this.shakedArr.length-1]<=Et?this.shakedArr.push($t):(this.shakedArr=[],this.isChecking=!1):this.shakedArr.push($t),this.shakedArr.length>=this.shakeConfig.times?this.handleArrivedEmitStandard():this.isChecking=!1}handleArrivedEmitStandard(){this.isArrivedConfigStandard=!0,this.resetShakeStatus(),this.shakeConfig.isEmitImmediately?this.dispatchEvent({type:SHAKE_EVENT,data:{}}):this.notEmitButShaked=!0}checkDoDelayEmit(){this.notEmitButShaked&&this.checkIsShakeStoped&&!this.shakeConfig.isEmitImmediately&&this.dispatchEvent({type:SHAKE_EVENT,data:{}}),this.isShakeStarted&&this.dispatchEvent({type:SHAKE_END_EVENT,data:{isArrivedConfigStandard:this.isArrivedConfigStandard}}),this.resetShakeStatus(!0)}}const interval=60;let shakeHandler=null,checkIsShake=null;const startMonitorShake=async()=>{const gt=getYoda(),$t=await gt.bridge("system","startAccelerometer",{interval});checkIsShake=shakeHandler.checkIsShake.bind(shakeHandler);const Et=await gt.bridge("event","addEventListener",{type:"accelerometer-change",listener:checkIsShake});if($t.result===1&&Et.result!==1&&stopMonitorShake(),$t.result!==1||Et.result!==1)throw new Error("摇一摇初始化失败,请稍后重试。AccelerometerRes:".concat(JSON.stringify($t),";eventRes:").concat(JSON.stringify(Et)))},validateOption=gt=>{if(!gt)return;const{level:$t,times:Et,isEmitImmediately:Tt}=gt;if($t!==void 0&&!ANDROID_LEVEL_MAP[$t])throw new Error("请传入正确的level,可选值为1、2、3");if(Et!==void 0){if(!Number.isInteger(Et))throw new Error("times应为整数");if(Et<1)throw new Error("times应大于1")}if(Tt!==void 0&&typeof Tt!="boolean")throw new Error("isEmitImmediately应为boolean类型")},initShakeHandler=async gt=>{const $t=getYoda();if(!await checkCanUse("system","startAccelerometer"))throw new Error("当前APP暂不支持摇一摇");if(shakeHandler)throw new Error("当前存在尚未结束监听的摇一摇");const Et=async Tt=>$t.bridge("event","dispatchEvent",Tt);shakeHandler=new ShakeHandler({dispatchEvent:Et,isAndroid}),validateOption(gt),shakeHandler.setOptions(gt),shakeHandler.resetShakeStatus(),await startMonitorShake.bind($t)()},stopMonitorShake=async()=>{const gt=getYoda();if(!await checkCanUse("system","stopAccelerometer"))throw new Error("当前APP暂不支持摇一摇");shakeHandler=null;const $t=await gt.bridge("event","removeEventListener",{type:"accelerometer-change",listener:checkIsShake}),Et=await gt.bridge("system","stopAccelerometer",{});if($t.result!==1||Et.result!==1)throw new Error("摇一摇停止监听失败。stopRes:".concat(JSON.stringify(Et),";eventRes:").concat(JSON.stringify($t)))},yodaCustomEvent={shaked:SHAKE_EVENT},eventToInitMap={[yodaCustomEvent.shaked]:initShakeHandler},handleEventUnregisterMap={[yodaCustomEvent.shaked]:stopMonitorShake},addEventListener$1=(gt,$t)=>{var Ut;const{type:Et,listener:Tt}=gt,At=typeof Et=="string"?Et:Et.type,Ct=typeof Et=="string"?{}:Et.options;if((Ut=eventToInitMap[At])==null||Ut.call(eventToInitMap,Ct),!Tt.__yodaCallbackId__&&(Tt.__yodaCallbackId__={}),Tt.__yodaCallbackId__[At])throw new Error("addEventListener ".concat(At," 的 listener 已经被绑定过了"));const Pt=hasListener(At);let It=null,Nt=Promise.resolve();if(Pt)isFunction$1($t)&&$t({result:1});else{const Dt=deferredInvoke.pushMQ(!0,createCb(At),!0);It=parseInt(getEventIdOnlyNumber(Dt.traceId)),Nt=invoke$1({namespace:"event",name:"addEventListener",params:{type:At,listener:String(Dt.traceId)},callback:$t})}return addListener(At,Tt,It),Nt},removeEventListener$1=(gt,$t)=>{var Ct;const{type:Et,listener:Tt}=gt;(Ct=handleEventUnregisterMap[Et])==null||Ct.call(handleEventUnregisterMap);let At=Promise.resolve();if(Tt.__yodaCallbackId__){const Pt=getCallbackIdByType(Et);removeListener(Et,Tt),hasListener(Et)||(At=invoke$1({namespace:"event",name:"removeEventListener",params:{type:Et,listener:Pt},callback:$t}),deferredInvoke.removeMQ(Pt))}return At},yoda={bridge:(gt,$t,Et,Tt,At=!1)=>{const Ct={namespace:gt,name:$t,params:Et,multiCallback:At,callback:Tt};if(gt==="event"){if($t==="addEventListener")return addEventListener$1(Et,Tt);if($t==="removeEventListener")return removeEventListener$1(Et,Tt)}return compareKwaiAppVersion("9.9.20")===0&&isAndroid?invokeAndroid9920(Ct):invoke$1(Ct)}};setYoda(yoda);setContainer({invoke,addListener:addListener$1,removeListener:removeListener$1});const yoda$1=Object.freeze(Object.defineProperty({__proto__:null,addListener:addListener$1,invoke,isBridgeError,removeListener:removeListener$1,setGlobalConfig,version},Symbol.toStringTag,{value:"Module"}));(function($t,Et){typeof exports=="object"&&typeof module=="object"?module.exports=Et():typeof define=="function"&&define.amd?define([],Et):typeof exports=="object"?exports.Jose=Et():$t.Jose=Et()})(window,function(){return function(gt){var $t={};function Et(Tt){if($t[Tt])return $t[Tt].exports;var At=$t[Tt]={i:Tt,l:!1,exports:{}};return gt[Tt].call(At.exports,At,At.exports,Et),At.l=!0,At.exports}return Et.m=gt,Et.c=$t,Et.d=function(Tt,At,Ct){Et.o(Tt,At)||Object.defineProperty(Tt,At,{enumerable:!0,get:Ct})},Et.r=function(Tt){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(Tt,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Tt,"__esModule",{value:!0})},Et.t=function(Tt,At){if(1&At&&(Tt=Et(Tt)),8&At||4&At&&typeof Tt=="object"&&Tt&&Tt.__esModule)return Tt;var Ct=Object.create(null);if(Et.r(Ct),Object.defineProperty(Ct,"default",{enumerable:!0,value:Tt}),2&At&&typeof Tt!="string")for(var Pt in Tt)Et.d(Ct,Pt,function(It){return Tt[It]}.bind(null,Pt));return Ct},Et.n=function(Tt){var At=Tt&&Tt.__esModule?function(){return Tt.default}:function(){return Tt};return Et.d(At,"a",At),At},Et.o=function(Tt,At){return Object.prototype.hasOwnProperty.call(Tt,At)},Et.p="",Et(Et.s=3)}([function(gt,$t){function Et(Tt){return(Et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(At){return typeof At}:function(At){return At&&typeof Symbol=="function"&&At.constructor===Symbol&&At!==Symbol.prototype?"symbol":typeof At})(Tt)}(function(){var Tt=function(Mt){return Mt==null?null:Mt.__proto__},At=Object.create,Ct=function(Mt,Ft){return Object.prototype.hasOwnProperty.call(Mt,Ft)||Et(Mt[Ft])==="object"&&Mt[Ft]!==void 0},Pt=function(Mt,Ft,Bt){return Object.defineProperty(Mt,Ft,Bt)},It=["break","case","catch","continue","default","delete","do","else","finally","for","function","if","in","instanceof","new","return","switch","this","throw","try","typeof","var","void","while","with","let","enum","const","debugger","export","extends","import","super"],Nt=function(Mt){return It.includes(Mt)},Ut=function(Mt){return Mt!=Mt};$t.prototypeOf=Tt,$t.create=At,$t.hasProp=Ct,$t.isArray=function(){if(typeof Array.isArray!="function")return obj instanceof Array},$t.defProp=Pt,$t.checkIdentifier=Nt,$t.isNaNP=Ut}).call(this)},function(gt,$t,Et){(function(){var Tt=Et(8).VmError,At=function(Dt,Mt){for(var Ft in Mt)Ct.call(Mt,Ft)&&(Dt[Ft]=Mt[Ft]);function Bt(){this.constructor=Dt}return Bt.prototype=Mt.prototype,Dt.prototype=new Bt,Dt.__super__=Mt.prototype,Dt},Ct={}.hasOwnProperty,Pt=(At(It,Tt),It.display="StopIteration",It);function It(Ut,Dt){this.value=Ut,this.message=Dt!=null?Dt:"iterator has stopped"}Nt.prototype.next=function(){if(this.index>=this.elements.length)throw new Pt("array over");return this.elements[this.index++]},Tt=Nt;function Nt(Ut){this.elements=Ut,this.index=0}$t.StopIteration=Pt,$t.ArrayIterator=Tt}).call(this)},function(gt,$t,Et){function Tt(At){return(Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ct){return typeof Ct}:function(Ct){return Ct&&typeof Symbol=="function"&&Ct.constructor===Symbol&&Ct!==Symbol.prototype?"symbol":typeof Ct})(At)}(function(){var At={}.hasOwnProperty,Ct=Et(0).isArray,Pt=(It.prototype.run=function(){for(var Ht=this.callStack[this.depth],Wt=Ht.error;0<=this.depth&&Ht&&!this.paused;)if((Ht=Wt?this.unwind(Wt):Ht).run(),(Wt=Ht.error)instanceof Error&&this.injectStackTrace(Wt),Ht.done()){if(Ht.guards.length){var Kt=Ht.guards.pop();if(Kt.finalizer){Ht.ip=Kt.finalizer,Ht.exitIp=Kt.end,Ht.paused=!1;continue}}!Ht.construct||(Kt=Tt(this.rv))!=="object"&&Kt!=="function"&&(this.rv=Ht.scope.get(0)),(Ht=this.popFrame())&&!Wt&&(Ht.evalStack.push(this.rv),this.rv=void 0)}else Wt=(Ht=this.callStack[this.depth]).error;if(this.timedOut()&&(Wt=new Error(this),this.injectStackTrace(Wt)),Wt)throw Wt},It.prototype.unwind=function(Ht){for(var Wt=this.callStack[this.depth];Wt;){Wt.error=Ht;var Kt=Wt.ip-1,qt=Wt.guards.length;if(qt&&(qt=Wt.guards[qt-1],qt.start<=Kt&&Kt<=qt.end)){if(qt.handler!==null)if(Kt<=qt.handler)Wt.evalStack.push(Ht),Wt.error=null,Wt.ip=qt.handler;else{if(!(qt.finalizer&&Wt.ip<=qt.finalizer)){Wt=this.popFrame();continue}Wt.ip=qt.finalizer}else Wt.ip=qt.finalizer;return Wt.paused=!1,Wt}Wt=this.popFrame()}throw Ht},It.prototype.injectStackTrace=function(Ht){var Wt,Kt,qt,Jt,Xt,Zt,rr,tr=[],Qt=0;for(this.depth>this.maxTraceDepth&&(Qt=this.depth-this.maxTraceDepth),Kt=qt=Xt=this.depth,Zt=Qt;Xt<=Zt?qt<=Zt:Zt<=qt;Kt=Xt<=Zt?++qt:--qt)(Jt=(Wt=this.callStack[Kt]).script.name)===""&&Wt.fname&&(Jt=Wt.fname),tr.push({at:{name:Jt,filename:Wt.script.filename},line:Wt.line,column:Wt.column});if(Ht.trace){for(rr=Ht.trace;Ct(rr[rr.length-1]);)rr=rr[rr.length-1];rr.push(tr)}else Ht.trace=tr;return Ht.stack=Ht.toString()},It.prototype.pushFrame=function(Ht,Wt,Kt,qt,Jt,Xt,Zt){if(Xt==null&&(Xt=""),Zt==null&&(Zt=!1),this.checkCallStack())return Kt=new Ft(Kt,Ht.localNames,Ht.localLength),Kt.set(0,Wt),Wt=new Nt(this,Ht,Kt,this.realm,Xt,Zt),Jt&&Wt.evalStack.push(Jt),qt&&Wt.evalStack.push(qt),this.callStack[++this.depth]=Wt},It.prototype.checkCallStack=function(){return this.depth!==this.maxDepth||(this.callStack[this.depth].error=new Error("maximum call stack size exceeded"),this.pause(),!1)},It.prototype.popFrame=function(){var Ht=this.callStack[--this.depth];return Ht&&(Ht.paused=!1),Ht},It.prototype.pause=function(){return this.paused=this.callStack[this.depth].paused=!0},It.prototype.resume=function(Ht){if(this.timeout=Ht!=null?Ht:-1,this.paused=!1,this.callStack[this.depth].paused=!1,this.run(),!this.paused)return this.rexp},It.prototype.timedOut=function(){return this.timeout===0},It.prototype.send=function(Ht){return this.callStack[this.depth].evalStack.push(Ht)},It.prototype.done=function(){return this.depth===-1},It);function It(Ht,Wt){this.realm=Ht,this.timeout=Wt!=null?Wt:-1,this.maxDepth=1e3,this.maxTraceDepth=50,this.callStack=[],this.evalStack=null,this.depth=-1,this.yielded=this.rv=void 0,this.paused=!1,this.r1=this.r2=this.r3=null,this.rexp=null}Ut.prototype.run=function(){for(var Ht=this.script.instructions;this.ip!==this.exitIp&&!this.paused;)Ht[this.ip++].exec(this,this.evalStack,this.scope,this.realm);var Wt=this.evalStack.len();if(!this.paused&&!this.error&&Wt!==0)throw new Error("Evaluation stack has "+Wt+" items after execution")},Ut.prototype.done=function(){return this.ip===this.exitIp},Ut.prototype.setLine=function(Ht){this.line=Ht},Ut.prototype.setColumn=function(Ht){this.column=Ht};var Nt=Ut;function Ut(Ht,Wt,Kt,qt,Jt,Xt){this.fiber=Ht,this.script=Wt,this.scope=Kt,this.realm=qt,this.fname=Jt,this.construct=Xt!=null&&Xt,this.evalStack=new Dt(this.script.stackSize,this.fiber),this.ip=0,this.exitIp=this.script.instructions.length,this.paused=!1,this.finalizer=null,this.guards=[],this.rv=void 0,this.line=this.column=-1}Mt.prototype.push=function(Ht){if(this.idx===this.array.length)throw new Error("maximum evaluation stack size exceeded");return this.array[this.idx++]=Ht},Mt.prototype.pop=function(){return this.array[--this.idx]},Mt.prototype.top=function(){return this.array[this.idx-1]},Mt.prototype.len=function(){return this.idx},Mt.prototype.clear=function(){return this.idx=0};var Dt=Mt;function Mt(Ht,Wt){this.fiber=Wt,this.array=new Array(Ht),this.idx=0}Bt.prototype.get=function(Ht){return this.data[Ht]},Bt.prototype.set=function(Ht,Wt){return this.data[Ht]=Wt},Bt.prototype.name=function(Ht){var Wt,Kt=this.names;for(Wt in Kt)if(At.call(Kt,Wt)&&Kt[Wt]===Ht)return parseInt(Wt);return-1};var Ft=Bt;function Bt(Ht,Wt,Kt){this.parent=Ht,this.names=Wt,this.data=new Array(Kt)}Vt.prototype.get=function(Ht){return this.object[Ht]},Vt.prototype.set=function(Ht,Wt){return this.object[Ht]=Wt},Vt.prototype.has=function(Ht){return Ht in this.object};var Gt=Vt;function Vt(Ht,Wt){this.parent=Ht,this.object=Wt}$t.Fiber=Pt,$t.Scope=Ft,$t.WithScope=Gt}).call(this)},function(gt,$t,Et){Et=new(Et(4)),Et.eval('["