mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-28 21:48:13 +08:00
49 lines
159 KiB
JavaScript
49 lines
159 KiB
JavaScript
var hippyVueBase=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"../../packages/hippy-vue-native-components/dist/index.js":function(e,t,n){"use strict";n.r(t),function(e){
|
|
/*!
|
|
* @hippy/vue-native-components vunspecified
|
|
* (Using Vue v2.6.14 and Hippy-Vue vunspecified)
|
|
* Build at: Mon May 15 2023 14:41:40 GMT+0800 (中国标准时间)
|
|
*
|
|
* Tencent is pleased to support the open source community by making
|
|
* Hippy available.
|
|
*
|
|
* Copyright (C) 2017-2023 THL A29 Limited, a Tencent company.
|
|
* All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"AnimationComponent",(function(){return p})),n.d(t,"DialogComponent",(function(){return m})),n.d(t,"ListRefreshComponent",(function(){return v})),n.d(t,"PullsComponents",(function(){return w})),n.d(t,"SwiperComponent",(function(){return b})),n.d(t,"WaterfallComponent",(function(){return S})),n.d(t,"default",(function(){return O}));const a=["mode","valueType","startValue","toValue"],c=["transform"],l=["transform"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(t){const n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function o(e,n){return"color"===e&&["number","string"].indexOf(typeof n)>=0?t.Native.parseColor(n):n}function r(t){const{mode:r="timing",valueType:c,startValue:l,toValue:u}=t,p=s(t,a),f=d(d({},n),p);void 0!==c&&(f.valueType=t.valueType),f.startValue=o(f.valueType,l),f.toValue=o(f.valueType,u),f.repeatCount=i(f.repeatCount),f.mode=r;const h=new e.Hippy.Animation(f),m=h.getId();return{animation:h,animationId:m}}function i(e){return"loop"===e?-1:e}function u(t,n={}){const o={};return Object.keys(t).forEach(s=>{if(Array.isArray(t[s])){const a=t[s],{repeatCount:c}=a[a.length-1],l=a.map(e=>{const{animationId:t,animation:o}=r(Object.assign({},e,{repeatCount:0}));return Object.assign(n,{[t]:o}),{animationId:t,follow:!0}}),{animationId:u,animation:d}=function(t,n=0){const o=new e.Hippy.AnimationSet({children:t,repeatCount:n}),r=o.getId();return{animation:o,animationId:r}}(l,i(c));o[s]={animationId:u},Object.assign(n,{[u]:d})}else{const e=t[s],{animationId:i,animation:a}=r(e);Object.assign(n,{[i]:a}),o[s]={animationId:i}}}),o}function p(e){const{transform:t}=e,n=s(e,c);let o=Object.keys(n).map(t=>e[t].animationId);if(Array.isArray(t)&&t.length>0){const e=[];t.forEach(t=>Object.keys(t).forEach(n=>{if(t[n]){const{animationId:o}=t[n];"number"==typeof o&&o%1==0&&e.push(o)}})),o=[...o,...e]}return o}t.component("Animation",{inheritAttrs:!1,props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:()=>({style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}),watch:{playing(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions(){this.destroy(),this.create(),setTimeout(()=>{"function"==typeof this.$listeners.actionsDidUpdate&&this.$listeners.actionsDidUpdate()})}},created(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount(){this.create()},mounted(){const{playing:e}=this.$props;e&&setTimeout(()=>{this.start()},0)},beforeDestroy(){this.destroy()},methods:{create(){const e=this.$props,{actions:{transform:t}}=e,n=s(e.actions,l);this.animationIdsMap={};const o=u(n,this.animationIdsMap);if(t){const e=u(t,this.animationIdsMap);o.transform=Object.keys(e).map(t=>({[t]:e[t]}))}this.$alreadyStarted=!1,this.style=o},removeAnimationEvent(){this.animationIds.forEach(e=>{const t=this.animationIdsMap[e];t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$listeners[e])return;const n=this.animationEventMap[e];n&&t.removeEventListener(n)})})},addAnimationEvent(){this.animationIds.forEach(e=>{const t=this.animationIdsMap[e];t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$listeners[e])return;const n=this.animationEventMap[e];n&&t.addEventListener(n,()=>{this.$emit(e)})})})},reset(){this.$alreadyStarted=!1},start(){this.$alreadyStarted?this.resume():(this.animationIds=p(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach(e=>{const t=this.animationIdsMap[e];t&&t.start()}))},resume(){p(this.style).forEach(e=>{const t=this.animationIdsMap[e];t&&t.resume()})},pause(){if(!this.$alreadyStarted)return;p(this.style).forEach(e=>{const t=this.animationIdsMap[e];t&&t.pause()})},destroy(){this.removeAnimationEvent(),this.$alreadyStarted=!1;p(this.style).forEach(e=>{const t=this.animationIdsMap[e];t&&t.destroy()})}},template:'\n <component :is="tag" :useAnimation="true" :style="style" v-bind="props">\n <slot />\n </component>\n '})}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){e.registerElement("hi-dialog",{component:{name:"Modal",defaultNativeStyle:{position:"absolute"}}}),e.component("Dialog",{inheritAttrs:!1,props:{collapsable:{type:Boolean,default:!1},transparent:{type:Boolean,default:!0},immersionStatusBar:{type:Boolean,default:!0}},render(e){const t=(n=this.$slots.default)?Array.isArray(n)?n[0]:n||void 0:null;var n;t&&(t.data.attrs?Object.assign(t.data.attrs,{__modalFirstChild__:!0}):t.data.attrs={__modalFirstChild__:!0});const{collapsable:o,transparent:r,immersionStatusBar:i}=this;return e("hi-dialog",{on:h({},this.$listeners),attrs:{collapsable:o,transparent:r,immersionStatusBar:i}},this.$slots.default)}})}function y(e){return"string"!=typeof e?"":`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function g(e){const t={};return e.forEach(e=>{if(Array.isArray(e)){const[n,o]=e;Object.prototype.hasOwnProperty.call(this.$listeners,n)&&(this["on"+y(o)]?t[e]=this["on"+y(o)]:t[e]=e=>this.$emit(n,e))}else Object.prototype.hasOwnProperty.call(this.$listeners,e)&&(this["on"+y(e)]?t[e]=this["on"+y(e)]:t[e]=t=>this.$emit(e,t))}),t}function v(e){e.registerElement("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),e.registerElement("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{inheritAttrs:!1,props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh(){e.Native.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted(){e.Native.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render(e){return e("hi-ul-refresh-wrapper",{on:g.call(this,["refresh"]),ref:"refreshWrapper"},this.$slots.default)}}),e.component("UlRefresh",{inheritAttrs:!1,template:"\n <hi-refresh-wrapper-item :style=\"{position: 'absolute', left: 0, right: 0}\">\n <div>\n <slot />\n </div>\n </hi-refresh-wrapper-item>\n "})}function b(e){e.registerElement("hi-swiper",{component:{name:"ViewPager",processEventData(e,t,n){switch(t){case"onPageSelected":e.currentSlide=n.position;break;case"onPageScroll":e.nextSlide=n.position,e.offset=n.offset;break;case"onPageScrollStateChanged":e.state=n.pageScrollState}return e}}}),e.registerElement("swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{inheritAttrs:!1,props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},watch:{current(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount(){this.$initialSlide=this.$props.current},methods:{setSlide(t){e.Native.callUIFunction(this.$refs.swiper,"setPage",[t])},setSlideWithoutAnimation(t){e.Native.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[t])}},render(e){return e("hi-swiper",{on:g.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]),ref:"swiper",attrs:{initialPage:this.$initialSlide}},this.$slots.default)}})}function w(e){const{callUIFunction:t}=e.Native;[["Header","header"],["Footer","footer"]].forEach(([n,o])=>{e.registerElement("hi-pull-"+o,{component:{name:`Pull${n}View`,processEventData(e,t,o){switch(t){case`on${n}Released`:case`on${n}Pulling`:Object.assign(e,o)}return e}}}),e.component("pull-"+o,{methods:{["expandPull"+n](){t(this.$refs.instance,"expandPull"+n)},["collapsePull"+n](e){"Header"===n&&void 0!==e?t(this.$refs.instance,`collapsePull${n}WithOptions`,[e]):t(this.$refs.instance,"collapsePull"+n)},onLayout(e){this.$contentHeight=e.height},[`on${n}Released`](e){this.$emit("released",e)},[`on${n}Pulling`](e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render(e){const{released:t,pulling:r,idle:i}=this.$listeners,s={layout:this.onLayout};return"function"==typeof t&&(s[o+"Released"]=this[`on${n}Released`]),"function"!=typeof r&&"function"!=typeof i||(s[o+"Pulling"]=this[`on${n}Pulling`]),e("hi-pull-"+o,{on:s,ref:"instance"},this.$slots.default)}})})}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e){e.registerElement("hi-waterfall",{component:{name:"WaterfallView",processEventData(e,t,n){switch(t){case"onExposureReport":e.exposureInfo=n.exposureInfo;break;case"onScroll":{const{startEdgePos:t,endEdgePos:o,firstVisibleRowIndex:r,lastVisibleRowIndex:i,visibleRowFrames:s}=n;Object.assign(e,{startEdgePos:t,endEdgePos:o,firstVisibleRowIndex:r,lastVisibleRowIndex:i,visibleRowFrames:s});break}}return e}}}),e.registerElement("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{inheritAttrs:!1,props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:()=>({top:0,left:0,bottom:0,right:0})},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call(t,n){e.Native.callUIFunction(this.$refs.waterfall,t,n)},startRefresh(){this.call("startRefresh")},startRefreshWithType(e){this.call("startRefreshWithType",[e])},callExposureReport(){this.call("callExposureReport",[])},scrollToIndex({index:e=0,animated:t=!0}){"number"==typeof e&&"boolean"==typeof t&&this.call("scrollToIndex",[e,e,t])},scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){"number"==typeof e&&"number"==typeof t&&"boolean"==typeof n&&this.call("scrollToContentOffset",[e,t,n])},startLoadMore(){this.call("startLoadMore")}},render(e){return e("hi-waterfall",{on:g.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]),ref:"waterfall",attrs:{numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}},this.$slots.default)}}),e.component("WaterfallItem",{inheritAttrs:!1,props:{type:{type:[String,Number],default:""}},render(e){return e("hi-waterfall-item",{on:$({},this.$listeners),attrs:{type:this.type}},this.$slots.default)}})}const O={install(e){p(e),m(e),v(e),b(e),w(e),S(e)}}}.call(this,n("./node_modules/webpack/buildin/global.js"))},"../../packages/hippy-vue/dist/index.js":function(e,t,n){"use strict";n.r(t),function(e,o,r){n.d(t,"default",(function(){return Qc}));
|
|
/*!
|
|
* @hippy/vue vunspecified
|
|
* (Using Vue v2.6.14)
|
|
* Build at: Mon May 15 2023 14:41:40 GMT+0800 (中国标准时间)
|
|
*
|
|
* Tencent is pleased to support the open source community by making
|
|
* Hippy available.
|
|
*
|
|
* Copyright (C) 2017-2023 THL A29 Limited, a Tencent company.
|
|
* All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
const i=Object.freeze({});function s(e){return null==e}function a(e){return null!=e}function c(e){return!0===e}function l(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function u(e){return null!==e&&"object"==typeof e}const d=Object.prototype.toString;function p(e){return"[object Object]"===d.call(e)}function f(e){return"[object RegExp]"===d.call(e)}function h(e){const t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function y(e){return null==e?"":Array.isArray(e)||p(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function g(e){const t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>n[e.toLowerCase()]:e=>n[e]}const b=v("slot,component",!0),w=v("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){const n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}const $=Object.prototype.hasOwnProperty;function S(e,t){return $.call(e,t)}function O(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}const x=/-(\w)/g,k=O(e=>e.replace(x,(e,t)=>t?t.toUpperCase():"")),E=O(e=>e.charAt(0).toUpperCase()+e.slice(1)),N=/\B([A-Z])/g,C=O(e=>e.replace(N,"-$1").toLowerCase());const A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){const o=arguments.length;return o?o>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function I(e,t){t=t||0;let n=e.length-t;const o=new Array(n);for(;n--;)o[n]=e[n+t];return o}function P(e,t){for(const n in t)e[n]=t[n];return e}function T(e,t,n){}const j=(e,t,n)=>!1,D=e=>e;function L(e,t){if(e===t)return!0;const n=u(e),o=u(t);if(!n||!o)return!n&&!o&&String(e)===String(t);try{const n=Array.isArray(e),o=Array.isArray(t);if(n&&o)return e.length===t.length&&e.every((e,n)=>L(e,t[n]));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(n||o)return!1;{const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(n=>L(e[n],t[n]))}}catch(e){return!1}}function M(e,t){for(let n=0;n<e.length;n++)if(L(e[n],t))return n;return-1}function F(e){let t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}const R=["component","directive","filter"],V=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"];var B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:T,parsePlatformTagName:D,mustUseProp:j,async:!0,_lifecycleHooks:V};const U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(e){const t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,n,o){Object.defineProperty(e,t,{value:n,enumerable:!!o,writable:!0,configurable:!0})}const z=new RegExp(`[^${U.source}.$_\\d]`);const Y="__proto__"in{},K="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,q=G&&WXEnvironment.platform.toLowerCase(),X=K&&window.navigator.userAgent.toLowerCase(),J=X&&/msie|trident/.test(X);X&&X.indexOf("msie 9.0");X&&X.indexOf("edge/");X&&X.indexOf("android");const Z=X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===q;X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/);const Q={}.watch;let ee=!1;if(K)try{const e={};Object.defineProperty(e,"passive",{get(){ee=!0}}),window.addEventListener("test-passive",null,e)}catch(e){}const te=()=>!1,ne=e.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}const re="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);let ie;ie="undefined"!=typeof Set&&oe(Set)?Set:class{constructor(){this.set=Object.create(null)}has(e){return!0===this.set[e]}add(e){this.set[e]=!0}clear(){this.set=Object.create(null)}};let se=T;let ae=0;class ce{constructor(){this.id=ae++,this.subs=[]}addSub(e){this.subs.push(e)}removeSub(e){_(this.subs,e)}depend(){ce.target&&ce.target.addDep(this)}notify(){const e=this.subs.slice();for(let t=0,n=e.length;t<n;t++)e[t].update()}}ce.target=null;const le=[];function ue(e){le.push(e),ce.target=e}function de(){le.pop(),ce.target=le[le.length-1]}class pe{constructor(e,t,n,o,r,i,s,a){this.tag=e,this.data=t,this.children=n,this.text=o,this.elm=r,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,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=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}get child(){return this.componentInstance}}const fe=(e="")=>{const t=new pe;return t.text=e,t.isComment=!0,t};function he(e){return new pe(void 0,void 0,void 0,String(e))}function me(e){const t=new pe(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}const ye=Array.prototype,ge=Object.create(ye);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){const t=ye[e];W(ge,e,(function(...n){const o=t.apply(this,n),r=this.__ob__;let i;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&r.observeArray(i),r.dep.notify(),o}))}));const ve=Object.getOwnPropertyNames(ge);let be=!0;function we(e){be=e}class _e{constructor(e){this.value=e,this.dep=new ce,this.vmCount=0,W(e,"__ob__",this),Array.isArray(e)?(Y?function(e,t){e.__proto__=t}(e,ge):function(e,t,n){for(let o=0,r=n.length;o<r;o++){const r=n[o];W(e,r,t[r])}}(e,ge,ve),this.observeArray(e)):this.walk(e)}walk(e){const t=Object.keys(e);for(let n=0;n<t.length;n++)Se(e,t[n])}observeArray(e){for(let t=0,n=e.length;t<n;t++)$e(e[t])}}function $e(e,t){if(!u(e)||e instanceof pe)return;let n;return S(e,"__ob__")&&e.__ob__ instanceof _e?n=e.__ob__:be&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new _e(e)),t&&n&&n.vmCount++,n}function Se(e,t,n,o,r){const i=new ce,s=Object.getOwnPropertyDescriptor(e,t);if(s&&!1===s.configurable)return;const a=s&&s.get,c=s&&s.set;a&&!c||2!==arguments.length||(n=e[t]);let l=!r&&$e(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){const t=a?a.call(e):n;return ce.target&&(i.depend(),l&&(l.dep.depend(),Array.isArray(t)&&ke(t))),t},set:function(t){const o=a?a.call(e):n;t===o||t!=t&&o!=o||a&&!c||(c?c.call(e,t):n=t,l=!r&&$e(t),i.notify())}})}function Oe(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;const o=e.__ob__;return e._isVue||o&&o.vmCount?n:o?(Se(o.value,t,n),o.dep.notify(),n):(e[t]=n,n)}function xe(e,t){if(Array.isArray(e)&&h(t))return void e.splice(t,1);const n=e.__ob__;e._isVue||n&&n.vmCount||S(e,t)&&(delete e[t],n&&n.dep.notify())}function ke(e){for(let t,n=0,o=e.length;n<o;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&ke(t)}const Ee=B.optionMergeStrategies;function Ne(e,t){if(!t)return e;let n,o,r;const i=re?Reflect.ownKeys(t):Object.keys(t);for(let s=0;s<i.length;s++)n=i[s],"__ob__"!==n&&(o=e[n],r=t[n],S(e,n)?o!==r&&p(o)&&p(r)&&Ne(o,r):Oe(e,n,r));return e}function Ce(e,t,n){return n?function(){const o="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return o?Ne(o,r):r}:t?e?function(){return Ne("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ae(e,t){const n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ie(e,t,n,o){const r=Object.create(e||null);return t?P(r,t):r}Ee.data=function(e,t,n){return n?Ce(e,t,n):t&&"function"!=typeof t?e:Ce(e,t)},V.forEach(e=>{Ee[e]=Ae}),R.forEach((function(e){Ee[e+"s"]=Ie})),Ee.watch=function(e,t,n,o){if(e===Q&&(e=void 0),t===Q&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;const r={};P(r,e);for(const e in t){let n=r[e];const o=t[e];n&&!Array.isArray(n)&&(n=[n]),r[e]=n?n.concat(o):Array.isArray(o)?o:[o]}return r},Ee.props=Ee.methods=Ee.inject=Ee.computed=function(e,t,n,o){if(!e)return t;const r=Object.create(null);return P(r,e),t&&P(r,t),r},Ee.provide=Ce;const Pe=function(e,t){return void 0===t?e:t};function Te(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){const n=e.props;if(!n)return;const o={};let r,i,s;if(Array.isArray(n))for(r=n.length;r--;)i=n[r],"string"==typeof i&&(s=k(i),o[s]={type:null});else if(p(n))for(const e in n)i=n[e],s=k(e),o[s]=p(i)?i:{type:i};else 0;e.props=o}(t),function(e,t){const n=e.inject;if(!n)return;const o=e.inject={};if(Array.isArray(n))for(let e=0;e<n.length;e++)o[n[e]]={from:n[e]};else if(p(n))for(const e in n){const t=n[e];o[e]=p(t)?P({from:e},t):{from:t}}else 0}(t),function(e){const t=e.directives;if(t)for(const e in t){const n=t[e];"function"==typeof n&&(t[e]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=Te(e,t.extends,n)),t.mixins))for(let o=0,r=t.mixins.length;o<r;o++)e=Te(e,t.mixins[o],n);const o={};let r;for(r in e)i(r);for(r in t)S(e,r)||i(r);function i(r){const i=Ee[r]||Pe;o[r]=i(e[r],t[r],n,r)}return o}function je(e,t,n,o){if("string"!=typeof n)return;const r=e[t];if(S(r,n))return r[n];const i=k(n);if(S(r,i))return r[i];const s=E(i);if(S(r,s))return r[s];return r[n]||r[i]||r[s]}function De(e,t,n,o){const r=t[e],i=!S(n,e);let s=n[e];const a=Re(Boolean,r.type);if(a>-1)if(i&&!S(r,"default"))s=!1;else if(""===s||s===C(e)){const e=Re(String,r.type);(e<0||a<e)&&(s=!0)}if(void 0===s){s=function(e,t,n){if(!S(t,"default"))return;const o=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof o&&"Function"!==Me(t.type)?o.call(e):o}(o,r,e);const t=be;we(!0),$e(s),we(t)}return s}const Le=/^\s*function (\w+)/;function Me(e){const t=e&&e.toString().match(Le);return t?t[1]:""}function Fe(e,t){return Me(e)===Me(t)}function Re(e,t){if(!Array.isArray(t))return Fe(t,e)?0:-1;for(let n=0,o=t.length;n<o;n++)if(Fe(t[n],e))return n;return-1}function Ve(e,t,n){ue();try{if(t){let o=t;for(;o=o.$parent;){const r=o.$options.errorCaptured;if(r)for(let i=0;i<r.length;i++)try{if(!1===r[i].call(o,e,t,n))return}catch(e){Ue(e,o,"errorCaptured hook")}}}Ue(e,t,n)}finally{de()}}function Be(e,t,n,o,r){let i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&m(i)&&!i._handled&&(i.catch(e=>Ve(e,o,r+" (Promise/async)")),i._handled=!0)}catch(e){Ve(e,o,r)}return i}function Ue(e,t,n){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,n)}catch(t){t!==e&&He(t,null,"config.errorHandler")}He(e,t,n)}function He(e,t,n){if(!K&&!G||"undefined"==typeof console)throw e;console.error(e)}const We=[];let ze,Ye=!1;function Ke(){Ye=!1;const e=We.slice(0);We.length=0;for(let t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&oe(Promise)){const e=Promise.resolve();ze=()=>{e.then(Ke),Z&&setTimeout(T)}}else if(J||"undefined"==typeof MutationObserver||!oe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ze=void 0!==o&&oe(o)?()=>{o(Ke)}:()=>{setTimeout(Ke,0)};else{let e=1;const t=new MutationObserver(Ke),n=document.createTextNode(String(e));t.observe(n,{characterData:!0}),ze=()=>{e=(e+1)%2,n.data=String(e)}}function Ge(e,t){let n;if(We.push(()=>{if(e)try{e.call(t)}catch(e){Ve(e,t,"nextTick")}else n&&n(t)}),Ye||(Ye=!0,ze()),!e&&"undefined"!=typeof Promise)return new Promise(e=>{n=e})}const qe=new ie;function Xe(e){!function e(t,n){let o,r;const i=Array.isArray(t);if(!i&&!u(t)||Object.isFrozen(t)||t instanceof pe)return;if(t.__ob__){const e=t.__ob__.dep.id;if(n.has(e))return;n.add(e)}if(i)for(o=t.length;o--;)e(t[o],n);else for(r=Object.keys(t),o=r.length;o--;)e(t[r[o]],n)}(e,qe),qe.clear()}const Je=O(e=>{const t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),o="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=o?e.slice(1):e,once:n,capture:o,passive:t}});function Ze(e,t){function n(){const e=n.fns;if(!Array.isArray(e))return Be(e,null,arguments,t,"v-on handler");{const n=e.slice();for(let e=0;e<n.length;e++)Be(n[e],null,arguments,t,"v-on handler")}}return n.fns=e,n}function Qe(e,t,n,o,r,i){let a,l,u,d;for(a in e)l=e[a],u=t[a],d=Je(a),s(l)||(s(u)?(s(l.fns)&&(l=e[a]=Ze(l,i)),c(d.once)&&(l=e[a]=r(d.name,l,d.capture)),n(d.name,l,d.capture,d.passive,d.params)):l!==u&&(u.fns=l,e[a]=u));for(a in t)s(e[a])&&(d=Je(a),o(d.name,t[a],d.capture))}function et(e,t,n){let o;e instanceof pe&&(e=e.data.hook||(e.data.hook={}));const r=e[t];function i(){n.apply(this,arguments),_(o.fns,i)}s(r)?o=Ze([i]):a(r.fns)&&c(r.merged)?(o=r,o.fns.push(i)):o=Ze([r,i]),o.merged=!0,e[t]=o}function tt(e,t,n,o,r){if(a(t)){if(S(t,n))return e[n]=t[n],r||delete t[n],!0;if(S(t,o))return e[n]=t[o],r||delete t[o],!0}return!1}function nt(e){return l(e)?[he(e)]:Array.isArray(e)?function e(t,n){const o=[];let r,i,u,d;for(r=0;r<t.length;r++)i=t[r],s(i)||"boolean"==typeof i||(u=o.length-1,d=o[u],Array.isArray(i)?i.length>0&&(i=e(i,`${n||""}_${r}`),ot(i[0])&&ot(d)&&(o[u]=he(d.text+i[0].text),i.shift()),o.push.apply(o,i)):l(i)?ot(d)?o[u]=he(d.text+i):""!==i&&o.push(he(i)):ot(i)&&ot(d)?o[u]=he(d.text+i.text):(c(t._isVList)&&a(i.tag)&&s(i.key)&&a(n)&&(i.key=`__vlist${n}_${r}__`),o.push(i)));return o}(e):void 0}function ot(e){return a(e)&&a(e.text)&&!1===e.isComment}function rt(e,t){if(e){const n=Object.create(null),o=re?Reflect.ownKeys(e):Object.keys(e);for(let r=0;r<o.length;r++){const i=o[r];if("__ob__"===i)continue;const s=e[i].from;let a=t;for(;a;){if(a._provided&&S(a._provided,s)){n[i]=a._provided[s];break}a=a.$parent}if(!a)if("default"in e[i]){const o=e[i].default;n[i]="function"==typeof o?o.call(t):o}else 0}return n}}function it(e,t){if(!e||!e.length)return{};const n={};for(let o=0,r=e.length;o<r;o++){const r=e[o],i=r.data;if(i&&i.attrs&&i.attrs.slot&&delete i.attrs.slot,r.context!==t&&r.fnContext!==t||!i||null==i.slot)(n.default||(n.default=[])).push(r);else{const e=i.slot,t=n[e]||(n[e]=[]);"template"===r.tag?t.push.apply(t,r.children||[]):t.push(r)}}for(const e in n)n[e].every(st)&&delete n[e];return n}function st(e){return e.isComment&&!e.asyncFactory||" "===e.text}function at(e){return e.isComment&&e.asyncFactory}function ct(e,t,n){let o;const r=Object.keys(t).length>0,s=e?!!e.$stable:!r,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&n&&n!==i&&a===n.$key&&!r&&!n.$hasNormal)return n;o={};for(const n in e)e[n]&&"$"!==n[0]&&(o[n]=lt(t,n,e[n]))}else o={};for(const e in t)e in o||(o[e]=ut(t,e));return e&&Object.isExtensible(e)&&(e._normalized=o),W(o,"$stable",s),W(o,"$key",a),W(o,"$hasNormal",r),o}function lt(e,t,n){const o=function(){let e=arguments.length?n.apply(null,arguments):n({});e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:nt(e);let t=e&&e[0];return e&&(!t||1===e.length&&t.isComment&&!at(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:o,enumerable:!0,configurable:!0}),o}function ut(e,t){return()=>e[t]}function dt(e,t){let n,o,r,i,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,r=e.length;o<r;o++)n[o]=t(e[o],o);else if("number"==typeof e)for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o);else if(u(e))if(re&&e[Symbol.iterator]){n=[];const o=e[Symbol.iterator]();let r=o.next();for(;!r.done;)n.push(t(r.value,n.length)),r=o.next()}else for(i=Object.keys(e),n=new Array(i.length),o=0,r=i.length;o<r;o++)s=i[o],n[o]=t(e[s],s,o);return a(n)||(n=[]),n._isVList=!0,n}function pt(e,t,n,o){const r=this.$scopedSlots[e];let i;r?(n=n||{},o&&(n=P(P({},o),n)),i=r(n)||("function"==typeof t?t():t)):i=this.$slots[e]||("function"==typeof t?t():t);const s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function ft(e){return je(this.$options,"filters",e)||D}function ht(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function mt(e,t,n,o,r){const i=B.keyCodes[t]||n;return r&&o&&!B.keyCodes[t]?ht(r,o):i?ht(i,e):o?C(o)!==t:void 0===e}function yt(e,t,n,o,r){if(n)if(u(n)){let i;Array.isArray(n)&&(n=function(e){const t={};for(let n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}(n));for(const s in n){if("class"===s||"style"===s||w(s))i=e;else{const n=e.attrs&&e.attrs.type;i=o||B.mustUseProp(t,n,s)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}const a=k(s),c=C(s);if(!(a in i)&&!(c in i)&&(i[s]=n[s],r)){(e.on||(e.on={}))["update:"+s]=function(e){n[s]=e}}}}else;return e}function gt(e,t){const n=this._staticTrees||(this._staticTrees=[]);let o=n[e];return o&&!t||(o=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),bt(o,"__static__"+e,!1)),o}function vt(e,t,n){return bt(e,`__once__${t}${n?"_"+n:""}`,!0),e}function bt(e,t,n){if(Array.isArray(e))for(let o=0;o<e.length;o++)e[o]&&"string"!=typeof e[o]&&wt(e[o],`${t}_${o}`,n);else wt(e,t,n)}function wt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function _t(e,t){if(t)if(p(t)){const n=e.on=e.on?P({},e.on):{};for(const e in t){const o=n[e],r=t[e];n[e]=o?[].concat(o,r):r}}else;return e}function $t(e,t,n,o){t=t||{$stable:!n};for(let o=0;o<e.length;o++){const r=e[o];Array.isArray(r)?$t(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return o&&(t.$key=o),t}function St(e,t){for(let n=0;n<t.length;n+=2){const o=t[n];"string"==typeof o&&o&&(e[t[n]]=t[n+1])}return e}function Ot(e,t){return"string"==typeof e?t+e:e}function xt(e){e._o=vt,e._n=g,e._s=y,e._l=dt,e._t=pt,e._q=L,e._i=M,e._m=gt,e._f=ft,e._k=mt,e._b=yt,e._v=he,e._e=fe,e._u=$t,e._g=_t,e._d=St,e._p=Ot}function kt(e,t,n,o,r){const s=r.options;let a;S(o,"_uid")?(a=Object.create(o),a._original=o):(a=o,o=o._original);const l=c(s._compiled),u=!l;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=rt(s.inject,o),this.slots=()=>(this.$slots||ct(e.scopedSlots,this.$slots=it(n,o)),this.$slots),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return ct(e.scopedSlots,this.slots())}}),l&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=ct(e.scopedSlots,this.$slots)),s._scopeId?this._c=(e,t,n,r)=>{const i=Tt(a,e,t,n,r,u);return i&&!Array.isArray(i)&&(i.fnScopeId=s._scopeId,i.fnContext=o),i}:this._c=(e,t,n,o)=>Tt(a,e,t,n,o,u)}function Et(e,t,n,o,r){const i=me(e);return i.fnContext=n,i.fnOptions=o,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Nt(e,t){for(const n in t)e[k(n)]=t[n]}xt(kt.prototype);const Ct={init(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){const t=e;Ct.prepatch(t,t)}else{(e.componentInstance=function(e,t){const n={_isComponent:!0,_parentVnode:e,parent:t},o=e.data.inlineTemplate;a(o)&&(n.render=o.render,n.staticRenderFns=o.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Bt)).$mount(t?e.elm:void 0,t)}},prepatch(e,t){const n=t.componentOptions;!function(e,t,n,o,r){0;const s=o.data.scopedSlots,a=e.$scopedSlots,c=!!(s&&!s.$stable||a!==i&&!a.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key),l=!!(r||e.$options._renderChildren||c);e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o);if(e.$options._renderChildren=r,e.$attrs=o.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){we(!1);const n=e._props,o=e.$options._propKeys||[];for(let r=0;r<o.length;r++){const i=o[r],s=e.$options.props;n[i]=De(i,s,t,e)}we(!0),e.$options.propsData=t}n=n||i;const u=e.$options._parentListeners;e.$options._parentListeners=n,Vt(e,n,u),l&&(e.$slots=it(r,o.context),e.$forceUpdate());0}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert(e){const{context:t,componentInstance:n}=e;var o;n._isMounted||(n._isMounted=!0,Wt(n,"mounted")),e.data.keepAlive&&(t._isMounted?((o=n)._inactive=!1,Yt.push(o)):Ht(n,!0))},destroy(e){const{componentInstance:t}=e;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Ut(t)))return;if(!t._inactive){t._inactive=!0;for(let n=0;n<t.$children.length;n++)e(t.$children[n]);Wt(t,"deactivated")}}(t,!0):t.$destroy())}},At=Object.keys(Ct);function It(e,t,n,o,r){if(s(e))return;const l=n.$options._base;if(u(e)&&(e=l.extend(e)),"function"!=typeof e)return void 0;let d;if(s(e.cid)&&(d=e,void 0===(e=function(e,t){if(c(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;const n=Dt;n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(c(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){const o=e.owners=[n];let r=!0,i=null,c=null;n.$on("hook:destroyed",()=>_(o,n));const l=e=>{for(let e=0,t=o.length;e<t;e++)o[e].$forceUpdate();e&&(o.length=0,null!==i&&(clearTimeout(i),i=null),null!==c&&(clearTimeout(c),c=null))},d=F(n=>{e.resolved=Lt(n,t),r?o.length=0:l(!0)}),p=F(t=>{a(e.errorComp)&&(e.error=!0,l(!0))}),f=e(d,p);return u(f)&&(m(f)?s(e.resolved)&&f.then(d,p):m(f.component)&&(f.component.then(d,p),a(f.error)&&(e.errorComp=Lt(f.error,t)),a(f.loading)&&(e.loadingComp=Lt(f.loading,t),0===f.delay?e.loading=!0:i=setTimeout(()=>{i=null,s(e.resolved)&&s(e.error)&&(e.loading=!0,l(!1))},f.delay||200)),a(f.timeout)&&(c=setTimeout(()=>{c=null,s(e.resolved)&&p(null)},f.timeout)))),r=!1,e.loading?e.loadingComp:e.resolved}}(d,l))))return function(e,t,n,o,r){const i=fe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:o,tag:r},i}(d,t,n,o,r);t=t||{},un(e),a(t.model)&&function(e,t){const n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;const r=t.on||(t.on={}),i=r[o],s=t.model.callback;a(i)?(Array.isArray(i)?-1===i.indexOf(s):i!==s)&&(r[o]=[s].concat(i)):r[o]=s}(e.options,t);const p=function(e,t,n){const o=t.options.props;if(s(o))return;const r={},{attrs:i,props:c}=e;if(a(i)||a(c))for(const e in o){const t=C(e);0,tt(r,c,e,t,!0)||tt(r,i,e,t,!1)}return r}(t,e);if(c(e.options.functional))return function(e,t,n,o,r){const s=e.options,c={},l=s.props;if(a(l))for(const e in l)c[e]=De(e,l,t||i);else a(n.attrs)&&Nt(c,n.attrs),a(n.props)&&Nt(c,n.props);const u=new kt(n,c,r,o,e),d=s.render.call(null,u._c,u);if(d instanceof pe)return Et(d,n,u.parent,s,u);if(Array.isArray(d)){const e=nt(d)||[],t=new Array(e.length);for(let o=0;o<e.length;o++)t[o]=Et(e[o],n,u.parent,s,u);return t}}(e,p,t,n,o);const f=t.on;if(t.on=t.nativeOn,c(e.options.abstract)){const e=t.slot;t={},e&&(t.slot=e)}!function(e){const t=e.hook||(e.hook={});for(let e=0;e<At.length;e++){const n=At[e],o=t[n],r=Ct[n];o===r||o&&o._merged||(t[n]=o?Pt(r,o):r)}}(t);const h=e.options.name||r;return new pe(`vue-component-${e.cid}${h?"-"+h:""}`,t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:f,tag:r,children:o},d)}function Pt(e,t){const n=(n,o)=>{e(n,o),t(n,o)};return n._merged=!0,n}function Tt(e,t,n,o,r,i){return(Array.isArray(n)||l(n))&&(r=o,o=n,n=void 0),c(i)&&(r=2),function(e,t,n,o,r){if(a(n)&&a(n.__ob__))return fe();a(n)&&a(n.is)&&(t=n.is);if(!t)return fe();0;Array.isArray(o)&&"function"==typeof o[0]&&((n=n||{}).scopedSlots={default:o[0]},o.length=0);2===r?o=nt(o):1===r&&(o=function(e){for(let t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(o));let i,l;if("string"==typeof t){let r;l=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),i=B.isReservedTag(t)?new pe(B.parsePlatformTagName(t),n,o,void 0,void 0,e):n&&n.pre||!a(r=je(e.$options,"components",t))?new pe(t,n,o,void 0,void 0,e):It(r,n,e,o,t)}else i=It(t,n,e,o);return Array.isArray(i)?i:a(i)?(a(l)&&function e(t,n,o){t.ns=n,"foreignObject"===t.tag&&(n=void 0,o=!0);if(a(t.children))for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r];a(i.tag)&&(s(i.ns)||c(o)&&"svg"!==i.tag)&&e(i,n,o)}}(i,l),a(n)&&function(e){u(e.style)&&Xe(e.style);u(e.class)&&Xe(e.class)}(n),i):fe()}(e,t,n,o,r)}let jt,Dt=null;function Lt(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function Mt(e,t){jt.$on(e,t)}function Ft(e,t){jt.$off(e,t)}function Rt(e,t){const n=jt;return function o(){const r=t.apply(null,arguments);null!==r&&n.$off(e,o)}}function Vt(e,t,n){jt=e,Qe(t,n||{},Mt,Ft,Rt,e),jt=void 0}let Bt=null;function Ut(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Ht(e,t){if(t){if(e._directInactive=!1,Ut(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(let t=0;t<e.$children.length;t++)Ht(e.$children[t]);Wt(e,"activated")}}function Wt(e,t){ue();const n=e.$options[t],o=t+" hook";if(n)for(let t=0,r=n.length;t<r;t++)Be(n[t],e,null,e,o);e._hasHookEvent&&e.$emit("hook:"+t),de()}const zt=[],Yt=[];let Kt={},Gt=!1,qt=!1,Xt=0;let Jt=Date.now;if(K&&!J){const e=window.performance;e&&"function"==typeof e.now&&Jt()>document.createEvent("Event").timeStamp&&(Jt=()=>e.now())}function Zt(){let e,t;for(Jt(),qt=!0,zt.sort((e,t)=>e.id-t.id),Xt=0;Xt<zt.length;Xt++)e=zt[Xt],e.before&&e.before(),t=e.id,Kt[t]=null,e.run();const n=Yt.slice(),o=zt.slice();Xt=zt.length=Yt.length=0,Kt={},Gt=qt=!1,function(e){for(let t=0;t<e.length;t++)e[t]._inactive=!0,Ht(e[t],!0)}(n),function(e){let t=e.length;for(;t--;){const n=e[t],o=n.vm;o._watcher===n&&o._isMounted&&!o._isDestroyed&&Wt(o,"updated")}}(o),ne&&B.devtools&&ne.emit("flush")}let Qt=0;class en{constructor(e,t,n,o,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Qt,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ie,this.newDepIds=new ie,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(z.test(e))return;const t=e.split(".");return function(e){for(let n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}(t),this.getter||(this.getter=T)),this.value=this.lazy?void 0:this.get()}get(){let e;ue(this);const t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Ve(e,t,`getter for watcher "${this.expression}"`)}finally{this.deep&&Xe(e),de(),this.cleanupDeps()}return e}addDep(e){const t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}cleanupDeps(){let e=this.deps.length;for(;e--;){const t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}let t=this.depIds;this.depIds=this.newDepIds,this.newDepIds=t,this.newDepIds.clear(),t=this.deps,this.deps=this.newDeps,this.newDeps=t,this.newDeps.length=0}update(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){const t=e.id;if(null==Kt[t]){if(Kt[t]=!0,qt){let t=zt.length-1;for(;t>Xt&&zt[t].id>e.id;)t--;zt.splice(t+1,0,e)}else zt.push(e);Gt||(Gt=!0,Ge(Zt))}}(this)}run(){if(this.active){const e=this.get();if(e!==this.value||u(e)||this.deep){const t=this.value;if(this.value=e,this.user){const n=`callback for watcher "${this.expression}"`;Be(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let e=this.deps.length;for(;e--;)this.deps[e].depend()}teardown(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);let e=this.deps.length;for(;e--;)this.deps[e].removeSub(this);this.active=!1}}}const tn={enumerable:!0,configurable:!0,get:T,set:T};function nn(e,t,n){tn.get=function(){return this[t][n]},tn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,tn)}function on(e){e._watchers=[];const t=e.$options;t.props&&function(e,t){const n=e.$options.propsData||{},o=e._props={},r=e.$options._propKeys=[];e.$parent&&we(!1);for(const i in t){r.push(i);const s=De(i,t,n,e);Se(o,i,s),i in e||nn(e,"_props",i)}we(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(const n in t)e[n]="function"!=typeof t[n]?T:A(t[n],e)}(e,t.methods),t.data?function(e){let t=e.$options.data;t=e._data="function"==typeof t?function(e,t){ue();try{return e.call(t,t)}catch(e){return Ve(e,t,"data()"),{}}finally{de()}}(t,e):t||{},p(t)||(t={});const n=Object.keys(t),o=e.$options.props;e.$options.methods;let r=n.length;for(;r--;){const t=n[r];0,o&&S(o,t)||H(t)||nn(e,"_data",t)}$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){const n=e._computedWatchers=Object.create(null);for(const o in t){const r=t[o],i="function"==typeof r?r:r.get;0,n[o]=new en(e,i||T,T,rn),o in e||sn(e,o,r)}}(e,t.computed),t.watch&&t.watch!==Q&&function(e,t){for(const n in t){const o=t[n];if(Array.isArray(o))for(let t=0;t<o.length;t++)cn(e,n,o[t]);else cn(e,n,o)}}(e,t.watch)}const rn={lazy:!0};function sn(e,t,n){var o;"function"==typeof n?(tn.get=an(t),tn.set=T):(tn.get=n.get?!1!==n.cache?an(t):(o=n.get,function(){return o.call(this,this)}):T,tn.set=n.set||T),Object.defineProperty(e,t,tn)}function an(e){return function(){const t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ce.target&&t.depend(),t.value}}function cn(e,t,n,o){return p(n)&&(o=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,o)}let ln=0;function un(e){let t=e.options;if(e.super){const n=un(e.super);if(n!==e.superOptions){e.superOptions=n;const o=function(e){let t;const n=e.options,o=e.sealedOptions;for(const e in n)n[e]!==o[e]&&(t||(t={}),t[e]=n[e]);return t}(e);o&&P(e.extendOptions,o),t=e.options=Te(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function dn(e){this._init(e)}function pn(e){e.cid=0;let t=1;e.extend=function(e){e=e||{};const n=this,o=n.cid,r=e._Ctor||(e._Ctor={});if(r[o])return r[o];const i=e.name||n.options.name;const s=function(e){this._init(e)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=t++,s.options=Te(n.options,e),s.super=n,s.options.props&&function(e){const t=e.options.props;for(const n in t)nn(e.prototype,"_props",n)}(s),s.options.computed&&function(e){const t=e.options.computed;for(const n in t)sn(e.prototype,n,t[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,R.forEach((function(e){s[e]=n[e]})),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=P({},s.options),r[o]=s,s}}function fn(e){return e&&(e.Ctor.options.name||e.tag)}function hn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function mn(e,t){const{cache:n,keys:o,_vnode:r}=e;for(const e in n){const i=n[e];if(i){const s=i.name;s&&!t(s)&&yn(n,e,o,r)}}}function yn(e,t,n,o){const r=e[t];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),e[t]=null,_(n,t)}!function(e){e.prototype._init=function(e){const t=this;t._uid=ln++,t._isVue=!0,e&&e._isComponent?function(e,t){const n=e.$options=Object.create(e.constructor.options),o=t._parentVnode;n.parent=t.parent,n._parentVnode=o;const r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Te(un(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){const t=e.$options;let n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;const t=e.$options._parentListeners;t&&Vt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;const t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=it(t._renderChildren,o),e.$scopedSlots=i,e._c=(t,n,o,r)=>Tt(e,t,n,o,r,!1),e.$createElement=(t,n,o,r)=>Tt(e,t,n,o,r,!0);const r=n&&n.data;Se(e,"$attrs",r&&r.attrs||i,null,!0),Se(e,"$listeners",t._parentListeners||i,null,!0)}(t),Wt(t,"beforeCreate"),function(e){const t=rt(e.$options.inject,e);t&&(we(!1),Object.keys(t).forEach(n=>{Se(e,n,t[n])}),we(!0))}(t),on(t),function(e){const t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),Wt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(dn),function(e){const t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Oe,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){const o=this;if(p(t))return cn(o,e,t,n);(n=n||{}).user=!0;const r=new en(o,e,t,n);if(n.immediate){const e=`callback for immediate watcher "${r.expression}"`;ue(),Be(t,o,[r.value],o,e),de()}return function(){r.teardown()}}}(dn),function(e){const t=/^hook:/;e.prototype.$on=function(e,n){const o=this;if(Array.isArray(e))for(let t=0,r=e.length;t<r;t++)o.$on(e[t],n);else(o._events[e]||(o._events[e]=[])).push(n),t.test(e)&&(o._hasHookEvent=!0);return o},e.prototype.$once=function(e,t){const n=this;function o(){n.$off(e,o),t.apply(n,arguments)}return o.fn=t,n.$on(e,o),n},e.prototype.$off=function(e,t){const n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(let o=0,r=e.length;o<r;o++)n.$off(e[o],t);return n}const o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;let r,i=o.length;for(;i--;)if(r=o[i],r===t||r.fn===t){o.splice(i,1);break}return n},e.prototype.$emit=function(e){const t=this;let n=t._events[e];if(n){n=n.length>1?I(n):n;const o=I(arguments,1),r=`event handler for "${e}"`;for(let e=0,i=n.length;e<i;e++)Be(n[e],t,o,t,r)}return t}}(dn),function(e){e.prototype._update=function(e,t){const n=this,o=n.$el,r=n._vnode,i=function(e){const t=Bt;return Bt=e,()=>{Bt=t}}(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),i(),o&&(o.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){const e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){const e=this;if(e._isBeingDestroyed)return;Wt(e,"beforeDestroy"),e._isBeingDestroyed=!0;const t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();let n=e._watchers.length;for(;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Wt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}(dn),function(e){xt(e.prototype),e.prototype.$nextTick=function(e){return Ge(e,this)},e.prototype._render=function(){const e=this,{render:t,_parentVnode:n}=e.$options;let o;n&&(e.$scopedSlots=ct(n.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=n;try{Dt=e,o=t.call(e._renderProxy,e.$createElement)}catch(t){Ve(t,e,"render"),o=e._vnode}finally{Dt=null}return Array.isArray(o)&&1===o.length&&(o=o[0]),o instanceof pe||(o=fe()),o.parent=n,o}}(dn);const gn=[String,RegExp,Array];var vn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:gn,exclude:gn,max:[String,Number]},methods:{cacheVNode(){const{cache:e,keys:t,vnodeToCache:n,keyToCache:o}=this;if(n){const{tag:r,componentInstance:i,componentOptions:s}=n;e[o]={name:fn(s),tag:r,componentInstance:i},t.push(o),this.max&&t.length>parseInt(this.max)&&yn(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created(){this.cache=Object.create(null),this.keys=[]},destroyed(){for(const e in this.cache)yn(this.cache,e,this.keys)},mounted(){this.cacheVNode(),this.$watch("include",e=>{mn(this,t=>hn(e,t))}),this.$watch("exclude",e=>{mn(this,t=>!hn(e,t))})},updated(){this.cacheVNode()},render(){const e=this.$slots.default,t=function(e){if(Array.isArray(e))for(let t=0;t<e.length;t++){const n=e[t];if(a(n)&&(a(n.componentOptions)||at(n)))return n}}(e),n=t&&t.componentOptions;if(n){const e=fn(n),{include:o,exclude:r}=this;if(o&&(!e||!hn(o,e))||r&&e&&hn(r,e))return t;const{cache:i,keys:s}=this,a=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;i[a]?(t.componentInstance=i[a].componentInstance,_(s,a),s.push(a)):(this.vnodeToCache=t,this.keyToCache=a),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){const t={get:()=>B};Object.defineProperty(e,"config",t),e.util={warn:se,extend:P,mergeOptions:Te,defineReactive:Se},e.set=Oe,e.delete=xe,e.nextTick=Ge,e.observable=e=>($e(e),e),e.options=Object.create(null),R.forEach(t=>{e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,vn),function(e){e.use=function(e){const t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;const n=I(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Te(this.options,e),this}}(e),pn(e),function(e){R.forEach(t=>{e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(dn),Object.defineProperty(dn.prototype,"$isServer",{get:te}),Object.defineProperty(dn.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(dn,"FunctionalRenderContext",{value:kt}),dn.version="2.6.14",v("style,class");const bn=v("input,textarea,option,select,progress");function wn(e){let t=e.data,n=e,o=e;for(;a(o.componentInstance);)o=o.componentInstance._vnode,o&&o.data&&(t=_n(o.data,t));for(;a(n=n.parent);)n&&n.data&&(t=_n(t,n.data));return function(e,t){if(a(e)||a(t))return $n(e,Sn(t));return""}(t.staticClass,t.class)}function _n(e,t){return{staticClass:$n(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function $n(e,t){return e?t?e+" "+t:e:t||""}function Sn(e){return Array.isArray(e)?function(e){let t,n="";for(let o=0,r=e.length;o<r;o++)a(t=Sn(e[o]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){let t="";for(const n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}v("contenteditable,draggable,spellcheck"),v("events,caret,typing,plaintext-only"),v("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");const On=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),xn=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0);const kn=v("text,number,password,search,email,tel,url"),En=/[\w).+\-_$\]]/;function Nn(e){let t,n,o,r,i,s=!1,a=!1,c=!1,l=!1,u=0,d=0,p=0,f=0;for(o=0;o<e.length;o++)if(n=t,t=e.charCodeAt(o),s)39===t&&92!==n&&(s=!1);else if(a)34===t&&92!==n&&(a=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(o+1)||124===e.charCodeAt(o-1)||u||d||p){switch(t){case 34:a=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){let t,n=o-1;for(;n>=0&&(t=e.charAt(n)," "===t);n--);t&&En.test(t)||(l=!0)}}else void 0===r?(f=o+1,r=e.slice(0,o).trim()):h();function h(){(i||(i=[])).push(e.slice(f,o).trim()),f=o+1}if(void 0===r?r=e.slice(0,o).trim():0!==f&&h(),i)for(o=0;o<i.length;o++)r=Cn(r,i[o]);return r}function Cn(e,t){const n=t.indexOf("(");if(n<0)return`_f("${t}")(${e})`;{const o=t.slice(0,n),r=t.slice(n+1);return`_f("${o}")(${e}${")"!==r?","+r:r}`}}const An=/\{\{((?:.|\r?\n)+?)\}\}/g,In=/[-.*+?^${}()|[\]\/\\]/g,Pn=O(e=>{const t=e[0].replace(In,"\\$&"),n=e[1].replace(In,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function Tn(e,t){console.error("[Vue compiler]: "+e)}function jn(e,t){return e?e.map(e=>e[t]).filter(e=>e):[]}function Dn(e,t,n,o,r){(e.props||(e.props=[])).push(Wn({name:t,value:n,dynamic:r},o)),e.plain=!1}function Ln(e,t,n,o,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Wn({name:t,value:n,dynamic:r},o)),e.plain=!1}function Mn(e,t,n,o){e.attrsMap[t]=n,e.attrsList.push(Wn({name:t,value:n},o))}function Fn(e,t,n,o,r,i,s,a){(e.directives||(e.directives=[])).push(Wn({name:t,rawName:n,value:o,arg:r,isDynamicArg:i,modifiers:s},a)),e.plain=!1}function Rn(e,t,n){return n?`_p(${t},"${e}")`:e+t}function Vn(e,t,n,o,r,s,a,c){let l;(o=o||i).right?c?t=`(${t})==='click'?'contextmenu':(${t})`:"click"===t&&(t="contextmenu",delete o.right):o.middle&&(c?t=`(${t})==='click'?'mouseup':(${t})`:"click"===t&&(t="mouseup")),o.capture&&(delete o.capture,t=Rn("!",t,c)),o.once&&(delete o.once,t=Rn("~",t,c)),o.passive&&(delete o.passive,t=Rn("&",t,c)),o.native?(delete o.native,l=e.nativeEvents||(e.nativeEvents={})):l=e.events||(e.events={});const u=Wn({value:n.trim(),dynamic:c},a);o!==i&&(u.modifiers=o);const d=l[t];Array.isArray(d)?r?d.unshift(u):d.push(u):l[t]=d?r?[u,d]:[d,u]:u,e.plain=!1}function Bn(e,t,n){const o=Un(e,":"+t)||Un(e,"v-bind:"+t);if(null!=o)return Nn(o);if(!1!==n){const n=Un(e,t);if(null!=n)return JSON.stringify(n)}}function Un(e,t,n){let o;if(null!=(o=e.attrsMap[t])){const n=e.attrsList;for(let e=0,o=n.length;e<o;e++)if(n[e].name===t){n.splice(e,1);break}}return n&&delete e.attrsMap[t],o}function Hn(e,t){const n=e.attrsList;for(let e=0,o=n.length;e<o;e++){const o=n[e];if(t.test(o.name))return n.splice(e,1),o}}function Wn(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}var zn={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;const n=Un(e,"class");n&&(e.staticClass=JSON.stringify(n));const o=Bn(e,"class",!1);o&&(e.classBinding=o)},genData:function(e){let t="";return e.staticClass&&(t+=`staticClass:${e.staticClass},`),e.classBinding&&(t+=`class:${e.classBinding},`),t}};const Yn=O((function(e){const t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){const o=e.split(n);o.length>1&&(t[o[0].trim()]=o[1].trim())}})),t}));var Kn={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;const n=Un(e,"style");n&&(e.staticStyle=JSON.stringify(Yn(n)));const o=Bn(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){let t="";return e.staticStyle&&(t+=`staticStyle:${e.staticStyle},`),e.styleBinding&&(t+=`style:(${e.styleBinding}),`),t}};var Gn=function(e){return e};const qn=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Xn=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Jn=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Zn=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Qn=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,eo=`[a-zA-Z_][\\-\\.0-9_a-zA-Z${U.source}]*`,to=`((?:${eo}\\:)?${eo})`,no=new RegExp("^<"+to),oo=/^\s*(\/?)>/,ro=new RegExp(`^<\\/${to}[^>]*>`),io=/^<!DOCTYPE [^>]+>/i,so=/^<!\--/,ao=/^<!\[/,co=v("script,style,textarea",!0),lo={},uo={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},po=/&(?:lt|gt|quot|amp|#39);/g,fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ho=v("pre,textarea",!0),mo=(e,t)=>e&&ho(e)&&"\n"===t[0];function yo(e,t){const n=t?fo:po;return e.replace(n,e=>uo[e])}function go(e,t,n){const{number:o,trim:r}=n||{};let i="$$v";r&&(i="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(i=`_n(${i})`);const s=vo(t,i);e.model={value:`(${t})`,expression:JSON.stringify(t),callback:`function ($$v) {${s}}`}}function vo(e,t){const n=function(e){if(e=e.trim(),bo=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<bo-1)return $o=e.lastIndexOf("."),$o>-1?{exp:e.slice(0,$o),key:'"'+e.slice($o+1)+'"'}:{exp:e,key:null};wo=e,$o=So=Oo=0;for(;!ko();)_o=xo(),Eo(_o)?Co(_o):91===_o&&No(_o);return{exp:e.slice(0,So),key:e.slice(So+1,Oo)}}(e);return null===n.key?`${e}=${t}`:`$set(${n.exp}, ${n.key}, ${t})`}let bo,wo,_o,$o,So,Oo;function xo(){return wo.charCodeAt(++$o)}function ko(){return $o>=bo}function Eo(e){return 34===e||39===e}function No(e){let t=1;for(So=$o;!ko();)if(Eo(e=xo()))Co(e);else if(91===e&&t++,93===e&&t--,0===t){Oo=$o;break}}function Co(e){const t=e;for(;!ko()&&(e=xo())!==t;);}const Ao=/^@|^v-on:/,Io=r.env.VBIND_PROP_SHORTHAND?/^v-|^@|^:|^\.|^#/:/^v-|^@|^:|^#/,Po=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,To=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,jo=/^\(|\)$/g,Do=/^\[.*\]$/,Lo=/:(.*)$/,Mo=/^:|^\.|^v-bind:/,Fo=/^\./,Ro=/\.[^.\]]+(?=[^\]]*$)/g,Vo=/^v-slot(:|$)|^#/,Bo=/[\r\n]/,Uo=/[ \f\t\r\n]+/g,Ho=O(Gn);let Wo,zo,Yo,Ko,Go,qo,Xo,Jo,Zo;function Qo(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:sr(t),rawAttrsMap:{},parent:n,children:[]}}function er(e,t){Wo=t.warn||Tn,qo=t.isPreTag||j,Xo=t.mustUseProp||j,Jo=t.getTagNamespace||j;const n=t.isReservedTag||j;Zo=e=>!(!(e.component||e.attrsMap[":is"]||e.attrsMap["v-bind:is"])&&(e.attrsMap.is?n(e.attrsMap.is):n(e.tag))),Yo=jn(t.modules,"transformNode"),Ko=jn(t.modules,"preTransformNode"),Go=jn(t.modules,"postTransformNode"),zo=t.delimiters;const o=[],r=!1!==t.preserveWhitespace,i=t.whitespace;let s,a,c=!1,l=!1;function u(e){if(d(e),c||e.processed||(e=tr(e,t)),o.length||e===s||s.if&&(e.elseif||e.else)&&or(s,{exp:e.elseif,block:e}),a&&!e.forbidden)if(e.elseif||e.else)!function(e,t){const n=function(e){let t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(t.children);n&&n.if&&or(n,{exp:e.elseif,block:e})}(e,a);else{if(e.slotScope){const t=e.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[t]=e}a.children.push(e),e.parent=a}e.children=e.children.filter(e=>!e.slotScope),d(e),e.pre&&(c=!1),qo(e.tag)&&(l=!1);for(let n=0;n<Go.length;n++)Go[n](e,t)}function d(e){if(!l){let t;for(;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}}return function(e,t){const n=[],o=t.expectHTML,r=t.isUnaryTag||j,i=t.canBeLeftOpenTag||j;let s,a,c=0;for(;e;){if(s=e,a&&co(a)){let n=0;const o=a.toLowerCase(),r=lo[o]||(lo[o]=new RegExp("([\\s\\S]*?)(</"+o+"[^>]*>)","i")),i=e.replace(r,(function(e,r,i){return n=i.length,co(o)||"noscript"===o||(r=r.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),mo(o,r)&&(r=r.slice(1)),t.chars&&t.chars(r),""}));c+=e.length-i.length,e=i,p(o,c-n,c)}else{let n,o,r,i=e.indexOf("<");if(0===i){if(so.test(e)){const n=e.indexOf("--\x3e");if(n>=0){t.shouldKeepComment&&t.comment(e.substring(4,n),c,c+n+3),l(n+3);continue}}if(ao.test(e)){const t=e.indexOf("]>");if(t>=0){l(t+2);continue}}const n=e.match(io);if(n){l(n[0].length);continue}const o=e.match(ro);if(o){const e=c;l(o[0].length),p(o[1],e,c);continue}const r=u();if(r){d(r),mo(r.tagName,e)&&l(1);continue}}if(i>=0){for(o=e.slice(i);!(ro.test(o)||no.test(o)||so.test(o)||ao.test(o)||(r=o.indexOf("<",1),r<0));)i+=r,o=e.slice(i);n=e.substring(0,i)}i<0&&(n=e),n&&l(n.length),t.chars&&n&&t.chars(n,c-n.length,c)}if(e===s){t.chars&&t.chars(e);break}}function l(t){c+=t,e=e.substring(t)}function u(){const t=e.match(no);if(t){const n={tagName:t[1],attrs:[],start:c};let o,r;for(l(t[0].length);!(o=e.match(oo))&&(r=e.match(Qn)||e.match(Zn));)r.start=c,l(r[0].length),r.end=c,n.attrs.push(r);if(o)return n.unarySlash=o[1],l(o[0].length),n.end=c,n}}function d(e){const s=e.tagName,c=e.unarySlash;o&&("p"===a&&Jn(s)&&p(a),i(s)&&a===s&&p(s));const l=r(s)||!!c,u=e.attrs.length,d=new Array(u);for(let n=0;n<u;n++){const o=e.attrs[n],r=o[3]||o[4]||o[5]||"",i="a"===s&&"href"===o[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[n]={name:o[1],value:yo(r,i)}}l||(n.push({tag:s,lowerCasedTag:s.toLowerCase(),attrs:d,start:e.start,end:e.end}),a=s),t.start&&t.start(s,d,l,e.start,e.end)}function p(e,o,r){let i,s;if(null==o&&(o=c),null==r&&(r=c),e)for(s=e.toLowerCase(),i=n.length-1;i>=0&&n[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(let e=n.length-1;e>=i;e--)t.end&&t.end(n[e].tag,o,r);n.length=i,a=i&&n[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,o,r):"p"===s&&(t.start&&t.start(e,[],!1,o,r),t.end&&t.end(e,o,r))}p()}(e,{warn:Wo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start(e,n,r,i,d){const p=a&&a.ns||Jo(e);J&&"svg"===p&&(n=function(e){const t=[];for(let n=0;n<e.length;n++){const o=e[n];ar.test(o.name)||(o.name=o.name.replace(cr,""),t.push(o))}return t}(n));let f=Qo(e,n,a);var h;p&&(f.ns=p),"style"!==(h=f).tag&&("script"!==h.tag||h.attrsMap.type&&"text/javascript"!==h.attrsMap.type)||(f.forbidden=!0);for(let e=0;e<Ko.length;e++)f=Ko[e](f,t)||f;c||(!function(e){null!=Un(e,"v-pre")&&(e.pre=!0)}(f),f.pre&&(c=!0)),qo(f.tag)&&(l=!0),c?function(e){const t=e.attrsList,n=t.length;if(n){const o=e.attrs=new Array(n);for(let e=0;e<n;e++)o[e]={name:t[e].name,value:JSON.stringify(t[e].value)},null!=t[e].start&&(o[e].start=t[e].start,o[e].end=t[e].end)}else e.pre||(e.plain=!0)}(f):f.processed||(nr(f),function(e){const t=Un(e,"v-if");if(t)e.if=t,or(e,{exp:t,block:e});else{null!=Un(e,"v-else")&&(e.else=!0);const t=Un(e,"v-else-if");t&&(e.elseif=t)}}(f),function(e){null!=Un(e,"v-once")&&(e.once=!0)}(f)),s||(s=f),r?u(f):(a=f,o.push(f))},end(e,t,n){const r=o[o.length-1];o.length-=1,a=o[o.length-1],u(r)},chars(e,t,n){if(!a)return void 0;if(J&&"textarea"===a.tag&&a.attrsMap.placeholder===e)return;const o=a.children;var s;if(e=l||e.trim()?"script"===(s=a).tag||"style"===s.tag?e:Ho(e):o.length?i?"condense"===i&&Bo.test(e)?"":" ":r?" ":"":""){let t,n;l||"condense"!==i||(e=e.replace(Uo," ")),!c&&" "!==e&&(t=function(e,t){const n=t?Pn(t):An;if(!n.test(e))return;const o=[],r=[];let i,s,a,c=n.lastIndex=0;for(;i=n.exec(e);){s=i.index,s>c&&(r.push(a=e.slice(c,s)),o.push(JSON.stringify(a)));const t=Nn(i[1].trim());o.push(`_s(${t})`),r.push({"@binding":t}),c=s+i[0].length}return c<e.length&&(r.push(a=e.slice(c)),o.push(JSON.stringify(a))),{expression:o.join("+"),tokens:r}}(e,zo))?n={type:2,expression:t.expression,tokens:t.tokens,text:e}:" "===e&&o.length&&" "===o[o.length-1].text||(n={type:3,text:e}),n&&o.push(n)}},comment(e,t,n){if(a){const t={type:3,text:e,isComment:!0};0,a.children.push(t)}}}),s}function tr(e,t){var n;!function(e){const t=Bn(e,"key");t&&(e.key=t)}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){const t=Bn(e,"ref");t&&(e.ref=t,e.refInFor=function(e){let t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){let t;"template"===e.tag?(t=Un(e,"scope"),e.slotScope=t||Un(e,"slot-scope")):(t=Un(e,"slot-scope"))&&(e.slotScope=t);const n=Bn(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Ln(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot")));if(r.env.NEW_SLOT_SYNTAX)if("template"===e.tag){const t=Hn(e,Vo);if(t){0;const{name:n,dynamic:o}=rr(t);e.slotTarget=n,e.slotTargetDynamic=o,e.slotScope=t.value||"_empty_"}}else{const t=Hn(e,Vo);if(t){0;const n=e.scopedSlots||(e.scopedSlots={}),{name:o,dynamic:r}=rr(t),i=n[o]=Qo("template",[],e);i.slotTarget=o,i.slotTargetDynamic=r,i.children=e.children.filter(e=>{if(!e.slotScope)return e.parent=i,!0}),i.slotScope=t.value||"_empty_",e.children=[],e.plain=!1}}}(e),"slot"===(n=e).tag&&(n.slotName=Bn(n,"name")),function(e){let t;(t=Bn(e,"is"))&&(e.component=t);null!=Un(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(let n=0;n<Yo.length;n++)e=Yo[n](e,t)||e;return function(e){const t=e.attrsList;let n,o,i,s,a,c,l,u;for(n=0,o=t.length;n<o;n++)if(i=s=t[n].name,a=t[n].value,Io.test(i))if(e.hasBindings=!0,c=ir(i.replace(Io,"")),r.env.VBIND_PROP_SHORTHAND&&Fo.test(i)?((c||(c={})).prop=!0,i="."+i.slice(1).replace(Ro,"")):c&&(i=i.replace(Ro,"")),Mo.test(i))i=i.replace(Mo,""),a=Nn(a),u=Do.test(i),u&&(i=i.slice(1,-1)),c&&(c.prop&&!u&&(i=k(i),"innerHtml"===i&&(i="innerHTML")),c.camel&&!u&&(i=k(i)),c.sync&&(l=vo(a,"$event"),u?Vn(e,`"update:"+(${i})`,l,null,!1,0,t[n],!0):(Vn(e,"update:"+k(i),l,null,!1,0,t[n]),C(i)!==k(i)&&Vn(e,"update:"+C(i),l,null,!1,0,t[n])))),c&&c.prop||!e.component&&Xo(e.tag,e.attrsMap.type,i)?Dn(e,i,a,t[n],u):Ln(e,i,a,t[n],u);else if(Ao.test(i))i=i.replace(Ao,""),u=Do.test(i),u&&(i=i.slice(1,-1)),Vn(e,i,a,c,!1,0,t[n],u);else{i=i.replace(Io,"");const o=i.match(Lo);let r=o&&o[1];u=!1,r&&(i=i.slice(0,-(r.length+1)),Do.test(r)&&(r=r.slice(1,-1),u=!0)),Fn(e,i,s,a,r,u,c,t[n])}else Ln(e,i,JSON.stringify(a),t[n]),!e.component&&"muted"===i&&Xo(e.tag,e.attrsMap.type,i)&&Dn(e,i,"true",t[n])}(e),e}function nr(e){let t;if(t=Un(e,"v-for")){const n=function(e){const t=e.match(Po);if(!t)return;const n={};n.for=t[2].trim();const o=t[1].trim().replace(jo,""),r=o.match(To);r?(n.alias=o.replace(To,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=o;return n}(t);n&&P(e,n)}}function or(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function rr(e){let t=e.name.replace(Vo,"");return t||"#"!==e.name[0]&&(t="default"),Do.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:`"${t}"`,dynamic:!1}}function ir(e){const t=e.match(Ro);if(t){const e={};return t.forEach(t=>{e[t.slice(1)]=!0}),e}}function sr(e){const t={};for(let n=0,o=e.length;n<o;n++)t[e[n].name]=e[n].value;return t}const ar=/^xmlns:NS\d+/,cr=/^NS\d+:/;function lr(e){return Qo(e.tag,e.attrsList.slice(),e.parent)}var ur=[zn,Kn,{preTransformNode:function(e,t){if("input"===e.tag){const n=e.attrsMap;if(!n["v-model"])return;let o;if((n[":type"]||n["v-bind:type"])&&(o=Bn(e,"type")),n.type||o||!n["v-bind"]||(o=`(${n["v-bind"]}).type`),o){const n=Un(e,"v-if",!0),r=n?`&&(${n})`:"",i=null!=Un(e,"v-else",!0),s=Un(e,"v-else-if",!0),a=lr(e);nr(a),Mn(a,"type","checkbox"),tr(a,t),a.processed=!0,a.if=`(${o})==='checkbox'`+r,or(a,{exp:a.if,block:a});const c=lr(e);Un(c,"v-for",!0),Mn(c,"type","radio"),tr(c,t),or(a,{exp:`(${o})==='radio'`+r,block:c});const l=lr(e);return Un(l,"v-for",!0),Mn(l,":type",o),tr(l,t),or(a,{exp:n,block:l}),i?a.else=!0:s&&(a.elseif=s),a}}}}];let dr;const pr={expectHTML:!0,modules:ur,directives:{model:function(e,t,n){dr=n;const o=t.value,r=t.modifiers,i=e.tag,s=e.attrsMap.type;if(e.component)return go(e,o,r),!1;if("select"===i)!function(e,t,n){const o=n&&n.number;let r=`var $$selectedVal = 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 ${o?"_n(val)":"val"}});`;r=`${r} ${vo(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]")}`,Vn(e,"change",r,null,!0)}(e,o,r);else if("input"===i&&"checkbox"===s)!function(e,t,n){const o=n&&n.number,r=Bn(e,"value")||"null",i=Bn(e,"true-value")||"true",s=Bn(e,"false-value")||"false";Dn(e,"checked",`Array.isArray(${t})?_i(${t},${r})>-1`+("true"===i?`:(${t})`:`:_q(${t},${i})`)),Vn(e,"change",`var $$a=${t},$$el=$event.target,$$c=$$el.checked?(${i}):(${s});if(Array.isArray($$a)){var $$v=${o?"_n("+r+")":r},$$i=_i($$a,$$v);if($$el.checked){$$i<0&&(${vo(t,"$$a.concat([$$v])")})}else{$$i>-1&&(${vo(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")})}}else{${vo(t,"$$c")}}`,null,!0)}(e,o,r);else if("input"===i&&"radio"===s)!function(e,t,n){const o=n&&n.number;let r=Bn(e,"value")||"null";r=o?`_n(${r})`:r,Dn(e,"checked",`_q(${t},${r})`),Vn(e,"change",vo(t,r),null,!0)}(e,o,r);else if("input"===i||"textarea"===i)!function(e,t,n){const o=e.attrsMap.type;0;const{lazy:r,number:i,trim:s}=n||{},a=!r&&"range"!==o,c=r?"change":"range"===o?"__r":"input";let l="$event.target.value";s&&(l="$event.target.value.trim()");i&&(l=`_n(${l})`);let u=vo(t,l);a&&(u="if($event.target.composing)return;"+u);Dn(e,"value",`(${t})`),Vn(e,c,u,null,!0),(s||i)&&Vn(e,"blur","$forceUpdate()")}(e,o,r);else{if(!B.isReservedTag(i))return go(e,o,r),!1}return!0},text:function(e,t){t.value&&Dn(e,"textContent",`_s(${t.value})`,t)},html:function(e,t){t.value&&Dn(e,"innerHTML",`_s(${t.value})`,t)}},isPreTag:e=>"pre"===e,isUnaryTag:qn,mustUseProp:(e,t,n)=>"value"===n&&bn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e,canBeLeftOpenTag:Xn,isReservedTag:e=>On(e)||xn(e),getTagNamespace:function(e){return xn(e)?"svg":"math"===e?"math":void 0},staticKeys:function(e){return e.reduce((e,t)=>e.concat(t.staticKeys||[]),[]).join(",")}(ur)};let fr,hr;const mr=O((function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function yr(e,t){e&&(fr=mr(t.staticKeys||""),hr=t.isReservedTag||j,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||b(e.tag)||!hr(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(fr)))}(t),1===t.type){if(!hr(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(let n=0,o=t.children.length;n<o;n++){const o=t.children[n];e(o),o.static||(t.static=!1)}if(t.ifConditions)for(let n=1,o=t.ifConditions.length;n<o;n++){const o=t.ifConditions[n].block;e(o),o.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(let o=0,r=t.children.length;o<r;o++)e(t.children[o],n||!!t.for);if(t.ifConditions)for(let o=1,r=t.ifConditions.length;o<r;o++)e(t.ifConditions[o].block,n)}}(e,!1))}const gr=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,vr=/\([^)]*?\);*$/,br=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,wr={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},_r={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"]},$r=e=>`if(${e})return null;`,Sr={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:$r("$event.target !== $event.currentTarget"),ctrl:$r("!$event.ctrlKey"),shift:$r("!$event.shiftKey"),alt:$r("!$event.altKey"),meta:$r("!$event.metaKey"),left:$r("'button' in $event && $event.button !== 0"),middle:$r("'button' in $event && $event.button !== 1"),right:$r("'button' in $event && $event.button !== 2")};function Or(e,t){const n=t?"nativeOn:":"on:";let o="",r="";for(const t in e){const n=xr(e[t]);e[t]&&e[t].dynamic?r+=`${t},${n},`:o+=`"${t}":${n},`}return o=`{${o.slice(0,-1)}}`,r?n+`_d(${o},[${r.slice(0,-1)}])`:n+o}function xr(e){if(!e)return"function(){}";if(Array.isArray(e))return`[${e.map(e=>xr(e)).join(",")}]`;const t=br.test(e.value),n=gr.test(e.value),o=br.test(e.value.replace(vr,""));if(e.modifiers){let r="",i="";const s=[];for(const t in e.modifiers)if(Sr[t])i+=Sr[t],wr[t]&&s.push(t);else if("exact"===t){const t=e.modifiers;i+=$r(["ctrl","shift","alt","meta"].filter(e=>!t[e]).map(e=>`$event.${e}Key`).join("||"))}else s.push(t);s.length&&(r+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(kr).join("&&")+")return null;"}(s)),i&&(r+=i);return`function($event){${r}${t?`return ${e.value}.apply(null, arguments)`:n?`return (${e.value}).apply(null, arguments)`:o?"return "+e.value:e.value}}`}return t||n?e.value:`function($event){${o?"return "+e.value:e.value}}`}function kr(e){const t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;const n=wr[e],o=_r[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(o)+")"}var Er={on:function(e,t){e.wrapListeners=e=>`_g(${e},${t.value})`},bind:function(e,t){e.wrapData=n=>`_b(${n},'${e.tag}',${t.value},${t.modifiers&&t.modifiers.prop?"true":"false"}${t.modifiers&&t.modifiers.sync?",true":""})`},cloak:T};class Nr{constructor(e){this.options=e,this.warn=e.warn||Tn,this.transforms=jn(e.modules,"transformCode"),this.dataGenFns=jn(e.modules,"genData"),this.directives=P(P({},Er),e.directives);const t=e.isReservedTag||j;this.maybeComponent=e=>!!e.component||!t(e.tag),this.onceId=0,this.staticRenderFns=[],this.pre=!1}}function Cr(e,t){const n=new Nr(t);return{render:`with(this){return ${e?"script"===e.tag?"null":Ar(e,n):'_c("div")'}}`,staticRenderFns:n.staticRenderFns}}function Ar(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ir(e,t);if(e.once&&!e.onceProcessed)return Pr(e,t);if(e.for&&!e.forProcessed)return jr(e,t);if(e.if&&!e.ifProcessed)return Tr(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){const n=e.slotName||'"default"',o=Fr(e,t);let r=`_t(${n}${o?`,function(){return ${o}}`:""}`;const i=e.attrs||e.dynamicAttrs?Br((e.attrs||[]).concat(e.dynamicAttrs||[]).map(e=>({name:k(e.name),value:e.value,dynamic:e.dynamic}))):null,s=e.attrsMap["v-bind"];!i&&!s||o||(r+=",null");i&&(r+=","+i);s&&(r+=`${i?"":",null"},${s}`);return r+")"}(e,t);{let n;if(e.component)n=function(e,t,n){const o=t.inlineTemplate?null:Fr(t,n,!0);return`_c(${e},${Dr(t,n)}${o?","+o:""})`}(e.component,e,t);else{let o;(!e.plain||e.pre&&t.maybeComponent(e))&&(o=Dr(e,t));const r=e.inlineTemplate?null:Fr(e,t,!0);n=`_c('${e.tag}'${o?","+o:""}${r?","+r:""})`}for(let o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}}return Fr(e,t)||"void 0"}function Ir(e,t){e.staticProcessed=!0;const n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push(`with(this){return ${Ar(e,t)}}`),t.pre=n,`_m(${t.staticRenderFns.length-1}${e.staticInFor?",true":""})`}function Pr(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Tr(e,t);if(e.staticInFor){let n="",o=e.parent;for(;o;){if(o.for){n=o.key;break}o=o.parent}return n?`_o(${Ar(e,t)},${t.onceId++},${n})`:Ar(e,t)}return Ir(e,t)}function Tr(e,t,n,o){return e.ifProcessed=!0,function e(t,n,o,r){if(!t.length)return r||"_e()";const i=t.shift();return i.exp?`(${i.exp})?${s(i.block)}:${e(t,n,o,r)}`:""+s(i.block);function s(e){return o?o(e,n):e.once?Pr(e,n):Ar(e,n)}}(e.ifConditions.slice(),t,n,o)}function jr(e,t,n,o){const r=e.for,i=e.alias,s=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,`${o||"_l"}((${r}),function(${i}${s}${a}){return `+(n||Ar)(e,t)+"})"}function Dr(e,t){let n="{";const o=function(e,t){const n=e.directives;if(!n)return;let o,r,i,s,a="directives:[",c=!1;for(o=0,r=n.length;o<r;o++){i=n[o],s=!0;const r=t.directives[i.name];r&&(s=!!r(e,i,t.warn)),s&&(c=!0,a+=`{name:"${i.name}",rawName:"${i.rawName}"${i.value?`,value:(${i.value}),expression:${JSON.stringify(i.value)}`:""}${i.arg?",arg:"+(i.isDynamicArg?i.arg:`"${i.arg}"`):""}${i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):""}},`)}if(c)return a.slice(0,-1)+"]"}(e,t);o&&(n+=o+","),e.key&&(n+=`key:${e.key},`),e.ref&&(n+=`ref:${e.ref},`),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+=`tag:"${e.tag}",`);for(let o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+=`attrs:${Br(e.attrs)},`),e.props&&(n+=`domProps:${Br(e.props)},`),e.events&&(n+=Or(e.events,!1)+","),e.nativeEvents&&(n+=Or(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+=`slot:${e.slotTarget},`),e.scopedSlots&&(n+=function(e,t,n){let o=e.for||Object.keys(t).some(e=>{const n=t[e];return n.slotTargetDynamic||n.if||n.for||Lr(n)}),r=!!e.if;if(!o){let t=e.parent;for(;t;){if(t.slotScope&&"_empty_"!==t.slotScope||t.for){o=!0;break}t.if&&(r=!0),t=t.parent}}const i=Object.keys(t).map(e=>Mr(t[e],n)).join(",");return`scopedSlots:_u([${i}]${o?",null,true":""}${!o&&r?",null,false,"+function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(i):""})`}(e,e.scopedSlots,t)+","),e.model&&(n+=`model:{value:${e.model.value},callback:${e.model.callback},expression:${e.model.expression}},`),e.inlineTemplate){const o=function(e,t){const n=e.children[0];0;if(n&&1===n.type){const e=Cr(n,t.options);return`inlineTemplate:{render:function(){${e.render}},staticRenderFns:[${e.staticRenderFns.map(e=>`function(){${e}}`).join(",")}]}`}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n=`_b(${n},"${e.tag}",${Br(e.dynamicAttrs)})`),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Lr(e){return 1===e.type&&("slot"===e.tag||e.children.some(Lr))}function Mr(e,t){const n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Tr(e,t,Mr,"null");if(e.for&&!e.forProcessed)return jr(e,t,Mr);const o="_empty_"===e.slotScope?"":String(e.slotScope),r=`function(${o}){return ${"template"===e.tag?e.if&&n?`(${e.if})?${Fr(e,t)||"undefined"}:undefined`:Fr(e,t)||"undefined":Ar(e,t)}}`,i=o?"":",proxy:true";return`{key:${e.slotTarget||'"default"'},fn:${r}${i}}`}function Fr(e,t,n,o,r){const i=e.children;if(i.length){const e=i[0];if(1===i.length&&e.for&&"template"!==e.tag&&"slot"!==e.tag){const r=n?t.maybeComponent(e)?",1":",0":"";return`${(o||Ar)(e,t)}${r}`}const s=n?function(e,t){let n=0;for(let o=0;o<e.length;o++){const r=e[o];if(1===r.type){if(Rr(r)||r.ifConditions&&r.ifConditions.some(e=>Rr(e.block))){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some(e=>t(e.block)))&&(n=1)}}return n}(i,t.maybeComponent):0,a=r||Vr;return`[${i.map(e=>a(e,t)).join(",")}]${s?","+s:""}`}}function Rr(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Vr(e,t){return 1===e.type?Ar(e,t):3===e.type&&e.isComment?function(e){return`_e(${JSON.stringify(e.text)})`}(e):function(e){return`_v(${2===e.type?e.expression:Ur(JSON.stringify(e.text))})`}(e)}function Br(e){let t="",n="";for(let o=0;o<e.length;o++){const r=e[o],i=Ur(r.value);r.dynamic?n+=`${r.name},${i},`:t+=`"${r.name}":${i},`}return t=`{${t.slice(0,-1)}}`,n?`_d(${t},[${n.slice(0,-1)}])`:t}function Ur(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Hr(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),T}}function Wr(e){const t=Object.create(null);return function(n,o,r){(o=P({},o)).warn;delete o.warn;const i=o.delimiters?String(o.delimiters)+n:n;if(t[i])return t[i];const s=e(n,o);const a={},c=[];return a.render=Hr(s.render,c),a.staticRenderFns=s.staticRenderFns.map(e=>Hr(e,c)),t[i]=a}}const zr=(Yr=function(e,t){const n=er(e.trim(),t);!1!==t.optimize&&yr(n,t);const o=Cr(n,t);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}},function(e){function t(t,n){const o=Object.create(e),r=[],i=[];if(n){n.modules&&(o.modules=(e.modules||[]).concat(n.modules)),n.directives&&(o.directives=P(Object.create(e.directives||null),n.directives));for(const e in n)"modules"!==e&&"directives"!==e&&(o[e]=n[e])}o.warn=(e,t,n)=>{(n?i:r).push(e)};const s=Yr(t.trim(),o);return s.errors=r,s.tips=i,s}return{compile:t,compileToFunctions:Wr(t)}});var Yr;const{compile:Kr,compileToFunctions:Gr}=zr(pr);function qr(e){return(qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xr(e){var t=function(e,t){if("object"!==qr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==qr(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===qr(t)?t:String(t)}function Jr(e,t,n){return(t=Xr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zr=`http://127.0.0.1:${r.env.PORT}/`;let Qr,ei,ti=e=>e,ni=()=>{};function oi(e){Qr=e}function ri(){return Qr}function ii(){return ti}const si=F(()=>{console.log('Hippy-Vue has "Vue.config.silent" to control trace log output, to see output logs if set it to false.')});function ai(...e){ei&&ei.config.silent&&si()}function ci(e){return e.charAt(0).toUpperCase()+e.slice(1)}const li=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function ui(e){return"[object Function]"===Object.prototype.toString.call(e)}function di(e){let t=e;return/^assets/.test(t)&&(t="hpfile://./"+t),t}function pi(e){return null==e}const fi=Symbol.for("View"),hi=Symbol.for("Image"),mi=Symbol.for("ListView"),yi=Symbol.for("ListViewItem"),gi=Symbol.for("Text"),vi=Symbol.for("TextInput"),bi=Symbol.for("WebView"),wi=Symbol.for("VideoPlayer"),_i={[fi]:"View",[hi]:"Image",[mi]:"ListView",[yi]:"ListViewItem",[gi]:"Text",[vi]:"TextInput",[bi]:"WebView",[wi]:"VideoPlayer"};function $i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$i(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oi(...e){const t={};if(Array.isArray(e[0]))e[0].forEach(([e,n])=>{t[t[e]=n]=e});else{const[n,o]=e;t[t[n]=o]=n}return t}const xi={number:"numeric",text:"default",search:"web-search"},ki={role:"accessibilityRole","aria-label":"accessibilityLabel","aria-disabled":{jointKey:"accessibilityState",name:"disabled"},"aria-selected":{jointKey:"accessibilityState",name:"selected"},"aria-checked":{jointKey:"accessibilityState",name:"checked"},"aria-busy":{jointKey:"accessibilityState",name:"busy"},"aria-expanded":{jointKey:"accessibilityState",name:"expanded"},"aria-valuemin":{jointKey:"accessibilityValue",name:"min"},"aria-valuemax":{jointKey:"accessibilityValue",name:"max"},"aria-valuenow":{jointKey:"accessibilityValue",name:"now"},"aria-valuetext":{jointKey:"accessibilityValue",name:"text"}},Ei={symbol:fi,component:{name:_i[fi],eventNamesMap:Oi([["touchStart","onTouchDown"],["touchstart","onTouchDown"],["touchmove","onTouchMove"],["touchend","onTouchEnd"],["touchcancel","onTouchCancel"]]),attributeMaps:Si({},ki),processEventData(e,t,n){switch(t){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":e.offsetX=n.contentOffset&&n.contentOffset.x,e.offsetY=n.contentOffset&&n.contentOffset.y;break;case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":e.touches={0:{clientX:n.page_x,clientY:n.page_y},length:1};break;case"onFocus":e.isFocused=t.focus}return e}}},Ni={symbol:fi,component:Si(Si({},Ei.component),{},{name:_i[fi],defaultNativeStyle:{}})},Ci={symbol:fi,component:{name:_i[fi]}},Ai={symbol:hi,component:Si(Si({},Ei.component),{},{name:_i[hi],defaultNativeStyle:{backgroundColor:0},attributeMaps:Si({placeholder:{name:"defaultSource",propsValue(e){const t=di(e);return t&&t.indexOf(Zr)<0&&["https://","http://"].some(e=>0===t.indexOf(e)),t}},src:e=>di(e)},ki),processEventData(e,t,n){switch(t){case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":e.touches={0:{clientX:n.page_x,clientY:n.page_y},length:1};break;case"onFocus":e.isFocused=t.focus;break;case"onLoad":{const{width:t,height:o,url:r}=n;e.width=t,e.height=o,e.url=r;break}}return e}})},Ii={symbol:mi,component:{name:_i[mi],defaultNativeStyle:{flex:1},attributeMaps:Si({},ki),eventNamesMap:Oi("listReady","initialListReady"),processEventData(e,t,n){switch(t){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":e.offsetX=n.contentOffset&&n.contentOffset.x,e.offsetY=n.contentOffset&&n.contentOffset.y;break;case"onDelete":e.index=n.index}return e}}},Pi={symbol:yi,component:{name:_i[yi],attributeMaps:Si({},ki),eventNamesMap:Oi([["disappear","onDisappear"]])}},Ti={symbol:fi,component:Si(Si({},Ei.component),{},{name:_i[gi],defaultNativeProps:{text:""},defaultNativeStyle:{color:4278190080}})},ji=Ti,Di=Ti,Li={component:Si(Si({},Ti.component),{},{defaultNativeStyle:{color:4278190318},attributeMaps:{href:{name:"href",propsValue:e=>["//","http://","https://"].filter(t=>0===e.indexOf(t)).length?"":e}}})},Mi={symbol:vi,component:{name:_i[vi],attributeMaps:Si({type:{name:"keyboardType",propsValue(e){const t=xi[e];return t||e}},disabled:{name:"editable",propsValue:e=>!e},value:"defaultValue",maxlength:"maxLength"},ki),nativeProps:{numberOfLines:1,multiline:!1},defaultNativeProps:{underlineColorAndroid:0},defaultNativeStyle:{padding:0,color:4278190080},eventNamesMap:Oi([["change","onChangeText"],["select","onSelectionChange"]]),processEventData(e,t,n){switch(t){case"onChangeText":case"onEndEditing":e.value=n.text;break;case"onSelectionChange":e.start=n.selection.start,e.end=n.selection.end;break;case"onKeyboardWillShow":e.keyboardHeight=n.keyboardHeight;break;case"onContentSizeChange":e.width=n.contentSize.width,e.height=n.contentSize.height}return e}}},Fi={symbol:vi,component:{name:_i[vi],defaultNativeProps:Si(Si({},Mi.component.defaultNativeProps),{},{numberOfLines:5}),attributeMaps:Si(Si({},Mi.component.attributeMaps),{},{rows:"numberOfLines"}),nativeProps:{multiline:!0},defaultNativeStyle:Mi.component.defaultNativeStyle,eventNamesMap:Mi.component.eventNamesMap,processEventData:Mi.component.processEventData}},Ri={symbol:bi,component:{name:_i[bi],defaultNativeProps:{method:"get",userAgent:""},attributeMaps:{src:{name:"source",propsValue:e=>({uri:e})}},processEventData(e,t,n){switch(t){case"onLoad":case"onLoadStart":e.url=n.url;break;case"onLoadEnd":e.url=n.url,e.success=n.success,e.error=n.error}return e}}};var Vi=Object.freeze({__proto__:null,button:Ni,div:Ei,form:Ci,img:Ai,input:Mi,label:ji,li:Pi,p:Di,span:Ti,a:Li,textarea:Fi,ul:Ii,iframe:Ri});function Bi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ui(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bi(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Hi=v("template,script,style,element,content,slot,button,div,form,img,input,label,li,p,span,textarea,ul",!0),Wi=new Map,zi={skipAddToDom:!1,isUnaryTag:!1,tagNamespace:"",canBeLeftOpenTag:!1,mustUseProp:!1,model:null,component:null};function Yi(e){return e.toLowerCase()}function Ki(e,t){if(!e)throw new Error("RegisterElement cannot set empty name");const n=Yi(e),o=Ui(Ui({},zi),t);if(Wi.has(n))throw new Error(`Element for ${e} already registered.`);o.component=Ui(Ui({},function(e,t,n){return{name:e,functional:!0,model:t.model,render:(e,{data:t,children:o})=>e(n,t,o)}}(e,o,n)),o.component),o.component.name&&o.component.name===ci(k(e))&&o.component.name;const r={meta:o};return Wi.set(n,r),r}function Gi(e){const t=Yi(e);let n=zi;const o=Wi.get(t);return o&&o.meta&&(n=o.meta),n}function qi(e,t){return(qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Xi(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qi(e,t)}const Ji={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Zi=(...e)=>`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`,Qi="[-+]?\\d*\\.?\\d+",es={rgb:new RegExp("rgb"+Zi(Qi,Qi,Qi)),rgba:new RegExp("rgba"+Zi(Qi,Qi,Qi,Qi)),hsl:new RegExp("hsl"+Zi(Qi,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+Zi(Qi,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Qi)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},ts=e=>{const t=parseInt(e,10);return t<0?0:t>255?255:t},ns=e=>{const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},os=(e,t,n)=>{let o=n;return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e},rs=(e,t,n)=>{const o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,i=os(r,o,e+1/3),s=os(r,o,e),a=os(r,o,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8},is=e=>(parseFloat(e)%360+360)%360/360,ss=e=>{const t=parseFloat(e,10);return t<0?0:t>100?1:t/100};function as(e){if("string"==typeof e&&-1!==e.indexOf("var("))return e;let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=es.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(Ji,e)?Ji[e]:(t=es.rgb.exec(e),Array.isArray(t)?(ts(t[1])<<24|ts(t[2])<<16|ts(t[3])<<8|255)>>>0:(t=es.rgba.exec(e),t?(ts(t[1])<<24|ts(t[2])<<16|ts(t[3])<<8|ns(t[4]))>>>0:(t=es.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=es.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=es.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=es.hsl.exec(e),t?(255|rs(is(t[1]),ss(t[2]),ss(t[3])))>>>0:(t=es.hsla.exec(e),t?(rs(is(t[1]),ss(t[2]),ss(t[3]))|ns(t[4]))>>>0:null))))))))}(e);if(null===t)throw new Error("Bad color value: "+e);return t=(t<<24|t>>>8)>>>0,t}const cs={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor",caretColor:"caret-color"},ls=0,us=1,ds={onClick:"click",onLongClick:"longclick",onPressIn:"pressin",onPressOut:"pressout",onTouchDown:"touchstart",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchMove:"touchmove",onTouchCancel:"touchcancel"},ps={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};const fs="addEventListener",hs="removeEventListener";function ms(){const e=Ua.Localization;return!!e&&1===e.direction}const ys=new Map;function gs(e){ys.delete(e)}function vs(e){return ys.get(e)||null}function bs(t){!function(t,n){if(!e.requestIdleCallback)return setTimeout(()=>{t({didTimeout:!1,timeRemaining:()=>1/0})},1);e.requestIdleCallback(t,n)}(e=>{(e.timeRemaining()>0||e.didTimeout)&&function e(t){"number"==typeof t?gs(t):t&&(gs(t.nodeId),t.childNodes&&t.childNodes.forEach(t=>e(t)))}(t)},{timeout:50})}function ws(e=[],t=0){let n=e[t];for(let o=t;o<e.length;o++){const t=e[o];if(t&&t.meta&&!t.meta.skipAddToDom){n=t;break}}return n}const _s=-1,$s=(()=>{try{return!!new RegExp("foo","y")}catch(e){return!1}})(),Ss={whiteSpaceRegEx:"\\s*",universalSelectorRegEx:"\\*",simpleIdentifierSelectorRegEx:"(#|\\.|:|\\b)([_-\\w][_-\\w\\d]*)",attributeSelectorRegEx:"\\[\\s*([_-\\w][_-\\w\\d]*)\\s*(?:(=|\\^=|\\$=|\\*=|\\~=|\\|=)\\s*(?:([_-\\w][_-\\w\\d]*)|\"((?:[^\\\\\"]|\\\\(?:\"|n|r|f|\\\\|0-9a-f))*)\"|'((?:[^\\\\']|\\\\(?:'|n|r|f|\\\\|0-9a-f))*)')\\s*)?\\]",combinatorRegEx:"\\s*(\\+|~|>)?\\s*"},Os={};function xs(e,t,n){let o="";$s&&(o="gy"),Os[e]||(Os[e]=new RegExp(Ss[e],o));const r=Os[e];let i;if($s)r.lastIndex=n,i=r.exec(t);else{if(t=t.slice(n,t.length),i=r.exec(t),!i)return{result:null,regexp:r};r.lastIndex=n+i[0].length}return{result:i,regexp:r}}function ks(e,t){return function(e,t){const{result:n,regexp:o}=xs("universalSelectorRegEx",e,t);return n?{value:{type:"*"},start:t,end:o.lastIndex}:null}(e,t)||function(e,t){const{result:n,regexp:o}=xs("simpleIdentifierSelectorRegEx",e,t);if(!n)return null;const r=o.lastIndex;return{value:{type:n[1],identifier:n[2]},start:t,end:r}}(e,t)||function(e,t){const{result:n,regexp:o}=xs("attributeSelectorRegEx",e,t);if(!n)return null;const r=o.lastIndex,i=n[1];if(n[2]){return{value:{type:"[]",property:i,test:n[2],value:n[3]||n[4]||n[5]},start:t,end:r}}return{value:{type:"[]",property:i},start:t,end:r}}(e,t)}function Es(e,t){let n=ks(e,t);if(!n)return null;let{end:o}=n;const r=[];for(;n;)r.push(n.value),({end:o}=n),n=ks(e,o);return{start:t,end:o,value:r}}function Ns(e,t){const{result:n,regexp:o}=xs("combinatorRegEx",e,t);if(!n)return null;let r;r=$s?o.lastIndex:t;return{start:t,end:r,value:n[1]||" "}}function Cs(e){return e?` ${e} `:""}class As{lookupSort(e,t){e.sortAsUniversal(t||this)}removeSort(e,t){e.removeAsUniversal(t||this)}}class Is extends As{accumulateChanges(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}mayMatch(e){return this.match(e)}trackChanges(){return null}}class Ps extends Is{constructor(e){super(),this.specificity=e.reduce((e,t)=>t.specificity+e,0),this.head=e.reduce((e,t)=>!e||t.rarity>e.rarity?t:e,null),this.dynamic=e.some(e=>e.dynamic),this.selectors=e}toString(){return`${this.selectors.join("")}${Cs(this.combinator)}`}match(e){return!!e&&this.selectors.every(t=>t.match(e))}mayMatch(e){return!!e&&this.selectors.every(t=>t.mayMatch(e))}trackChanges(e,t){this.selectors.forEach(n=>n.trackChanges(e,t))}lookupSort(e,t){this.head.lookupSort(e,t||this)}removeSort(e,t){this.head.removeSort(e,t||this)}}class Ts extends Is{constructor(){super(),this.specificity=0,this.rarity=0,this.dynamic=!1}toString(){return"*"+Cs(this.combinator)}match(){return!0}}class js extends Is{constructor(e){super(),this.specificity=65536,this.rarity=3,this.dynamic=!1,this.id=e}toString(){return`#${this.id}${Cs(this.combinator)}`}match(e){return!!e&&e.id===this.id}lookupSort(e,t){e.sortById(this.id,t||this)}removeSort(e,t){e.removeById(this.id,t||this)}}class Ds extends Is{constructor(e){super(),this.specificity=1,this.rarity=1,this.dynamic=!1,this.cssType=e}toString(){return`${this.cssType}${Cs(this.combinator)}`}match(e){return!!e&&e.tagName===this.cssType}lookupSort(e,t){e.sortByType(this.cssType,t||this)}removeSort(e,t){e.removeByType(this.cssType,t||this)}}class Ls extends Is{constructor(e){super(),this.specificity=256,this.rarity=2,this.dynamic=!1,this.className=e}toString(){return`.${this.className}${Cs(this.combinator)}`}match(e){return!!e&&(e.classList&&e.classList.size&&e.classList.has(this.className))}lookupSort(e,t){e.sortByClass(this.className,t||this)}removeSort(e,t){e.removeByClass(this.className,t||this)}}class Ms extends Is{constructor(e){super(),this.specificity=256,this.rarity=0,this.dynamic=!0,this.cssPseudoClass=e}toString(){return`:${this.cssPseudoClass}${Cs(this.combinator)}`}match(e){return!!e&&(e.cssPseudoClasses&&e.cssPseudoClasses.has(this.cssPseudoClass))}mayMatch(){return!0}trackChanges(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}const Fs=(e,t)=>{const n=e.attributes[t];return void 0!==n?n:Array.isArray(e.styleScopeId)&&e.styleScopeId.includes(t)?t:void 0};class Rs extends Is{constructor(e,t,n){super(),this.specificity=256,this.rarity=0,this.dynamic=!0,this.attribute=e,this.test=t,this.value=n,this.match=t?n?o=>{if(!o||!o.attributes)return!1;const r=""+Fs(o,e);if("="===t)return r===n;if("^="===t)return r.startsWith(n);if("$="===t)return r.endsWith(n);if("*="===t)return-1!==r.indexOf(n);if("~="===t){const e=r.split(" ");return e&&-1!==e.indexOf(n)}return"|="===t&&(r===n||r.startsWith(n+"-"))}:()=>!1:t=>!(!t||!t.attributes)&&!pi(Fs(t,e))}toString(){return`[${this.attribute}${Cs(this.test)}${this.test&&this.value||""}]${Cs(this.combinator)}`}match(){return!1}mayMatch(){return!0}trackChanges(e,t){t.addAttribute(e,this.attribute)}}class Vs extends Is{constructor(e){super(),this.specificity=0,this.rarity=4,this.dynamic=!1,this.combinator=void 0,this.err=e}toString(){return`<error: ${this.err}>`}match(){return!1}lookupSort(){return null}removeSort(){return null}}class Bs{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&!!t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&!!t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,o)=>{0!==o&&(e=e.parentNode),e&&n.trackChanges(e,t)})}}class Us{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&!!t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&!!t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,o)=>{0!==o&&(e=e.nextSibling),e&&n.trackChanges(e,t)})}}class Hs extends As{constructor(e){super();const t=[void 0," ",">","+","~"];let n=[],o=[];const r=[],i=[...e],s=i.length-1;this.specificity=0,this.dynamic=!1;for(let e=s;e>=0;e--){const s=i[e];if(-1===t.indexOf(s.combinator))throw console.error(`Unsupported combinator "${s.combinator}".`),new Error(`Unsupported combinator "${s.combinator}".`);void 0!==s.combinator&&" "!==s.combinator||r.push(o=[n=[]]),">"===s.combinator&&o.push(n=[]),this.specificity+=s.specificity,s.dynamic&&(this.dynamic=!0),n.push(s)}this.groups=r.map(e=>new Bs(e.map(e=>new Us(e)))),this.last=i[s]}toString(){return this.selectors.join("")}match(e){return!!e&&this.groups.every((t,n)=>{if(0===n)return!!(e=t.match(e));let o=e;for(;o=o.parentNode;)if(e=t.match(o))return!0;return!1})}lookupSort(e){this.last.lookupSort(e,this)}removeSort(e){this.last.removeSort(e,this)}accumulateChanges(e,t){if(!this.dynamic)return this.match(e);const n=[],o=this.groups.every((t,o)=>{if(0===o){const o=t.mayMatch(e);return n.push({left:e,right:e}),!!(e=o)}let r=e;for(;r=r.parentNode;){const o=t.mayMatch(r);if(o)return n.push({left:r,right:null}),e=o,!0}return!1});if(!o)return!1;if(!t)return o;for(let e=0;e<this.groups.length;e+=1){const o=this.groups[e];if(!o.dynamic)continue;const r=n[e];let i=r.left;do{o.mayMatch(i)&&o.trackChanges(i,t)}while(i!==r.right&&(i=i.parentNode))}return o}}Hs.ChildGroup=Bs,Hs.SiblingGroup=Us;class Ws{constructor(e,t,n){e.forEach(e=>(e.ruleSet=this,null)),this.hash=n,this.selectors=e,this.declarations=t}toString(){return`${this.selectors.join(", ")} {${this.declarations.map((e,t)=>`${0===t?" ":""}${e.property}: ${e.value}`).join("; ")}}`}lookupSort(e){this.selectors.forEach(t=>t.lookupSort(e))}removeSort(e){this.selectors.forEach(t=>t.removeSort(e))}}class zs{constructor(){this.changeMap=new Map}addAttribute(e,t){const n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}addPseudoClass(e,t){const n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}properties(e){let t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}class Ys{constructor(e){this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=e,e.forEach(e=>e.lookupSort(this))}append(e){this.ruleSets=this.ruleSets.concat(e),e.forEach(e=>e.lookupSort(this))}delete(e){const t=[];this.ruleSets=this.ruleSets.filter(n=>n.hash!==e||(t.push(n),!1)),t.forEach(e=>e.removeSort(this))}query(e){const{tagName:t,id:n,classList:o}=e,r=[this.universal,this.id[n],this.type[t]];o.size&&o.forEach(e=>r.push(this.class[e]));const i=r.filter(e=>!!e).reduce((e,t)=>e.concat(t||[]),[]),s=new zs;return s.selectors=i.filter(t=>t.sel.accumulateChanges(e,s)).sort((e,t)=>e.sel.specificity-t.sel.specificity||e.pos-t.pos).map(e=>e.sel),s}sortById(e,t){this.addToMap(this.id,e,t)}sortByClass(e,t){this.addToMap(this.class,e,t)}sortByType(e,t){this.addToMap(this.type,e,t)}removeById(e,t){this.removeFromMap(this.id,e,t)}removeByClass(e,t){this.removeFromMap(this.class,e,t)}removeByType(e,t){this.removeFromMap(this.type,e,t)}sortAsUniversal(e){this.universal.push(this.makeDocSelector(e))}removeAsUniversal(e){const t=this.universal.findIndex(t=>t.sel.ruleSet.hash===e.ruleSet.hash);-1!==t&&this.universal.splice(t)}addToMap(e,t,n){this.position+=1;const o=e[t];o?o.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}removeFromMap(e,t,n){const o=e[t],r=o.findIndex(e=>e.sel.ruleSet.hash===n.ruleSet.hash);-1!==r&&o.splice(r,1)}makeDocSelector(e){return this.position+=1,{sel:e,pos:this.position}}}function Ks(e){return"declaration"===e.type}function Gs(e){switch(e.type){case"*":return new Ts;case"#":return new js(e.identifier);case"":return new Ds(e.identifier.replace(/-/,"").toLowerCase());case".":return new Ls(e.identifier);case":":return new Ms(e.identifier);case"[]":return e.test?new Rs(e.property,e.test,e.value):new Rs(e.property);default:return null}}function qs(e){return 0===e.length?new Vs(new Error("Empty simple selector sequence.")):1===e.length?Gs(e[0]):new Ps(e.map(Gs))}function Xs(e){try{const t=function(e,t){let n=t;const{result:o,regexp:r}=xs("whiteSpaceRegEx",e,t);o&&(n=r.lastIndex);const i=[];let s,a,c=!0,l=[];return a=$s?[e]:e.split(" "),a.forEach(e=>{if(!$s){if(""===e)return;n=0}do{const t=Es(e,n);if(!t){if(c)return null;break}({end:n}=t),s&&(l[1]=s.value),l=[t.value,void 0],i.push(l),s=Ns(e,n),s&&({end:n}=s),c=s&&" "!==s.value}while(s)}),{start:t,end:n,value:i}}(e);return t?function(e){if(0===e.length)return new Vs(new Error("Empty selector."));if(1===e.length)return qs(e[0][0]);const t=[];for(let n=0;n<e.length;n+=1){const o=qs(e[n][0]),r=e[n][1];r&&(o.combinator=r),t.push(o)}return new Hs(t)}(t.value):new Vs(new Error("Empty selector"))}catch(e){return new Vs(e)}}function Js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Zs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Js(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Js(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}"function"!=typeof e.Symbol&&(e.Symbol=e=>e);const Qs={createNode:Symbol("createNode"),updateNode:Symbol("updateNode"),deleteNode:Symbol("deleteNode"),moveNode:Symbol("moveNode")};let ea,ta=!0,na=[];function oa(e=[],t){e.forEach(e=>{if(e){const{id:n,eventList:o}=e;o.forEach(e=>{const{name:o,type:r,listener:i}=e;let s;s=function(e){return!!ds[e]}(o)?ds[o]:function(e){return e.replace(/^(on)?/g,"").toLocaleLowerCase()}(o),r===us&&t.removeEventListener(n,s,i),r===ls&&(t.removeEventListener(n,s,i),t.addEventListener(n,s,i))})}})}function ra(e,t){0}function ia(t){if(!ta)return;if(ta=!1,0===na.length)return void(ta=!0);const{$nextTick:n,$options:{rootViewId:o}}=t;n(()=>{const t=function(e){const t=[];for(let n=0;n<e.length;n+=1){const o=e[n],{type:r,nodes:i,eventNodes:s,printedNodes:a}=o,c=t[t.length-1];c&&c.type===r?(c.nodes=c.nodes.concat(i),c.eventNodes=c.eventNodes.concat(s),c.printedNodes=c.printedNodes.concat(a)):t.push({type:r,nodes:i,eventNodes:s,printedNodes:a})}return t}(na),n=new e.Hippy.SceneBuilder(o);t.forEach(e=>{switch(e.type){case Qs.createNode:ra(e.printedNodes),n.create(e.nodes),oa(e.eventNodes,n);break;case Qs.updateNode:ra(e.printedNodes),n.update(e.nodes),oa(e.eventNodes,n);break;case Qs.deleteNode:ra(e.printedNodes),n.delete(e.nodes);break;case Qs.moveNode:ra(e.printedNodes),n.move(e.nodes)}}),n.build(),ta=!0,na=[]})}function sa(){if(!ea||e.__HIPPY_VUE_STYLES__){const t=function(e=[]){const t=ii();return e.map(e=>{const n=e.declarations.filter(Ks).map(function(e){return t=>{const n=e(t);return n}}(t)),o=e.selectors.map(Xs);return new Ws(o,n,e.hash)})}(e.__HIPPY_VUE_STYLES__);ea?ea.append(t):ea=new Ys(t),e.__HIPPY_VUE_STYLES__=void 0}return e.__HIPPY_VUE_DISPOSE_STYLES__&&(e.__HIPPY_VUE_DISPOSE_STYLES__.forEach(e=>{ea.delete(e)}),e.__HIPPY_VUE_DISPOSE_STYLES__=void 0),ea}function aa(e){const t={};return e.meta.component.defaultNativeProps&&Object.keys(e.meta.component.defaultNativeProps).forEach(n=>{if(void 0!==e.getAttribute(n))return;const o=e.meta.component.defaultNativeProps[n];ui(o)?t[n]=o(e):t[n]=o}),Object.keys(e.attributes).forEach(n=>{let o=e.getAttribute(n);if(!e.meta.component.attributeMaps||!e.meta.component.attributeMaps[n])return void(t[n]=o);const r=e.meta.component.attributeMaps[n];if("string"==typeof r)return void(t[r]=o);if(ui(r))return void(t[n]=r(o));const{name:i,propsValue:s,jointKey:a}=r;ui(s)&&(o=s(o)),a?(t[a]=t[a]||{},Object.assign(t[a],{[i]:o})):t[i]=o}),e.meta.component.nativeProps&&Object.assign(t,e.meta.component.nativeProps),t}function ca(e){const t=Object.create(null);try{sa().query(e).selectors.forEach(n=>{(function(e,t){return!(!t||!e)&&e.match(t)})(n,e)&&n.ruleSet.declarations.forEach(e=>{t[e.property]=e.value})})}catch(e){console.error("getDomCss Error:",e)}return t}function la(e,t,n={}){if(t.meta.skipAddToDom)return[];if(!t.meta.component)throw new Error("Specific tag is not supported yet: "+t.tagName);let o=ca(t);o=Zs(Zs({},o),t.style),ni(t,o),t.meta.component.defaultNativeStyle&&(o=Zs(Zs({},t.meta.component.defaultNativeStyle),o));const r={id:t.nodeId,pId:t.parentNode&&t.parentNode.nodeId||e,name:t.meta.component.name,props:Zs(Zs({},aa(t)),{},{style:o}),tagName:t.tagName};!function(e){if(e.props.__modalFirstChild__){const t=e.props.style;Object.keys(t).some(e=>"position"===e&&"absolute"===t[e]&&(["position","left","right","top","bottom"].forEach(e=>delete t[e]),!0))}}(r),function(e,t,n){"View"===e.meta.component.name&&("scroll"===n.overflowX&&n.overflowY,"scroll"===n.overflowY?t.name="ScrollView":"scroll"===n.overflowX&&(t.name="ScrollView",t.props.horizontal=!0,n.flexDirection=ms()?"row-reverse":"row"),"ScrollView"===t.name&&(e.childNodes.length,e.childNodes.length&&e.childNodes[0].setStyle("collapsable",!1)),n.backgroundImage&&(n.backgroundImage=di(n.backgroundImage)))}(t,r,o),function(e,t){"TextInput"===e.meta.component.name&&ms()&&(t.textAlign||(t.textAlign="right"))}(t,o);const i=function(e){let t=void 0;const n=e.events;if(n){const o=[];Object.keys(n).forEach(e=>{const{name:t,type:r,isCapture:i,listener:s}=n[e];o.push({name:t,type:r,isCapture:i,listener:s})}),t={id:e.nodeId,eventList:o}}return t}(t);let s=void 0;return[[r,n],i,s]}function ua(e,t,n,o={}){const r=[],i=[],s=[];return t.traverseChildren((t,o)=>{const[a,c,l]=la(e,t,o);a&&r.push(a),c&&i.push(c),l&&s.push(l),"function"==typeof n&&n(t)},o),[r,i,s]}function da(e,t,n={}){if(!e||!t)return;if(t.meta.skipAddToDom)return;const o=ri();if(!o)return;const{$options:{rootViewId:r,rootView:i}}=o,s=function(e,t){return 3===e.nodeId||e.id===t.slice(1-t.length)}(e,i)&&!e.isMounted,a=e.isMounted&&!t.isMounted;if(s||a){const[i,a,c]=ua(r,s?e:t,e=>{var t,n;e.isMounted||(e.isMounted=!0),t=e,n=e.nodeId,ys.set(n,t)},n);na.push({type:Qs.createNode,nodes:i,eventNodes:a,printedNodes:c}),ia(o)}}function pa(e){if(!e.isMounted)return;const t=ri(),{$options:{rootViewId:n}}=t,[o,r,i]=la(n,e);o&&(na.push({type:Qs.updateNode,nodes:[o],eventNodes:[r],printedNodes:[]}),ia(t))}function fa(e){if(!e.isMounted)return;const t=ri(),{$options:{rootViewId:n}}=t,[o,r,i]=ua(n,e);na.push({type:Qs.updateNode,nodes:o,eventNodes:r,printedNodes:i}),ia(t)}const ha=new Set;let ma,ya=!1;const ga={exitApp(){Ua.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(ya||(ya=!0,ga.initEventListener()),Ua.callNative("DeviceEventModule","setListenBackPress",!0),ha.add(e),{remove(){ga.removeListener(e)}}),removeListener(e){ha.delete(e),0===ha.size&&Ua.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){ma||(ma=ri()),ma.$on("hardwareBackPress",()=>{let e=!0;Array.from(ha).reverse().every(t=>"function"!=typeof t||!t()||(e=!1,!1)),e&&ga.exitApp()})}},va={exitApp(){},addListener:()=>({remove(){}}),removeListener(){},initEventListener(){}},ba="android"===Hippy.device.platform.OS?ga:va;let wa;const _a=new Map;class $a{constructor(e,t){this.eventName=e,this.listener=t}remove(){this.eventName&&this.listener&&(Sa(this.eventName,this.listener),this.listener=void 0)}}function Sa(e,t){if(t instanceof $a)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange");const o=_a.get(t);o&&(wa||(wa=ri()),wa.$off(n,o),_a.delete(t),_a.size<1&&Ua.callNative("NetInfo","removeListener",n))}var Oa=Object.freeze({__proto__:null,addEventListener:function(e,t){if("function"!=typeof t)return;let n=e;return"change"===n&&(n="networkStatusDidChange"),0===_a.size&&Ua.callNative("NetInfo","addListener",n),wa||(wa=ri()),wa.$on(n,t),_a.set(t,t),new $a(n,t)},removeEventListener:Sa,fetch:function(){return Ua.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(e=>e.network_info)},NetInfoRevoker:$a});function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const{on:Ea,off:Na,emit:Ca,bridge:{callNative:Aa,callNativeWithPromise:Ia,callNativeWithCallbackId:Pa},device:{platform:{OS:Ta,Localization:ja={}},screen:{scale:Da}},device:La,document:Ma,register:Fa}=Hippy,Ra={},Va=["%c[native]%c","color: red","color: auto"],Ba=function(e,t){const n={top:-1,left:-1,bottom:-1,right:-1,width:-1,height:-1};if(!e.isMounted||!e.nodeId)return Promise.resolve(n);const{nodeId:o}=e;return ai(...Va,"callUIFunction",{nodeId:o,funcName:t,params:[]}),new Promise(e=>Ma.callUIFunction(o,t,[],t=>{if(!t||"object"!=typeof t||void 0===o)return e(n);const{x:r,y:i,height:s,width:a}=t;return e({top:i,left:r,width:a,height:s,bottom:i+s,right:r+a})}))},Ua={callNative:Aa,callNativeWithPromise:Ia,callNativeWithCallbackId:Pa,UIManagerModule:Ma,ConsoleModule:e.ConsoleModule||e.console,on:Ea,off:Na,emit:Ca,PixelRatio:Da,Platform:Ta,Localization:ja,version:"unspecified",Cookie:{getAll(e){if(!e)throw new TypeError("Vue.Native.Cookie.getAll() must have url argument");return Ia.call(this,"network","getCookie",e)},set(e,t,n){if(!e)throw new TypeError("Vue.Native.Cookie.getAll() must have url argument");if("string"!=typeof t)throw new TypeError("Vue.Native.Cookie.getAll() only receive string type of keyValue");let o="";if(n){if(!(n instanceof Date))throw new TypeError("Vue.Native.Cookie.getAll() only receive Date type of expires");o=n.toUTCString()}Aa.call(this,"network","setCookie",e,t,o)}},Clipboard:{getString(){return Ia.call(this,"ClipboardModule","getString")},setString(e){Aa.call(this,"ClipboardModule","setString",e)}},get isIPhoneX(){if(!a(Ra.isIPhoneX)){let e=!1;"ios"===Ua.Platform&&(e=20!==Ua.Dimensions.screen.statusBarHeight),Ra.isIPhoneX=e}return Ra.isIPhoneX},get screenIsVertical(){return Ua.Dimensions.window.width<Ua.Dimensions.window.height},get Device(){return a(Ra.Device)||("ios"===Ta?e.__HIPPYNATIVEGLOBAL__&&e.__HIPPYNATIVEGLOBAL__.Device?Ra.Device=e.__HIPPYNATIVEGLOBAL__.Device:Ra.Device="iPhone":Ra.Device="android"===Ta?"Android device":"Unknown device"),Ra.Device},get OSVersion(){return"ios"!==Ta?null:e.__HIPPYNATIVEGLOBAL__&&e.__HIPPYNATIVEGLOBAL__.OSVersion?e.__HIPPYNATIVEGLOBAL__.OSVersion:null},get SDKVersion(){return"ios"!==Ta?null:e.__HIPPYNATIVEGLOBAL__&&e.__HIPPYNATIVEGLOBAL__.OSVersion?e.__HIPPYNATIVEGLOBAL__.SDKVersion:null},get APILevel(){return"android"!==Ta?null:e.__HIPPYNATIVEGLOBAL__&&e.__HIPPYNATIVEGLOBAL__.Platform.APILevel?e.__HIPPYNATIVEGLOBAL__.Platform.APILevel:null},get Dimensions(){const{screen:e}=La,{statusBarHeight:t}=e;return{window:La.window,screen:ka(ka({},e),{},{statusBarHeight:t})}},get OnePixel(){if(!a(Ra.OnePixel)){const e=Ua.PixelRatio;let t=Math.round(.4*e)/e;t||(t=1/e),Ra.OnePixel=t}return Ra.OnePixel},callUIFunction(...e){const[t,n,...o]=e,{nodeId:r}=t;let[i=[],s]=o;"function"==typeof i&&(s=i,i=[]),ai(...Va,"callUIFunction",{nodeId:r,funcName:n,params:i}),Ma.callUIFunction(r,n,i,s)},measureInWindow:e=>Ba(e,"measureInWindow"),measureInAppWindow:e=>"android"===Ua.Platform?Ba(e,"measureInWindow"):Ba(e,"measureInAppWindow"),getBoundingClientRect(e,t){const{nodeId:n}=e;return new Promise((o,r)=>{if(!e.isMounted||!n)return r(new Error(`getBoundingClientRect cannot get nodeId of ${e} or ${e} is not mounted`));ai(...Va,"UIManagerModule",{nodeId:n,funcName:"getBoundingClientRect",params:t}),Ma.callUIFunction(n,"getBoundingClientRect",[t],e=>{if(!e||e.errMsg)return r(new Error(e&&e.errMsg||"getBoundingClientRect error with no response"));const{x:t,y:n,width:i,height:s}=e;let a=void 0,c=void 0;return"number"==typeof n&&"number"==typeof s&&(a=n+s),"number"==typeof t&&"number"==typeof i&&(c=t+i),o({x:t,y:n,width:i,height:s,bottom:a,right:c,left:t,top:n})})})},parseColor(e,t={platform:Ua.Platform}){if(Number.isInteger(e))return e;const n=Ra.COLOR_PARSER||(Ra.COLOR_PARSER=Object.create(null));return n[e]||(n[e]=as(e)),n[e]},AsyncStorage:e.Hippy.asyncStorage,BackAndroid:ba,ImageLoader:{getSize(e){return Ia.call(this,"ImageLoaderModule","getSize",e)},prefetch(e){Aa.call(this,"ImageLoaderModule","prefetch",e)}},NetInfo:Oa,getElemCss:ca};class Ha{constructor(e){this.type=e,this.bubbles=!0,this.cancelable=!0,this.eventPhase=0,this.originalTarget=null,this.currentTarget=null,this.target=null,this.isCanceled=!1}get canceled(){return this.isCanceled}stopPropagation(){this.bubbles=!1}preventDefault(){this.cancelable&&(this.isCanceled=!0)}initEvent(e,t=!0,n=!0){return this.type=e,!1===t&&(this.bubbles=!1),!1===n&&(this.cancelable=!1),this}}class Wa{constructor(e){this.element=e,this.observers={}}getEventListeners(){return this.observers}addEventListener(e,t,n){if("string"!=typeof e)throw new TypeError("Events name(s) must be string.");if(t&&!ui(t))throw new TypeError("callback must be function.");const o=e.split(",");for(let e=0,r=o.length;e<r;e+=1){const r=o[e].trim();0;this._getEventList(r,!0).push({callback:t,options:n})}return this.observers}removeEventListener(e,t,n){if("string"!=typeof e)throw new TypeError("Events name(s) must be string.");if(t&&!ui(t))throw new TypeError("callback must be function.");const o=e.split(",");for(let e=0,r=o.length;e<r;e+=1){const r=o[e].trim();if(t){const e=this._getEventList(r,!1);if(e){const o=this._indexOfListener(e,t,n);o>=0&&e.splice(o,1),0===e.length&&(this.observers[r]=void 0)}}else this.observers[r]=void 0}return this.observers}emit(e){const{type:t}=e,n=this.observers[t];if(n)for(let t=n.length-1;t>=0;t-=1){const o=n[t];o.options&&o.options.once&&n.splice(t,1),o.options&&o.options.thisArg?o.callback.apply(o.options.thisArg,[e]):o.callback(e)}}_getEventList(e,t){let n=this.observers[e];return!n&&t&&(n=[],this.observers[e]=n),n}_indexOfListener(e,t,n){return e.findIndex(e=>n?e.callback===t&&L(e.options,n):e.callback===t)}}const za=["%c[event]%c","color: green","color: auto"];const Ya={receiveNativeEvent(e){if(ai(...za,"receiveNativeEvent",e),!e||!Array.isArray(e)||e.length<2)return;const[t,n]=e,o=ri();o&&o.$emit(t,n)},receiveComponentEvent(e,t){if(ai(...za,"receiveComponentEvent",e),!e||!t)return;const{id:n,currentId:o,nativeName:r,originalName:i,params:s={},eventPhase:a}=e,c=vs(o),l=vs(n);if(c&&l)try{if([ps.AT_TARGET,ps.BUBBLING_PHASE].indexOf(a)>-1){const e=new Ha(i);if(Object.assign(e,{eventPhase:a,nativeParams:s||{}}),"onLayout"===r){const{layout:{x:t,y:n,height:o,width:r}}=s;e.top=n,e.left=t,e.bottom=n+o,e.right=t+r,e.width=r,e.height=o}else{const{processEventData:t}=c._meta.component;t&&t(e,r,s)}c.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(r,e,s),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=Ya);let Ka=0;e.__GLOBAL__&&Number.isInteger(e.__GLOBAL__.nodeId)&&(Ka=e.__GLOBAL__.nodeId);class Ga{constructor(){this._ownerDocument=null,this._meta=null,this._isMounted=!1,this.nodeId=(Ka+=1,Ka%10==0&&(Ka+=1),Ka%10==0&&(Ka+=1),Ka),this.index=0,this.childNodes=[],this.parentNode=null,this.prevSibling=null,this.nextSibling=null}toString(){return this.constructor.name}get firstChild(){return this.childNodes.length?this.childNodes[0]:null}get lastChild(){const e=this.childNodes.length;return e?this.childNodes[e-1]:null}get meta(){return this._meta?this._meta:{}}get ownerDocument(){if(this._ownerDocument)return this._ownerDocument;let e=this;for(;"DocumentNode"!==e.constructor.name&&(e=e.parentNode,e););return this._ownerDocument=e,e}get isMounted(){return this._isMounted}set isMounted(e){this._isMounted=e}insertBefore(e,t){if(!e)throw new Error("Can't insert child.");if(!t)return this.appendChild(e);if(t.parentNode!==this)throw new Error("Can't insert child, because the reference node has a different parent.");if(e.parentNode&&e.parentNode!==this)throw new Error("Can't insert child, because it already has a different parent.");const n=this.childNodes.indexOf(t);let o=t;return t.meta.skipAddToDom&&(o=ws(this.childNodes,n)),e.parentNode=this,e.nextSibling=t,e.prevSibling=this.childNodes[n-1],this.childNodes[n-1]&&(this.childNodes[n-1].nextSibling=e),t.prevSibling=e,this.childNodes.splice(n,0,e),o.meta.skipAddToDom?da(this,e):da(this,e,{refId:o.nodeId,relativeToRef:_s})}moveChild(e,t){if(!e)throw new Error("Can't move child.");if(!t)return this.appendChild(e);if(t.parentNode!==this)throw new Error("Can't move child, because the reference node has a different parent.");if(e.parentNode&&e.parentNode!==this)throw new Error("Can't move child, because it already has a different parent.");const n=this.childNodes.indexOf(e),o=this.childNodes.indexOf(t);let r=t;if(t.meta.skipAddToDom&&(r=ws(this.childNodes,o)),o===n)return e;e.nextSibling=t,e.prevSibling=t.prevSibling,t.prevSibling=e,this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=e),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=e),this.childNodes[n-1]&&(this.childNodes[n-1].nextSibling=this.childNodes[n+1]),this.childNodes[n+1]&&(this.childNodes[n+1].prevSibling=this.childNodes[n-1]),this.childNodes.splice(n,1);const i=this.childNodes.indexOf(t);return this.childNodes.splice(i,0,e),r.meta.skipAddToDom?da(this,e):function(e,t,n={}){if(e&&e.meta&&ui(e.meta.removeChild)&&e.meta.removeChild(e,t),!t||t.meta.skipAddToDom)return;t.isMounted=!1;const o=ri(),{$options:{rootViewId:r}}=o,i={id:t.nodeId,pId:t.parentNode?t.parentNode.nodeId:r},s=[[i,n]],a=[];na.push({printedNodes:a,type:Qs.moveNode,nodes:s,eventNodes:[]}),ia(o)}(this,e,{refId:r.nodeId,relativeToRef:_s})}appendChild(e){if(!e)throw new Error("Can't append child.");if(e.parentNode&&e.parentNode!==this)throw new Error("Can't append child, because it already has a different parent.");this.lastChild!==e&&(e.isMounted&&this.removeChild(e),e.parentNode=this,this.lastChild&&(e.prevSibling=this.lastChild,this.lastChild.nextSibling=e),this.childNodes.push(e),da(this,e))}removeChild(e){if(!e)throw new Error("Can't remove child.");if(!e.parentNode)throw new Error("Can't remove child, because it has no parent.");if(e.parentNode!==this)throw new Error("Can't remove child, because it has a different parent.");if(e.meta.skipAddToDom)return;e.prevSibling&&(e.prevSibling.nextSibling=e.nextSibling),e.nextSibling&&(e.nextSibling.prevSibling=e.prevSibling),e.prevSibling=null,e.nextSibling=null;const t=this.childNodes.indexOf(e);this.childNodes.splice(t,1),function(e,t){if(!t||t.meta.skipAddToDom)return;t.isMounted=!1;const n=ri(),{$options:{rootViewId:o}}=n,r={id:t.nodeId,pId:t.parentNode?t.parentNode.nodeId:o},i=[[r,{}]],s=[];na.push({printedNodes:s,type:Qs.deleteNode,nodes:i,eventNodes:[]}),ia(n)}(0,e)}findChild(e){if(e(this))return this;if(this.childNodes.length)for(let t=0;t<this.childNodes.length;t+=1){const n=this.childNodes[t],o=this.findChild.call(n,e);if(o)return o}return null}traverseChildren(e,t){e(this,t),this.childNodes.length&&this.childNodes.forEach(t=>{this.traverseChildren.call(t,e,{})})}}function qa(){qa=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,o,r){var i=new RegExp(e,o);return t.set(i,r||t.get(e)),qi(i,n.prototype)}function o(e,n){var o=t.get(n);return Object.keys(o).reduce((function(t,n){var r=o[n];if("number"==typeof r)t[n]=e[r];else{for(var i=0;void 0===e[r[i]]&&i+1<r.length;)i++;t[n]=e[r[i]]}return t}),Object.create(null))}return Xi(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=o(n,this);var r=n.indices;r&&(r.groups=o(r,this))}return n},n.prototype[Symbol.replace]=function(n,r){if("string"==typeof r){var i=t.get(this);return e[Symbol.replace].call(this,n,r.replace(/\$<([^>]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof r){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(o(e,s)),r.apply(this,e)}))}return e[Symbol.replace].call(this,n,r)},qa.apply(this,arguments)}const Xa={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},Ja="turn",Za="rad",Qa="deg";function ec(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=qa(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return;let o="180";const[r,i,s]=n;return i&&s?o=function(e,t=Qa){const n=parseFloat(e);let o=e||"";const[,r]=e.split(".");switch(r&&r.length>2&&(o=n.toFixed(2)),t){case Ja:o=""+(360*n).toFixed(2);break;case Za:o=""+(180/Math.PI*n).toFixed(2)}return o}(i,s):r&&void 0!==Xa[r]&&(o=Xa[r]),o}function tc(e){const t=(e||"").replace(/\s+/g," ").trim(),[n,o]=t.split(/\s+(?![^(]*?\))/),r=/^([+-]?\d+\.?\d*)%$/g;return!n||r.exec(n)||o?n&&r.exec(o)?{ratio:parseFloat(o.split("%")[0])/100,color:Ua.parseColor(n)}:void 0:{color:Ua.parseColor(n)}}function nc(e,t,n){"backgroundImage"===e&&n.linearGradient&&delete n.linearGradient}const oc={textShadowOffsetX:"width",textShadowOffsetY:"height"};function rc(e,t,n){void 0===t&&(delete n[e],nc(e,0,n),function(e,t,n){"textShadowOffsetX"!==e&&"textShadowOffsetY"!==e||!n.textShadowOffset||(delete n.textShadowOffset[oc[e]],0===Object.keys(n.textShadowOffset).length&&delete n.textShadowOffset)}(e,0,n))}function ic(e,t){if("string"!=typeof e)return;const n=e.split(",");for(let e=0,o=n.length;e<o;e+=1){t(n[e].trim())}}class sc extends Ga{constructor(e){super(),this.tagName=e,this.id="",this.style={},this.scopeIdList=[],this.classList=new Set,this.attributes={},this.events={},this._emitter=null,this.beforeLoadStyle=ii()}toString(){return`${this.constructor.name}(${this._tagName})`}set tagName(e){this._tagName=Yi(e)}get tagName(){return this._tagName}get meta(){return this._meta||(this._meta=Gi(this._tagName)),this._meta}get emitter(){return this._emitter}hasAttribute(e){return!!this.attributes[e]}getAttribute(e){return this.attributes[e]}setAttribute(e,t,n={}){try{let o=e,r=t;if("boolean"==typeof this.attributes[o]&&""===r&&(r=!0),void 0===o)return void(!n.notToNative&&pa(this));switch(o){case"class":{const e=new Set(r.split(" ").filter(e=>e.trim()));if(function(e,t){if(e.size!==t.size)return!1;const n=e.values();let o=n.next().value;for(;o;){if(!t.has(o))return!1;o=n.next().value}return!0}(this.classList,e))return;return this.classList=e,void(!n.notToNative&&fa(this))}case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&fa(this));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){e.message}n&&n.textUpdate||(r=function(e){return"string"!=typeof e?e:!ei||void 0===ei.config.trimWhitespace||ei.config.trimWhitespace?e.trim().replace(/Â/g," "):e.replace(/Â/g," ")}(r)),r=function(e){return e.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)))}(r);break;case"numberOfRows":if("ios"!==Ua.Platform)return;break;case"caretColor":case"caret-color":o="caret-color",r=Ua.parseColor(r);break;case"break-strategy":o="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":o="placeholderTextColor",r=Ua.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":o="underlineColorAndroid",r=Ua.parseColor(r);break;case"nativeBackgroundAndroid":{const e=r;void 0!==e.color&&(e.color=Ua.parseColor(e.color)),o="nativeBackgroundAndroid",r=e;break}}if(this.attributes[o]===r)return;this.attributes[o]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&pa(this)}catch(e){0}}removeAttribute(e){delete this.attributes[e]}setStyles(e){e&&"object"==typeof e&&0!==Object.keys(e).length&&(Object.keys(e).forEach(t=>{const n=e[t];this.setStyle(t,n,!0)}),pa(this))}setStyle(e,t,n=!1){let{value:o,property:r}=this.beforeLoadStyle({property:e,value:t});if(void 0===t)return rc(r,o,this.style),void(n||pa(this));switch(r){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":[r,o]=function(e,t,n){delete n[e],nc(e,t,n);let o=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";const e=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),n=[];o={},e.forEach((e,t)=>{if(0===t){const t=ec(e);if(t)o.angle=t;else{o.angle="180";const t=tc(e);t&&n.push(t)}}else{const t=tc(e);t&&n.push(t)}}),o.colorStopList=n}else{const e=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);e&&e.length>1&&([,o]=e)}return[r,o]}(r,o,this.style);break;case"textShadowOffsetX":case"textShadowOffsetY":[r,o]=function(e,t=0,n){return n.textShadowOffset=n.textShadowOffset||{},Object.assign(n.textShadowOffset,{[oc[e]]:t}),["textShadowOffset",n.textShadowOffset]}(r,o,this.style);break;case"textShadowOffset":{const{x:e=0,width:t=0,y:n=0,height:r=0}=o||{};o={width:e||t,height:n||r};break}default:Object.prototype.hasOwnProperty.call(cs,r)&&(r=cs[r]),"string"==typeof o&&(o=o.trim(),o=r.toLowerCase().indexOf("color")>=0?Ua.parseColor(o):function(e,t,n){if(String.prototype.endsWith)return e.endsWith(t,n);let o=n;return(void 0===o||o>e.length)&&(o=e.length),e.slice(o-t.length,o)===t}(o,"px")?parseFloat(o.slice(0,o.length-2)):function(e){if("number"==typeof e)return e;if("string"==typeof e&&li.test(e))try{return parseFloat(e)}catch(e){}return e}(o))}null!=o&&this.style[r]!==o&&(this.style[r]=o,n||pa(this))}setNativeProps(e){if(e){const{style:t}=e;this.setStyles(t)}}repaintWithChildren(){fa(this)}setStyleScope(e){"string"!=typeof e&&(e=e.toString()),e&&!this.scopeIdList.includes(e)&&this.scopeIdList.push(e)}get styleScopeId(){return this.scopeIdList}appendChild(e){e&&e.meta.symbol===gi&&this.setText(e.text,{notToNative:!0}),super.appendChild(e)}insertBefore(e,t){e&&e.meta.symbol===gi&&this.setText(e.text,{notToNative:!0}),super.insertBefore(e,t)}moveChild(e,t){e&&e.meta.symbol===gi&&this.setText(e.text,{notToNative:!0}),super.moveChild(e,t)}removeChild(e){e&&e.meta.symbol===gi&&this.setText("",{notToNative:!0}),super.removeChild(e)}setText(e,t={}){return"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}setListenerHandledType(e,t){this.events[e]&&(this.events[e].handledType=t)}isListenerHandled(e,t){return!this.events[e]||t===this.events[e].handledType}getNativeEventName(e){let t="on"+ci(e);if(this.meta.component){const{eventNamesMap:n}=this.meta.component;n&&n[e]&&(t=n[e])}return t}addEventListener(e,t,n){if(this._emitter||(this._emitter=new Wa(this)),"scroll"===e&&!(this.getAttribute("scrollEventThrottle")>0)){const e=200;this.attributes.scrollEventThrottle=e}"function"==typeof this.polyfillNativeEvents&&({eventNames:e,callback:t,options:n}=this.polyfillNativeEvents(fs,e,t,n)),this._emitter.addEventListener(e,t,n),ic(e,e=>{const t=this.getNativeEventName(e);var n,o;this.events[t]?this.events[t]&&this.events[t].type!==ls&&(this.events[t].type=ls):this.events[t]={name:t,type:ls,listener:(n=t,o=e,e=>{const{id:t,currentId:r,params:i,eventPhase:s}=e,a={id:t,nativeName:n,originalName:o,currentId:r,params:i,eventPhase:s};Ya.receiveComponentEvent(a,e)}),isCapture:!1}}),pa(this)}removeEventListener(e,t,n){if(!this._emitter)return null;"function"==typeof this.polyfillNativeEvents&&({eventNames:e,callback:t,options:n}=this.polyfillNativeEvents(hs,e,t,n));const o=this._emitter.removeEventListener(e,t,n);return ic(e,e=>{const t=this.getNativeEventName(e);this.events[t]&&(this.events[t].type=us)}),pa(this),o}dispatchEvent(e,t,n){if(!(e instanceof Ha))throw new Error("dispatchEvent method only accept Event instance");e.currentTarget=this,e.target||(e.target=t||this,"string"==typeof e.value&&(e.target.value=e.value)),this._emitter&&this._emitter.emit(e),!e.bubbles&&n&&n.stopPropagation()}getBoundingClientRect(){return Ua.measureInWindow(this)}scrollToPosition(e=0,t=0,n=1e3){"number"==typeof e&&"number"==typeof t&&(!1===n&&(n=0),Ua.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:n}]))}scrollTo(e,t,n){let o=n;if("object"==typeof e&&e){const{left:t,top:n,behavior:r="auto"}=e;({duration:o}=e),this.scrollToPosition(t,n,"none"===r?0:o)}else this.scrollToPosition(e,t,n)}setPressed(e){Ua.callUIFunction(this,"setPressed",[e])}setHotspot(e,t){Ua.callUIFunction(this,"setHotspot",[e,t])}}class ac extends sc{constructor(e){super("comment"),this.text=e,this._meta={symbol:gi,skipAddToDom:!0}}}class cc extends Ga{constructor(e){super(),this.text=e,this._meta={symbol:gi,skipAddToDom:!0}}setText(e){this.text=e,"function"==typeof this.parentNode.setText&&this.parentNode.setText(e)}}class lc extends sc{getValue(){return new Promise(e=>Ua.callUIFunction(this,"getValue",t=>e(t.text)))}setValue(e){Ua.callUIFunction(this,"setValue",[e])}focus(){Ua.callUIFunction(this,"focusTextInput",[])}blur(){Ua.callUIFunction(this,"blurTextInput",[])}isFocused(){return new Promise(e=>Ua.callUIFunction(this,"isFocused",t=>e(t.value)))}clear(){Ua.callUIFunction(this,"clear",[])}showInputMethod(){}hideInputMethod(){}}class uc extends sc{scrollToIndex(e=0,t=0,n=!0){"number"==typeof e&&"number"==typeof t&&Ua.callUIFunction(this,"scrollToIndex",[e,t,n])}scrollToPosition(e=0,t=0,n=!0){"number"==typeof e&&"number"==typeof t&&Ua.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}class dc extends Ga{constructor(){super(),this.documentElement=new sc("document"),this.createComment=this.constructor.createComment,this.createElement=this.constructor.createElement,this.createElementNS=this.constructor.createElementNS,this.createTextNode=this.constructor.createTextNode}static createComment(e){return new ac(e)}static createElement(e){switch(e){case"input":case"textarea":return new lc(e);case"ul":return new uc(e);default:return new sc(e)}}static createElementNS(e,t){return new sc(`${e}:${t}`)}static createTextNode(e){return new cc(e)}static createEvent(e){return new Ha(e)}}var pc={create(e,t){fc(t)},update(e,t){e.data.ref!==t.data.ref&&(fc(e,!0),fc(t))},destroy(e){fc(e,!0)}};function fc(e,t){const n=e.data.ref;if(!a(n))return;const o=e.context,r=e.componentInstance||e.elm,i=o.$refs;t?Array.isArray(i[n])?_(i[n],r):i[n]===r&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(r)<0&&i[n].push(r):i[n]=[r]:i[n]=r}const hc=new pe("",{},[]),mc=["create","activate","update","remove","destroy"];function yc(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&function(e,t){if("input"!==e.tag)return!0;let n;const o=a(n=e.data)&&a(n=n.attrs)&&n.type,r=a(n=t.data)&&a(n=n.attrs)&&n.type;return o===r||kn(o)&&kn(r)}(e,t)||c(e.isAsyncPlaceholder)&&s(t.asyncFactory.error))}function gc(e,t,n){let o,r;const i={};for(o=t;o<=n;++o)r=e[o].key,a(r)&&(i[r]=o);return i}var vc={create:bc,update:bc,destroy:function(e){bc(e,hc)}};function bc(e,t){(e.data.directives||t.data.directives)&&function(e,t){const n=e===hc,o=t===hc,r=_c(e.data.directives,e.context),i=_c(t.data.directives,t.context),s=[],a=[];let c,l,u;for(c in i)l=r[c],u=i[c],l?(u.oldValue=l.value,u.oldArg=l.arg,Sc(u,"update",t,e),u.def&&u.def.componentUpdated&&a.push(u)):(Sc(u,"bind",t,e),u.def&&u.def.inserted&&s.push(u));if(s.length){const o=()=>{for(let n=0;n<s.length;n++)Sc(s[n],"inserted",t,e)};n?et(t,"insert",o):o()}a.length&&et(t,"postpatch",()=>{for(let n=0;n<a.length;n++)Sc(a[n],"componentUpdated",t,e)});if(!n)for(c in r)i[c]||Sc(r[c],"unbind",e,e,o)}(e,t)}const wc=Object.create(null);function _c(e,t){const n=Object.create(null);if(!e)return n;let o,r;for(o=0;o<e.length;o++)r=e[o],r.modifiers||(r.modifiers=wc),n[$c(r)]=r,r.def=je(t.$options,"directives",r.name);return n}function $c(e){return e.rawName||`${e.name}.${Object.keys(e.modifiers||{}).join(".")}`}function Sc(e,t,n,o,r){const i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,o,r)}catch(o){Ve(o,n.context,`directive ${e.name} ${t} hook`)}}var Oc=[pc,vc];function xc(e,t){if(!e.data.attrs&&!t.data.attrs)return;const n={},{elm:o}=t,r=e.data.attrs||{};let i=t.data.attrs||{};i.__ob__&&(i=P({},i),t.data.attrs=i),Object.keys(r).forEach(e=>{const t=r[e],o=i[e];null!=t&&null==o&&(n[e]=void 0)}),Object.keys(i).forEach(e=>{const t=r[e],o=i[e];t!==o&&(n[e]=o)}),Object.keys(n).forEach(e=>{o.setAttribute(e,n[e])})}var kc={create:xc,update:xc};function Ec(e,t){const{elm:n,data:o}=t,r=e.data;if(!(o.staticClass||o.class||r&&(r.staticClass||r.class)))return;let i=wn(t);const s=n._transitionClasses;s&&(i=$n(i,Sn(s))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}var Nc={create:Ec,update:Ec};let Cc;function Ac(e,t,n,o){(o||Cc).removeEventListener(e)}function Ic(e,t,n,o,r){n||Cc.addEventListener(e,t)}function Pc(e,t,n){const o=Cc;return function(){const n=t(...arguments);null!==n&&Ac(e,0,0,o)}}function Tc(e,t){if(!e.data.on&&!t.data.on)return;const n=t.data.on||{},o=e.data.on||{};Cc=t.elm,Qe(n,o,Ic,Ac,Pc,t.context)}var jc={create:Tc,update:Tc};function Dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Lc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dc(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Mc=O(k);function Fc(e){const t={};for(let n=0;n<e.length;n+=1)e[n]&&P(t,e[n]);return t}function Rc(e,t){const n={};return Object.keys(e).forEach(o=>{const r=e[o],i=t[o];!pi(r)&&pi(i)&&(n[Mc(o)]=void 0)}),Object.keys(t).forEach(o=>{const r=e[o],i=t[o];pi(i)||i===r||(n[Mc(o)]=i)}),n}function Vc(e,t){if(!t.elm||!function(e,t){return!(!e.data&&!t.data)&&!!(e.data.style||t.data.style||e.data.staticStyle||t.data.staticStyle)}(e,t))return;const n=Rc(e.data.staticStyle||{},t.data.staticStyle||{}),o=e.data.style||{};let r=t.data.style||{};const i=r.__ob__;Array.isArray(r)&&(r=Fc(r),t.data.style=r),i&&(r=P({},r),t.data.style=r);const s=Rc(o,r);t.elm.setStyles(Lc(Lc({},n),s))}var Bc=[kc,Nc,jc,{create:Vc,update:Vc}];function Uc(e,t){let n=!1;if(3===e.nodeId)n=!0;else if(t&&t.data&&t.data.attrs&&t.data.attrs.id){const e=ri();if(e){const{$options:{rootView:o}}=e;n=t.data.attrs.id===o.slice(1-o.length)}}n&&(function(e,t,n={}){if(!e||!e.data)return;let{elm:o}=e;if(t&&(o=t),!o)return;let r=e.data&&e.data.attrs||{};r.__ob__&&(r=P({},r),e.data.attrs=r),Object.keys(r).forEach(e=>{o.setAttribute(e,r[e],{notToNative:!!n.notToNative})})}(t,e,{notToNative:!0}),function(e,t,n={}){if(!e||!e.data)return;let{elm:o}=e;if(t&&(o=t),!o)return;const{staticStyle:r}=e.data;r&&Object.keys(r).forEach(e=>{const t=r[e];t&&o.setStyle(Mc(e),t,!!n.notToNative)});let{style:i}=e.data;if(i){const t=i.__ob__;Array.isArray(i)&&(i=Fc(i),e.data.style=i),t&&(i=P({},i),e.data.style=i),Object.keys(i).forEach(e=>{o.setStyle(Mc(e),i[e],!!n.notToNative)})}}(t,e,{notToNative:!0}),function(e,t,n={}){if(!e||!e.data)return;const{data:o}=e;if(!o.staticClass&&!o.class)return;let{elm:r}=e;if(t&&(r=t),!r)return;let i=wn(e);const s=r._transitionClasses;s&&(i=$n(i,Sn(s))),i!==r._prevClass&&(r.setAttribute("class",i,{notToNative:!!n.notToNative}),r._prevClass=i)}(t,e,{notToNative:!0}))}const Hc=function(e){let t,n;const o={},{modules:r,nodeOps:i}=e;for(t=0;t<mc.length;++t)for(o[mc[t]]=[],n=0;n<r.length;++n)a(r[n][mc[t]])&&o[mc[t]].push(r[n][mc[t]]);function u(e){const t=i.parentNode(e);a(t)&&i.removeChild(t,e)}function d(e,t,n,r,s,l,u){if(a(e.elm)&&a(l)&&(e=l[u]=me(e)),e.isRootInsert=!s,function(e,t,n,r){let i=e.data;if(a(i)){const s=a(e.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(e,!1),a(e.componentInstance))return p(e,t),f(n,e.elm,r),c(s)&&function(e,t,n,r){let i,s=e;for(;s.componentInstance;)if(s=s.componentInstance._vnode,a(i=s.data)&&a(i=i.transition)){for(i=0;i<o.activate.length;++i)o.activate[i](hc,s);t.push(s);break}f(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r))return;const d=e.data,m=e.children,v=e.tag;a(v)?(e.elm=e.ns?i.createElementNS(e.ns,v):i.createElement(v,e),g(e),h(e,m,t),a(d)&&y(e,t),f(n,e.elm,r)):c(e.isComment)?(e.elm=i.createComment(e.text),f(n,e.elm,r)):(e.elm=i.createTextNode(e.text),f(n,e.elm,r))}function p(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,m(e)?(y(e,t),g(e)):(fc(e),t.push(e))}function f(e,t,n){a(e)&&(a(n)?i.parentNode(n)===e&&i.insertBefore(e,t,n):i.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t)){0;for(let o=0;o<t.length;++o)d(t[o],n,e.elm,null,!0,t,o)}else l(e.text)&&i.appendChild(e.elm,i.createTextNode(String(e.text)))}function m(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return a(e.tag)}function y(e,n){for(let t=0;t<o.create.length;++t)o.create[t](hc,e);t=e.data.hook,a(t)&&(a(t.create)&&t.create(hc,e),a(t.insert)&&n.push(e))}function g(e){let t;if(a(t=e.fnScopeId))i.setStyleScope(e.elm,t);else{let n=e;for(;n;)a(t=n.context)&&a(t=t.$options._scopeId)&&i.setStyleScope(e.elm,t),n=n.parent}a(t=Bt)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&i.setStyleScope(e.elm,t)}function b(e,t,n,o,r,i){for(;o<=r;++o)d(n[o],i,e,t,!1,n,o)}function w(e){let t,n;const r=e.data;if(a(r))for(a(t=r.hook)&&a(t=t.destroy)&&t(e),t=0;t<o.destroy.length;++t)o.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function _(e,t,n){for(;t<=n;++t){const n=e[t];a(n)&&(a(n.tag)?($(n),w(n)):u(n.elm))}}function $(e,t){if(a(t)||a(e.data)){let n;const r=o.remove.length+1;for(a(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&$(n,t),n=0;n<o.remove.length;++n)o.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else u(e.elm)}function S(e,t,n,o){for(let r=n;r<o;r++){const n=t[r];if(a(n)&&yc(e,n))return r}}function O(e,t,n,r,l,u){if(e===t)return;a(t.elm)&&a(r)&&(t=r[l]=me(t));const p=t.elm=e.elm;if(c(e.isAsyncPlaceholder))return void(a(t.asyncFactory.resolved)?E(e.elm,t,n):t.isAsyncPlaceholder=!0);if(c(t.isStatic)&&c(e.isStatic)&&t.key===e.key&&(c(t.isCloned)||c(t.isOnce)))return void(t.componentInstance=e.componentInstance);let f;const h=t.data;a(h)&&a(f=h.hook)&&a(f=f.prepatch)&&f(e,t);const y=e.children,g=t.children;if(a(h)&&m(t)){for(f=0;f<o.update.length;++f)o.update[f](e,t);a(f=h.hook)&&a(f=f.update)&&f(e,t)}s(t.text)?a(y)&&a(g)?y!==g&&function(e,t,n,o,r){let c,l,u,p,f=0,h=0,m=t.length-1,y=t[0],g=t[m],v=n.length-1,w=n[0],$=n[v];const x=!r;for(0;f<=m&&h<=v;)s(y)?y=t[++f]:s(g)?g=t[--m]:yc(y,w)?(O(y,w,o,n,h),y=t[++f],w=n[++h]):yc(g,$)?(O(g,$,o,n,v),g=t[--m],$=n[--v]):yc(y,$)?(O(y,$,o,n,v),x&&i.insertBefore(e,y.elm,i.nextSibling(g.elm)),y=t[++f],$=n[--v]):yc(g,w)?(O(g,w,o,n,h),x&&i.insertBefore(e,g.elm,y.elm),g=t[--m],w=n[++h]):(s(c)&&(c=gc(t,f,m)),l=a(w.key)?c[w.key]:S(w,t,f,m),s(l)?d(w,o,e,y.elm,!1,n,h):(u=t[l],yc(u,w)?(O(u,w,o,n,h),t[l]=void 0,x&&i.insertBefore(e,u.elm,y.elm)):d(w,o,e,y.elm,!1,n,h)),w=n[++h]);f>m?(p=s(n[v+1])?null:n[v+1].elm,b(e,p,n,h,v,o)):h>v&&_(t,f,m)}(p,y,g,n,u):a(g)?(a(e.text)&&i.setTextContent(p,""),b(p,null,g,0,g.length-1,n)):a(y)?_(y,0,y.length-1):a(e.text)&&i.setTextContent(p,""):e.text!==t.text&&i.setTextContent(p,t.text),a(h)&&a(f=h.hook)&&a(f=f.postpatch)&&f(e,t)}function x(e,t,n){if(c(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(let e=0;e<t.length;++e)t[e].data.hook.insert(t[e])}const k=v("attrs,class,staticClass,staticStyle,key");function E(e,t,n,o){let r;const{tag:i,data:s,children:l}=t;if(o=o||s&&s.pre,t.elm=e,c(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(a(s)&&(a(r=s.hook)&&a(r=r.init)&&r(t,!0),a(r=t.componentInstance)))return p(t,n),!0;if(a(i)){if(a(l))if(e.hasChildNodes())if(a(r=s)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{let t=!0,r=e.firstChild;for(let e=0;e<l.length;e++){if(!r||!E(r,l[e],n,o)){t=!1;break}r=r.nextSibling}if(!t||r)return!1}else h(t,l,n);if(a(s)){let e=!1;for(const o in s)if(!k(o)){e=!0,y(t,n);break}!e&&s.class&&Xe(s.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r){if(s(t))return void(a(e)&&w(e));let l=!1;const u=[];if(s(e))l=!0,d(t,u);else{const s=a(e.nodeType);if(!s&&yc(e,t))O(e,t,u,null,null,r);else{if(s){if(1===e.nodeType&&e.hasAttribute("data-server-rendered")&&(e.removeAttribute("data-server-rendered"),n=!0),c(n)&&E(e,t,u))return x(t,u,!0),e;p=e,e=new pe(i.tagName(p).toLowerCase(),{},[],void 0,p)}const r=e.elm,l=i.parentNode(r);if(d(t,u,r._leaveCb?null:l,i.nextSibling(r)),a(t.parent)){let e=t.parent;const n=m(t);for(;e;){for(let t=0;t<o.destroy.length;++t)o.destroy[t](e);if(e.elm=t.elm,n){for(let t=0;t<o.create.length;++t)o.create[t](hc,e);const t=e.data.hook.insert;if(t.merged)for(let e=1;e<t.fns.length;e++)t.fns[e]()}else fc(e);e=e.parent}}a(l)?_([e],0,0):a(e.tag)&&w(e)}}var p;return x(t,u,l),t.elm}}({nodeOps:Object.freeze({__proto__:null,namespaceMap:{},createElement:function(e,t){const n=dc.createElement(e);return Uc(n,t),n},createElementNS:function(e,t){return dc.createElementNS(e,t)},createTextNode:function(e){return dc.createTextNode(e)},createComment:function(e){return dc.createComment(e)},insertBefore:function(e,t,n){e.childNodes.indexOf(t)>=0?e.moveChild(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t),bs(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.setText(t)},setAttribute:function(e,t,n){e.setAttribute(t,n)},setStyleScope:function(e,t){e.setStyleScope(t)}}),modules:Bc.concat(Oc)});function Wc(e,t){t!==e.attributes.defaultValue&&(e.attributes.defaultValue=t,e.setAttribute("text",t,{textUpdate:!0}))}let zc=function(e,t,n){t!==n&&e.setAttribute("defaultValue",t,{textUpdate:!0})};const Yc={inserted(e,t){"ios"===Ua.Platform&&zc!==Wc&&(zc=Wc),"TextInput"===e.meta.component.name&&(e._vModifiers=t.modifiers,e.attributes.defaultValue=t.value,t.modifiers.lazy||e.addEventListener("change",({value:t})=>{const n=new Ha("input");n.value=t,e.dispatchEvent(n)}))},update(e,{value:t,oldValue:n}){e.value=t,zc(e,t,n)}};function Kc(e,t,n,o){t?(n.data.show=!0,e.setStyle("display",o)):e.setStyle("display","none")}const Gc={bind(e,{value:t},n){void 0===e.style.display&&(e.style.display="block");const o="none"===e.style.display?"":e.style.display;e.__vOriginalDisplay=o,Kc(e,t,n,o)},update(e,{value:t,oldValue:n},o){!t!=!n&&Kc(e,t,o,e.__vOriginalDisplay)},unbind(e,t,n,o,r){r||(e.style.display=e.__vOriginalDisplay)}};var qc=Object.freeze({__proto__:null,model:Yc,show:Gc});const Xc=['%c[Hippy-Vue "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"],Jc=new dc;dn.$document=Jc,dn.prototype.$document=Jc,dn.$Document=dc,dn.$Event=Ha,dn.config.mustUseProp=function(e,t,n){const o=Gi(e);return!!o.mustUseProp&&o.mustUseProp(t,n)},dn.config.isReservedTag=Hi,dn.config.isUnknownElement=function(e){return t=e,!Wi.has(Yi(t));var t},dn.compile=Gr,dn.registerElement=Ki,P(dn.options.directives,qc),dn.prototype.__patch__=Hc,dn.prototype.$mount=function(e,t){const n=this.$options;if(!n.render){const{template:e}=n;if(e&&"string"!=typeof e)return se("invalid template option: "+e,this),this;if(e){const{render:t,staticRenderFns:o}=Gr(e,{delimiters:n.delimiters,comments:n.comments},this);n.render=t,n.staticRenderFns=o}}return function(e,t,n){let o;return e.$el=t,e.$options.render||(e.$options.render=fe),Wt(e,"beforeMount"),o=()=>{e._update(e._render(),n)},new en(e,o,T,{before(){e._isMounted&&!e._isDestroyed&&Wt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Wt(e,"mounted")),e}(this,e,t)},dn.prototype.$start=function(e,t){var n;oi(this),ui(this.$options.beforeLoadStyle)&&(n=this.$options.beforeLoadStyle,ti=n),Wi.forEach(e=>{dn.component(e.meta.component.name,e.meta.component)}),Fa.regist(this.$options.appName,n=>{const{__instanceId__:o}=n;if(this.$options.$superProps=n,this.$options.rootViewId=o,ai(...Xc,"Start",this.$options.appName,"with rootViewId",o,n),this.$el){this.$destroy();oi(new(dn.extend(this.$options))(this.$options))}if(ui(t)&&t(this,n),this.$mount(),"ios"===Ua.Platform){const e=function(e={}){const{iPhone:t}=e;let n={};if(t&&t.statusBar&&(n=t.statusBar),n.disabled)return null;const o=new sc("div"),{statusBarHeight:r}=Ua.Dimensions.screen;Ua.screenIsVertical?o.setStyle("height",r):o.setStyle("height",0);let i=4282431619;if("number"==typeof n.backgroundColor&&({backgroundColor:i}=n),o.setStyle("backgroundColor",i),"string"==typeof n.backgroundImage){const t=new sc("img");t.setStyle("width",Ua.Dimensions.screen.width),t.setStyle("height",r),t.setAttribute("src",e.statusBarOpts.backgroundImage),o.appendChild(t)}return o.addEventListener("layout",()=>{Ua.screenIsVertical?o.setStyle("height",r):o.setStyle("height",0)}),o}(this.$options);e&&(this.$el.childNodes.length?this.$el.insertBefore(e,this.$el.childNodes[0]):this.$el.appendChild(e))}ui(e)&&e(this,n)})};let Zc=1;dn.component=function(e,t){return t?(p(t)&&(t.name=t.name||e,t=this.options._base.extend(t)),this.options.components[e]=t,t):this.options.components[e]},dn.extend=function(e){e=e||{};const t=this,n=t.cid,o=e._Ctor||(e._Ctor={});if(o[n])return o[n];const r=e.name||t.options.name,i=function(e){this._init(e)};return(i.prototype=Object.create(t.prototype)).constructor=i,Zc+=1,i.cid=Zc,i.options=Te(t.options,e),i.super=t,i.options.props&&function(e){const{props:t}=e.options;Object.keys(t).forEach(t=>nn(e.prototype,"_props",t))}(i),i.options.computed&&function(e){const{computed:t}=e.options;Object.keys(t).forEach(n=>sn(e.prototype,n,t[n]))}(i),i.extend=t.extend,i.mixin=t.mixin,i.use=t.use,R.forEach(e=>{i[e]=t[e]}),r&&(i.options.components[r]=i),i.superOptions=t.options,i.extendOptions=e,i.sealedOptions=P({},i.options),o[n]=i,i},dn.Native=Ua,dn.getApp=ri,dn.use((function(){Object.keys(Vi).forEach(e=>{Ki(e,Vi[e])})})),B.devtools&&ne&&ne.emit("init",dn);dn.config._setBeforeRenderToNative=(e,t)=>{ui(e)&&(1===t?ni=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))};const Qc=new Proxy(dn,{construct(e,t){const n=new e(...t);return n}});function el(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}let tl;e.process=e.process||{},e.process.env=e.process.env||{},e.WebSocket=class{constructor(e,t,n){tl=ri(),this.url=e,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);const o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?el(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):el(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);if(tl.$on("hippyWebsocketEvents",this.onWebSocketEvent),!e||"string"!=typeof e)throw new TypeError("Invalid WebSocket url");Array.isArray(t)&&t.length>0?o["Sec-WebSocket-Protocol"]=t.join(","):"string"==typeof t&&(o["Sec-WebSocket-Protocol"]=t);const r={headers:o,url:e};Ua.callNativeWithPromise("websocket","connect",r).then(e=>{e&&0===e.code&&"number"==typeof e.id&&(this.webSocketId=e.id)})}close(e,t){1===this.readyState&&(this.readyState=2,Ua.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}send(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: "+typeof e);Ua.callNative("websocket","send",{id:this.webSocketId,data:e})}}set onopen(e){this.webSocketCallbacks.onOpen=e}set onclose(e){this.webSocketCallbacks.onClose=e}set onerror(e){this.webSocketCallbacks.onError=e}set onmessage(e){this.webSocketCallbacks.onMessage=e}onWebSocketEvent(e){if("object"!=typeof e||e.id!==this.webSocketId)return;const t=e.type;if("string"!=typeof t)return;"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,tl.$off("hippyWebsocketEvents",this.onWebSocketEvent));const n=this.webSocketCallbacks[t];ui(n)&&n(e.data)}},Qc.config.silent=!1,Qc.config.trimWhitespace=!0,function(e){ei=e}(Qc)}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/timers-browserify/main.js").setImmediate,n("./node_modules/process/browser.js"))},"./node_modules/process/browser.js":function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var c,l=[],u=!1,d=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=a(p);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d<t;)c&&c[d].run();d=-1,t=l.length}c=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||u||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,r,i,s,a,c=1,l={},u=!1,d=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},o=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,o=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(h,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&h(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),o=function(t){e.postMessage(s+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return l[c]=r,o(c),c++},p.clearImmediate=f}function f(e){delete l[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/timers-browserify/main.js":function(e,t,n){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./scripts/vendor.js":function(e,t,n){n("../../packages/hippy-vue/dist/index.js"),n("../../packages/hippy-vue-native-components/dist/index.js")},0:function(e,t,n){e.exports=n}}); |