commit 6fadeaeeabec854e9a5b1cfdfca9ba610335ae34 Author: Wannz <42@hiwannz.com> Date: Wed Jun 8 11:57:35 2022 +0800 updated diff --git a/README.md b/README.md new file mode 100755 index 0000000..b06549d --- /dev/null +++ b/README.md @@ -0,0 +1,93 @@ +

+ + + +

+ +

+ FinClip Uniapp DEMO
+

+

+ 本项目提供在 Uniapp 环境中运行小程序的 DEMO 样例 +

+ +

+ 👉 https://www.finclip.com/ 👈 +

+ +
+ + + + + + + + + + + +
+ +

+ +

+ +[官方网站](https://www.finclip.com/) | [示例小程序](https://www.finclip.com/#/market) | [开发文档](https://www.finclip.com/mop/document/) | [部署指南](https://www.finclip.com/mop/document/introduce/quickStart/cloud-server-deployment-guide.html) | [SDK 集成指南](https://www.finclip.com/mop/document/introduce/quickStart/intergration-guide.html) | [API 列表](https://www.finclip.com/mop/document/develop/api/overview.html) | [组件列表](https://www.finclip.com/mop/document/develop/component/overview.html) | [隐私承诺](https://www.finclip.com/mop/document/operate/safety.html) + +
+ +----- +## 🤔 FinClip 是什么? + +有没有**想过**,开发好的微信小程序能放在自己的 APP 里直接运行,只需要开发一次小程序,就能在不同的应用中打开它,是不是很不可思议? + +有没有**试过**,在自己的 APP 中引入一个 SDK ,应用中不仅可以打开小程序,还能自定义小程序接口,修改小程序样式,是不是觉得更不可思议? + +这就是 FinClip ,就是有这么多不可思议! + +## ⚙️ 实现方式 +### 1. 实现方式 +本 DEMO 使用了 Uniapp 中的 [插件功能](https://nativesupport.dcloud.net.cn/NativePlugin/course/android) 集成 FinClip SDK,实现在 Uniapp 导出的 App 中运行 FinClip 小程序。 + +
+ + +
+ +### 2. 实现原理 +本项目资源使用`HBuilderX 3.4.7.20220422`开发,只集成了`FinClip 核心SDK`,如需要更多功能,可使用 iOS/Android 原工程重新生成插件。 + +### 3. 插件架构 +
+ +
+ + +## 📋 集成文档 +[点击这里](https://www.finclip.com/mop/document/runtime-sdk/uniapp/integrate.html) 查看快速集成文档 + +## 🔗 常用链接 +以下内容是您在 FinClip 进行开发与体验时,常见的问题与指引信息 + +- [FinClip 官网](https://www.finclip.com/#/home) +- [示例小程序](https://www.finclip.com/#/market) +- [文档中心](https://www.finclip.com/mop/document/) +- [SDK 部署指南](https://www.finclip.com/mop/document/introduce/quickStart/intergration-guide.html) +- [小程序代码结构](https://www.finclip.com/mop/document/develop/guide/structure.html) +- [iOS 集成指引](https://www.finclip.com/mop/document/runtime-sdk/ios/ios-integrate.html) +- [Android 集成指引](https://www.finclip.com/mop/document/runtime-sdk/android/android-integrate.html) +- [Flutter 集成指引](https://www.finclip.com/mop/document/runtime-sdk/flutter/flutter-integrate.html) + +## ☎️ 联系我们 +微信扫描下面二维码,关注官方公众号 **「凡泰极客」**,获取更多精彩内容。
+ + +微信扫描下面二维码,邀请进官方微信交流群(加好友备注:finclip 咨询),获取更多精彩内容。
+ + +## Stargazers +[![Stargazers repo roster for @finogeeks/finclip-uniapp-demo](https://reporoster.com/stars/finogeeks/finclip-uniapp-demo)](https://github.com/finogeeks/finclip-uniapp-demo/stargazers) + +## Forkers +[![Forkers repo roster for @finogeeks/finclip-uniapp-demo](https://reporoster.com/forks/finogeeks/finclip-uniapp-demo)](https://github.com/finogeeks/finclip-uniapp-demo/network/members) diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/executionHistory/executionHistory.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/executionHistory/executionHistory.bin new file mode 100755 index 0000000..c1e5ff0 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/executionHistory/executionHistory.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/executionHistory/executionHistory.lock b/andorid/FinClip-Uniapp-demo/.gradle/6.5/executionHistory/executionHistory.lock new file mode 100755 index 0000000..652c355 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/executionHistory/executionHistory.lock differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileChanges/last-build.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileChanges/last-build.bin new file mode 100755 index 0000000..f76dd23 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileChanges/last-build.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileContent/fileContent.lock b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileContent/fileContent.lock new file mode 100755 index 0000000..a2887dc Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileContent/fileContent.lock differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/fileHashes.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/fileHashes.bin new file mode 100755 index 0000000..5a50ac2 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/fileHashes.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/fileHashes.lock b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/fileHashes.lock new file mode 100755 index 0000000..20b0356 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/fileHashes.lock differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/resourceHashesCache.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/resourceHashesCache.bin new file mode 100755 index 0000000..4b0df5c Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/fileHashes/resourceHashesCache.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/gc.properties b/andorid/FinClip-Uniapp-demo/.gradle/6.5/gc.properties new file mode 100755 index 0000000..e69de29 diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/classAnalysis.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/classAnalysis.bin new file mode 100755 index 0000000..c6b8010 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/classAnalysis.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/jarAnalysis.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/jarAnalysis.bin new file mode 100755 index 0000000..0748b3b Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/jarAnalysis.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/javaCompile.lock b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/javaCompile.lock new file mode 100755 index 0000000..044fca6 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/javaCompile.lock differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/taskHistory.bin b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/taskHistory.bin new file mode 100755 index 0000000..50b7573 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/6.5/javaCompile/taskHistory.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100755 index 0000000..f7dae63 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/cache.properties b/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/cache.properties new file mode 100755 index 0000000..d2437ae --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Mon Apr 18 14:33:23 CST 2022 +gradle.version=6.5 diff --git a/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/outputFiles.bin b/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100755 index 0000000..688f582 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/checksums/checksums.lock b/andorid/FinClip-Uniapp-demo/.gradle/checksums/checksums.lock new file mode 100755 index 0000000..de73b54 Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/checksums/checksums.lock differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/checksums/md5-checksums.bin b/andorid/FinClip-Uniapp-demo/.gradle/checksums/md5-checksums.bin new file mode 100755 index 0000000..80d30ce Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/checksums/md5-checksums.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/checksums/sha1-checksums.bin b/andorid/FinClip-Uniapp-demo/.gradle/checksums/sha1-checksums.bin new file mode 100755 index 0000000..d43aaae Binary files /dev/null and b/andorid/FinClip-Uniapp-demo/.gradle/checksums/sha1-checksums.bin differ diff --git a/andorid/FinClip-Uniapp-demo/.gradle/vcs-1/gc.properties b/andorid/FinClip-Uniapp-demo/.gradle/vcs-1/gc.properties new file mode 100755 index 0000000..e69de29 diff --git a/andorid/FinClip-Uniapp-demo/.idea/compiler.xml b/andorid/FinClip-Uniapp-demo/.idea/compiler.xml new file mode 100755 index 0000000..61a9130 --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/andorid/FinClip-Uniapp-demo/.idea/gradle.xml b/andorid/FinClip-Uniapp-demo/.idea/gradle.xml new file mode 100755 index 0000000..4d4ccab --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.idea/gradle.xml @@ -0,0 +1,23 @@ + + + + + + + \ No newline at end of file diff --git a/andorid/FinClip-Uniapp-demo/.idea/jarRepositories.xml b/andorid/FinClip-Uniapp-demo/.idea/jarRepositories.xml new file mode 100755 index 0000000..fb22619 --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.idea/jarRepositories.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/andorid/FinClip-Uniapp-demo/.idea/misc.xml b/andorid/FinClip-Uniapp-demo/.idea/misc.xml new file mode 100755 index 0000000..d3f3912 --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + \ No newline at end of file diff --git a/andorid/FinClip-Uniapp-demo/.idea/vcs.xml b/andorid/FinClip-Uniapp-demo/.idea/vcs.xml new file mode 100755 index 0000000..b2bdec2 --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/andorid/FinClip-Uniapp-demo/.idea/workspace.xml b/andorid/FinClip-Uniapp-demo/.idea/workspace.xml new file mode 100755 index 0000000..5cc0f2d --- /dev/null +++ b/andorid/FinClip-Uniapp-demo/.idea/workspace.xml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ','',""].join(""),e.BubbleTooltip=_,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n','','',''].join(""),e.default=w}]).default}); +//# sourceMappingURL=quill.min.js.map \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappquillimageresize.js b/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappquillimageresize.js new file mode 100755 index 0000000..7c788a5 --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappquillimageresize.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ImageResize=e():t.ImageResize=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=39)}([function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var o=n(22),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();t.exports=i},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=o}var o=9007199254740991;t.exports=n},function(t,e,n){var o=n(50),r=n(55),i=n(87),u=i&&i.isTypedArray,c=u?r(u):o;t.exports=c},function(t,e,n){function o(t){return u(t)?r(t,!0):i(t)}var r=n(44),i=n(51),u=n(12);t.exports=o},function(t,e,n){"use strict";e.a={modules:["DisplaySize","Toolbar","Resize"]}},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return c});var u=n(9),c=function(t){function e(){var t,n,i,u;o(this,e);for(var c=arguments.length,a=Array(c),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(f[t]||t)(n)}),n.modules.forEach(function(t){t.onCreate()}),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach(function(t){t.onUpdate()})},this.removeModules=function(){n.modules.forEach(function(t){t.onDestroy()}),n.modules=[]},this.handleClick=function(t){if(t.target&&t.target.tagName&&"IMG"===t.target.tagName.toUpperCase()){if(n.img===t.target)return;n.img&&n.hide(),n.show(t.target)}else n.img&&n.hide()},this.show=function(t){n.img=t,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),n.overlay.classList.add("ql-image-overlay"),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var t=n.quill.root.parentNode,e=n.img.getBoundingClientRect(),o=t.getBoundingClientRect();Object.assign(n.overlay.style,{left:e.left-o.left-1+t.scrollLeft+"px",top:e.top-o.top+t.scrollTop+"px",width:e.width+"px",height:e.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(t){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(e){n.quill.root.style[e]=t,document.documentElement.style[e]=t})},this.checkImage=function(t){n.img&&(46!=t.keyCode&&8!=t.keyCode||window.Quill.find(n.img).deleteAt(0),n.hide())},this.quill=e;var c=!1;r.modules&&(c=r.modules.slice()),this.options=i()({},r,u.a),!1!==c&&(this.options.modules=c),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};e.default=p,window.Quill&&window.Quill.register("modules/imageResize",p)},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?n[r-1]:void 0,c=r>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(r--,u):void 0,c&&i(n[0],n[1],c)&&(u=r<3?void 0:u,r=1),e=Object(e);++o-1}var r=n(4);t.exports=o},function(t,e,n){function o(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}var r=n(4);t.exports=o},function(t,e,n){function o(){this.size=0,this.__data__={hash:new r,map:new(u||i),string:new r}}var r=n(40),i=n(3),u=n(15);t.exports=o},function(t,e,n){function o(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).get(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).has(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}var r=n(6);t.exports=o},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){var o=n(22),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===r,c=u&&o.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(e,n(14)(t))},function(t,e){function n(t){return r.call(t)}var o=Object.prototype,r=o.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,u=-1,c=i(o.length-e,0),a=Array(c);++u0){if(++e>=o)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var o=800,r=16,i=Date.now;t.exports=n},function(t,e,n){function o(){this.__data__=new r,this.size=0}var r=n(3);t.exports=o},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function o(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length{var _=Object.create;var f=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var S=e=>f(e,"__esModule",{value:!0});var y=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var B=(e,a,s,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of D(a))!v.call(e,l)&&(s||l!=="default")&&f(e,l,{get:()=>a[l],enumerable:!(o=E(a,l))||o.enumerable});return e},k=(e,a)=>B(S(f(e!=null?_(w(e)):{},"default",!a&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var b=y((P,m)=>{m.exports=Vue});var d={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let a={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),o=s[1];o&&(s[1]=a[o]||o),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(e){let a=this.locale,s=a.split("-")[0],o=this.fallbackLocale,l=this.localization;function r(c){return l[c]||{}}return r("messages")[e]||r(a)[e]||r(s)[e]||r(o)[e]||e}}},p={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:a,runtime:s,data:o={},useGlobalEvent:l}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=l,this.data=JSON.parse(JSON.stringify(o)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let r=this,c=function(i){let g=i.data&&i.data.__message;!g||r.__onMessageCallback&&r.__onMessageCallback(g.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",c);else{let i=new BroadcastChannel(this.__page);i.onmessage=c}},postMessage(e={},a=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:a}})),o=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,o):new BroadcastChannel(o).postMessage(s);else{let l=plus.webview.getWebviewById(o);l&&l.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(e){this.__onMessageCallback=e}}};var n=k(b());var C=(e,a)=>{let s=e.__vccOpts||e;for(let[o,l]of a)s[o]=l;return s};var O={content:{"":{flex:1,alignItems:"center",justifyContent:"center",backgroundColor:"#000000"}},barcode:{"":{position:"absolute",left:0,top:0,right:0,bottom:0,zIndex:1}},"set-flash":{"":{alignItems:"center",justifyContent:"center",transform:"translateY(80px)",zIndex:2}},"image-flash":{"":{width:26,height:26,marginBottom:2}},"image-flash-text":{"":{fontSize:10,color:"#FFFFFF"}}},t=plus.barcode,A={qrCode:[t.QR,t.AZTEC,t.MAXICODE],barCode:[t.EAN13,t.EAN8,t.UPCA,t.UPCE,t.CODABAR,t.CODE128,t.CODE39,t.CODE93,t.ITF,t.RSS14,t.RSSEXPANDED],datamatrix:[t.DATAMATRIX],pdf417:[t.PDF417]},M={[t.QR]:"QR_CODE",[t.EAN13]:"EAN_13",[t.EAN8]:"EAN_8",[t.DATAMATRIX]:"DATA_MATRIX",[t.UPCA]:"UPC_A",[t.UPCE]:"UPC_E",[t.CODABAR]:"CODABAR",[t.CODE39]:"CODE_39",[t.CODE93]:"CODE_93",[t.CODE128]:"CODE_128",[t.ITF]:"CODE_25",[t.PDF417]:"PDF_417",[t.AZTEC]:"AZTEC",[t.RSS14]:"RSS_14",[t.RSSEXPANDED]:"RSSEXPANDED"},I={mixins:[p,d],data:{filters:[0,2,1],backgroud:"#000000",frameColor:"#118ce9",scanbarColor:"#118ce9",enabledFlash:!1,flashImage0:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABjklEQVRoQ+1ZbVHEQAx9TwE4ABTcOQAknANQAKcAUAAOAAXgAHAACsDCKQiTmbYDzJZtNt2bFrJ/m6+Xl2yyU2LmhzOPH/8PgIjcADirxNyapNoffMwMiMgzgMPBHmyCLySPLCoBwJKtAbJbYaBmD1yRvBwAtBMxl5DF+DZkiwCIyBLAzsgBbki+Wm2WAlCaL6zOMvKnJO+sNksB7ALQbO1ZHfbIv5FUVs2nCIB6EZETALdmj2mFY5I6X8ynGEADQllYmL1+VzBfnV/VvQB0aj45ARyQ/Ci14QLQsOBZLe5JaikWnzEA7AN4L4hgA2Dpyb76dANwsOCq/TZhASAYKGie0a7R1lDPI0ebtF0NUi+4yfdAtxr3PEMnD6BbD0QkNfACQO05EAwMuaBqDrIVycdmTpwDuP4R0OR7QFftVRP0g+49cwOQq4DJMxAAchmofY3m/EcJBQOZbTRKKJeBKKEoIePvpFRJ1VzmciUccyCa+C81cerBkuuB7sGTE/zt+yhN7AnAqxsAvBn06n8CkyPwMZKwm+UAAAAASUVORK5CYII=",flashImage1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAA3kvI3lfY2k/VAl+43k/U3k/Q4k/M3kvI3k/M4k/Q4lPU2lPU2k/Vdq843k/WWSpNKAAAAD3RSTlMAwD+QINCAcPBgUDDgoBAE044kAAAAdklEQVQ4y2OgOrD/DwffUSTkERIfyZXAtOMbca7iVoKDDSgSbAijJqBI8J2HiX9FM2s+TOITmgQrTEIATYIJJuEA5mJ68S+Gg/0hEi0YEoxQK2gs0WyPQyKBGYeEAhPtJRaw45AIccXpwVEJekuwQyQWMFAfAACeDBJY9aXa3QAAAABJRU5ErkJggg==",autoDecodeCharSet:!1,localization:{en:{fail:"Recognition failure","flash.on":"Tap to turn light on","flash.off":"Tap to turn light off"},zh:{fail:"\u8BC6\u522B\u5931\u8D25","flash.on":"\u8F7B\u89E6\u7167\u4EAE","flash.off":"\u8F7B\u89E6\u5173\u95ED"}}},onLoad(){let e=this.data,a=e.scanType;this.autoDecodeCharSet=e.autoDecodeCharSet;let s=[];Array.isArray(a)&&a.length&&a.forEach(o=>{let l=A[o];l&&(s=s.concat(l))}),s.length||(s=s.concat(A.qrCode).concat(A.barCode).concat(A.datamatrix).concat(A.pdf417)),this.filters=s,this.onMessage(o=>{this.gallery()})},onUnload(){this.cancel()},methods:{start(){this.$refs.barcode.start({conserve:!0,filename:"_doc/barcode/"})},scan(e){t.scan(e,(a,s,o,l)=>{this.scanSuccess(a,s,o,l)},()=>{plus.nativeUI.toast(this.localize("fail"))},this.filters,this.autoDecodeCharSet)},cancel(){this.$refs.barcode.cancel()},gallery(){plus.gallery.pick(e=>{this.scan(e)},e=>{e.code!==(weex.config.env.platform.toLowerCase()==="android"?12:-2)&&plus.nativeUI.toast(this.localize("fail"))},{multiple:!1,system:!1,filename:"_doc/uniapp_temp/gallery/",permissionAlert:!0})},onmarked(e){var a=e.detail;this.scanSuccess(a.code,a.message,a.file,a.charSet)},scanSuccess(e,a,s,o){this.postMessage({event:"marked",detail:{scanType:M[e],result:a,charSet:o||"utf8",path:s||""}})},onerror(e){this.postMessage({event:"fail",message:JSON.stringify(e)})},setFlash(){this.enabledFlash=!this.enabledFlash,this.$refs.barcode.setFlash(this.enabledFlash)}}};function N(e,a,s,o,l,r){let c=(0,n.resolveComponent)("barcode");return(0,n.openBlock)(),(0,n.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:!0,style:{flexDirection:"column"}},[(0,n.createElementVNode)("view",{class:"content"},[(0,n.createVNode)(c,{class:"barcode",ref:"barcode",autostart:"true",backgroud:e.backgroud,frameColor:e.frameColor,scanbarColor:e.scanbarColor,filters:e.filters,autoDecodeCharset:e.autoDecodeCharSet,onMarked:r.onmarked,onError:r.onerror},null,8,["backgroud","frameColor","scanbarColor","filters","autoDecodeCharset","onMarked","onError"]),(0,n.createElementVNode)("view",{class:"set-flash",onClick:a[0]||(a[0]=(...i)=>r.setFlash&&r.setFlash(...i))},[(0,n.createElementVNode)("u-image",{class:"image-flash",src:e.enabledFlash?e.flashImage1:e.flashImage0,resize:"stretch"},null,8,["src"]),(0,n.createElementVNode)("u-text",{class:"image-flash-text"},(0,n.toDisplayString)(e.enabledFlash?e.localize("flash.off"):e.localize("flash.on")),1)])])])}var h=C(I,[["render",N],["styles",[O]]]);var u=plus.webview.currentWebview();if(u){let e=parseInt(u.id),a="template/__uniappscan",s={};try{s=JSON.parse(u.__query__)}catch{}h.mpType="page";let o=Vue.createPageApp(h,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:a,__pageQuery:s});o.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...h.styles||[]])),o.mount("#root")}})(); diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappsuccess.png b/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappsuccess.png new file mode 100755 index 0000000..c1f5bd7 Binary files /dev/null and b/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappsuccess.png differ diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappview.html b/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappview.html new file mode 100755 index 0000000..753ae6b --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/__uniappview.html @@ -0,0 +1,23 @@ + + + + + View + + + + + +
+ + + + + + diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-config-service.js b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-config-service.js new file mode 100755 index 0000000..11dce3c --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-config-service.js @@ -0,0 +1,11 @@ + + ;(function(){ + let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; + const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","titleColor":"#000000"}},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"FinClip-Uniapp-demo","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.4.7","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{}}; + const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"FinClip-Uniapp-demo"}}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); + __uniConfig.styles=[];//styles + __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); + __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); + service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}}); + })(); + \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-config.js b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-config.js new file mode 100755 index 0000000..c5168cc --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-config.js @@ -0,0 +1 @@ +(function(){})(); \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-service.js b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-service.js new file mode 100755 index 0000000..b72c174 --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app-service.js @@ -0,0 +1,225 @@ +if (typeof Promise !== "undefined" && !Promise.prototype.finally) { + Promise.prototype.finally = function(callback) { + const promise = this.constructor; + return this.then((value) => promise.resolve(callback()).then(() => value), (reason) => promise.resolve(callback()).then(() => { + throw reason; + })); + }; +} +; +if (typeof uni !== "undefined" && uni && uni.requireGlobal) { + const global = uni.requireGlobal(); + ArrayBuffer = global.ArrayBuffer; + Int8Array = global.Int8Array; + Uint8Array = global.Uint8Array; + Uint8ClampedArray = global.Uint8ClampedArray; + Int16Array = global.Int16Array; + Uint16Array = global.Uint16Array; + Int32Array = global.Int32Array; + Uint32Array = global.Uint32Array; + Float32Array = global.Float32Array; + Float64Array = global.Float64Array; + BigInt64Array = global.BigInt64Array; + BigUint64Array = global.BigUint64Array; +} +; +if (uni.restoreGlobal) { + uni.restoreGlobal(Vue, weex, plus, setTimeout, clearTimeout, setInterval, clearInterval); +} +(function(vue, shared) { + "use strict"; + function isDebugMode() { + return typeof __channelId__ === "string" && __channelId__; + } + function jsonStringifyReplacer(k, p) { + switch (shared.toRawType(p)) { + case "Function": + return "function() { [native code] }"; + default: + return p; + } + } + function normalizeLog(type, filename, args) { + if (isDebugMode()) { + args.push(filename.replace("at ", "uni-app:///")); + return console[type].apply(console, args); + } + const msgs = args.map(function(v) { + const type2 = shared.toTypeString(v).toLowerCase(); + if (["[object object]", "[object array]", "[object module]"].indexOf(type2) !== -1) { + try { + v = "---BEGIN:JSON---" + JSON.stringify(v, jsonStringifyReplacer) + "---END:JSON---"; + } catch (e) { + v = type2; + } + } else { + if (v === null) { + v = "---NULL---"; + } else if (v === void 0) { + v = "---UNDEFINED---"; + } else { + const vType = shared.toRawType(v).toUpperCase(); + if (vType === "NUMBER" || vType === "BOOLEAN") { + v = "---BEGIN:" + vType + "---" + v + "---END:" + vType + "---"; + } else { + v = String(v); + } + } + } + return v; + }); + return msgs.join("---COMMA---") + " " + filename; + } + function formatAppLog(type, filename, ...args) { + const res = normalizeLog(type, filename, args); + res && console[type](res); + } + function requireNativePlugin(name) { + return weex.requireModule(name); + } + var _export_sfc = (sfc, props) => { + const target = sfc.__vccOpts || sfc; + for (const [key, val] of props) { + target[key] = val; + } + return target; + }; + const MopSdk$1 = requireNativePlugin("MopSdk"); + const _sfc_main$1 = { + data() { + return { + title: "Hello" + }; + }, + onLoad() { + }, + methods: { + handleOpenMiniProgram() { + const apiServer = "https://api.finclip.com"; + const appId = "5eec56a41464cc0001852e9a"; + const startParams = null; + const sequence = null; + MopSdk$1.openApplet(apiServer, appId, startParams, sequence); + }, + handleOpenMiniProgramByQrcode() { + uni.scanCode({ + success: (result) => { + formatAppLog("log", "at pages/index/index.vue:39", result); + const qrcode = result.result; + MopSdk$1.openAppletByQrcode(qrcode, (ret) => { + formatAppLog("log", "at pages/index/index.vue:43", "onSuccess", ret); + }, (ret) => { + formatAppLog("log", "at pages/index/index.vue:46", "onFail", ret); + }, (ret) => { + formatAppLog("log", "at pages/index/index.vue:49", "onProcess", ret); + }); + } + }); + } + } + }; + function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return vue.openBlock(), vue.createElementBlock("view", { class: "content" }, [ + vue.createElementVNode("image", { + class: "logo", + src: "/static/logo.png" + }), + vue.createElementVNode("button", { + type: "primary", + onClick: _cache[0] || (_cache[0] = (...args) => $options.handleOpenMiniProgram && $options.handleOpenMiniProgram(...args)) + }, "\u6253\u5F00\u5C0F\u7A0B\u5E8F"), + vue.createElementVNode("view", { class: "padding-gap" }), + vue.createElementVNode("button", { + type: "primary", + onClick: _cache[1] || (_cache[1] = (...args) => $options.handleOpenMiniProgramByQrcode && $options.handleOpenMiniProgramByQrcode(...args)) + }, "\u4E8C\u7EF4\u7801\u6253\u5F00\u5C0F\u7A0B\u5E8F") + ]); + } + var PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/Users/yangbin/work/finogeeks/newspace/finclip-uniapp-demo/finclip-uniapp-test/pages/index/index.vue"]]); + __definePage("pages/index/index", PagesIndexIndex); + const MopSdk = requireNativePlugin("MopSdk"); + const _sfc_main = { + onLaunch: function() { + formatAppLog("log", "at App.vue:6", "App Launch"); + MopSdk.initialize({ + "sdkKey": "22LyZEib0gLTQdU3MUauAa2CctUv+NxTLFWyPxC28y2gA4x+JWh7hhNS5aO52BFs", + "sdkSecret": "65146ffa924ecfdc", + "apmServer": "https://api.finclip.com", + uiConfig: { + hideTransitionCloseButton: true, + hideForwardMenu: false, + hideSettingMenu: false, + hideBackToHome: false, + hideFeedbackMenu: false, + capsuleConfig: { + capsuleWidth: 88, + capsuleHeight: 32, + capsuleRightMargin: 7, + capsuleCornerRadius: 16, + capsuleBorderWidth: 0.5, + capsuleBgLightColor: "0x00000000", + capsuleBgDarkColor: "0x80ffffff", + capsuleBorderLightColor: "0x80ffffff", + capsuleBorderDarkColor: "0x26000000", + capsuleDividerLightColor: "0x26ffffff", + capsuleDividerDarkColor: "0x26000000", + moreBtnWidth: 32, + moreBtnLeftMargin: 6, + closeBtnWidth: 32, + closeBtnLeftMargin: 6 + } + } + }, (ret) => { + formatAppLog("log", "at App.vue:118", "App Launch Success", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:121", "App Launch Fail", ret); + }); + MopSdk.setAppletLifecycleCallback((ret) => { + formatAppLog("log", "at App.vue:126", "onInitComplete", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:129", "onFailure", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:132", "onCreate", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:135", "onStart", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:138", "onResume", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:141", "onPause", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:144", "onStop", ret); + }, (ret) => { + formatAppLog("log", "at App.vue:147", "onDestroy", ret); + }); + MopSdk.registerExtensionApi("getMessage", (ret) => { + const { uuid } = ret; + formatAppLog("log", "at App.vue:155", "\u5C0F\u7A0B\u5E8FappId:", MopSdk.currentAppletId()); + formatAppLog("log", "at App.vue:157", "\u5C0F\u7A0B\u5E8F\u4FE1\u606F:", MopSdk.currentApplet()); + MopSdk.onSuccess(uuid, { message: "\u6210\u529F\u4E86\uFF0C\u6211\u6765\u81EA\u4E8EVue" }); + }); + MopSdk.setNavigationBarCloseButtonClicked((appId) => { + formatAppLog("log", "at App.vue:216", "setNavigationBarCloseButtonClicked", appId); + MopSdk.finishRunningApplet(appId); + }); + }, + onShow: function() { + }, + onHide: function() { + } + }; + var App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/yangbin/work/finogeeks/newspace/finclip-uniapp-demo/finclip-uniapp-test/App.vue"]]); + function createApp() { + const app = vue.createVueApp(App); + return { + app + }; + } + const { app: __app__, Vuex: __Vuex__, Pinia: __Pinia__ } = createApp(); + uni.Vuex = __Vuex__; + uni.Pinia = __Pinia__; + __app__.provide("__globalStyles", __uniConfig.styles); + __app__._component.mpType = "app"; + __app__._component.render = () => { + }; + __app__.mount("#app"); +})(Vue, uni.VueShared); diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/app.css b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app.css new file mode 100755 index 0000000..e12d5ba --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/app.css @@ -0,0 +1,4 @@ +*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox-group{display:block}uni-checkbox-group[hidden]{display:none}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;transform:translate(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:transparent transparent black transparent}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-live-pusher{width:320px;height:240px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-live-pusher[hidden]{display:none}.uni-live-pusher-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-live-pusher-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-map-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap,.navigator-wrap:link,.navigator-wrap:visited,.navigator-wrap:hover,.navigator-wrap:active{text-decoration:none;color:inherit;cursor:pointer}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled:before{color:#adadad}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:flex;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{color:inherit;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all;box-sizing:content-box!important}uni-textarea[hidden]{display:none}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-video-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-web-view{display:inline-block;position:absolute;left:0;right:0;top:0;bottom:0} + + + /*每个页面公共css */ diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/manifest.json b/finclip-uniapp-test/unpackage/dist/dev/app-plus/manifest.json new file mode 100755 index 0000000..90a6026 --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/manifest.json @@ -0,0 +1 @@ +{"@platforms":["android","iPhone","iPad"],"id":"__UNI__87380BE","name":"FinClip-Uniapp-demo","version":{"name":"1.0.0","code":"100"},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["\u003cuses-feature android:name\u003d\"android.hardware.camera\"/\u003e","\u003cuses-feature android:name\u003d\"android.hardware.camera.autofocus\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CAMERA\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.FLASHLIGHT\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_LOGS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.VIBRATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WRITE_SETTINGS\"/\u003e"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{"MopSdk":{"__plugin_info__":{"name":"MopSdk","description":"FinClip小程序插件","platforms":"Android,iOS","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"3.4.7","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"arguments":"{\"pathName\":\"pages/index/index\",\"query\":\"\"}"},"launch_path":"__uniappview.html"} \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/pages/index/index.css b/finclip-uniapp-test/unpackage/dist/dev/app-plus/pages/index/index.css new file mode 100755 index 0000000..2877f73 --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/pages/index/index.css @@ -0,0 +1,26 @@ + +.content { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +.logo { + height: 6.25rem; + width: 6.25rem; + margin-top: 6.25rem; + margin-left: auto; + margin-right: auto; + margin-bottom: 1.5625rem; +} +.text-area { + display: flex; + justify-content: center; +} +.padding-gap { + height: 0.9375rem; +} +.title { + font-size: 1.125rem; + color: #8f8f94; +} diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/static/logo.png b/finclip-uniapp-test/unpackage/dist/dev/app-plus/static/logo.png new file mode 100755 index 0000000..997c971 Binary files /dev/null and b/finclip-uniapp-test/unpackage/dist/dev/app-plus/static/logo.png differ diff --git a/finclip-uniapp-test/unpackage/dist/dev/app-plus/uni-app-view.umd.js b/finclip-uniapp-test/unpackage/dist/dev/app-plus/uni-app-view.umd.js new file mode 100755 index 0000000..4c64307 --- /dev/null +++ b/finclip-uniapp-test/unpackage/dist/dev/app-plus/uni-app-view.umd.js @@ -0,0 +1,3 @@ +(function(Gn){typeof define=="function"&&define.amd?define(Gn):Gn()})(function(){"use strict";var Gn="",qT="",XT="",Lr={exports:{}},ha={exports:{}},ga={exports:{}},Fh=ga.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Fh);var pa={exports:{}};pa.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var $h=ga.exports,Ll="__core-js_shared__",Pl=window[Ll]||(window[Ll]={});(ha.exports=function(e,t){return Pl[e]||(Pl[e]=t!==void 0?t:{})})("versions",[]).push({version:$h.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var zh=0,Uh=Math.random(),Jn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++zh+Uh).toString(36))},Qn=ha.exports("wks"),Hh=Jn,eo=pa.exports.Symbol,Nl=typeof eo=="function",Wh=Lr.exports=function(e){return Qn[e]||(Qn[e]=Nl&&eo[e]||(Nl?eo:Hh)("Symbol."+e))};Wh.store=Qn;var ma={},to=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Vh=to,ro=function(e){if(!Vh(e))throw TypeError(e+" is not an object!");return e},_a=function(e){try{return!!e()}catch(t){return!0}},ui=!_a(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Dl=to,io=pa.exports.document,jh=Dl(io)&&Dl(io.createElement),Bl=function(e){return jh?io.createElement(e):{}},Yh=!ui&&!_a(function(){return Object.defineProperty(Bl("div"),"a",{get:function(){return 7}}).a!=7}),ba=to,qh=function(e,t){if(!ba(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ba(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Fl=ro,Xh=Yh,Zh=qh,Kh=Object.defineProperty;ma.f=ui?Object.defineProperty:function(t,r,i){if(Fl(t),r=Zh(r,!0),Fl(i),Xh)try{return Kh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var $l=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Gh=ma,Jh=$l,Pr=ui?function(e,t,r){return Gh.f(e,t,Jh(1,r))}:function(e,t,r){return e[t]=r,e},ao=Lr.exports("unscopables"),no=Array.prototype;no[ao]==null&&Pr(no,ao,{});var Qh=function(e){no[ao][e]=!0},eg=function(e,t){return{value:t,done:!!e}},oo={},tg={}.toString,rg=function(e){return tg.call(e).slice(8,-1)},ig=rg,ag=Object("z").propertyIsEnumerable(0)?Object:function(e){return ig(e)=="String"?e.split(""):Object(e)},zl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ng=ag,og=zl,wa=function(e){return ng(og(e))},ya={exports:{}},sg={}.hasOwnProperty,xa=function(e,t){return sg.call(e,t)},lg=ha.exports("native-function-to-string",Function.toString),Sa=Pr,Ul=xa,so=Jn("src"),lo=lg,Hl="toString",ug=(""+lo).split(Hl);ga.exports.inspectSource=function(e){return lo.call(e)},(ya.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Ul(r,"name")||Sa(r,"name",t)),e[t]!==r&&(a&&(Ul(r,so)||Sa(r,so,e[t]?""+e[t]:ug.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:Sa(e,t,r):(delete e[t],Sa(e,t,r)))})(Function.prototype,Hl,function(){return typeof this=="function"&&this[so]||lo.call(this)});var Wl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},fg=Wl,cg=function(e,t,r){if(fg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Ea=ga.exports,vg=Pr,dg=ya.exports,Vl=cg,uo="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,l=a?window:n?window[t]||(window[t]={}):(window[t]||{})[uo],u=a?Ea:Ea[t]||(Ea[t]={}),f=u[uo]||(u[uo]={}),d,p,g,y;a&&(r=t);for(d in r)p=!i&&l&&l[d]!==void 0,g=(p?l:r)[d],y=s&&p?Vl(g,window):o&&typeof g=="function"?Vl(Function.call,g):g,l&&dg(l,d,g,e&je.U),u[d]!=g&&vg(u,d,y),o&&f[d]!=g&&(f[d]=g)};window.core=Ea,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var fo=je,hg=Math.ceil,gg=Math.floor,jl=function(e){return isNaN(e=+e)?0:(e>0?gg:hg)(e)},pg=jl,mg=Math.min,_g=function(e){return e>0?mg(pg(e),9007199254740991):0},bg=jl,wg=Math.max,yg=Math.min,xg=function(e,t){return e=bg(e),e<0?wg(e+t,0):yg(e,t)},Sg=wa,Eg=_g,Tg=xg,Cg=function(e){return function(t,r,i){var a=Sg(t),n=Eg(a.length),o=Tg(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Yl=ha.exports("keys"),Og=Jn,co=function(e){return Yl[e]||(Yl[e]=Og(e))},ql=xa,Ag=wa,Ig=Cg(!1),kg=co("IE_PROTO"),Mg=function(e,t){var r=Ag(e),i=0,a=[],n;for(n in r)n!=kg&&ql(r,n)&&a.push(n);for(;t.length>i;)ql(r,n=t[i++])&&(~Ig(a,n)||a.push(n));return a},Xl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Rg=Mg,Lg=Xl,vo=Object.keys||function(t){return Rg(t,Lg)},Pg=ma,Ng=ro,Dg=vo,Bg=ui?Object.defineProperties:function(t,r){Ng(t);for(var i=Dg(r),a=i.length,n=0,o;a>n;)Pg.f(t,o=i[n++],r[o]);return t},Zl=pa.exports.document,Fg=Zl&&Zl.documentElement,$g=ro,zg=Bg,Kl=Xl,Ug=co("IE_PROTO"),ho=function(){},go="prototype",Ta=function(){var e=Bl("iframe"),t=Kl.length,r="<",i=">",a;for(e.style.display="none",Fg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),Ta=a.F;t--;)delete Ta[go][Kl[t]];return Ta()},Hg=Object.create||function(t,r){var i;return t!==null?(ho[go]=$g(t),i=new ho,ho[go]=null,i[Ug]=t):i=Ta(),r===void 0?i:zg(i,r)},Wg=ma.f,Vg=xa,Gl=Lr.exports("toStringTag"),Jl=function(e,t,r){e&&!Vg(e=r?e:e.prototype,Gl)&&Wg(e,Gl,{configurable:!0,value:t})},jg=Hg,Yg=$l,qg=Jl,Ql={};Pr(Ql,Lr.exports("iterator"),function(){return this});var Xg=function(e,t,r){e.prototype=jg(Ql,{next:Yg(1,r)}),qg(e,t+" Iterator")},Zg=zl,eu=function(e){return Object(Zg(e))},Kg=xa,Gg=eu,tu=co("IE_PROTO"),Jg=Object.prototype,Qg=Object.getPrototypeOf||function(e){return e=Gg(e),Kg(e,tu)?e[tu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Jg:null},po=fo,ep=ya.exports,ru=Pr,iu=oo,tp=Xg,rp=Jl,ip=Qg,fi=Lr.exports("iterator"),mo=!([].keys&&"next"in[].keys()),ap="@@iterator",au="keys",Ca="values",nu=function(){return this},np=function(e,t,r,i,a,n,o){tp(r,t,i);var s=function(c){if(!mo&&c in d)return d[c];switch(c){case au:return function(){return new r(this,c)};case Ca:return function(){return new r(this,c)}}return function(){return new r(this,c)}},l=t+" Iterator",u=a==Ca,f=!1,d=e.prototype,p=d[fi]||d[ap]||a&&d[a],g=p||s(a),y=a?u?s("entries"):g:void 0,m=t=="Array"&&d.entries||p,w,h,b;if(m&&(b=ip(m.call(new e)),b!==Object.prototype&&b.next&&(rp(b,l,!0),typeof b[fi]!="function"&&ru(b,fi,nu))),u&&p&&p.name!==Ca&&(f=!0,g=function(){return p.call(this)}),(mo||f||!d[fi])&&ru(d,fi,g),iu[t]=g,iu[l]=nu,a)if(w={values:u?g:s(Ca),keys:n?g:s(au),entries:y},o)for(h in w)h in d||ep(d,h,w[h]);else po(po.P+po.F*(mo||f),t,w);return w},_o=Qh,Oa=eg,ou=oo,op=wa,sp=np(Array,"Array",function(e,t){this._t=op(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,Oa(1)):t=="keys"?Oa(0,r):t=="values"?Oa(0,e[r]):Oa(0,[r,e[r]])},"values");ou.Arguments=ou.Array,_o("keys"),_o("values"),_o("entries");for(var su=sp,lp=vo,up=ya.exports,lu=Pr,uu=oo,fu=Lr.exports,cu=fu("iterator"),vu=fu("toStringTag"),du=uu.Array,hu={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},gu=lp(hu),bo=0;bo!!r[n.toLowerCase()]:n=>!!r[n]}var cp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vp=ka(cp);function mu(e){return!!e||e===""}var dp=ka("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function wo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(gp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function pp(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Je(r);(Ee(i)||typeof i=="number"&&dp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function yo(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r{},mp=()=>!1,_p=/^on[^a-z]/,Ma=e=>_p.test(e),xo=e=>e.startsWith("onUpdate:"),ce=Object.assign,So=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},bp=Object.prototype.hasOwnProperty,ie=(e,t)=>bp.call(e,t),ne=Array.isArray,vi=e=>di(e)==="[object Map]",wp=e=>di(e)==="[object Set]",oe=e=>typeof e=="function",Ee=e=>typeof e=="string",Eo=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",bu=e=>We(e)&&oe(e.then)&&oe(e.catch),yp=Object.prototype.toString,di=e=>yp.call(e),To=e=>di(e).slice(8,-1),_t=e=>di(e)==="[object Object]",Co=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ra=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),La=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},xp=/-(\w)/g,Ht=La(e=>e.replace(xp,(t,r)=>r?r.toUpperCase():"")),Sp=/\B([A-Z])/g,Je=La(e=>e.replace(Sp,"-$1").toLowerCase()),Oo=La(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ao=La(e=>e?"on".concat(Oo(e)):""),hi=(e,t)=>!Object.is(e,t),Io=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Ep=e=>{var t=parseFloat(e);return isNaN(t)?e:t},wu,Tp=()=>wu||(wu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),gi=` +`,yu=44,Na="#007aff",Cp=/^([a-z-]+:)?\/\//i,Op=/^data:.*,.*/,xu="wxs://",Su="json://",Ap="wxsModules",Ip="renderjsModules",kp="onPageScroll",Mp="onReachBottom",Rp="onWxsInvokeCallMethod",ko=0;function Mo(e){var t=Date.now(),r=ko?t-ko:0;ko=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function Lp(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function Pp(e){return Lp(e)}function Np(e){return e.indexOf("/")===0}function Ro(e){return Np(e)?e:"/"+e}function pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;n{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(i,a){if(i.startsWith("data-")&&this.tagName.startsWith("UNI-")){var n=this.__uniDataset||(this.__uniDataset={});n[Tu(i)]=a}t.call(this,i,a)};var r=e.removeAttribute;e.removeAttribute=function(i){this.__uniDataset&&i.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Tu(i)],r.call(this,i)}});function Lo(e){return ce({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function Po(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Lo(e),offsetTop:r,offsetLeft:i}}function Bp(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:d,variant:p,featureSettings:g}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),p&&s.push("font-variant:".concat(p)),g&&s.push("font-feature-settings:".concat(g))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Fp(e,t,r){if(Ee(e)){var i=document.querySelector(e);if(i){var{height:a,top:n}=i.getBoundingClientRect();e=n+window.pageYOffset,r&&(e-=a)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var u=f=>{if(f<=0){window.scrollTo(0,e);return}var d=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+d/f*10),u(f-10)})};u(t)}}function $p(){return typeof __channelId__=="string"&&__channelId__}function zp(e,t){switch(To(t)){case"Function":return"function() { [native code] }";default:return t}}function Up(e,t,r){if($p())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=di(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(n)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,zp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=To(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Hp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a({stop:1,prevent:1<<1,self:1<<2}))(),Ou="class",Bo="style",Vp="innerHTML",jp="textContent",Da=".vShow",Au=".vOwnerId",Iu=".vRenderjs",Fo="change:",ku=1,Yp=2,qp=3,Xp=4,Zp=5,Kp=6,Gp=7,Jp=8,Qp=9,em=10,tm=12,rm=15,im=20;function am(e,t,r){var{clearTimeout:i,setTimeout:a}=r,n,o=function(){i(n);var s=()=>e.apply(this,arguments);n=a(s,t)};return o.cancel=function(){i(n)},o}var Mu=function(){};Mu.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;ie!==null&&typeof e=="object",sm=["{","}"];class lm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sm;if(!r)return[t];var a=this._caches[t];return a||(a=cm(t,i),this._caches[t]=a),vm(a,r)}}var um=/^(?:\d)+/,fm=/^(?:\w)+/;function cm(e,t){for(var[r,i]=t,a=[],n=0,o="";ndm.call(e,t),hm=new lm;function gm(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function pm(e,t){return t.find(r=>e.indexOf(r)===0)}function Pu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return _i;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?_i:e.indexOf("-hant")>-1||gm(e,["-tw","-hk","-mo","-cht"])?Ba:_i;var r=pm(e,[Wt,$o,zo]);if(r)return r}}class mm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Wt,this.fallbackLocale=Wt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||hm,this.messages=a||{},this.setLocale(r||Wt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Pu(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Lu(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Pu(r,this.messages),r&&(a=this.messages[r])):i=r,Lu(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function _m(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function bm(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Wt}function wm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=bm()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Wt);var a=new mm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(u,f){return a.t(u,f)};else{var l=!1;n=function(u,f){var d=getApp().$vm;return d&&(d.$locale,l||(l=!0,_m(d,a))),a.t(u,f)}}return n(o,s)};return{i18n:a,f(o,s,l){return a.f(o,s,l)},t(o,s){return n(o,s)},add(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,l)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var ym=pi(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),bi;function Qe(){if(!bi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,bi=wm(e),ym()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>bi.add(r,__uniConfig.locales[r])),bi.setLocale(e)}}return bi}function bt(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var xm=pi(()=>{var e="uni.picker.",t=["done","cancel"];Qe().add(Wt,bt(e,t,["Done","Cancel"]),!1),Qe().add(zo,bt(e,t,["OK","Cancelar"]),!1),Qe().add($o,bt(e,t,["OK","Annuler"]),!1),Qe().add(_i,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Qe().add(Ba,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Sm=pi(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Qe().add(Wt,bt(e,t,["feedback","send"]),!1),Qe().add(zo,bt(e,t,["realimentaci\xF3n","enviar"]),!1),Qe().add($o,bt(e,t,["retour d'information","envoyer"]),!1),Qe().add(_i,bt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Qe().add(Ba,bt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function Em(e){var t=new Ru;return{on(r,i){return t.on(r,i)},once(r,i){return t.once(r,i)},off(r,i){return t.off(r,i)},emit(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var Nu="invokeViewApi",Du="invokeServiceApi",Tm=1,Cm=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?Tm++:0;r&&i(Du+"."+n,r,!0),a(Du,{id:n,name:e,args:t})},Fa=Object.create(null);function $a(e,t){return e+"."+t}function Om(e,t){UniViewJSBridge.subscribe($a(e,Nu),t?t(Bu):Bu)}function wt(e,t,r){t=$a(e,t),Fa[t]||(Fa[t]=r)}function Am(e,t){t=$a(e,t),delete Fa[t]}function Bu(e,t){var{id:r,name:i,args:a}=e;i=$a(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Nu+"."+r,s)},o=Fa[i];o?o(a,n):n({})}var Im=ce(Em("service"),{invokeServiceMethod:Cm}),km=350,Fu=10,za=mi(!0),wi;function yi(){wi&&(clearTimeout(wi),wi=null)}var $u=0,zu=0;function Mm(e){if(yi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];$u=t,zu=r,wi=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},km)}}function Rm(e){if(!!wi){if(e.touches.length!==1)return yi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-$u)>Fu||Math.abs(r-zu)>Fu)return yi()}}function Lm(){window.addEventListener("touchstart",Mm,za),window.addEventListener("touchmove",Rm,za),window.addEventListener("touchend",yi,za),window.addEventListener("touchcancel",yi,za)}function Uu(e,t){var r=Number(e);return isNaN(r)?t:r}function Pm(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function Nm(){var e=__uniConfig.globalStyle||{},t=Uu(e.rpxCalcMaxDeviceWidth,960),r=Uu(e.rpxCalcBaseDeviceWidth,375);function i(){var a=Pm();a=a<=t?a:r,document.documentElement.style.fontSize=a/23.4375+"px"}i(),document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i),window.addEventListener("resize",i)}function Dm(){Nm(),Dp(),Lm()}var Bm=_a,Fm=function(e,t){return!!e&&Bm(function(){t?e.call(null,function(){},1):e.call(null)})},Uo=fo,$m=Wl,Hu=eu,Wu=_a,Ho=[].sort,Vu=[1,2,3];Uo(Uo.P+Uo.F*(Wu(function(){Vu.sort(void 0)})||!Wu(function(){Vu.sort(null)})||!Fm(Ho)),"Array",{sort:function(t){return t===void 0?Ho.call(Hu(this)):Ho.call(Hu(this),$m(t))}});var yt;class zm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&yt&&(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}run(t){if(this.active){var r=yt;try{return yt=this,t()}finally{yt=r}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r1&&arguments[1]!==void 0?arguments[1]:yt;t&&t.active&&t.effects.push(e)}var Wo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},ju=e=>(e.w&Vt)>0,Yu=e=>(e.n&Vt)>0,Hm=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Um(this,i)}run(){if(!this.active)return this.fn();for(var t=ct,r=jt;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,jt=!0,Vt=1<<++xi,xi<=jo?Hm(this):qu(this),this.fn()}finally{xi<=jo&&Wm(this),Vt=1<<--xi,ct=this.parent,jt=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(qu(this),this.onStop&&this.onStop(),this.active=!1)}}function qu(e){var{deps:t}=e;if(t.length){for(var r=0;r{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?Co(r)&&s.push(o.get("length")):(s.push(o.get(fr)),vi(e)&&s.push(o.get(Yo)));break;case"delete":ne(e)||(s.push(o.get(fr)),vi(e)&&s.push(o.get(Yo)));break;case"set":vi(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&Xo(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);Xo(Wo(l))}}}function Xo(e,t){for(var r of ne(e)?e:[...e])(r!==ct||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var Vm=ka("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Eo)),jm=Zo(),Ym=Zo(!1,!0),qm=Zo(!0),Gu=Xm();function Xm(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Dr();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?f0:sf:t?of:nf).get(i))return i;var o=ne(i);if(!e&&o&&ie(Gu,a))return Reflect.get(Gu,a,n);var s=Reflect.get(i,a,n);if((Eo(a)?Ku.has(a):Vm(a))||(e||et(i,"get",a),t))return s;if($e(s)){var l=!o||!Co(a);return l?s.value:s}return We(s)?e?lf(s):ke(s):s}}var Zm=Ju(),Km=Ju(!0);function Ju(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Si(o)&&$e(o)&&!$e(a))return!1;if(!e&&!Si(a)&&(uf(a)||(a=me(a),o=me(o)),!ne(r)&&$e(o)&&!$e(a)))return o.value=a,!0;var s=ne(r)&&Co(i)?Number(i)e,Ua=e=>Reflect.getPrototypeOf(e);function Ha(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=me(e),n=me(t);t!==n&&!r&&et(a,"get",t),!r&&et(a,"get",n);var{has:o}=Ua(a),s=i?Ko:r?Qo:Ei;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&et(i,"has",e),!t&&et(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&et(me(e),"iterate",fr),Reflect.get(e,"size",e)}function ef(e){e=me(e);var t=me(this),r=Ua(t),i=r.has.call(t,e);return i||(t.add(e),Lt(t,"add",e,e)),this}function tf(e,t){t=me(t);var r=me(this),{has:i,get:a}=Ua(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?hi(t,o)&&Lt(r,"set",e,t):Lt(r,"add",e,t),this}function rf(e){var t=me(this),{has:r,get:i}=Ua(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Lt(t,"delete",e,void 0),n}function af(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Lt(e,"clear",void 0,void 0),r}function ja(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),l=t?Ko:e?Qo:Ei;return!e&&et(s,"iterate",fr),o.forEach((u,f)=>i.call(a,l(u),l(f),n))}}function Ya(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=vi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,l=i[e](...arguments),u=r?Ko:t?Qo:Ei;return!t&&et(a,"iterate",s?Yo:fr),{next(){var{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:o?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Yt(e){return function(){return e==="delete"?!1:this}}function r0(){var e={get(n){return Ha(this,n)},get size(){return Va(this)},has:Wa,add:ef,set:tf,delete:rf,clear:af,forEach:ja(!1,!1)},t={get(n){return Ha(this,n,!1,!0)},get size(){return Va(this)},has:Wa,add:ef,set:tf,delete:rf,clear:af,forEach:ja(!1,!0)},r={get(n){return Ha(this,n,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!1)},i={get(n){return Ha(this,n,!0,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=Ya(n,!1,!1),r[n]=Ya(n,!0,!1),t[n]=Ya(n,!1,!0),i[n]=Ya(n,!0,!0)}),[e,r,t,i]}var[i0,a0,n0,o0]=r0();function Go(e,t){var r=t?e?o0:n0:e?a0:i0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ie(r,a)&&a in i?r:i,a,n)}var s0={get:Go(!1,!1)},l0={get:Go(!1,!0)},u0={get:Go(!0,!1)},nf=new WeakMap,of=new WeakMap,sf=new WeakMap,f0=new WeakMap;function c0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function v0(e){return e.__v_skip||!Object.isExtensible(e)?0:c0(To(e))}function ke(e){return Si(e)?e:Jo(e,!1,Qu,s0,nf)}function d0(e){return Jo(e,!1,t0,l0,of)}function lf(e){return Jo(e,!0,e0,u0,sf)}function Jo(e,t,r,i,a){if(!We(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=v0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function Fr(e){return Si(e)?Fr(e.__v_raw):!!(e&&e.__v_isReactive)}function Si(e){return!!(e&&e.__v_isReadonly)}function uf(e){return!!(e&&e.__v_isShallow)}function ff(e){return Fr(e)||Si(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function qa(e){return Pa(e,"__v_skip",!0),e}var Ei=e=>We(e)?ke(e):e,Qo=e=>We(e)?lf(e):e;function cf(e){jt&&ct&&(e=me(e),Zu(e.dep||(e.dep=Wo())))}function vf(e,t){e=me(e),e.dep&&Xo(e.dep)}function $e(e){return!!(e&&e.__v_isRef===!0)}function F(e){return df(e,!1)}function es(e){return df(e,!0)}function df(e,t){return $e(e)?e:new h0(e,t)}class h0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ei(t)}get value(){return cf(this),this._value}set value(t){t=this.__v_isShallow?t:me(t),hi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ei(t),vf(this))}}function g0(e){return $e(e)?e.value:e}var p0={get:(e,t,r)=>g0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return $e(a)&&!$e(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function hf(e){return Fr(e)?e:new Proxy(e,p0)}class m0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new qo(t,()=>{this._dirty||(this._dirty=!0,vf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=me(this);return cf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function _0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=oe(e);n?(i=e,a=mt):(i=e.get,a=e.set);var o=new m0(i,a,n||!a,r);return o}function qt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Xa(n,t,r)}return a}function vt(e,t,r,i){if(oe(e)){var a=qt(e,t,r,i);return a&&bu(a)&&a.catch(s=>{Xa(s,t,r)}),a}for(var n=[],o=0;o>>1,a=Ai(tt[i]);aPt&&tt.splice(t,1)}function _f(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),mf()}function x0(e){_f(e,Ci,Ti,$r)}function S0(e){_f(e,Xt,Oi,zr)}function as(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ti.length){for(is=t,Ci=[...new Set(Ti)],Ti.length=0,$r=0;$rAi(r)-Ai(i)),zr=0;zre.id==null?1/0:e.id;function wf(e){ts=!1,Za=!0,as(e),tt.sort((i,a)=>Ai(i)-Ai(a));var t=mt;try{for(Pt=0;Pt2?i-2:0),n=2;nm.trim()):f&&(o=a.map(Ep))}var p,g=r[p=Ao(t)]||r[p=Ao(Ht(t))];!g&&s&&(g=r[p=Ao(Je(t))]),g&&vt(g,e,6,o);var y=r[p+"Once"];if(y){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,vt(y,e,6,o)}}}function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!oe(e)){var l=u=>{var f=yf(u,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(u=>o[u]=null):ce(o,n),i.set(e,o),o)}function Ka(e,t){return!e||!Ma(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Je(t))||ie(e,t))}var dt=null,xf=null;function Ga(e){var t=dt;return dt=e,xf=e&&e.type.__scopeId||null,t}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt;if(!t||e._n)return e;var r=function(){r._d&&Yf(-1);var i=Ga(t),a=e(...arguments);return Ga(i),r._d&&Yf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function ZT(){}function ns(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:d,data:p,setupState:g,ctx:y,inheritAttrs:m}=e,w,h,b=Ga(e);try{if(r.shapeFlag&4){var c=a||i;w=St(f.call(c,c,d,n,g,p,y)),h=l}else{var v=t;w=St(v.length>1?v(n,{attrs:l,slots:s,emit:u}):v(n,null)),h=t.props?l:C0(l)}}catch(C){Xa(C,e,1),w=I(Hr)}var _=w;if(h&&m!==!1){var x=Object.keys(h),{shapeFlag:E}=_;x.length&&E&7&&(o&&x.some(xo)&&(h=O0(h,o)),_=Mi(_,h))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),w=_,Ga(b),w}var C0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Ma(r))&&((t||(t={}))[r]=e[r]);return t},O0=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function A0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?Sf(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,d=0;de.__isSuspense;function M0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):S0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||dt;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&oe(t)?t.call(i.proxy):t}}function R0(e,t){return os(e,null,t)}var Ef={};function W(e,t,r){return os(e,t,r)}function os(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,l,u=!1,f=!1;if($e(e)?(l=()=>e.value,u=uf(e)):Fr(e)?(l=()=>e,i=!0):ne(e)?(f=!0,u=e.some(Fr),l=()=>e.map(b=>{if($e(b))return b.value;if(Fr(b))return cr(b);if(oe(b))return qt(b,s,2)})):oe(e)?t?l=()=>qt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return p&&p(),vt(e,s,3,[g])}:l=mt,t&&i){var d=l;l=()=>cr(d())}var p,g=b=>{p=h.onStop=()=>{qt(b,s,4)}};if(Ri)return g=mt,t?r&&vt(t,s,3,[l(),f?[]:void 0,g]):l(),mt;var y=f?[]:Ef,m=()=>{if(!!h.active)if(t){var b=h.run();(i||u||(f?b.some((c,v)=>hi(c,y[v])):hi(b,y)))&&(p&&p(),vt(t,s,3,[b,y===Ef?void 0:y,g]),y=b)}else h.run()};m.allowRecurse=!!t;var w;a==="sync"?w=m:a==="post"?w=()=>Xe(m,s&&s.suspense):w=()=>{!s||s.isMounted?x0(m):m()};var h=new qo(l,w);return t?r?m():y=h.run():a==="post"?Xe(h.run.bind(h),s&&s.suspense):h.run(),()=>{h.stop(),s&&s.scope&&So(s.scope.effects,h)}}function L0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Tf(i,e):()=>i[e]:e.bind(i,i),n;oe(t)?n=t:(n=t.handler,r=t);var o=Ue;Wr(this);var s=os(a,n.bind(i),r);return o?Wr(o):gr(),s}function Tf(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{cr(a,t)});else if(_t(e))for(var i in e)cr(e[i],t);return e}function P0(e){return oe(e)?{setup:e,name:e.name}:e}var ss=e=>!!e.type.__asyncLoader,Cf=e=>e.type.__isKeepAlive;function ls(e,t){Of(e,"a",t)}function N0(e,t){Of(e,"da",t)}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Ja(t,i,r),r)for(var a=r.parent;a&&a.parent;)Cf(a.parent.vnode)&&D0(i,t,r,a),a=a.parent}function D0(e,t,r,i){var a=Ja(t,e,i,!0);Zt(()=>{So(i[t],a)},r)}function Ja(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Dr(),Wr(r);for(var o=arguments.length,s=new Array(o),l=0;lfunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Ri||e==="sp")&&Ja(e,t,r)},Af=Nt("bm"),Re=Nt("m"),B0=Nt("bu"),F0=Nt("u"),Ce=Nt("bum"),Zt=Nt("um"),$0=Nt("sp"),z0=Nt("rtg"),U0=Nt("rtc");function H0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Ja("ec",e,t)}var us=!0;function W0(e){var t=Mf(e),r=e.proxy,i=e.ctx;us=!1,t.beforeCreate&&If(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:g,updated:y,activated:m,deactivated:w,beforeDestroy:h,beforeUnmount:b,destroyed:c,unmounted:v,render:_,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:M,inheritAttrs:R,components:U,directives:te,filters:L}=t,H=null;if(u&&V0(u,i,H,e.appContext.config.unwrapInjectedRef),o)for(var q in o){var re=o[q];oe(re)&&(i[q]=re.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),us=!0,n){var V=function(le){var J=n[le],xe=oe(J)?J.bind(r,r):oe(J.get)?J.get.bind(r,r):mt,we=!oe(J)&&oe(J.set)?J.set.bind(r):mt,Ve=ee({get:xe,set:we});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:sr=>Ve.value=sr})};for(var K in n)V(K)}if(s)for(var ae in s)kf(s[ae],i,r,ae);if(l){var Te=oe(l)?l.call(r):l;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&If(f,e,"c");function se(le,J){ne(J)?J.forEach(xe=>le(xe.bind(r))):J&&le(J.bind(r))}if(se(Af,d),se(Re,p),se(B0,g),se(F0,y),se(ls,m),se(N0,w),se(H0,C),se(U0,x),se(z0,E),se(Ce,b),se(Zt,v),se($0,O),ne(M))if(M.length){var he=e.exposed||(e.exposed={});M.forEach(le=>{Object.defineProperty(he,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});_&&e.render===mt&&(e.render=_),R!=null&&(e.inheritAttrs=R),U&&(e.components=U),te&&(e.directives=te)}function V0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=fs(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),$e(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[n]=s};for(var a in e)i(a)}function If(e,t,r){vt(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function kf(e,t,r,i){var a=i.includes(".")?Tf(r,i):()=>r[i];if(Ee(e)){var n=t[e];oe(n)&&W(a,n)}else if(oe(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>kf(s,t,r,i));else{var o=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(o)&&W(a,o,e)}}function Mf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),l;return s?l=s:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(u=>Qa(l,u,o,!0)),Qa(l,t,o)),n.set(t,l),l}function Qa(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Qa(e,n,r,!0),a&&a.forEach(l=>Qa(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=j0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var j0={data:Rf,props:vr,emits:vr,methods:vr,computed:vr,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:vr,directives:vr,watch:q0,provide:Rf,inject:Y0};function Rf(e,t){return t?e?function(){return ce(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return vr(fs(e),fs(t))}function fs(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Pa(n,tn,1),e.propsDefaults=Object.create(null),Lf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:d0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Z0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],l=!1;if(!oe(e)){var u=c=>{l=!0;var[v,_]=Pf(c,t,!0);ce(o,v),_&&s.push(..._)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!l)return i.set(e,ci),ci;if(ne(n))for(var f=0;f-1,m[1]=h<0||w-1||ie(m,"default"))&&s.push(g)}}}var b=[o,s];return i.set(e,b),b}function Nf(e){return e[0]!=="$"}function Df(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Bf(e,t){return Df(e)===Df(t)}function Ff(e,t){return ne(t)?t.findIndex(r=>Bf(r,e)):oe(t)&&Bf(t,e)?0:-1}var $f=e=>e[0]==="_"||e==="$stable",vs=e=>ne(e)?e.map(St):[St(e)],K0=(e,t,r)=>{var i=T0(function(){return vs(t(...arguments))},r);return i._c=!1,i},zf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!$f(a)){var n=e[a];oe(n)?t[a]=K0(a,n,i):n!=null&&function(){var o=vs(n);t[a]=()=>o}()}},Uf=(e,t)=>{var r=vs(t);e.slots.default=()=>r},G0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Pa(t,"_",r)):zf(t,e.slots={})}else e.slots={},t&&Uf(e,t);Pa(e.slots,tn,1)},J0=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ce(a,t),!r&&s===1&&delete a._):(n=!t.$stable,zf(t,a)),o=t}else t&&(Uf(e,t),o={default:1});if(n)for(var l in a)!$f(l)&&!(l in o)&&delete a[l]};function Ii(e,t){var r=dt;if(r===null)return e;for(var i=nn(r)||r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;oe(i)||(i=Object.assign({},i)),a!=null&&!We(a)&&(a=null);var n=Hf(),o=new Set,s=!1,l=n.app={_uid:Q0++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:w_,get config(){return n.config},set config(u){},use(u){for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((m,w)=>ds(m,t&&(ne(t)?t[w]:t),r,i,a));return}if(!(ss(i)&&!a)){var n=i.shapeFlag&4?nn(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:l}=e,u=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Ee(u)?(f[u]=null,ie(d,u)&&(d[u]=null)):$e(u)&&(u.value=null)),oe(l))qt(l,s,12,[o,f]);else{var p=Ee(l),g=$e(l);if(p||g){var y=()=>{if(e.f){var m=p?f[l]:l.value;a?ne(m)&&So(m,n):ne(m)?m.includes(n)||m.push(n):p?(f[l]=[n],ie(d,l)&&(d[l]=f[l])):(l.value=[n],e.k&&(f[e.k]=l.value))}else p?(f[l]=o,ie(d,l)&&(d[l]=o)):$e(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Xe(y,r)):y()}}}}var Xe=M0;function t_(e){return r_(e)}function r_(e,t){var r=Tp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:d,nextSibling:p,setScopeId:g=mt,cloneNode:y,insertStaticContent:m}=e,w=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,B=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!ki(S,T)&&(P=Ve(S),he(S,N,$,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:Q,shapeFlag:G}=T;switch(D){case hs:h(S,T,k,P);break;case Hr:b(S,T,k,P);break;case gs:S==null&&c(T,k,P,j);break;case xt:te(S,T,k,P,N,$,j,B,z);break;default:G&1?x(S,T,k,P,N,$,j,B,z):G&6?L(S,T,k,P,N,$,j,B,z):(G&64||G&128)&&D.process(S,T,k,P,N,$,j,B,z,Ne)}Q!=null&&N&&ds(Q,S&&S.ref,$,T||S,!T)}},h=(S,T,k,P)=>{if(S==null)i(T.el=s(T.children),k,P);else{var N=T.el=S.el;T.children!==S.children&&u(N,T.children)}},b=(S,T,k,P)=>{S==null?i(T.el=l(T.children||""),k,P):T.el=S.el},c=(S,T,k,P)=>{[S.el,S.anchor]=m(S.children,T,k,P,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:P,anchor:N}=S,$;P&&P!==N;)$=p(P),i(P,T,k),P=$;i(N,T,k)},_=S=>{for(var{el:T,anchor:k}=S,P;T&&T!==k;)P=p(T),a(T),T=P;a(k)},x=(S,T,k,P,N,$,j,B,z)=>{j=j||T.type==="svg",S==null?E(T,k,P,N,$,j,B,z):M(S,T,N,$,j,B,z)},E=(S,T,k,P,N,$,j,B)=>{var z,D,{type:Q,props:G,shapeFlag:Z,transition:fe,patchFlag:Be,dirs:Ae}=S;if(S.el&&y!==void 0&&Be===-1)z=S.el=y(S.el);else{if(z=S.el=o(S.type,$,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,P,N,$&&Q!=="foreignObject",j,B),Ae&&dr(S,null,P,"created"),G){for(var A in G)A!=="value"&&!Ra(A)&&n(z,A,null,G[A],$,S.children,P,N,we);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&Et(D,P,S)}C(z,S,S.scopeId,j,P)}Object.defineProperty(z,"__vueParentComponent",{value:P,enumerable:!1}),Ae&&dr(S,null,P,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&fe&&!fe.persisted;Y&&fe.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Ae)&&Xe(()=>{D&&Et(D,P,S),Y&&fe.enter(z),Ae&&dr(S,null,P,"mounted")},N)},C=(S,T,k,P,N)=>{if(k&&g(S,k),P)for(var $=0;$8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var B=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:Q}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,fe;k&&hr(k,!1),(fe=Z.onVnodeBeforeUpdate)&&Et(fe,k,T,S),Q&&dr(T,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?R(S.dynamicChildren,D,B,k,P,Be,$):j||K(S,T,B,null,k,P,Be,$,!1),z>0){if(z&16)U(B,T,G,Z,k,P,N);else if(z&2&&G.class!==Z.class&&n(B,"class",null,Z.class,N),z&4&&n(B,"style",G.style,Z.style,N),z&8)for(var Ae=T.dynamicProps,A=0;A{fe&&Et(fe,k,T,S),Q&&dr(T,S,k,"updated")},P)},R=(S,T,k,P,N,$,j)=>{for(var B=0;B{if(k!==P){for(var B in P)if(!Ra(B)){var z=P[B],D=k[B];z!==D&&B!=="value"&&n(S,B,D,z,j,T.children,N,$,we)}if(k!==Se)for(var Q in k)!Ra(Q)&&!(Q in P)&&n(S,Q,k[Q],null,j,T.children,N,$,we);"value"in P&&n(S,"value",k.value,P.value)}},te=(S,T,k,P,N,$,j,B,z)=>{var D=T.el=S?S.el:s(""),Q=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:fe}=T;fe&&(B=B?B.concat(fe):fe),S==null?(i(D,k,P),i(Q,k,P),O(T.children,k,Q,N,$,j,B,z)):G>0&&G&64&&Z&&S.dynamicChildren?(R(S.dynamicChildren,Z,k,N,$,j,B),(T.key!=null||N&&T===N.subTree)&&Wf(S,T,!0)):K(S,T,k,Q,N,$,j,B,z)},L=(S,T,k,P,N,$,j,B,z)=>{T.slotScopeIds=B,S==null?T.shapeFlag&512?N.ctx.activate(T,k,P,j,z):H(T,k,P,N,$,j,z):q(S,T,z)},H=(S,T,k,P,N,$,j)=>{var B=S.component=d_(S,P,N);if(Cf(S)&&(B.ctx.renderer=Ne),h_(B),B.asyncDep){if(N&&N.registerDep(B,re),!S.el){var z=B.subTree=I(Hr);b(null,z,T,k)}return}re(B,S,T,k,N,$,j)},q=(S,T,k)=>{var P=T.component=S.component;if(A0(S,T,k))if(P.asyncDep&&!P.asyncResolved){V(P,T,k);return}else P.next=T,y0(P.update),P.update();else T.component=S.component,T.el=S.el,P.vnode=T},re=(S,T,k,P,N,$,j)=>{var B=()=>{if(S.isMounted){var{next:ue,bu:Fe,u:Ge,parent:De,vnode:pt}=S,lr=ue,Rt;hr(S,!1),ue?(ue.el=pt.el,V(S,ue,j)):ue=pt,Fe&&Io(Fe),(Rt=ue.props&&ue.props.onVnodeBeforeUpdate)&&Et(Rt,De,ue,pt),hr(S,!0);var Mr=ns(S),Ut=S.subTree;S.subTree=Mr,w(Ut,Mr,d(Ut.el),Ve(Ut),S,N,$),ue.el=Mr.el,lr===null&&I0(S,Mr.el),Ge&&Xe(Ge,N),(Rt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>Et(Rt,De,ue,pt),N)}else{var Q,{el:G,props:Z}=T,{bm:fe,m:Be,parent:Ae}=S,A=ss(T);if(hr(S,!1),fe&&Io(fe),!A&&(Q=Z&&Z.onVnodeBeforeMount)&&Et(Q,Ae,T),hr(S,!0),G&&da){var Y=()=>{S.subTree=ns(S),da(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var X=S.subTree=ns(S);w(null,X,k,P,S,N,$),T.el=X.el}if(Be&&Xe(Be,N),!A&&(Q=Z&&Z.onVnodeMounted)){var ge=T;Xe(()=>Et(Q,Ae,ge),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=P=null}},z=S.effect=new qo(B,()=>pf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},V=(S,T,k)=>{T.component=S;var P=S.vnode.props;S.vnode=T,S.next=null,Z0(S,T.props,P,k),J0(S,T.children,k),Dr(),as(void 0,S.update),Br()},K=function(S,T,k,P,N,$,j,B){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,Q=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:fe}=T;if(Z>0){if(Z&128){Te(D,G,k,P,N,$,j,B,z);return}else if(Z&256){ae(D,G,k,P,N,$,j,B,z);return}}fe&8?(Q&16&&we(D,N,$),G!==D&&f(k,G)):Q&16?fe&16?Te(D,G,k,P,N,$,j,B,z):we(D,N,$,!0):(Q&8&&f(k,""),fe&16&&O(G,k,P,N,$,j,B,z))},ae=(S,T,k,P,N,$,j,B,z)=>{S=S||ci,T=T||ci;var D=S.length,Q=T.length,G=Math.min(D,Q),Z;for(Z=0;ZQ?we(S,N,$,!0,!1,G):O(T,k,P,N,$,j,B,z,G)},Te=(S,T,k,P,N,$,j,B,z)=>{for(var D=0,Q=T.length,G=S.length-1,Z=Q-1;D<=G&&D<=Z;){var fe=S[D],Be=T[D]=z?Kt(T[D]):St(T[D]);if(ki(fe,Be))w(fe,Be,k,null,N,$,j,B,z);else break;D++}for(;D<=G&&D<=Z;){var Ae=S[G],A=T[Z]=z?Kt(T[Z]):St(T[Z]);if(ki(Ae,A))w(Ae,A,k,null,N,$,j,B,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,X=YZ)for(;D<=G;)he(S[D],N,$,!0),D++;else{var ge=D,ue=D,Fe=new Map;for(D=ue;D<=Z;D++){var Ge=T[D]=z?Kt(T[D]):St(T[D]);Ge.key!=null&&Fe.set(Ge.key,D)}var De,pt=0,lr=Z-ue+1,Rt=!1,Mr=0,Ut=new Array(lr);for(D=0;D=lr){he(li,N,$,!0);continue}var Rr=void 0;if(li.key!=null)Rr=Fe.get(li.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&ki(li,T[De])){Rr=De;break}Rr===void 0?he(li,N,$,!0):(Ut[Rr-ue]=D+1,Rr>=Mr?Mr=Rr:Rt=!0,w(li,T[Rr],k,null,N,$,j,B,z),pt++)}var Nh=Rt?i_(Ut):ci;for(De=Nh.length-1,D=lr-1;D>=0;D--){var Rl=ue+D,Dh=T[Rl],Bh=Rl+14&&arguments[4]!==void 0?arguments[4]:null,{el:$,type:j,transition:B,children:z,shapeFlag:D}=S;if(D&6){se(S.component.subTree,T,k,P);return}if(D&128){S.suspense.move(T,k,P);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i($,T,k);for(var Q=0;QB.enter($),N);else{var{leave:Z,delayLeave:fe,afterLeave:Be}=B,Ae=()=>i($,T,k),A=()=>{Z($,()=>{Ae(),Be&&Be()})};fe?fe($,Ae,A):A()}else i($,T,k)},he=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:$,props:j,ref:B,children:z,dynamicChildren:D,shapeFlag:Q,patchFlag:G,dirs:Z}=S;if(B!=null&&ds(B,null,k,S,!0),Q&256){T.ctx.deactivate(S);return}var fe=Q&1&&Z,Be=!ss(S),Ae;if(Be&&(Ae=j&&j.onVnodeBeforeUnmount)&&Et(Ae,T,S),Q&6)xe(S.component,k,P);else{if(Q&128){S.suspense.unmount(k,P);return}fe&&dr(S,null,T,"beforeUnmount"),Q&64?S.type.remove(S,T,k,N,Ne,P):D&&($!==xt||G>0&&G&64)?we(D,T,k,!1,!0):($===xt&&G&384||!N&&Q&16)&&we(z,T,k),P&&le(S)}(Be&&(Ae=j&&j.onVnodeUnmounted)||fe)&&Xe(()=>{Ae&&Et(Ae,T,S),fe&&dr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:P,transition:N}=S;if(T===xt){J(k,P);return}if(T===gs){_(S);return}var $=()=>{a(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(S.shapeFlag&1&&N&&!N.persisted){var{leave:j,delayLeave:B}=N,z=()=>j(k,$);B?B(S.el,$,z):z()}else $()},J=(S,T)=>{for(var k;S!==T;)k=p(S),a(S),S=k;a(T)},xe=(S,T,k)=>{var{bum:P,scope:N,update:$,subTree:j,um:B}=S;P&&Io(P),N.stop(),$&&($.active=!1,he(j,S,T,k)),B&&Xe(B,T),Xe(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},we=function(S,T,k){for(var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=$;jS.shapeFlag&6?Ve(S.component.subTree):S.shapeFlag&128?S.suspense.next():p(S.anchor||S.el),sr=(S,T,k)=>{if(S==null)T._vnode&&he(T._vnode,null,null,!0);else{var P=T.__vueParent;w(T._vnode||null,S,T,null,P,null,k)}T._vnode=S},Ne={p:w,um:he,m:se,r:le,mt:H,mc:O,pc:K,pbc:R,n:Ve,o:e},va,da;return t&&([va,da]=t(Ne)),{render:sr,hydrate:va,createApp:e_(sr,va)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var a_=e=>e.__isTeleport,n_=Symbol(),xt=Symbol(void 0),hs=Symbol(void 0),Hr=Symbol(void 0),gs=Symbol(void 0),Vf=null,jf=1;function Yf(e){jf+=e}function en(e){return e?e.__v_isVNode===!0:!1}function ki(e,t){return e.type===t.type&&e.key===t.key}var tn="__vInternal",qf=e=>{var{key:t}=e;return t!=null?t:null},rn=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||$e(t)||oe(t)?{i:dt,r:t,k:r,f:!!i}:t:null};function o_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===xt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&rn(t),scopeId:xf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(ps(l,r),n&128&&e.normalize(l)):r&&(l.shapeFlag|=Ee(r)?8:16),jf>0&&!o&&Vf&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Vf.push(l),l}var I=s_;function s_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===n_)&&(e=Hr),en(e)){var o=Mi(e,t,!0);return r&&ps(o,r),o}if(__(e)&&(e=e.__vccOpts),t){t=l_(t);var{class:s,style:l}=t;s&&!Ee(s)&&(t.class=yo(s)),We(l)&&(ff(l)&&!ne(l)&&(l=ce({},l)),t.style=wo(l))}var u=Ee(e)?1:k0(e)?128:a_(e)?64:We(e)?4:oe(e)?2:0;return o_(e,t,r,i,a,u,n,!0)}function l_(e){return e?ff(e)||tn in e?ce({},e):e:null}function Mi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?rt(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&qf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(rn(t)):[a,rn(t)]:rn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mi(e.ssContent),ssFallback:e.ssFallback&&Mi(e.ssFallback),el:e.el,anchor:e.anchor};return l}function u_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(hs,null,e,t)}function St(e){return e==null||typeof e=="boolean"?I(Hr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Kt(e):I(hs,null,String(e))}function Kt(e){return e.el===null||e.memo?e:Mi(e)}function ps(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&65){var a=t.default;a&&(a._c&&(a._d=!1),ps(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(tn in t)?t._ctx=dt:n===3&&dt&&(dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:dt},r=32):(t=String(t),i&64?(r=16,t=[u_(t)]):r=8);e.children=t,e.shapeFlag|=r}function rt(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;vt(e,t,7,[r,i])}var ms=e=>e?Xf(e)?nn(e)||e.proxy:ms(e.parent):null,an=ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ms(e.parent),$root:e=>ms(e.root),$emit:e=>e.emit,$options:e=>Mf(e),$forceUpdate:e=>()=>pf(e.update),$nextTick:e=>Ur.bind(e.proxy),$watch:e=>L0.bind(e)}),f_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:l,appContext:u}=r,f;if(t[0]!=="$"){var d=s[t];if(d!==void 0)switch(d){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];us&&(s[t]=0)}}var p=an[t],g,y;if(p)return t==="$attrs"&&et(r,"get",t),p(r);if((g=l.__cssModules)&&(g=g[t]))return g;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(y=u.config.globalProperties,ie(y,t))return y[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;return n!==Se&&ie(n,t)?(n[t]=r,!0):a!==Se&&ie(a,t)?(a[t]=r,!0):ie(i.props,t)||t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,l;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(l=s[0])&&ie(l,t)||ie(n,t)||ie(an,t)||ie(o.config.globalProperties,t)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ie(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},c_=Hf(),v_=0;function d_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||c_,n={uid:v_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new zm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Pf(i,a),emitsOptions:yf(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=E0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Dt=()=>Ue||dt,Wr=e=>{Ue=e,e.scope.on()},gr=()=>{Ue&&Ue.scope.off(),Ue=null};function Xf(e){return e.vnode.shapeFlag&4}var Ri=!1;function h_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ri=t;var{props:r,children:i}=e.vnode,a=Xf(e);X0(e,r,a,t),G0(e,i);var n=a?g_(e,t):void 0;return Ri=!1,n}function g_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=qa(new Proxy(e.ctx,f_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?m_(e):null;Wr(e),Dr();var n=qt(i,e,0,[e.props,a]);if(Br(),gr(),bu(n)){if(n.then(gr,gr),t)return n.then(o=>{Zf(e,o,t)}).catch(o=>{Xa(o,e,0)});e.asyncDep=n}else Zf(e,n,t)}else Gf(e,t)}function Zf(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=hf(t)),Gf(e,r)}var Kf;function Gf(e,t,r){var i=e.type;if(!e.render){if(!t&&Kf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=ce(ce({isCustomElement:n,delimiters:s},o),l);i.render=Kf(a,u)}}e.render=i.render||mt}Wr(e),Dr(),W0(e),Br(),gr()}function p_(e){return new Proxy(e.attrs,{get(t,r){return et(e,"get","$attrs"),t[r]}})}function m_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=p_(e))},slots:e.slots,emit:e.emit,expose:t}}function nn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hf(qa(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in an)return an[r](e)}}))}function __(e){return oe(e)&&"__vccOpts"in e}var ee=(e,t)=>_0(e,t,Ri);function b_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?en(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&en(r)&&(r=[r]),I(e,t,r))}var w_="3.2.33",y_="http://www.w3.org/2000/svg",pr=typeof document!="undefined"?document:null,Jf=pr&&pr.createElement("template"),x_={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var a=t?pr.createElementNS(y_,e):pr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>pr.createTextNode(e),createComment:e=>pr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i,a,n){var o=r?r.previousSibling:t.lastChild;if(a&&(a===n||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===n||!(a=a.nextSibling)););else{Jf.innerHTML=i?"".concat(e,""):e;var s=Jf.content;if(i){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function S_(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function E_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)_s(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&_s(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=normalizeStyleValue(r)):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var Qf=/\s*!important$/;function _s(e,t,r){if(ne(r))r.forEach(a=>_s(e,t,a));else if(r==null&&(r=""),r=normalizeStyleValue(r),t.startsWith("--"))e.setProperty(t,r);else{var i=normalizeStyleName(e,t);Qf.test(r)?e.setProperty(Je(i),r.replace(Qf,""),"important"):e[i]=r}}var ec="http://www.w3.org/1999/xlink";function T_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ec,t.slice(6,t.length)):e.setAttributeNS(ec,t,r);else{var n=vp(t);r==null||n&&!mu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function C_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}var l=!1;if(r===""||r==null){var u=typeof e[t];u==="boolean"?r=mu(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch(f){}l&&e.removeAttribute(t)}var[tc,O_]=(()=>{var e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());var r=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(r&&Number(r[1])<=53)}return[e,t]})(),bs=0,A_=Promise.resolve(),I_=()=>{bs=0},k_=()=>bs||(A_.then(I_),bs=tc());function M_(e,t,r,i){e.addEventListener(t,r,i)}function R_(e,t,r,i){e.removeEventListener(t,r,i)}function L_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,l]=P_(t);if(i){var u=n[t]=N_(i,a);M_(e,s,u,l)}else o&&(R_(e,s,o,l),n[t]=void 0)}}var rc=/(?:Once|Passive|Capture)$/;function P_(e){var t;if(rc.test(e)){t={};for(var r;r=e.match(rc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}function N_(e,t){var r=i=>{var a=i.timeStamp||tc();(O_||a>=r.attached-1)&&vt(D_(i,r.value),t,5,[i])};return r.value=e,r.attached=k_(),r}function D_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}var ic=/^on[a-z]/,B_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?S_(e,i,a):t==="style"?E_(e,r,i):Ma(t)?xo(t)||L_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):F_(e,t,i,a))?C_(e,t,i,n,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),T_(e,t,i,a))};function F_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ic.test(t)&&oe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ic.test(t)&&Ee(r)?!1:t in e}var $_=["ctrl","shift","alt","meta"],z_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>$_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},ws=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Pi(e,!1)}):Pi(e,i))},beforeUnmount(e,t){var{value:r}=t;Pi(e,r)}};function Pi(e,t){e.style.display=t?e._vod:"none"}var U_=ce({patchProp:B_},x_),ac;function H_(){return ac||(ac=t_(U_))}var nc=function(){var e=H_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=W_(r);if(!!i){var a=e._component;!oe(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function W_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var oc=["top","left","right","bottom"],ys,on={},ot;function xs(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function sc(){if(ot=typeof ot=="string"?ot:xs(),!ot){oc.forEach(function(s){on[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(f){var d=l[f];u[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,l){var u=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),p=document.createElement("div"),g=100,y=1e4,m={position:"absolute",width:g+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+l+")"};e(u,m),e(f,m),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(p,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(d),f.appendChild(p),s.appendChild(u),s.appendChild(f),r(function(){u.scrollTop=f.scrollTop=y;var h=u.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===u?h:b)&&(u.scrollTop=f.scrollTop=y,h=u.scrollTop,b=f.scrollTop,V_(l))}u.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var w=getComputedStyle(u);Object.defineProperty(on,l,{configurable:!0,get:function(){return parseFloat(w.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),oc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),ys=!0}function sn(e){return ys||sc(),on[e]}var ln=[];function V_(e){ln.length||setTimeout(function(){var t={};ln.forEach(function(r){t[r]=on[r]}),ln.length=0,un.forEach(function(r){r(t)})},0),ln.push(e)}var un=[];function j_(e){!xs()||(ys||sc(),typeof e=="function"&&un.push(e))}function Y_(e){var t=un.indexOf(e);t>=0&&un.splice(t,1)}var q_={get support(){return(typeof ot=="string"?ot:xs()).length!=0},get top(){return sn("top")},get left(){return sn("left")},get right(){return sn("right")},get bottom(){return sn("bottom")},onChange:j_,offChange:Y_},fn=q_,lc=ws(()=>{},["prevent"]);function cn(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Ss(){var e=document.documentElement.style,t=cn(e,"--window-top");return t?t+fn.top:0}function X_(){var e=document.documentElement.style,t=Ss(),r=cn(e,"--window-bottom"),i=cn(e,"--window-left"),a=cn(e,"--window-right");return{top:t,bottom:r?r+fn.bottom:0,left:i?i+fn.left:0,right:a?a+fn.right:0}}function Z_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function vn(e){return Symbol(e)}function uc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Vr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return K_(e);if(typeof e=="string"){var r=parseInt(e)||0;return uc(e)?uni.upx2px(r):r}return e}function K_(e){return uc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var G_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",J_="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",Q_="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",eb="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",tb="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",dn="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",rb="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",ib="M15.84 0.096q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",ab="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function hn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function gn(){return Gt()}function nb(){return window.__PAGE_INFO__}function Gt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function ob(e){e.preventDefault()}var fc,cc=0;function sb(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:u}=document.documentElement,f=window.innerHeight,d=window.scrollY,p=d>0&&u>f&&d+f+i>=u,g=Math.abs(u-cc)>i;return p&&(!n||g)?(cc=u,n=!0,!0):(!p&&n&&(n=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(u()||(fc=setTimeout(u,300))),a=!1};return function(){clearTimeout(fc),a||requestAnimationFrame(l),a=!0}}function Es(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Es(e,t.slice(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Ro(n.concat(r).join("/"))}var jr,vc,Yr;function dc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function hc(){return jr.webview.currentWebview().id}var pn,Ts,Cs={};function Os(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Cs[r];i&&i(t),t.keep||delete Cs[r]}}function lb(e,t){dc()==="v8"?Yr?(pn&&pn.close(),pn=new Yr(hc()),pn.onmessage=Os):Ts||(Ts=vc.requireModule("globalEvent"),Ts.addEventListener("plusMessage",Os)):window.__plusMessage=Os,Cs[e]=t}class ub{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Yr){var a=new Yr(i);a.postMessage(r)}else jr.webview.postMessageToUniNView&&jr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function fb(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;jr=t.plus||plus,vc=t.weex||(typeof weex=="object"?weex:null),Yr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());a=ce({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ce(s,a.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(r,".js"),defaultFontSize:16,viewport:jr.screen.resolutionWidth}};a=ce(u,a);var f=jr.webview.create("",l,a,{extras:{from:hc(),runtime:dc(),data:i,useGlobalEvent:!Yr}});return f.addEventListener("close",o),lb(l,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new ub(f)}class cb{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=gc(this.$el.querySelector(t));if(!!r)return As(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];oe(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Rp,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function As(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new cb(e)),e.$el.__wxsComponentDescriptor}function Ni(e,t){return As(e)}function gc(e){if(!!e)return qr(e)}function qr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var vb=e=>e.type==="click";function pc(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=mc(e,a);if(vb(e))hb(n,e);else if(e instanceof TouchEvent){var o=Ss();n.touches=_c(e.touches,o),n.changedTouches=_c(e.changedTouches,o)}return[n]}function db(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function mc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,{type:r,timeStamp:i,target:a,currentTarget:n}=e,o={type:r,timeStamp:i,target:Po(t?a:db(a)),detail:{},currentTarget:Po(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function hb(e,t){var{x:r,y:i}=t,a=Ss();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[gb(t,a)]}function gb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function _c(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Gt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},pb)}function Sb(e,t){var r=e[0];if(!(!t||!_t(t.formatArgs)&&_t(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Ob(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ab=0;function Ib(e,t,r){var i="".concat(Date.now()).concat(Ab++),a=e.split(","),n=a[0],o=a[1],s=(n.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(i,".").concat(s),u="".concat(t,"/").concat(l),f=t.indexOf("/"),d=t.substring(0,f),p=t.substring(f+1);plus.io.resolveLocalFileSystemURL(d,function(g){g.getDirectory(p,{create:!0,exclusive:!1},function(y){y.getFile(l,{create:!0,exclusive:!1},function(m){m.createWriter(function(w){w.onwrite=function(){r(null,u)},w.onerror=r,w.seek(0),w.writeAsBinary(o)},r)},r)},r)},r)}function kb(e){return new Promise(function(t,r){function i(){var a=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));a.load(e,function(){t(a.toBase64Data()),a.clear()},function(n){a.clear(),r(n)})}plus.io.resolveLocalFileSystemURL(e,function(a){a.file(function(n){var o=new plus.io.FileReader;o.onload=function(s){t(s.target.result)},o.onerror=i,o.readAsDataURL(n)},i)},i)})}function Mb(e){return new Promise(function(t,r){if(e.indexOf("http://")!==0&&e.indexOf("https://")!==0){t(e);return}plus.downloader.createDownload(e,{filename:"_doc/uniapp_temp/download/"},function(i,a){a===200?t(i.filename):r(new Error("network fail"))}).start()})}function Rb(e){return Mb(e).then(function(t){var r=window;return r.webkit&&r.webkit.messageHandlers?kb(t):plus.io.convertLocalFileSystemURL(t)})}var Bt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(n[l]=s[l])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,l,u){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+l),u);return}for(var f=0;f=0;)e[t]=0}var Db=0,Tc=1,Bb=2,Fb=3,$b=258,ks=29,Bi=256,Fi=Bi+1+ks,Kr=30,Ms=19,Cc=2*Fi+1,mr=15,Rs=16,zb=7,Ls=256,Oc=16,Ac=17,Ic=18,Ps=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],mn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ub=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],kc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Hb=512,Ft=new Array((Fi+2)*2);Zr(Ft);var $i=new Array(Kr*2);Zr($i);var zi=new Array(Hb);Zr(zi);var Ui=new Array($b-Fb+1);Zr(Ui);var Ns=new Array(ks);Zr(Ns);var _n=new Array(Kr);Zr(_n);function Ds(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Mc,Rc,Lc;function Bs(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Pc(e){return e<256?zi[e]:zi[256+(e>>>7)]}function Hi(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,r){e.bi_valid>Rs-r?(e.bi_buf|=t<>Rs-e.bi_valid,e.bi_valid+=r-Rs):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Wb(e){e.bi_valid===16?(Hi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Vb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,u,f,d,p,g,y,m=0;for(p=0;p<=mr;p++)e.bl_count[p]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(p=l,m++),r[f*2+1]=p,!(f>i)&&(e.bl_count[p]++,g=0,f>=s&&(g=o[f-s]),y=r[f*2],e.opt_len+=y*(p+g),n&&(e.static_len+=y*(a[f*2+1]+g)));if(m!==0){do{for(p=l-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[l]--,m-=2}while(m>0);for(p=l;p!==0;p--)for(f=e.bl_count[p];f!==0;)d=e.heap[--u],!(d>i)&&(r[d*2+1]!==p&&(e.opt_len+=(p-r[d*2+1])*r[d*2],r[d*2+1]=p),f--)}}function Dc(e,t,r){var i=new Array(mr+1),a=0,n,o;for(n=1;n<=mr;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Nc(i[s]++,s))}}function jb(){var e,t,r,i,a,n=new Array(mr+1);for(r=0,i=0;i>=7;i8?Hi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Yb(e,t,r,i){Fc(e),i&&(Hi(e,r),Hi(e,~r)),Lb.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function $c(e,t,r,i){var a=t*2,n=r*2;return e[a]>1;o>=1;o--)Fs(e,r,o);u=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Fs(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[u*2]=r[o*2]+r[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=u,e.heap[1]=u++,Fs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Vb(e,t),Dc(r,l,e.bl_count)}function Uc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[kc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Xb(e,t,r,i){var a;for(Ze(e,t-257,5),Ze(e,r-1,5),Ze(e,i-4,4),a=0;a>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Sc;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Ec;for(r=32;r0?(e.strm.data_type===Nb&&(e.strm.data_type=Zb(e)),$s(e,e.l_desc),$s(e,e.d_desc),o=qb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?Vc(e,t,r,i):e.strategy===Pb||n===a?(Ze(e,(Tc<<1)+(i?1:0),3),zc(e,Ft,$i)):(Ze(e,(Bb<<1)+(i?1:0),3),Xb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),zc(e,e.dyn_ltree,e.dyn_dtree)),Bc(e),i&&Fc(e)}function Qb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Ui[r]+Bi+1)*2]++,e.dyn_dtree[Pc(t)*2]++),e.last_lit===e.lit_bufsize-1}Xr._tr_init=Kb,Xr._tr_stored_block=Vc,Xr._tr_flush_block=Jb,Xr._tr_tally=Qb,Xr._tr_align=Gb;function ew(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var jc=ew;function tw(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var rw=tw();function iw(e,t,r,i){var a=rw,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Yc=iw,zs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qe=Bt,lt=Xr,qc=jc,Jt=Yc,aw=zs,_r=0,nw=1,ow=3,Qt=4,Xc=5,Ot=0,Zc=1,ut=-2,sw=-3,Us=-5,lw=-1,uw=1,bn=2,fw=3,cw=4,vw=0,dw=2,wn=8,hw=9,gw=15,pw=8,mw=29,_w=256,Hs=_w+1+mw,bw=30,ww=19,yw=2*Hs+1,xw=15,ve=3,er=258,ht=er+ve+1,Sw=32,yn=42,Ws=69,xn=73,Sn=91,En=103,br=113,Wi=666,Pe=1,Vi=2,wr=3,Gr=4,Ew=3;function tr(e,t){return e.msg=aw[t],t}function Kc(e){return(e<<1)-(e>4?9:0)}function rr(e){for(var t=e.length;--t>=0;)e[t]=0}function ir(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(qe.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function He(e,t){lt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ir(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function ji(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Tw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,qe.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=qc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Jt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function Gc(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-ht?e.strstart-(e.w_size-ht):0,u=e.window,f=e.w_mask,d=e.prev,p=e.strstart+er,g=u[i+o-1],y=u[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==y||u[a+o-1]!==g||u[a]!==u[i]||u[++a]!==u[i+1])){i+=2,a++;do;while(u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&io){if(e.match_start=t,o=n,n>=s)break;g=u[i+o-1],y=u[i+o]}}while((t=d[t&f])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function yr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ht)){qe.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=Tw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===_r)return Pe;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ht&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Pe)}function Vs(e,t){for(var r,i;;){if(e.lookahead=ve&&(e.ins_h=(e.ins_h<=ve)if(i=lt._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=ve&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=lt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+er;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=lt._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function Aw(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===_r)return Pe;break}if(e.match_length=0,r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function At(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var Qr;Qr=[new At(0,0,0,0,Cw),new At(4,4,8,4,Vs),new At(4,5,16,8,Vs),new At(4,6,32,32,Vs),new At(4,4,16,16,Jr),new At(8,16,32,32,Jr),new At(8,16,128,128,Jr),new At(8,32,128,256,Jr),new At(32,128,258,1024,Jr),new At(32,258,258,4096,Jr)];function Iw(e){e.window_size=2*e.w_size,rr(e.head),e.max_lazy_match=Qr[e.level].max_lazy,e.good_match=Qr[e.level].good_length,e.nice_match=Qr[e.level].nice_length,e.max_chain_length=Qr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function kw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wn,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qe.Buf16(yw*2),this.dyn_dtree=new qe.Buf16((2*bw+1)*2),this.bl_tree=new qe.Buf16((2*ww+1)*2),rr(this.dyn_ltree),rr(this.dyn_dtree),rr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(xw+1),this.heap=new qe.Buf16(2*Hs+1),rr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*Hs+1),rr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Jc(e){var t;return!e||!e.state?tr(e,ut):(e.total_in=e.total_out=0,e.data_type=dw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?yn:br,e.adler=t.wrap===2?0:1,t.last_flush=_r,lt._tr_init(t),Ot)}function Qc(e){var t=Jc(e);return t===Ot&&Iw(e.state),t}function Mw(e,t){return!e||!e.state||e.state.wrap!==2?ut:(e.state.gzhead=t,Ot)}function ev(e,t,r,i,a,n){if(!e)return ut;var o=1;if(t===lw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>hw||r!==wn||i<8||i>15||t<0||t>9||n<0||n>cw)return tr(e,ut);i===8&&(i=9);var s=new kw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Xc||t<0)return e?tr(e,ut):ut;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Wi&&t!==Qt)return tr(e,e.avail_out===0?Us:ut);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===yn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=bn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Jt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Ws):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=bn||i.level<2?4:0),pe(i,Ew),i.status=br);else{var o=wn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=bn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=Sw),o+=31-o%31,i.status=br,ji(i,o),i.strstart!==0&&(ji(i,e.adler>>>16),ji(i,e.adler&65535)),e.adler=1}if(i.status===Ws)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=Sn)}else i.status=Sn;if(i.status===Sn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=En)}else i.status=En;if(i.status===En&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ir(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=br)):i.status=br),i.pending!==0){if(ir(e),e.avail_out===0)return i.last_flush=-1,Ot}else if(e.avail_in===0&&Kc(t)<=Kc(r)&&t!==Qt)return tr(e,Us);if(i.status===Wi&&e.avail_in!==0)return tr(e,Us);if(e.avail_in!==0||i.lookahead!==0||t!==_r&&i.status!==Wi){var l=i.strategy===bn?Aw(i,t):i.strategy===fw?Ow(i,t):Qr[i.level].func(i,t);if((l===wr||l===Gr)&&(i.status=Wi),l===Pe||l===wr)return e.avail_out===0&&(i.last_flush=-1),Ot;if(l===Vi&&(t===nw?lt._tr_align(i):t!==Xc&&(lt._tr_stored_block(i,0,0,!1),t===ow&&(rr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ir(e),e.avail_out===0))return i.last_flush=-1,Ot}return t!==Qt?Ot:i.wrap<=0?Zc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(ji(i,e.adler>>>16),ji(i,e.adler&65535)),ir(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ot:Zc)}function Pw(e){var t;return!e||!e.state?ut:(t=e.state.status,t!==yn&&t!==Ws&&t!==xn&&t!==Sn&&t!==En&&t!==br&&t!==Wi?tr(e,ut):(e.state=null,t===br?tr(e,sw):Ot))}function Nw(e,t){var r=t.length,i,a,n,o,s,l,u,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==yn||i.lookahead))return ut;for(o===1&&(e.adler=qc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(rr(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new qe.Buf8(i.w_size),qe.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,l=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<=252?6:ar>=248?5:ar>=240?4:ar>=224?3:ar>=192?2:1;Yi[254]=Yi[254]=1,xr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function iv(e,t){if(t<65534&&(e.subarray&&rv||!e.subarray&&tv))return String.fromCharCode.apply(null,Tn.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return iv(s,i)},xr.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Yi[e[r]]>t?r:t};function Dw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var av=Dw,qi=Tt,Xi=Bt,js=xr,Ys=zs,Bw=av,nv=Object.prototype.toString,Fw=0,qs=4,ei=0,ov=1,sv=2,$w=-1,zw=0,Uw=8;function Sr(e){if(!(this instanceof Sr))return new Sr(e);this.options=Xi.assign({level:$w,method:Uw,chunkSize:16384,windowBits:15,memLevel:8,strategy:zw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bw,this.strm.avail_out=0;var r=qi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ei)throw new Error(Ys[r]);if(t.header&&qi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=js.string2buf(t.dictionary):nv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=qi.deflateSetDictionary(this.strm,i),r!==ei)throw new Error(Ys[r]);this._dict_set=!0}}Sr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?qs:Fw,typeof e=="string"?r.input=js.string2buf(e):nv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Xi.Buf8(i),r.next_out=0,r.avail_out=i),a=qi.deflate(r,n),a!==ov&&a!==ei)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===qs||n===sv))&&(this.options.to==="string"?this.onData(js.buf2binstring(Xi.shrinkBuf(r.output,r.next_out))):this.onData(Xi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==ov);return n===qs?(a=qi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ei):(n===sv&&(this.onEnd(ei),r.avail_out=0),!0)},Sr.prototype.onData=function(e){this.chunks.push(e)},Sr.prototype.onEnd=function(e){e===ei&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Xi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Xs(e,t){var r=new Sr(t);if(r.push(e,!0),r.err)throw r.msg||Ys[r.err];return r.result}function Hw(e,t){return t=t||{},t.raw=!0,Xs(e,t)}function Ww(e,t){return t=t||{},t.gzip=!0,Xs(e,t)}Di.Deflate=Sr,Di.deflate=Xs,Di.deflateRaw=Hw,Di.gzip=Ww;var Zi={},gt={},Cn=30,Vw=12,jw=function(t,r){var i,a,n,o,s,l,u,f,d,p,g,y,m,w,h,b,c,v,_,x,E,C,O,M,R;i=t.state,a=t.next_in,M=t.input,n=a+(t.avail_in-5),o=t.next_out,R=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=i.dmax,f=i.wsize,d=i.whave,p=i.wnext,g=i.window,y=i.hold,m=i.bits,w=i.lencode,h=i.distcode,b=(1<>>24,y>>>=_,m-=_,_=v>>>16&255,_===0)R[o++]=v&65535;else if(_&16){x=v&65535,_&=15,_&&(m<_&&(y+=M[a++]<>>=_,m-=_),m<15&&(y+=M[a++]<>>24,y>>>=_,m-=_,_=v>>>16&255,_&16){if(E=v&65535,_&=15,m<_&&(y+=M[a++]<u){t.msg="invalid distance too far back",i.mode=Cn;break e}if(y>>>=_,m-=_,_=o-s,E>_){if(_=E-_,_>d&&i.sane){t.msg="invalid distance too far back",i.mode=Cn;break e}if(C=0,O=g,p===0){if(C+=f-_,_2;)R[o++]=O[C++],R[o++]=O[C++],R[o++]=O[C++],x-=3;x&&(R[o++]=O[C++],x>1&&(R[o++]=O[C++]))}else{C=o-E;do R[o++]=R[C++],R[o++]=R[C++],R[o++]=R[C++],x-=3;while(x>2);x&&(R[o++]=R[C++],x>1&&(R[o++]=R[C++]))}}else if((_&64)===0){v=h[(v&65535)+(y&(1<<_)-1)];continue r}else{t.msg="invalid distance code",i.mode=Cn;break e}break}}else if((_&64)===0){v=w[(v&65535)+(y&(1<<_)-1)];continue t}else if(_&32){i.mode=Vw;break e}else{t.msg="invalid literal/length code",i.mode=Cn;break e}break}}while(a>3,a-=x,m-=x<<3,y&=(1<=1&&U[g]===0;g--);if(y>g&&(y=g),g===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(p=1;p0&&(t===cv||g!==1))return-1;for(te[1]=0,f=1;fuv||t===vv&&b>fv)return 1;for(;;){q=f-w,s[d]R?(re=L[H+s[d]],V=O[M+s[d]]):(re=32+64,V=0),v=1<>w)+_]=q<<24|re<<16|V|0;while(_!==0);for(v=1<>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--U[f]===0){if(f===g)break;f=r[i+s[d]]}if(f>y&&(c&E)!==x){for(w===0&&(w=y),C+=p,m=f-w,h=1<uv||t===vv&&b>fv)return 1;x=c&E,n[x]=y<<24|m<<16|C-o|0}}return c!==0&&(n[C+c]=f-w<<24|64<<16|0),l.bits=y,0},it=Bt,Ks=jc,It=Yc,Gw=jw,Ki=Kw,Jw=0,dv=1,hv=2,gv=4,Qw=5,On=6,Er=0,e1=1,t1=2,ft=-2,pv=-3,mv=-4,r1=-5,_v=8,bv=1,wv=2,yv=3,xv=4,Sv=5,Ev=6,Tv=7,Cv=8,Ov=9,Av=10,An=11,$t=12,Gs=13,Iv=14,Js=15,kv=16,Mv=17,Rv=18,Lv=19,In=20,kn=21,Pv=22,Nv=23,Dv=24,Bv=25,Fv=26,Qs=27,$v=28,zv=29,Oe=30,Uv=31,i1=32,a1=852,n1=592,o1=15,s1=o1;function Hv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function l1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new it.Buf16(320),this.work=new it.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Wv(e){var t;return!e||!e.state?ft:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=bv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new it.Buf32(a1),t.distcode=t.distdyn=new it.Buf32(n1),t.sane=1,t.back=-1,Er)}function Vv(e){var t;return!e||!e.state?ft:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Wv(e))}function jv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ft:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,Vv(e))}function Yv(e,t){var r,i;return e?(i=new l1,e.state=i,i.window=null,r=jv(e,t),r!==Er&&(e.state=null),r):ft}function u1(e){return Yv(e,s1)}var qv=!0,el,tl;function f1(e){if(qv){var t;for(el=new it.Buf32(512),tl=new it.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ki(dv,e.lens,0,288,el,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ki(hv,e.lens,0,32,tl,0,e.work,{bits:5}),qv=!1}e.lencode=el,e.lenbits=9,e.distcode=tl,e.distbits=5}function Xv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(it.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),it.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(it.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave>>8&255,r.check=It(r.check,O,2,0),u=0,f=0,r.mode=wv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=Oe;break}if((u&15)!==_v){e.msg="unknown compression method",r.mode=Oe;break}if(u>>>=4,f-=4,E=(u&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Oe;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0,r.mode=yv;case yv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,r.check=It(r.check,O,4,0)),u=0,f=0,r.mode=xv;case xv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>8),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0,r.mode=Sv;case Sv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0}else r.head&&(r.head.extra=null);r.mode=Ev;case Ev:if(r.flags&1024&&(g=r.length,g>s&&(g=s),g&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),it.arraySet(r.head.extra,i,n,g,E)),r.flags&512&&(r.check=It(r.check,i,g,n)),s-=g,n+=g,r.length-=g),r.length))break e;r.length=0,r.mode=Tv;case Tv:if(r.flags&2048){if(s===0)break e;g=0;do E=i[n+g++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&g>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=$t;break;case Av:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>=f&7,f-=f&7,r.mode=Qs;break}for(;f<3;){if(s===0)break e;s--,u+=i[n++]<>>=1,f-=1,u&3){case 0:r.mode=Iv;break;case 1:if(f1(r),r.mode=In,t===On){u>>>=2,f-=2;break e}break;case 2:r.mode=Mv;break;case 3:e.msg="invalid block type",r.mode=Oe}u>>>=2,f-=2;break;case Iv:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Oe;break}if(r.length=u&65535,u=0,f=0,r.mode=Js,t===On)break e;case Js:r.mode=kv;case kv:if(g=r.length,g){if(g>s&&(g=s),g>l&&(g=l),g===0)break e;it.arraySet(a,i,n,g,o),s-=g,n+=g,l-=g,o+=g,r.length-=g;break}r.mode=$t;break;case Mv:for(;f<14;){if(s===0)break e;s--,u+=i[n++]<>>=5,f-=5,r.ndist=(u&31)+1,u>>>=5,f-=5,r.ncode=(u&15)+4,u>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Oe;break}r.have=0,r.mode=Rv;case Rv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},C=Ki(Jw,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid code lengths set",r.mode=Oe;break}r.have=0,r.mode=Lv;case Lv:for(;r.have>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<>>=h,f-=h,r.lens[r.have++]=c;else{if(c===16){for(R=h+2;f>>=h,f-=h,r.have===0){e.msg="invalid bit length repeat",r.mode=Oe;break}E=r.lens[r.have-1],g=3+(u&3),u>>>=2,f-=2}else if(c===17){for(R=h+3;f>>=h,f-=h,E=0,g=3+(u&7),u>>>=3,f-=3}else{for(R=h+7;f>>=h,f-=h,E=0,g=11+(u&127),u>>>=7,f-=7}if(r.have+g>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Oe;break}for(;g--;)r.lens[r.have++]=E}}if(r.mode===Oe)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Oe;break}if(r.lenbits=9,M={bits:r.lenbits},C=Ki(dv,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid literal/lengths set",r.mode=Oe;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},C=Ki(hv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,C){e.msg="invalid distances set",r.mode=Oe;break}if(r.mode=In,t===On)break e;case In:r.mode=kn;case kn:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,Gw(e,p),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,r.mode===$t&&(r.back=-1);break}for(r.back=0;w=r.lencode[u&(1<>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<>v)],h=w>>>24,b=w>>>16&255,c=w&65535,!(v+h<=f);){if(s===0)break e;s--,u+=i[n++]<>>=v,f-=v,r.back+=v}if(u>>>=h,f-=h,r.back+=h,r.length=c,b===0){r.mode=Fv;break}if(b&32){r.back=-1,r.mode=$t;break}if(b&64){e.msg="invalid literal/length code",r.mode=Oe;break}r.extra=b&15,r.mode=Pv;case Pv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Nv;case Nv:for(;w=r.distcode[u&(1<>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<>v)],h=w>>>24,b=w>>>16&255,c=w&65535,!(v+h<=f);){if(s===0)break e;s--,u+=i[n++]<>>=v,f-=v,r.back+=v}if(u>>>=h,f-=h,r.back+=h,b&64){e.msg="invalid distance code",r.mode=Oe;break}r.offset=c,r.extra=b&15,r.mode=Dv;case Dv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Oe;break}r.mode=Bv;case Bv:if(l===0)break e;if(g=p-l,r.offset>g){if(g=r.offset-g,g>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Oe;break}g>r.wnext?(g-=r.wnext,y=r.wsize-g):y=r.wnext-g,g>r.length&&(g=r.length),m=r.window}else m=a,y=o-r.offset,g=r.length;g>l&&(g=l),l-=g,r.length-=g;do a[o++]=m[y++];while(--g);r.length===0&&(r.mode=kn);break;case Fv:if(l===0)break e;a[o++]=r.length,l--,r.mode=kn;break;case Qs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,u|=i[n++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m1,this.strm.avail_out=0;var r=ri.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(rl[r]);if(this.header=new _1,ri.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Mn.string2buf(t.dictionary):Kv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ri.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(rl[r])}Tr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,l,u,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=Mn.binstring2buf(e):Kv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Gi.Buf8(i),r.next_out=0,r.avail_out=i),n=ri.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ri.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=Mn.utf8border(r.output,r.next_out),l=r.next_out-s,u=Mn.buf2string(r.output,s),r.next_out=l,r.avail_out=i-l,l&&Gi.arraySet(r.output,r.output,s,l,0),this.onData(u)):this.onData(Gi.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ri.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Tr.prototype.onData=function(e){this.chunks.push(e)},Tr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function il(e,t){var r=new Tr(t);if(r.push(e,!0),r.err)throw r.msg||rl[r.err];return r.result}function b1(e,t){return t=t||{},t.raw=!0,il(e,t)}Zi.Inflate=Tr,Zi.inflate=il,Zi.inflateRaw=b1,Zi.ungzip=il;var w1=Bt.assign,y1=Di,x1=Zi,S1=Zv,Gv={};w1(Gv,y1,x1,S1);var Jv=Gv,E1="upx2px",T1=1e-4,C1=750,Qv=!1,al=0,ed=0,td=960,rd=375;function O1(){var{platform:e,pixelRatio:t,windowWidth:r}=yc();al=r,ed=t,Qv=e==="ios"}function id(e,t){var r=Number(e);return isNaN(r)?t:r}function A1(){var e=__uniConfig.globalStyle||{};td=id(e.rpxCalcMaxDeviceWidth,960),rd=id(e.rpxCalcBaseDeviceWidth,375)}var ad=Cb(E1,(e,t)=>{if(al===0&&(O1(),A1()),e=Number(e),e===0)return 0;var r=t||al;r=r<=td?r:rd;var i=e/C1*r;return i<0&&(i=-i),i=Math.floor(i+T1),i===0&&(ed===1||!Qv?i=1:i=.5),e<0?-i:i});new Ru;var I1=[{name:"id",type:String,required:!0}];I1.concat({name:"componentInstance",type:Object});var nd={};nd.f={}.propertyIsEnumerable;var k1=ui,M1=vo,R1=wa,L1=nd.f,P1=function(e){return function(t){for(var r=R1(t),i=M1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!k1||L1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},od=fo,N1=P1(!1);od(od.S,"Object",{values:function(t){return N1(t)}});var D1="setPageMeta",B1="loadFontFace",F1="pageScrollTo",$1=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(v){return null}}var t=function(c){for(var v=c,_=e(v);_;)v=_.ownerDocument,_=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=y(c.rootBounds),this.boundingClientRect=y(c.boundingClientRect),this.intersectionRect=y(c.intersectionRect||g()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,_=v.width*v.height,x=this.intersectionRect,E=x.width*x.height;_?this.intersectionRatio=Number((E/_).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var _=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(_.root&&_.root.nodeType!=1&&_.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(_.rootMargin),this.thresholds=this._initThresholds(_.threshold),this.root=_.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,v){!c||!v?a=g():a=m(c,v),r.forEach(function(_){_._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(_){return _.element==c});if(!v){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(v){return v.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var v=c||[0];return Array.isArray(v)||(v=[v]),v.sort().filter(function(_,x,E){if(typeof _!="number"||isNaN(_)||_<0||_>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return _!==E[x-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",_=v.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return _[1]=_[1]||_[0],_[2]=_[2]||_[0],_[3]=_[3]||_[1],_},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var _=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=v.setInterval(_,this.POLL_INTERVAL):(u(v,"resize",_,!0),u(c,"scroll",_,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(_),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var M=c.defaultView;M&&(x&&M.clearInterval(x),f(M,"resize",_,!0)),f(c,"scroll",_,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=C){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var v=this._monitoringDocuments.indexOf(c);if(v!=-1){var _=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(O){var M=O.element.ownerDocument;if(M==c)return!0;for(;M&&M!=_;){var R=e(M);if(M=R&&R.ownerDocument,M==c)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=_){var C=e(c);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var v=0;v=0&&M>=0&&{top:_,bottom:x,left:E,right:C,width:O,height:M}||null}function p(c){var v;try{v=c.getBoundingClientRect()}catch(_){}return v?(v.width&&v.height||(v={top:v.top,right:v.right,bottom:v.bottom,left:v.left,width:v.right-v.left,height:v.bottom-v.top}),v):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function m(c,v){var _=v.top-c.top,x=v.left-c.left;return{top:_,left:x,height:v.height,width:v.width,bottom:_+v.height,right:x+v.width}}function w(c,v){for(var _=v;_;){if(_==c)return!0;_=h(_)}return!1}function h(c){var v=c.parentNode;return c.nodeType==9&&c!=t?e(c):(v&&v.assignedSlot&&(v=v.assignedSlot.parentNode),v&&v.nodeType==11&&v.host?v.host:v)}function b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function nl(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function z1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function U1(e,t,r){$1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:z1(u),intersectionRect:nl(u.intersectionRect),boundingClientRect:nl(u.boundingClientRect),relativeRect:nl(u.rootBounds),time:Date.now(),dataset:Lo(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function Z1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function sd(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=K1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function K1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function G1(e,t){return e.priority=t,e}var ol=new Set,J1=1,Rn=2,ld=3,ud=4;function zt(e,t){ol.add(G1(e,t))}function Q1(){try{[...ol].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{ol.clear()}}function fd(e,t){var r=window["__"+Ap],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var ey=xu.length;function ty(e,t,r){var[i,a,n,o]=ll(t),s=sl(e,i);if(ne(r)||ne(o)){var[l,u]=n.split(".");return ul(s,a,l,u,r||o)}return ay(s,a,n)}function ry(e,t,r){var[i,a,n]=ll(t),[o,s]=n.split("."),l=sl(e,i);return ul(l,a,o,s,[oy(r,e),Ni(qr(l))])}function sl(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function ll(e){return JSON.parse(e.slice(ey))}function iy(e,t,r,i){var[a,n,o]=ll(e),s=sl(t,a),[l,u]=o.split(".");return ul(s,n,l,u,[r,i,Ni(qr(s)),Ni(qr(t))])}function ul(e,t,r,i,a){var n=fd(t,e);if(!n)return console.error(Mo("wxs","module "+r+" not found"));var o=n[i];return oe(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ay(e,t,r){var i=fd(t,e);return i?Eu(i,r.slice(r.indexOf(".")+1)):console.error(Mo("wxs","module "+r+" not found"))}function ny(e,t,r){var i=r;return a=>{try{iy(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function oy(e,t){var r=qr(t);return Object.defineProperty(e,"instance",{get(){return Ni(r)}}),e}function cd(e,t){Object.keys(t).forEach(r=>{ly(e,t[r])})}function sy(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function ly(e,t){var r=uy(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=fy(i,r)}}function uy(e){var t=window["__"+Ip],r=t&&t[e];return r||console.error(Mo("renderjs",e+" not found"))}function fy(e,t){return t=t.default||t,t.render=()=>{},nc(t).mixin({mounted(){this.$ownerInstance=Ni(qr(e))}}).mount(document.createElement("div"))}class ii{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=yT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t,this.updateView()}insert(t,r,i){i&&this.init(i,!1);var a=this.$,n=Ke(t);r===-1?n.appendChild(a):n.insertBefore(a,Ke(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Th(this.id),sy(this),this.removeUniChildren(),this.updateView()}appendChild(t){var r=this.$.appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=this.$.insertBefore(t,r);return this.updateView(!0),i}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(Fo)===0){var i=r.replace(Fo,""),a=t[i],n=ny(this,t[r],a);zt(()=>n(a),ud),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(Fo+t);if(a)return zt(()=>i?Ur(()=>a(r)):a(r),ud),!0}updateView(t){(this.isMounted||t)&&window.dispatchEvent(new CustomEvent("updateview"))}}function vd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function fl(e){return vy(Vr(e,!0))}var cy=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,vy=e=>{if(Ee(e)&&e.indexOf("url(")!==-1){var t=e.match(cy);t&&t.length===3&&(e=e.replace(t[1],st(t[1])))}return e},dd=["Webkit"],cl={};function hd(e,t){var r=cl[t];if(r)return r;var i=Ht(t);if(i!=="filter"&&i in e)return cl[t]=i;i=Oo(i);for(var a=0;avl(e,t,a));else if(r=fl(r),t.startsWith("--"))e.setProperty(t,r);else{var i=hd(e,t);pd.test(r)?e.setProperty(Je(i),r.replace(pd,""),"important"):e[i]=r}}var dy=Su.length;function dl(e,t){return Ee(t)&&(t.indexOf(Su)===0?t=JSON.parse(t.slice(dy)):t.indexOf(xu)===0&&(t=ty(e,t))),t}function Ln(e){return e.indexOf("--")===0}function hy(e){return!!e.addWxsEvent}function md(e,t){var r=e.__listeners[t];r&&e.removeEventListener(t,r)}function _d(e,t){if(e.__listeners[t])return!0}function bd(e,t,r){var[i,a]=No(t);r===-1?md(e,i):_d(e,i)||e.addEventListener(i,e.__listeners[i]=wd(e.__id,r,a),a)}function wd(e,t,r){var i=a=>{var[n]=pc(a);n.type=Wp(a.type,r),UniViewJSBridge.publishHandler(bc,[[im,e,n]])};return t?ws(i,yd(t)):i}function yd(e){var t=[];return e&Do.prevent&&t.push("prevent"),e&Do.self&&t.push("self"),e&Do.stop&&t.push("stop"),t}function gy(e,t,r,i){var[a,n]=No(t);i===-1?md(e,a):_d(e,a)||e.addEventListener(a,e.__listeners[a]=xd(e,r,i),n)}function xd(e,t,r){var i=a=>{ry(hy(e)?e.$:e,t,pc(a)[0])};return r?ws(i,yd(r)):i}function hl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Sd extends ii{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=ke({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),r&&(W(this.$props,()=>{zt(this._update,J1)},{flush:"sync"}),this.update(!0))}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){gy(this.$,t,r,i)}addEvent(t,r){bd(this.$,t,r)}removeEvent(t){bd(this.$,t,-1)}setAttr(t,r){t===Ou?vd(this.$,r):t===Bo?gd(this.$,r):t===Da?hl(this.$,r):t===Au?this.$.__ownerId=r:t===Iu?zt(()=>cd(this,r),ld):t===Vp?this.$.innerHTML=r:t===jp?this.setText(r):this.setAttribute(t,r),this.updateView()}removeAttr(t){t===Ou?vd(this.$,""):t===Bo?gd(this.$,""):this.removeAttribute(t),this.updateView()}setAttribute(t,r){r=dl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:Ln(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:Ln(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class py extends ii{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var KT="";function Ed(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function my(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function _y(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,l={},u=[];return n.forEach(f=>{var d=f.type,p=[...f.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?p=p.map(y=>parseFloat(y)+"deg"):d.startsWith("translate")&&(p=p.map(Ed)),r.indexOf(d)>=0&&(p.length=1),u.push("".concat(d,"(").concat(p.join(","),")"));else if(i.concat(a).includes(p[0])){d=p[0];var g=p[1];l[d]=a.includes(d)?Ed(g):g}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(f=>"".concat(my(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function Td(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,l=_y(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{n()},0)}var Pn={props:["animation"],watch:{animation:{deep:!0,handler(){Td(this)}}},mounted(){Td(this)}},de=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Pn),by(e)},by=e=>(e.__reserved=!0,e.compatConfig={MODE:3},P0(e)),wy={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function gl(e){var t=F(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function ai(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Cr(e){return e.__wwe=!0,e}function Le(e,t){return(r,i,a)=>{e.value&&t(r,xy(r,i,e.value,a||{}))}}function yy(e){return(t,r)=>{e(t,mc(r))}}function xy(e,t,r,i){var a=Po(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var kt=vn("uf"),Sy=de({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=F(null);return Ey(Le(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function Ey(e){var t=[];return ze(kt,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Ty={for:{type:String,default:""}},Ji=vn("ul");function Cy(){var e=[];return ze(Ji,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var Oy=de({name:"Label",props:Ty,setup(e,t){var{slots:r}=t,i=gn(),a=Cy(),n=ee(()=>e.for||r.default&&r.default.length),o=Cr(s=>{var l=s.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Nn(e,t){Cd(e.id,t),W(()=>e.id,(r,i)=>{Od(i,t,!0),Cd(r,t,!0)}),Zt(()=>{Od(e.id,t)})}function Cd(e,t,r){var i=gn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Od(e,t,r){var i=gn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Ay={id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},Iy=de({name:"Button",props:Ay,setup(e,t){var{slots:r}=t,i=F(null);Sm();var a=_e(kt,!1),{hovering:n,binding:o}=gl(e),{t:s}=Qe(),l=Cr((f,d)=>{if(e.disabled)return f.stopImmediatePropagation();d&&i.value.click();var p=e.formType;if(p){if(!a)return;p==="submit"?a.submit(f):p==="reset"&&a.reset(f);return}e.openType==="feedback"&&ky(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),u=_e(Ji,!1);return u&&(u.addHandler(l),Ce(()=>{u.removeHandler(l)})),Nn(e,{"label-click":l}),()=>{var f=e.hoverClass,d=ai(e,"disabled"),p=ai(e,"loading"),g=ai(e,"plain"),y=f&&f!=="none";return I("uni-button",rt({ref:i,onClick:l,class:y&&n.value?f:""},y&&o,d,p,g),[r.default&&r.default()],16,["onClick"])}}});function ky(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Or=de({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=F(null),a=Ry(i),n=My(i,r,a);return Ly(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function My(e,t,r){var i=ke({width:-1,height:-1});return W(()=>ce({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Ry(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ly(e,t,r,i){ls(i),Re(()=>{t.initial&&Ur(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var ye=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?ye:1),e.height=e.offsetHeight*(t?ye:1),e.getContext("2d").__hidpi__=t}var Id=!1;function Py(){if(!Id){Id=!0;var e=function(i,a){for(var n in i)ie(i,n)&&a(i[n],n)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,l,u,f,d,p,g){if(!this.__hidpi__)return i.apply(this,arguments);n*=ye,o*=ye,s*=ye,l*=ye,u*=ye,f*=ye,d=g?d*ye:d,p=g?p*ye:p,i.call(this,a,n,o,s,l,u,f,d,p)}}(r.drawImage),ye!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*ye});else if(Array.isArray(i))for(var s=0;sPy());function kd(e){return e&&st(e)}function Dn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Md(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var Qi;function Rd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Qi||(Qi=document.createElement("canvas")),Qi.width=e,Qi.height=t,Qi}var Dy={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},By=de({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Dy,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Ny();var a=F(null),n=F(null),o=F(!1),s=yy(r),{$attrs:l,$excludeAttrs:u,$listeners:f}=Gd({excludeListeners:!0}),{_listeners:d}=Fy(e,f,s),{_handleSubscribe:p,_resize:g}=$y(e,a,o);return sa(p,la(e.canvasId),!0),Re(()=>{g()}),()=>{var{canvasId:y,disableScroll:m}=e;return I("uni-canvas",rt({"canvas-id":y,"disable-scroll":m},l.value,u.value,d.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Or,{ref:n,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Fy(e,t,r){var i=ee(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ce({},(()=>{var s={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=n[l];s[l]=u}return s})());return a.forEach(s=>{var l=o[s],u=[];l&&u.push(Cr(f=>{r(s.replace("on","").toLocaleLowerCase(),ce({},(()=>{var d={};for(var p in f)d[p]=f[p];return d})(),{touches:Md(f.currentTarget,f.touches),changedTouches:Md(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(lc),o[s]=u}),o});return{_listeners:i}}function $y(e,t,r){var i=[],a={},n=ee(()=>e.hidpi?ye:1);function o(m){var w=t.value,h=!m||w.width!==Math.floor(m.width*n.value)||w.height!==Math.floor(m.height*n.value);if(!!h)if(w.width>0&&w.height>0){var b=w.getContext("2d"),c=b.getImageData(0,0,w.width,w.height);Ad(w,e.hidpi),b.putImageData(c,0,0)}else Ad(w,e.hidpi)}function s(m,w){var{actions:h,reserve:b}=m;if(!!h){if(r.value){i.push([h,b]);return}var c=t.value,v=c.getContext("2d");b||(v.fillStyle="#000000",v.strokeStyle="#000000",v.shadowColor="#000000",v.shadowBlur=0,v.shadowOffsetX=0,v.shadowOffsetY=0,v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,c.width,c.height)),l(h);for(var _=function(C){var O=h[C],M=O.method,R=O.data,U=R[0];if(/^set/.test(M)&&M!=="setTransform"){var te=M[3].toLowerCase()+M.slice(4),L;if(te==="fillStyle"||te==="strokeStyle"){if(U==="normal")L=Dn(R[1]);else if(U==="linear"){var H=v.createLinearGradient(...R[1]);R[2].forEach(function(J){var xe=J[0],we=Dn(J[1]);H.addColorStop(xe,we)}),L=H}else if(U==="radial"){var q=R[1],re=q[0],V=q[1],K=q[2],ae=v.createRadialGradient(re,V,0,re,V,K);R[2].forEach(function(J){var xe=J[0],we=Dn(J[1]);ae.addColorStop(xe,we)}),L=ae}else if(U==="pattern"){var Te=u(R[1],h.slice(C+1),w,function(J){J&&(v[te]=v.createPattern(J,R[2]))});return Te?"continue":"break"}v[te]=L}else if(te==="globalAlpha")v[te]=Number(U)/255;else if(te==="shadow"){var se=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];R.forEach(function(J,xe){v[se[xe]]=se[xe]==="shadowColor"?Dn(J):J})}else if(te==="fontSize"){var he=v.__font__||v.font;v.__font__=v.font=he.replace(/\d+\.?\d*px/,U+"px")}else te==="lineDash"?(v.setLineDash(U),v.lineDashOffset=R[1]||0):te==="textBaseline"?(U==="normal"&&(R[0]="alphabetic"),v[te]=U):te==="font"?v.__font__=v.font=U:v[te]=U}else if(M==="fillPath"||M==="strokePath")M=M.replace(/Path/,""),v.beginPath(),R.forEach(function(J){v[J.method].apply(v,J.data)}),v[M]();else if(M==="fillText")v.fillText.apply(v,R);else if(M==="drawImage"){var le=function(){var J=[...R],xe=J[0],we=J.slice(1);if(a=a||{},!u(xe,h.slice(C+1),w,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...we.slice(4,8)],[...we.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else M==="clip"?(R.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[M].apply(v,R)},x=0;x{_.src=x}).catch(()=>{_.src=c})}})}function u(m,w,h,b){var c=a[m];return c.ready?(b(c),!0):(i.unshift([w,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var _=v.shift();_;)s({actions:_[0],reserve:_[1]},h),_=v.shift()},!1)}function f(m,w){var{x:h=0,y:b=0,width:c,height:v,destWidth:_,destHeight:x,hidpi:E=!0,dataType:C,quality:O=1,type:M="png"}=m,R=t.value,U,te=R.offsetWidth-h;c=c?Math.min(c,te):te;var L=R.offsetHeight-b;v=v?Math.min(v,L):L,E?(_=c,x=v):!_&&!x?(_=Math.round(c*n.value),x=Math.round(v*n.value)):_?x||(x=Math.round(v/c*_)):_=Math.round(c/v*x);var H=Rd(_,x),q=H.getContext("2d");(M==="jpeg"||M==="jpg")&&(M="jpeg",q.fillStyle="#fff",q.fillRect(0,0,_,x)),q.__hidpi__=!0,q.drawImageByCanvas(R,h,b,c,v,0,0,_,x,!1);var re;try{var V;if(C==="base64")U=H.toDataURL("image/".concat(M),O);else{var K=q.getImageData(0,0,_,x);U=Jv.deflateRaw(K.data,{to:"string"}),V=!0}re={data:U,compressed:V,width:_,height:x}}catch(ae){re={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(H.height=H.width=0,q.__hidpi__=!1,w)w(re);else return re}function d(m,w){var{data:h,x:b,y:c,width:v,height:_,compressed:x}=m;try{x&&(h=Jv.inflateRaw(h)),_||(_=Math.round(h.length/4/v));var E=Rd(v,_),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(h),v,_),0,0),t.value.getContext("2d").drawImage(E,b,c,v,_),E.height=E.width=0}catch(O){w({errMsg:"canvasPutImageData:fail"});return}w({errMsg:"canvasPutImageData:ok"})}function p(m,w){var{x:h=0,y:b=0,width:c,height:v,destWidth:_,destHeight:x,fileType:E,quality:C,dirname:O}=m,M=f({x:h,y:b,width:c,height:v,destWidth:_,destHeight:x,hidpi:!1,dataType:"base64",type:E,quality:C});if(!M.data||!M.data.length){w({errMsg:M.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ib(M.data,O,(R,U)=>{var te="toTempFilePath:".concat(R?"fail":"ok");R&&(te+=" ".concat(R.message)),w({errMsg:te,tempFilePath:U})})}var g={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:p};function y(m,w,h){var b=g[m];m.indexOf("_")!==0&&typeof b=="function"&&b(w,h)}return ce(g,{_resize:o,_handleSubscribe:y})}var Ld=vn("ucg"),zy={name:{type:String,default:""}},Uy=de({name:"CheckboxGroup",props:zy,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=Le(a,r);return Hy(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Hy(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Ld,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(kt,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Wy={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},Vy=de({name:"Checkbox",props:Wy,setup(e,t){var{slots:r}=t,i=F(e.checked),a=F(e.value);W([()=>e.checked,()=>e.value],u=>{var[f,d]=u;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=jy(i,a,n),l=u=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(u))};return s&&(s.addHandler(l),Ce(()=>{s.removeHandler(l)})),Nn(e,{"label-click":l}),()=>{var u=ai(e,"disabled");return I("uni-checkbox",rt(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?hn(dn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function jy(e,t,r){var i=ee(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Ld,!1);n&&n.addField(i);var o=_e(kt,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Pd,ea,Bn,nr,Fn,pl;Nr(()=>{ea=plus.os.name==="Android",Bn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){nr=e.height,Fn&&Fn()},!1);function Nd(){}function ta(e,t,r){Nr(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=pl||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(l.mode===a){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function Yy(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Nr(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function qy(e){var t=e.softinputNavBar;t&&Nr(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Dd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Bd=["keyboardheightchange"];function Fd(e,t,r){var i={};function a(n){var o,s=ee(()=>String(navigator.vendor).indexOf("Apple")===0),l=()=>{r("keyboardheightchange",{},{height:nr,duration:.25}),o&&nr===0&&ta(e,n),e.autoBlur&&o&&nr===0&&(ea||parseInt(Bn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Pd),document.addEventListener("click",Nd,!1),Fn=l,nr&&r("keyboardheightchange",{},{height:nr,duration:0}),Yy(e,i),ta(e,n)}),ea&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&nr===0&&ta(e,n)}),ea||(parseInt(Bn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ta(e,n)}),parseFloat(Bn)>=14.6&&!pl&&Nr(()=>{var f=plus.webview.currentWebview();pl=f.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Nd,!1),Fn=null,nr&&r("keyboardheightchange",{},{height:0,duration:0}),qy(i),ea&&(Pd=setTimeout(()=>{ta(e,n,!0)},300)),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{s.value&&n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var $d=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,zd=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Xy=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Zy=ni("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Ky=ni("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Gy=ni("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Jy=ni("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Qy=ni("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ex=ni("script,style");function Ud(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!ex[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,d){return d=d.replace(/|/g,"$1$2"),t.chars&&t.chars(d),""}),u("",n.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(f,d,p,g){if(d=d.toLowerCase(),Ky[d])for(;n.last()&&Gy[n.last()];)u("",n.last());if(Jy[d]&&n.last()==d&&u("",d),g=Zy[d]||!!g,g||n.push(d),t.start){var y=[];p.replace(Xy,function(m,w){var h=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Qy[w]?w:"";y.push({name:w,value:h,escaped:h.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,y,g)}}function u(f,d){if(d)for(var p=n.length-1;p>=0&&n[p]!=d;p--);else var p=0;if(p>=0){for(var g=n.length-1;g>=p;g--)t.end&&t.end(n[g]);n.length=p}}}function ni(e){for(var t={},r=e.split(","),i=0;io()),delete ml[t]}}a.push(r)}function tx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function rx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function ix(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function ax(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function nx(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),f=t.find(l.target);u==="checked"?f.format("list","unchecked"):u==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ox(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function sx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Je(s),i)}),o}function lx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Je(o),i)}),n}function ux(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Je(o),{scope:s})}),a}function fx(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&st(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function cx(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function vx(e){var t={divider:tx,ins:rx,align:ix,direction:ax,list:nx,background:ox,box:sx,font:lx,text:ux,image:fx,link:cx},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function dx(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,y=>{i&&(n.enable(!y),y||n.blur())}),W(()=>e.placeholder,y=>{i&&u(y)});function s(y){var m=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],w="",h;Ud(y,{start:function(c,v,_){if(!m.includes(c)){h=!_;return}h=!1;var x=v.map(C=>{var{name:O,value:M}=C;return"".concat(O,'="').concat(M,'"')}).join(" "),E="<".concat(c," ").concat(x," ").concat(_?"/":"",">");w+=E},end:function(c){h||(w+=""))},chars:function(c){h||(w+=c)}}),a=!0;var b=n.clipboard.convert(w);return a=!1,b}function l(){var y=n.root.innerHTML,m=n.getText(),w=n.getContents();return{html:y,text:m,delta:w}}function u(y){var m="data-placeholder",w=n.root;w.getAttribute(m)!==y&&w.setAttribute(m,y)}var f={};function d(y){var m=y?n.getFormat(y):{},w=Object.keys(m);(w.length!==Object.keys(f).length||w.find(h=>m[h]!==f[h]))&&(f=m,r("statuschange",{},m))}function p(y){var m=window.Quill;vx(m);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};y.length&&(m.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:y}});var h=t.value;n=new m(h,w);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,_=>{var x=l();if(v==="input"){if(yc().platform==="ios"){var E=(x.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;u(C)}_.stopPropagation()}else r(v,_,x)})}),n.on("text-change",()=>{o||r("input",{},l())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,_)=>(a||_.ops&&(_.ops=_.ops.filter(x=>{var{insert:E}=x;return typeof E=="string"}).map(x=>{var{insert:E}=x;return{insert:E}})),_)),i=!0,r("ready",{},{})}Re(()=>{var y=[];e.showImgSize&&y.push("DisplaySize"),e.showImgToolbar&&y.push("Toolbar"),e.showImgResize&&y.push("Resize");var m="./__uniappquill.js";Hd(window.Quill,m,()=>{if(y.length){var w="./__uniappquillimageresize.js";Hd(window.ImageResize,w,()=>{p(y)})}else p(y)})});var g=la();sa((y,m,w)=>{var{options:h,callbackId:b}=m,c,v,_;if(i){var x=window.Quill;switch(y){case"format":{var{name:E="",value:C=!1}=h;v=n.getSelection(!0);var O=n.getFormat(v)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!O;else if(E==="direction"){C=C==="rtl"&&O?!1:C;var M=n.getFormat(v).align;C==="rtl"&&!M?n.format("align","right","user"):!C&&M==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var R=n.getFormat(v).direction==="rtl";C=C==="+1",R&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,O=O==="checked"?"unchecked":O),C=O&&O!==(C||!1)||!O&&C?C:!O;n.format(E,C,"user")}break;case"insertDivider":v=n.getSelection(!0),n.insertText(v.index,gi,"user"),n.insertEmbed(v.index+1,"divider",!0,"user"),n.setSelection(v.index+2,0,"silent");break;case"insertImage":{v=n.getSelection(!0);var{src:U="",alt:te="",width:L="",height:H="",extClass:q="",data:re={}}=h,V=st(U);n.insertEmbed(v.index,"image",V,"user");var K=/^(file|blob):/.test(V)?V:!1;o=!0,n.formatText(v.index,1,"data-local",K),n.formatText(v.index,1,"alt",te),n.formatText(v.index,1,"width",L),n.formatText(v.index,1,"height",H),n.formatText(v.index,1,"class",q),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(re).map(le=>"".concat(le,"=").concat(re[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=h;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:se}=h;typeof Te=="object"?n.setContents(Te,"silent"):typeof se=="string"?n.setContents(s(se),"silent"):_="contents is missing"}break;case"getContents":c=l();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var he=x.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{he.query(le,he.Scope.INLINE)&&n.format(le,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":v=n.selection.savedRange,c={text:""},v&&v.length!==0&&(c.text=n.getText(v.index,v.length));break;case"scrollIntoView":n.scrollIntoView();break}d(v)}else _="not ready";b&&w({callbackId:b,data:ce({},c,{errMsg:"".concat(y,":").concat(_?"fail "+_:"ok")})})},g,!0)}var hx=ce({},Dd,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),gx=de({name:"Editor",props:hx,emit:["ready","focus","blur","input","statuschange",...Bd],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r);return dx(e,i,a),Fd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Wd="#10aeff",px="#f76260",Vd="#b2b2b2",mx="#f43530",_x={success:{d:rb,c:Na},success_no_circle:{d:dn,c:Na},info:{d:eb,c:Wd},warn:{d:ab,c:px},waiting:{d:ib,c:Wd},cancel:{d:G_,c:mx},download:{d:Q_,c:Na},search:{d:tb,c:Vd},clear:{d:J_,c:Vd}},bx=de({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=ee(()=>_x[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&hn(r.d,e.color||r.c,Vr(e.size))])}}}),wx={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},$n={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},yx={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},xx=de({name:"Image",props:wx,setup(e,t){var{emit:r}=t,i=F(null),a=Sx(i,e),n=Le(i,r),{fixSize:o}=Ox(i,e,a);return Ex(a,o,n),()=>{var{mode:s}=e,{imgSrc:l,modeStyle:u,src:f}=a,d;return d=l?I("img",{src:l,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:u},null,4),d,$n[s]?I(Or,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function Sx(e,t){var r=F(""),i=ee(()=>{var n="auto",o="",s=yx[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=ke({rootEl:e,src:ee(()=>t.src?st(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function Ex(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=l,e.imgSrc=u},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=l=>{var{width:u,height:f}=i;a(u,f,s),t(),o(),r("load",l,{width:u,height:f})},i.onerror=l=>{a(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ce(()=>o())}var Tx=navigator.vendor==="Google Inc.";function Cx(e){return Tx&&e>10&&(e=Math.round(e/2)*2),e}function Ox(e,t,r){var i=()=>{var{mode:n}=t,o=$n[n];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Cx(o[2](d,u))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return W(()=>t.mode,(n,o)=>{$n[o]&&a(),$n[n]&&i()}),{fixSize:i,resetSize:a}}function Ax(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),l=0;l{a=null,r=u,e.apply(this,s)},u-rzn.forEach(t=>t.userAction=e);function kx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!jd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!_l&&Yd(!0),_l++,setTimeout(()=>{!--_l&&Yd(!1)},0)},Ix)}),jd=!0}zn.push(e)}function Mx(e){var t=zn.indexOf(e);t>=0&&zn.splice(t,1)}function Rx(){var e=ke({userAction:!1});return Re(()=>{kx(e)}),Ce(()=>{Mx(e)}),{state:e}}function qd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Dt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Lx(e,t){var r=_e(kt,!1);if(!!r){var i=Dt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ce(()=>{r.removeField(a)})}}function Px(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var Nx=function(){wt(Gt(),"getSelectedTextRange",Px)},Dx=200,bl;function wl(e,t){return t==="number"&&isNaN(Number(e))&&(e=""),e===null?"":String(e)}var Xd=ce({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0}},Dd),Zd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...Bd];function Bx(e,t,r){var i=F(null),a=Le(t,r),n=ee(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=ee(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=ee(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),l=ee(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),u=wl(e.modelValue,e.type)||wl(e.value,e.type),f=ke({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return W(()=>f.focus,d=>r("update:focus",d)),W(()=>f.maxlength,d=>f.value=f.value.slice(0,d)),{fieldRef:i,state:f,trigger:a}}function Fx(e,t,r,i){var a=am(s=>{t.value=wl(s,e.type)},100,{setTimeout,clearTimeout});W(()=>e.modelValue,a),W(()=>e.value,a);var n=Ax((s,l)=>{a.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{a.cancel(),n(s,l),u&&n.flush()};return Af(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function $x(e,t){var{state:r}=Rx(),i=ee(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Dx-(Date.now()-bl);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}W(()=>e.focus,o=>{o?a():n()}),Re(()=>{bl=bl||Date.now(),i.value&&Ur(a)})}function zx(e,t,r,i,a,n){function o(){var f=e.value;f&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&f.type!=="number"&&(f.selectionStart=t.selectionStart,f.selectionEnd=t.selectionEnd)}function s(){var f=e.value;f&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&f.type!=="number"&&(f.selectionEnd=f.selectionStart=t.cursor)}function l(f){return f.type==="number"?null:f.selectionEnd}function u(){var f=e.value,d=function(m){t.focus=!0,i("focus",m,{value:t.value}),o(),s()},p=function(m,w){m.stopPropagation(),!(typeof n=="function"&&n(m,t)===!1)&&(t.value=f.value,(!t.composing||!r.ignoreCompositionEvent)&&a(m,{value:f.value,cursor:l(f)},w))},g=function(m){t.composing&&(t.composing=!1,p(m,!0)),t.focus=!1,i("blur",m,{value:t.value,cursor:l(m.target)})};f.addEventListener("change",m=>m.stopPropagation()),f.addEventListener("focus",d),f.addEventListener("blur",g),f.addEventListener("input",p),f.addEventListener("compositionstart",m=>{m.stopPropagation(),t.composing=!0,y(m)}),f.addEventListener("compositionend",m=>{m.stopPropagation(),t.composing&&(t.composing=!1,p(m)),y(m)}),f.addEventListener("compositionupdate",y);function y(m){r.ignoreCompositionEvent||i(m.type,m,{value:m.data})}}W([()=>t.selectionStart,()=>t.selectionEnd],o),W(()=>t.cursor,s),W(()=>e.value,u)}function Kd(e,t,r,i){Nx();var{fieldRef:a,state:n,trigger:o}=Bx(e,t,r),{triggerInput:s}=Fx(e,n,r,o);$x(e,a),Fd(e,a,o);var{state:l}=qd();Lx("name",n),zx(a,n,e,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var Ux=ce({},Xd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Hx=de({name:"Input",props:Ux,emits:["confirm",...Zd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=ee(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=ee(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Je(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=F(""),l,u=F(null),{fieldRef:f,state:d,scopedAttrsState:p,fixDisabledColor:g,trigger:y}=Kd(e,u,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(l&&(v.removeEventListener("blur",l),l=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",l=()=>{s.value=v.value=""},v.addEventListener("blur",l),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var _=c.maxlength;if(_>0&&v.value.length>_)return v.value=v.value.slice(0,_),c.value=v.value,!1}});W(()=>d.value,b=>{e.type==="number"&&!(s.value==="-"&&b==="")&&(s.value=b)});var m=["number","digit"],w=ee(()=>m.includes(e.type)?"0.000000000000000001":"");function h(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),y("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&g?I("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:h},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Ii(I("div",rt(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function Wx(e){return Object.keys(e).map(t=>[t,e[t]])}var Vx=["class","style"],jx=/^on[A-Z]+/,Gd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Dt(),a=es({}),n=es({}),o=es({}),s=r.concat(Vx);return i.attrs=ke(i.attrs),R0(()=>{var l=Wx(i.attrs).reduce((u,f)=>{var[d,p]=f;return s.includes(d)?u.exclude[d]=p:jx.test(d)?(t||(u.attrs[d]=p),u.listeners[d]=p):u.attrs[d]=p,u},{exclude:{},attrs:{},listeners:{}});a.value=l.attrs,n.value=l.listeners,o.value=l.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Un,ra;function Hn(){Nr(()=>{Un||(Un=plus.webview.currentWebview()),ra||(ra=(Un.getStyle()||{}).pullToRefresh||{})})}function or(e){var{disable:t}=e;ra&&ra.support&&Un.setPullToRefresh(Object.assign({},ra,{support:!t}))}function yl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{en(r)?r.type===xt?t.push(...yl(r.children)):t.push(r):Array.isArray(r)&&t.push(...yl(r))}),t}function ia(e){var t=Dt();t.rebuild=e}var Yx={scaleArea:{type:Boolean,default:!1}},qx=de({inheritAttrs:!1,name:"MovableArea",props:Yx,setup(e,t){var{slots:r}=t,i=F(null),a=F(!1),{setContexts:n,events:o}=Xx(e,i),{$listeners:s,$attrs:l,$excludeAttrs:u}=Gd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(h=>{var b=f[h],c=o["_".concat(h)];f[h]=b?[].concat(b,c):c}),Re(()=>{o._resize(),Hn(),a.value=!0});var p=[],g=[];function y(){for(var h=[],b=function(v){var _=p[v];_ instanceof Element||(_=_.el);var x=g.find(E=>_===E.rootRef.value);x&&h.push(qa(x))},c=0;c{p=i.value.children,y()});var m=h=>{g.push(h),y()},w=h=>{var b=g.indexOf(h);b>=0&&(g.splice(b,1),y())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",m),ze("removeMovableViewContext",w),()=>(r.default&&r.default(),I("uni-movable-area",rt({ref:i},l.value,u.value,f),[I(Or,{onReize:o._resize},null,8,["onReize"]),p],16))}});function Jd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Xx(e,t){var r=F(0),i=F(0),a=ke({x:null,y:null}),n=F(null),o=null,s=[];function l(m){m&&m!==1&&(e.scaleArea?s.forEach(function(w){w._setScale(m)}):o&&o._setScale(m))}function u(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,h=t.value;function b(c){for(var v=0;v{or({disable:!0});var w=m.touches;if(w&&w.length>1){var h={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.value=Jd(h),a.x=h.x,a.y=h.y,!e.scaleArea){var b=u(w[0].target),c=u(w[1].target);o=b&&b===c?b:null}}}),d=Cr(m=>{var w=m.touches;if(w&&w.length>1){m.preventDefault();var h={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Jd(h)/n.value;l(b)}a.x=h.x,a.y=h.y}}),p=Cr(m=>{or({disable:!1});var w=m.touches;w&&w.length||m.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(h){h._endScale()}):o&&o._endScale())});function g(){y(),s.forEach(function(m,w){m.setParent()})}function y(){var m=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(h,b){var c="border"+b+"Width",v="padding"+b;return h+parseFloat(m[c])+parseFloat(m[v])},0),i.value=w.height-["Top","Bottom"].reduce(function(h,b){var c="border"+b+"Width",v="padding"+b;return h+parseFloat(m[c])+parseFloat(m[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(m){s=m},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:p,_resize:g}}}var aa=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable=="undefined"||a.cancelable)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Qd,eh;function Wn(e,t,r){Ce(()=>{document.removeEventListener("mousemove",Qd),document.removeEventListener("mouseup",eh)});var i=0,a=0,n=0,o=0,s=function(g,y,m,w){if(t({cancelable:g.cancelable,target:g.target,currentTarget:g.currentTarget,preventDefault:g.preventDefault.bind(g),stopPropagation:g.stopPropagation.bind(g),touches:g.touches,changedTouches:g.changedTouches,detail:{state:y,x:m,y:w,dx:m-i,dy:w-a,ddx:m-n,ddy:w-o,timeStamp:g.timeStamp}})===!1)return!1},l=null,u,f;aa(e,"touchstart",function(g){if(u=!0,g.touches.length===1&&!l)return l=g,i=n=g.touches[0].pageX,a=o=g.touches[0].pageY,s(g,"start",i,a)}),aa(e,"mousedown",function(g){if(f=!0,!u&&!l)return l=g,i=n=g.pageX,a=o=g.pageY,s(g,"start",i,a)}),aa(e,"touchmove",function(g){if(g.touches.length===1&&l){var y=s(g,"move",g.touches[0].pageX,g.touches[0].pageY);return n=g.touches[0].pageX,o=g.touches[0].pageY,y}});var d=Qd=function(g){if(!u&&f&&l){var y=s(g,"move",g.pageX,g.pageY);return n=g.pageX,o=g.pageY,y}};document.addEventListener("mousemove",d),aa(e,"touchend",function(g){if(g.touches.length===0&&l)return u=!1,l=null,s(g,"end",g.changedTouches[0].pageX,g.changedTouches[0].pageY)});var p=eh=function(g){if(f=!1,!u&&l)return l=null,s(g,"end",g.pageX,g.pageY)};document.addEventListener("mouseup",p),aa(e,"touchcancel",function(g){if(l){u=!1;var y=l;return l=null,s(g,r?"cancel":"end",y.touches[0].pageX,y.touches[0].pageY)}})}function Vn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},Mt.prototype.ds=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Mt.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Mt.prototype.dt=function(){return-this._x_v/this._x_a},Mt.prototype.done=function(){var e=Vn(this.s().x,this._endPositionX)||Vn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Mt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Mt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function at(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}at.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(h){return(s+l*h)*Math.pow(Math.E,o*h)},dx:function(h){var b=Math.pow(Math.E,o*h);return o*(s+l*h)*b+l*b}}}if(n>0){var u=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-u*e)/(f-u),p=e-d;return{x:function(h){var b,c;return h===this._t&&(b=this._powER1T,c=this._powER2T),this._t=h,b||(b=this._powER1T=Math.pow(Math.E,u*h)),c||(c=this._powER2T=Math.pow(Math.E,f*h)),p*b+d*c},dx:function(h){var b,c;return h===this._t&&(b=this._powER1T,c=this._powER2T),this._t=h,b||(b=this._powER1T=Math.pow(Math.E,u*h)),c||(c=this._powER2T=Math.pow(Math.E,f*h)),p*u*b+d*f*c}}}var g=Math.sqrt(4*i*a-r*r)/(2*i),y=-r/2*i,m=e,w=(t-y*e)/g;return{x:function(h){return Math.pow(Math.E,y*h)*(m*Math.cos(g*h)+w*Math.sin(g*h))},dx:function(h){var b=Math.pow(Math.E,y*h),c=Math.cos(g*h),v=Math.sin(g*h);return b*(w*g*c-m*g*v)+y*b*(w*v+m*c)}}},at.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},at.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},at.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ar(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ar(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ar(t,.1)&&(t=0),Ar(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ar(i-e,.1)&&Ar(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},at.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},at.prototype.done=function(e){return e||(e=new Date().getTime()),Vn(this.x(),this._endPosition,.1)&&Ar(this.dx(),.1)},at.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},at.prototype.springConstant=function(){return this._k},at.prototype.damping=function(){return this._c},at.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function na(e,t,r){this._springX=new at(e,t,r),this._springY=new at(e,t,r),this._springScale=new at(e,t,r),this._startTime=0}na.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},na.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},na.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},na.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var Zx={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}};function th(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var Kx=de({name:"MovableView",props:Zx,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=Le(a,i),{setParent:o}=Gx(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Or,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),Sl=!1;function rh(e){Sl||(Sl=!0,requestAnimationFrame(function(){e(),Sl=!1}))}function ih(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=ih(e.offsetParent,t):0}function ah(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=ah(e.offsetParent,t):0}function nh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),f&&u&&u(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function jn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Gx(e,t,r){var i=_e("movableAreaWidth",F(0)),a=_e("movableAreaHeight",F(0)),n=_e("_isMounted",F(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),l=_e("removeMovableViewContext",()=>{}),u=F(jn(e.x)),f=F(jn(e.y)),d=F(Number(e.scaleValue)||1),p=F(0),g=F(0),y=F(0),m=F(0),w=F(0),h=F(0),b=null,c=null,v={x:0,y:0},_={x:0,y:0},x=1,E=1,C=0,O=0,M=!1,R=!1,U,te,L=null,H=null,q=new xl,re=new xl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=ee(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=ee(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=ee(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),se=ee(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),he=ee(()=>e.direction==="all"||e.direction==="horizontal"),le=ee(()=>e.direction==="all"||e.direction==="vertical"),J=new na(1,9*Math.pow(K.value,2)/40,K.value),xe=new Mt(1,ae.value);W(()=>e.x,A=>{u.value=jn(A)}),W(()=>e.y,A=>{f.value=jn(A)}),W(u,A=>{Ve(A)}),W(f,A=>{sr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{va(A)}),W(Te,()=>{Ne()}),W(se,()=>{Ne()});function we(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(he.value){if(A+_.x===C)return C;b&&b.cancel(),Q(A+_.x,f.value+_.y,x)}return A}function sr(A){if(le.value){if(A+_.y===O)return O;b&&b.cancel(),Q(u.value+_.x,A+_.y,x)}return A}function Ne(){if(!e.scale)return!1;B(x,!0),z(x)}function va(A){return e.scale?(A=D(A),B(A,!0),z(A),A):!1}function da(){M||e.disabled||(or({disable:!0}),we(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],he.value&&(U=C),le.value&&(te=O),r.value.style.willChange="transform",L=null,H=null,R=!0)}function S(A){if(!M&&!e.disabled&&R){var Y=C,X=O;if(H===null&&(H=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),he.value&&(Y=A.detail.dx+U,V.historyX.shift(),V.historyX.push(Y),!le.value&&L===null&&(L=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(X=A.detail.dy+te,V.historyY.shift(),V.historyY.push(X),!he.value&&L===null&&(L=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!L){A.preventDefault();var ge="touch";Yw.value&&(e.outOfBounds?(ge="touch-out-of-bounds",Y=w.value+q.x(Y-w.value)):Y=w.value),Xh.value&&(e.outOfBounds?(ge="touch-out-of-bounds",X=h.value+re.x(X-h.value)):X=h.value),rh(function(){Z(Y,X,x,ge)})}}}function T(){if(!M&&!e.disabled&&R&&(or({disable:!1}),r.value.style.willChange="auto",R=!1,!L&&!G("out-of-bounds")&&e.inertia)){var A=1e3*(V.historyX[1]-V.historyX[0])/(V.historyT[1]-V.historyT[0]),Y=1e3*(V.historyY[1]-V.historyY[0])/(V.historyT[1]-V.historyT[0]);xe.setV(A,Y),xe.setS(C,O);var X=xe.delta().x,ge=xe.delta().y,ue=X+C,Fe=ge+O;uew.value&&(ue=w.value,Fe=O+(w.value-C)*ge/X),Feh.value&&(Fe=h.value,ue=C+(h.value-O)*X/ge),xe.setEnd(ue,Fe),c=nh(xe,function(){var Ge=xe.s(),De=Ge.x,pt=Ge.y;Z(De,pt,x,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&we()}function k(A,Y){var X=!1;return A>w.value?(A=w.value,X=!0):Ah.value?(Y=h.value,X=!0):Y3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,Fe=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),X=Number(X.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:th(A,_.x),y:th(Y,_.y),source:ge}),e.scale||(X=x),X=D(X),X=+X.toFixed(3),Fe&&X!==x&&t("scale",{},{x:A,y:Y,scale:X});var Ge="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+X+")";r.value.style.transform=Ge,r.value.style.webkitTransform=Ge,C=A,O=Y,x=X}function fe(){if(!!n.value){we();var A=e.scale?d.value:1;P(),N(A),$(),C=u.value+_.x,O=f.value+_.y;var Y=k(C,O),X=Y.x,ge=Y.y;Z(X,ge,A,"",!0),z(A)}}function Be(){M=!1,z(x)}function Ae(A){A&&(A=E*A,j(),B(A))}return Re(()=>{Wn(r.value,Y=>{switch(Y.detail.state){case"start":da();break;case"move":S(Y);break;case"end":T()}}),fe(),xe.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",Hn();var A={rootRef:r,setParent:fe,_endScale:Be,_setScale:Ae};s(A),Zt(()=>{l(A)})}),Zt(()=>{we()}),{setParent:fe}}var Jx=["navigate","redirect","switchTab","reLaunch","navigateBack"],Qx={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Jx.indexOf(e))}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1}};function eS(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}}var tS=de({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Qx,setup(e,t){var{slots:r}=t,i=Dt(),a=i&&i.vnode.scopeId||"",{hovering:n,binding:o}=gl(e),s=eS(e);return()=>{var{hoverClass:l,url:u}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:u,onClick:lc},[I("uni-navigator",rt({class:f&&n.value?l:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),rS={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function iS(e){var t=ke([...e.value]),r=ke({value:t,height:34});return W(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var aS=de({name:"PickerView",props:rS,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=F(null),o=Le(a,i),s=iS(e),l=F(null),u=()=>{var y=l.value;s.height=y.$el.offsetHeight},f=F([]),d=F([]);function p(y){var m=d.value;if(m instanceof HTMLCollection)return Array.prototype.indexOf.call(m,y.el);m=m.filter(h=>h.type!==Hr);var w=m.indexOf(y);return w!==-1?w:f.value.indexOf(y)}var g=function(y){var m=ee({get(){var w=p(y.vnode);return s.value[w]||0},set(w){var h=p(y.vnode);if(!(h<0)){var b=s.value[h];if(b!==w){s.value[h]=w;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return m};return ze("getPickerViewColumn",g),ze("pickerViewProps",e),ze("pickerViewState",s),ia(()=>{u(),d.value=n.value.children}),()=>{var y=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Or,{ref:l,onResize:m=>{var{height:w}=m;return s.height=w}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[y],512)],512)}}});class oh{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function sh(e,t,r){return e>t-r&&e0){var f=(-i-Math.sqrt(o))/(2*a),d=(-i+Math.sqrt(o))/(2*a),p=(r-f*t)/(d-f),g=t-p;return{x:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),g*c+p*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),g*f*c+p*d*v}}}var y=Math.sqrt(4*a*n-i*i)/(2*a),m=-i/2*a,w=t,h=(r-m*t)/y;return{x:function(b){return Math.pow(Math.E,m*b)*(w*Math.cos(y*b)+h*Math.sin(y*b))},dx:function(b){var c=Math.pow(Math.E,m*b),v=Math.cos(y*b),_=Math.sin(y*b);return c*(h*y*v-w*y*_)+m*c*(h*_+w*v)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!Ir(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(Ir(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),Ir(r,.4)&&(r=0),Ir(a,.4)&&(a=0),a+=this._endPosition),this._solution&&Ir(a-t,.4)&&Ir(r,.4)||(this._endPosition=t,this._solution=this._solve(a-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),sh(this.x(),this._endPosition,.4)&&Ir(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){function t(i,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class nS{constructor(t,r,i){this._extent=t,this._friction=r||new oh(.01),this._spring=i||new lh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function oS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),f&&u&&u(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class sS{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new nS(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=oS(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var f=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function lS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new sS(e,t);function a(l){var u=l,f=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(l){var u=l,f=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault()}function o(l){var u=l,f=l;if(r.trackingID!==-1){(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault();var d=a(l);if(d){for(r.maxDy=Math.max(r.maxDy,Math.abs(d.y)),r.maxDx=Math.max(r.maxDx,Math.abs(d.x)),r.historyX.push(d.x),r.historyY.push(d.y),r.historyTime.push(u.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(d.x,d.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=a(l);if(u){var f=r.listener;r.trackingID=-1,r.listener=null;var d=r.historyTime.length,p={x:0,y:0};if(d>2)for(var g=r.historyTime.length-1,y=r.historyTime[g],m=r.historyX[g],w=r.historyY[g];g>0;){g--;var h=r.historyTime[g],b=y-h;if(b>30&&b<50){p.x=(m-r.historyX[g])/(b/1e3),p.y=(w-r.historyY[g])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(u.x,u.y,p)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var uS=0;function fS(e){var t="uni-picker-view-content-".concat(uS++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return W(()=>e.value,r),t}function cS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r){s[u]=n[u]}),a.target.dispatchEvent(s)}})}var vS=de({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=F(null),o=_e("getPickerViewColumn"),s=Dt(),l=o?o(s):F(0),u=_e("pickerViewProps"),f=_e("pickerViewState"),d=F(34),p=F(null),g=()=>{var M=p.value;d.value=M.$el.offsetHeight},y=ee(()=>(f.height-d.value)/2),{state:m}=qd(),w=fS(d),h,b=ke({current:l.value,length:0}),c;function v(){h&&!c&&(c=!0,Ur(()=>{c=!1;var M=Math.min(b.current,b.length-1);M=Math.max(M,0),h.update(M*d.value,void 0,d.value)}))}W(()=>l.value,M=>{M!==b.current&&(b.current=M,v())}),W(()=>b.current,M=>l.value=M),W([()=>d.value,()=>b.length,()=>f.height],v);var _=0;function x(M){var R=_+M.deltaY;if(Math.abs(R)>10){_=0;var U=Math.min(b.current+(R<0?-1:1),b.length-1);b.current=U=Math.max(U,0),h.scrollTo(U*d.value)}else _=R;M.preventDefault()}function E(M){var{clientY:R}=M,U=a.value;if(!h.isScrolling()){var te=U.getBoundingClientRect(),L=R-te.top-f.height/2,H=d.value/2;if(!(Math.abs(L)<=H)){var q=Math.ceil((Math.abs(L)-H)/d.value),re=L<0?-q:q,V=Math.min(b.current+re,b.length-1);b.current=V=Math.max(V,0),h.scrollTo(V*d.value)}}}var C=()=>{var M=a.value,R=n.value,{scroller:U,handleTouchStart:te,handleTouchMove:L,handleTouchEnd:H}=lS(R,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new oh(1e-4),spring:new lh(2,90,20),onSnap:q=>{!isNaN(q)&&q!==b.current&&(b.current=q)}});h=U,Wn(M,q=>{switch(q.detail.state){case"start":te(q),or({disable:!0});break;case"move":L(q),q.stopPropagation();break;case"end":case"cancel":H(q),or({disable:!1})}},!0),cS(M),Hn(),v()};{var O=!1;ia(()=>{b.length=n.value.children.length,O||(O=!0,g(),C())})}return()=>{var M=r.default&&r.default(),R="".concat(y.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:x,onClick:E,class:"uni-picker-view-group"},[I("div",rt(m.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(y.value,"px;").concat(u.maskStyle)}),null,16),I("div",rt(m.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Or,{ref:p,onResize:U=>{var{height:te}=U;return d.value=te}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",w],style:{padding:R}},[M],6)],40,["onWheel","onClick"])],512)}}}),dS=16,kr={activeColor:Na,backgroundColor:"#EBEBEB",activeMode:"backwards"},hS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:dS},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:kr.activeColor},activeColor:{type:String,default:kr.activeColor},backgroundColor:{type:String,default:kr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:kr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},gS=de({name:"Progress",props:hS,setup(e){var t=pS(e);return uh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,uh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function pS(e){var t=F(0),r=ee(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=ee(()=>{var o=e.color!==kr.activeColor&&e.activeColor===kr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=ee(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=ke({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function uh(e,t){t.active?(e.currentPercent=t.activeMode===kr.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}var fh=vn("ucg"),mS={name:{type:String,default:""}},_S=de({name:"RadioGroup",props:mS,setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=Le(a,r);return bS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function bS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};ze(fh,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var f=r.indexOf(u);s(f,!0),t("change",l,{value:i()})}});var a=_e(kt,!1),n={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};a&&(a.addField(n),Ce(()=>{a.removeField(n)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((f,d)=>{d!==l&&(u?o(r[d],!1):r.forEach((p,g)=>{d>=g||r[g].value.radioChecked&&o(r[d],!1)}))})}return r}var wS={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},yS=de({name:"Radio",props:wS,setup(e,t){var{slots:r}=t,i=F(e.checked),a=F(e.value),n=ee(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));W([()=>e.checked,()=>e.value],d=>{var[p,g]=d;i.value=p,a.value=g});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:l,field:u}=xS(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,u))};return l&&(l.addHandler(f),Ce(()=>{l.removeHandler(f)})),Nn(e,{"label-click":f}),()=>{var d=ai(e,"disabled");return I("uni-radio",rt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?hn(dn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function xS(e,t,r){var i=ee({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),a={reset:r},n=_e(fh,!1);n&&n.addField(i);var o=_e(kt,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}var ch={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},El={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function SS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(El,r)&&El[r])return El[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function ES(e,t,r){return e==="img"&&t==="src"?st(r):r}function vh(e,t,r,i){return e.forEach(function(a){if(!!_t(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(ch,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(_t(s)){var l=ch[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:l.indexOf(f)!==-1&&o.setAttribute(f,ES(n,f,d))}})}TS(a,o,i);var u=a.children;Array.isArray(u)&&u.length&&vh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(SS(a.text)))}),t}function TS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}function CS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function OS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&["style","src"].indexOf(a)===-1&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function AS(e){e=CS(e);var t=[],r={node:"root",children:[]};return Ud(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=OS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var IS={nodes:{type:[Array,String],default:function(){return[]}}},kS=de({name:"RichText",compatConfig:{MODE:3},props:IS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Dt(),n=F(null),o=Le(n,r),s=!!i.onItemclick;function l(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function u(f){typeof f=="string"&&(f=AS(f));var d=vh(f,document.createDocumentFragment(),a&&a.vnode.scopeId||"",s&&l);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{u(f)}),Re(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),dh=mi(!0),MS={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},RS=de({name:"ScrollView",compatConfig:{MODE:3},props:MS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=F(null),o=F(null),s=F(null),l=F(null),u=Le(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:p}=LS(e);PS(e,f,d,p,u,a,n,s,r);var g=ee(()=>{var y="";return e.scrollX?y+="overflow-x:auto;":y+="overflow-x:hidden;",e.scrollY?y+="overflow-y:auto;":y+="overflow-y:hidden;",y});return()=>{var{refresherEnabled:y,refresherBackground:m,refresherDefaultStyle:w}=e,{refresherHeight:h,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:g.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[y?I("div",{ref:l,style:{backgroundColor:m,height:h+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,b=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,w=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function LS(e){var t=ee(()=>Number(e.scrollTop)||0),r=ee(()=>Number(e.scrollLeft)||0),i=ke({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function PS(e,t,r,i,a,n,o,s,l){var u=!1,f=0,d=!1,p=()=>{},g=ee(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),y=ee(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function m(x,E){var C=o.value,O=0,M="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-x:E==="y"&&(O=C.scrollTop-x),O!==0){var R=s.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?M="translateX("+O+"px) translateZ(0)":E==="y"&&(M="translateY("+O+"px) translateZ(0)"),R.removeEventListener("transitionend",p),R.removeEventListener("webkitTransitionEnd",p),p=()=>v(x,E),R.addEventListener("transitionend",p),R.addEventListener("webkitTransitionEnd",p),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),R.style.transform=M,R.style.webkitTransform=M}}function w(x){var E=x.target;a("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=g.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+y.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=g.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+y.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function h(x){e.scrollY&&(e.scrollWithAnimation?m(x,"y"):o.value.scrollTop=x)}function b(x){e.scrollX&&(e.scrollWithAnimation?m(x,"x"):o.value.scrollLeft=x)}function c(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=n.value.querySelector("#"+x);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var M=O.left-C.left,R=o.value.scrollLeft,U=R+M;e.scrollWithAnimation?m(U,"x"):o.value.scrollLeft=U}if(e.scrollY){var te=O.top-C.top,L=o.value.scrollTop,H=L+te;e.scrollWithAnimation?m(H,"y"):o.value.scrollTop=H}}}}function v(x,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function _(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,a("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=f=0,x==="restore"&&(d=!1,a("refresherrestore",{},{})),x==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=x}Re(()=>{Ur(()=>{h(r.value),b(i.value)}),c(e.scrollIntoView);var x=function(U){U.preventDefault(),U.stopPropagation(),w(U)},E={x:0,y:0},C=null,O=function(U){if(E!==null){var te=U.touches[0].pageX,L=U.touches[0].pageY,H=o.value;if(Math.abs(te-E.x)>Math.abs(L-E.y))if(e.scrollX){if(H.scrollLeft===0&&te>E.x){C=!1;return}else if(H.scrollWidth===H.offsetWidth+H.scrollLeft&&teE.y)C=!1,e.refresherEnabled&&U.cancelable!==!1&&U.preventDefault();else if(H.scrollHeight===H.offsetHeight+H.scrollTop&&L0&&(d=!0,a("refresherpulling",U,{deltaY:q})));var re=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(re>1?1:re)*360}}},M=function(U){U.touches.length===1&&(or({disable:!0}),E={x:U.touches[0].pageX,y:U.touches[0].pageY})},R=function(U){E=null,or({disable:!1}),t.refresherHeight>=e.refresherThreshold?_("refreshing"):_("refresherabort")};o.value.addEventListener("touchstart",M,dh),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",x,mi(!1)),o.value.addEventListener("touchend",R,dh),Hn(),Ce(()=>{o.value.removeEventListener("touchstart",M),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",x),o.value.removeEventListener("touchend",R)})}),ls(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,x=>{h(x)}),W(i,x=>{b(x)}),W(()=>e.scrollIntoView,x=>{c(x)}),W(()=>e.refresherTriggered,x=>{x===!0?_("refreshing"):x===!1&&_("restore")})}var NS={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},DS=de({name:"Slider",props:NS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=F(null),o=F(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Le(i,r),l=BS(e,o),{_onClick:u,_onTrack:f}=FS(e,o,i,a,s);return Re(()=>{Wn(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:p,setActiveColor:g,setBlockStyle:y}=l;return I("uni-slider",{ref:i,onClick:Cr(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:p.value,class:"uni-slider-handle"},null,4),I("div",{style:y.value,class:"uni-slider-thumb"},null,4),I("div",{style:g.value,class:"uni-slider-track"},null,4)],4)]),Ii(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Li,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function BS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:ee(()=>({backgroundColor:i()})),setBlockBg:ee(()=>({left:r()})),setActiveColor:ee(()=>({backgroundColor:a(),width:r()})),setBlockStyle:ee(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function FS(e,t,r,i,a){var n=d=>{e.disabled||(s(d),a("change",d,{value:t.value}))},o=d=>{var p=Number(e.max),g=Number(e.min),y=Number(e.step);return dp?p:$S.mul.call(Math.round((d-g)/y),y)+g},s=d=>{var p=Number(e.max),g=Number(e.min),y=i.value,m=getComputedStyle(y,null).marginLeft,w=y.offsetWidth;w=w+parseInt(m);var h=r.value,b=h.offsetWidth-(e.showValue?w:0),c=h.getBoundingClientRect().left,v=(d.x-c)*(p-g)/b+g;t.value=o(v)},l=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),a("changing",d,{value:t.value}),!1):d.detail.state==="end"&&a("change",d,{value:t.value})},u=_e(kt,!1);if(u){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};u.addField(f),Ce(()=>{u.removeField(f)})}return{_onClick:n,_onTrack:l}}var $S={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},zS={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function US(e){var t=ee(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=ee(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=ee(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=ke({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function HS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,f=1,d=null,p=!1,g=0,y,m="",w,h=ee(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(L){if(!l)for(var H=r.value,q=H.length,re=L+t.displayMultipleItems,V=0;V=K.length&&(L-=K.length),L=y%1>.5||y<0?L-1:L,n("transition",{},{dx:e.vertical?0:L*V.offsetWidth,dy:e.vertical?L*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function _(L){var H=r.value.length;if(!H)return-1;var q=(Math.round(L)%H+H)%H;if(h.value){if(H<=t.displayMultipleItems)return 0}else if(q>H-t.displayMultipleItems)return H-t.displayMultipleItems;return q}function x(){d=null}function E(){if(!d){p=!1;return}var L=d,H=L.toPos,q=L.acc,re=L.endTime,V=L.source,K=re-Date.now();if(K<=0){c(H),d=null,p=!1,y=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var se=q*K*K/2,he=H+se;c(he),w=requestAnimationFrame(E)}function C(L,H,q){x();var re=t.duration,V=r.value.length,K=u;if(h.value)if(q<0){for(;KL;)K-=V}else if(q>0){for(;K>L;)K-=V;for(;K+VL;)K-=V;K+V-L0&&f<1||(f=1)}var K=u;u=-2;var ae=t.current;ae>=0?(l=!1,t.userTracking?(c(K+ae-g),g=ae):(c(ae),e.autoplay&&O())):(l=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var L=-1;if(e.currentItemId)for(var H=0,q=r.value;He.vertical,()=>h.value,()=>t.displayMultipleItems,()=>[...r.value]],M),W(()=>t.interval,()=>{s&&(o(),O())});function R(L,H){var q=m;m="";var re=r.value;if(!q){var V=re.length;C(L,"",h.value&&H+(V-L)%V>V/2?1:0)}var K=re[L];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:q})}}W(()=>t.current,(L,H)=>{R(L,H),a("update:current",L)}),W(()=>t.currentItemId,L=>{a("update:currentItemId",L)});function U(L){L?O():o()}W(()=>e.autoplay&&!t.userTracking,U),U(e.autoplay&&!t.userTracking),Re(()=>{var L=!1,H=0,q=0;function re(){o(),g=u,H=0,q=Date.now(),x()}function V(ae){var Te=q;q=Date.now();var se=r.value.length,he=se-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,sr){var Ne=g+Ve;H=.6*H+.4*sr,h.value||(Ne<0||Ne>he)&&(Ne<0?Ne=-le(-Ne):Ne>he&&(Ne=he+le(Ne-he)),H=0),c(Ne)}var xe=q-Te||1,we=i.value;e.vertical?J(-ae.dy/we.offsetHeight,-ae.ddy/xe):J(-ae.dx/we.offsetWidth,-ae.ddx/xe)}function K(ae){t.userTracking=!1;var Te=H/Math.abs(H),se=0;!ae&&Math.abs(H)>.2&&(se=.5*Te);var he=_(u+se);ae?c(g):(m="touch",t.current=he,C(he,"touch",se!==0?se:he===0&&h.value&&u>=1?1:0))}Wn(i.value,ae=>{if(!e.disableTouch&&!l){if(ae.detail.state==="start")return t.userTracking=!0,L=!1,re();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!L){L=!0;var Te=Math.abs(ae.detail.dx),se=Math.abs(ae.detail.dy);if((Te>=se&&e.vertical||Te<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Zt(()=>{o(),cancelAnimationFrame(w)});function te(L){C(t.current=L,m="click",h.value?1:0)}return{onSwiperDotClick:te}}var WS=de({name:"Swiper",props:zS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=Le(a,i),o=F(null),s=F(null),l=US(e),u=ee(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:Vr(e.previousMargin,!0),bottom:Vr(e.nextMargin,!0)}:{top:0,bottom:0,left:Vr(e.previousMargin,!0),right:Vr(e.nextMargin,!0)}),b}),f=ee(()=>{var b=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],p=[],g=F([]);function y(){for(var b=[],c=function(_){var x=d[_];x instanceof Element||(x=x.el);var E=p.find(C=>x===C.rootRef.value);E&&b.push(qa(E))},v=0;v{d=s.value.children,y()});var m=function(b){p.push(b),y()};ze("addSwiperContext",m);var w=function(b){var c=p.indexOf(b);c>=0&&(p.splice(c,1),y())};ze("removeSwiperContext",w);var{onSwiperDotClick:h}=HS(e,l,g,s,i,n);return()=>{var b=r.default&&r.default();return d=yl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[g.value.map((c,v,_)=>I("div",{onClick:()=>h(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v=l.current||v{var n=_e("addSwiperContext");n&&n(a)}),Zt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),YS={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},qS=de({name:"Switch",props:YS,emits:["change"],setup(e,t){var{emit:r}=t,i=F(null),a=F(e.checked),n=XS(e,a),o=Le(i,r);W(()=>e.checked,l=>{a.value=l});var s=l=>{e.disabled||(a.value=!a.value,o("change",l,{value:a.value}))};return n&&(n.addHandler(s),Ce(()=>{n.removeHandler(s)})),Nn(e,{"label-click":s}),()=>{var{color:l,type:u}=e,f=ai(e,"disabled");return I("uni-switch",rt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ii(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?l:"#DFDFDF",borderColor:a.value?l:"#DFDFDF"}},null,6),[[Li,u==="switch"]]),Ii(I("div",{class:"uni-checkbox-input"},[a.value?hn(dn,e.color,22):""],512),[[Li,u==="checkbox"]])])],16,["onClick"])}}});function XS(e,t){var r=_e(kt,!1),i=_e(Ji,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Zt(()=>{r.removeField(a)})),i}var oa={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function ZS(e,t){return e.replace(/\\n/g,gi).split(gi).map(r=>KS(r,t))}function KS(e,t){var{space:r,decode:i}=t;return!e||(r&&oa[r]&&(e=e.replace(/ /g,oa[r])),!i)?e:e.replace(/ /g,oa.nbsp).replace(/ /g,oa.ensp).replace(/ /g,oa.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var GS=ce({},Xd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Tl=!1;function JS(){var e="(prefers-color-scheme: dark)";Tl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var QS=de({name:"Textarea",props:GS,emits:["confirm","linechange",...Zd],setup(e,t){var{emit:r}=t,i=F(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:l}=Kd(e,i,r),u=ee(()=>n.value.split(gi)),f=ee(()=>["done","go","next","search","send"].includes(e.confirmType)),d=F(0),p=F(null);W(()=>d.value,h=>{var b=i.value,c=p.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var _=Math.round(h/v);l("linechange",{},{height:h,heightRpx:750/window.innerWidth*h,lineCount:_}),e.autoHeight&&(b.style.height=h+"px")});function g(h){var{height:b}=h;d.value=b}function y(h){l("confirm",h,{value:n.value})}function m(h){h.key==="Enter"&&f.value&&h.preventDefault()}function w(h){if(h.key==="Enter"&&f.value){y(h);var b=h.target;!e.confirmHold&&b.blur()}}return JS(),()=>{var h=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:m,onKeyup:w},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ii(I("div",rt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!n.value.length]]),I("div",{ref:p,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Or,{initial:!0,onResize:g},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[h],40,["onSubmit"]):h])],512)}}});ce({},wy);function Yn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function hh(e,t,r){!e||wt(r||Gt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function gh(e,t){!e||Am(t||Gt(),e)}function sa(e,t,r,i){var a=Dt(),n=a.proxy;Re(()=>{hh(t||Yn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{hh(Yn(n,o),e,i),gh(s&&Yn(n,s))})}),Ce(()=>{gh(t||Yn(n),i)})}var eE=0;function la(e){var t=gn(),r=Dt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(eE++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function tE(e){return e.__uniContextInfo}class ph extends Sd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Pn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Pn.mounted);this.$animate&&(this.$animate=!1,this.call(Pn.watch.animation.handler))}}}var rE=["space","decode"];class iE extends ph{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,rE);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update(),this.updateView()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=ZS(this._text,{space:r,decode:i}).join(gi),super.update(t)}}class aE extends ii{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var GT="",nE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class oE extends ph{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...nE,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new sE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class sE{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class lE extends oE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function mh(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function _h(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?yu+mh():0}var bh=Symbol("onDraw");function uE(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function qn(e,t){return ee(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?st(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function oi(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=F(!1);function i(){var d=e.value,p=d.getBoundingClientRect(),g=["width","height"];r.value=p.width===0||p.height===0,r.value||(t.position=uE(d)?"absolute":"static",g.push("top","left")),g.forEach(y=>{var m=p[y];m=y==="top"?m+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:_h()):m,t[y]=m+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function l(d){s?s.push(d):d()}function u(d){var p=_e(bh),g=y=>{d(y),o.forEach(m=>m(t)),o=null};l(()=>{p?p(g):g({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(d){o?o.push(d):d(t)};return ze(bh,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ce(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:u}}var fE=de({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=Le(i,r),o=qn(e,["id"]),{position:s,onParentReady:l}=oi(a),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(u),u.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),u.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),u.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>u.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&u.renderingBind(d)});function f(){var d={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(d.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",d,p=>{var{code:g,data:y,message:m}=p;g===0?u.renderingBind(y):n("error",{},{errMsg:m})})}e.adpid&&f()}),Ce(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class be extends ii{constructor(t,r,i,a,n,o,s){super(t,r,a);var l=document.createElement("div");l.__vueParent=cE(this),this.$props=ke({}),this.init(o),this.$app=nc(wT(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Da)&&hl(this.$,o.a[Da]),this.insert(a,n),bf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t,this.updateView()}addWxsEvent(t,r,i){this.$props[t]=xd(this,r,i)}addEvent(t,r){this.$props[t]=wd(this.id,r,No(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Da)this.$&&hl(this.$,r);else if(t===Au)this.$.__ownerId=r;else if(t===Iu)zt(()=>cd(this,r),ld);else if(t===Bo){var i=dl(this.$||Ke(this.pid).$,r),a=this.$props.style;_t(i)&&_t(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else Ln(t)?this.$.style.setProperty(t,r):(r=dl(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r));this.updateView()}removeAttr(t){Ln(t)?this.$.style.removeProperty(t):this.$props[t]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Th(this.id),this.removeUniChildren(),this.updateView()}appendChild(t){var r=(this.$holder||this.$).appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=(this.$holder||this.$).insertBefore(t,r);return this.updateView(!0),i}}class ua extends be{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return zt(this.getRebuildFn(),Rn),super.setText(t)}appendChild(t){return zt(this.getRebuildFn(),Rn),super.appendChild(t)}insertBefore(t,r){return zt(this.getRebuildFn(),Rn),super.insertBefore(t,r)}removeUniChild(t){return zt(this.getRebuildFn(),Rn),super.removeUniChild(t)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function cE(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Cl(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}var vE=["value","modelValue"];function wh(e){vE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class dE extends be{constructor(t,r,i,a){super(t,"uni-ad",fE,r,i,a)}}var JT="";class hE extends be{constructor(t,r,i,a){super(t,"uni-button",Iy,r,i,a)}}class fa extends ii{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class gE extends fa{constructor(t,r,i){super(t,"uni-camera",r,i)}}var QT="";class pE extends be{constructor(t,r,i,a){super(t,"uni-canvas",By,r,i,a,"uni-canvas > div")}}var e2="";class mE extends be{constructor(t,r,i,a){super(t,"uni-checkbox",Vy,r,i,a,".uni-checkbox-wrapper")}setText(t){Cl(this.$holder,"uni-checkbox-input",t)}}var t2="";class _E extends be{constructor(t,r,i,a){super(t,"uni-checkbox-group",Uy,r,i,a)}}var r2="",bE=0;function yh(e,t,r){var{position:i,hidden:a,onParentReady:n}=oi(e),o,s;n(l=>{var u=ee(()=>{var c={};for(var v in i){var _=i[v],x=parseFloat(_),E=parseFloat(l[v]);if(v==="top"||v==="left")_=Math.max(x,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(l[C]),M=parseFloat(i[C]),R=Math.max(O-M,0),U=Math.max(M+x-(O+E),0);_=Math.max(x-R-U,0)+"px"}c[v]=_}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],p=[],g={start:"left",end:"right"};function y(c){var v=getComputedStyle(e.value);return f.concat(d,p).forEach(_=>{c[_]=v[_]}),c}var m=ke(y({})),w=null;s=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,y(m)})},window.addEventListener("updateview",s);function h(){var c={};for(var v in c){var _=c[v];(v==="top"||v==="left")&&(_=Math.min(parseFloat(_)-parseFloat(l[v]),0)+"px"),c[v]=_}return c}var b=ee(()=>{var c=h(),v=[{tag:"rect",position:c,rectStyles:{color:m.backgroundColor,radius:m.borderRadius,borderColor:m.borderColor,borderWidth:m.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var _=parseFloat(m.lineHeight)-parseFloat(m.fontSize),x=parseFloat(c.width)-parseFloat(m.paddingLeft)-parseFloat(m.paddingRight);x=x<0?0:x;var E=parseFloat(c.height)-parseFloat(m.paddingTop)-_/2-parseFloat(m.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(m.paddingTop)+_/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(m.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:g[m.textAlign]||m.textAlign,color:m.color,decoration:"none",lineSpacing:"".concat(_,"px"),margin:"0px",overflow:m.textOverflow,size:m.fontSize,verticalAlign:"top",weight:m.fontWeight,whiteSpace:m.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(bE++),u.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>u.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ce(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var wE="_doc/uniapp_temp/",yE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function xE(e,t,r){var i=F(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?st(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:wE+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:l=>{var{width:u,height:f}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ce(()=>{a&&a.abort()}),i}var xh=de({name:"CoverImage",props:yE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=ke({src:""}),o=xE(e,n,a);return yh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class SE extends be{constructor(t,r,i,a){super(t,"uni-cover-image",xh,r,i,a)}}var i2="",EE=de({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=Le(i,r),o=ke({text:""});return yh(i,n,o),ia(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class TE extends ua{constructor(t,r,i,a){super(t,"uni-cover-view",EE,r,i,a,".uni-cover-view")}}var a2="";class CE extends be{constructor(t,r,i,a){super(t,"uni-editor",gx,r,i,a)}}var n2="";class OE extends be{constructor(t,r,i,a){super(t,"uni-form",Sy,r,i,a,"span")}}class AE extends fa{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var o2="";class IE extends be{constructor(t,r,i,a){super(t,"uni-icon",bx,r,i,a)}}var s2="";class kE extends be{constructor(t,r,i,a){super(t,"uni-image",xx,r,i,a)}}var l2="";class ME extends be{constructor(t,r,i,a){super(t,"uni-input",Hx,r,i,a)}init(t){super.init(t),wh(this.$props)}}var u2="";class RE extends be{constructor(t,r,i,a){super(t,"uni-label",Oy,r,i,a)}}class LE extends fa{constructor(t,r,i){super(t,"uni-live-player",r,i)}}var f2="",PE={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},Sh=["statechange","netstatus","error"],NE=de({name:"LivePusher",props:PE,emits:Sh,setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f;u(()=>{f=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),Sh.forEach(p=>{f.addEventListener(p,g=>{a(p,{},g.detail)})}),W(()=>o.value,p=>f.setStyles(p),{deep:!0}),W(()=>s,p=>f.setStyles(p),{deep:!0}),W(()=>l.value,p=>{p||f.setStyles(s)})});var d=la();return sa((p,g)=>{f&&f[p](g)},d,!0),Ce(()=>{f&&f.close()}),()=>I("uni-live-pusher",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-live-pusher-container"},null,512)],8,["id"])}});class DE extends be{constructor(t,r,i,a){super(t,"uni-live-pusher",NE,r,i,a,".uni-live-pusher-slot")}}var c2="",BE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function ca(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}var FE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},polygons:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},$E=de({name:"Map",props:FE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f,{_addMarkers:d,_addMapLines:p,_addMapCircles:g,_addMapPolygons:y,_setMap:m}=zE(e,a);u(()=>{f=ce(plus.maps.create(Gt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),l.value&&f.hide(),f.onclick=h=>{a("click",{},h)},f.onstatuschanged=h=>{a("regionchange",{},{})},m(f),d(e.markers),p(e.polyline),g(e.circles),y(e.polygons),W(()=>o.value,h=>f&&f.setStyles(h),{deep:!0}),W(()=>s,h=>f&&f.setStyles(h),{deep:!0}),W(l,h=>{f&&f[h?"hide":"show"]()}),W(()=>e.scale,h=>{f&&f.setZoom(parseInt(String(h)))}),W([()=>e.latitude,()=>e.longitude],h=>{var[b,c]=h;f&&f.setStyles({center:new plus.maps.Point(Number(b),Number(c))})}),W(()=>e.markers,h=>{d(h,!0)},{deep:!0}),W(()=>e.polyline,h=>{p(h)},{deep:!0}),W(()=>e.circles,h=>{g(h)},{deep:!0}),W(()=>e.polygons,h=>{y(h)},{deep:!0})});var w=ee(()=>e.controls.map(h=>{var b={position:"absolute"};return["top","left","width","height"].forEach(c=>{h.position[c]&&(b[c]=h.position[c]+"px")}),{id:h.id,iconPath:st(h.iconPath),position:b,clickable:h.clickable}}));return Ce(()=>{f&&(f.close(),m(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),w.value.map((h,b)=>I(xh,{key:b,src:h.iconPath,style:h.position,"auto-size":!0,onClick:()=>h.clickable&&a("controltap",{},{controlId:h.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function zE(e,t){var r;function i(y){var{longitude:m,latitude:w}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(m||e.longitude),Number(w||e.latitude))),y({errMsg:"moveToLocation:ok"}))}function a(y){!r||r.getCurrentCenter((m,w)=>{y({longitude:w.getLng(),latitude:w.getLat(),errMsg:"getCenterLocation:ok"})})}function n(y){if(!!r){var m=r.getBounds();y({southwest:m.getSouthWest(),northeast:m.getNorthEast(),errMsg:"getRegion:ok"})}}function o(y){!r||y({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(y){if(!!r){var{id:m,latitude:w,longitude:h,iconPath:b,callout:c,label:v}=y;BE(h,w,_=>{var x,{latitude:E,longitude:C}=_.coord,O=new plus.maps.Marker(new plus.maps.Point(C,E));b&&O.setIcon(st(b)),v&&v.content&&O.setLabel(v.content);var M=void 0;c&&c.content&&(M=new plus.maps.Bubble(c.content)),M&&O.setBubble(M),(m||m===0)&&(O.onclick=R=>{t("markertap",{},{markerId:m})},M&&(M.onclick=()=>{t("callouttap",{},{markerId:m})})),(x=r)===null||x===void 0||x.addOverlay(O),r.__markers__.push(O)})}}function l(){if(!!r){var y=r.__markers__;y.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__markers__=[]}}function u(y,m){m&&l(),y.forEach(w=>{s(w)})}function f(y){!r||(r.__lines__.length>0&&(r.__lines__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__lines__=[]),y.forEach(m=>{var w,{color:h,width:b}=m,c=m.points.map(x=>new plus.maps.Point(x.longitude,x.latitude)),v=new plus.maps.Polyline(c);if(h){var _=ca(h);v.setStrokeColor(_.color),v.setStrokeOpacity(_.opacity)}b&&v.setLineWidth(b),(w=r)===null||w===void 0||w.addOverlay(v),r.__lines__.push(v)}))}function d(y){!r||(r.__circles__.length>0&&(r.__circles__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__circles__=[]),y.forEach(m=>{var w,{latitude:h,longitude:b,color:c,fillColor:v,radius:_,strokeWidth:x}=m,E=new plus.maps.Circle(new plus.maps.Point(b,h),_);if(c){var C=ca(c);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(v){var O=ca(v);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}x&&E.setLineWidth(x),(w=r)===null||w===void 0||w.addOverlay(E),r.__circles__.push(E)}))}function p(y){if(!!r){var m=r.__polygons__;m.forEach(w=>{var h;(h=r)===null||h===void 0||h.removeOverlay(w)}),m.length=0,y.forEach(w=>{var h,{points:b,strokeWidth:c,strokeColor:v,fillColor:_}=w,x=[];b&&b.forEach(M=>{x.push(new plus.maps.Point(M.longitude,M.latitude))});var E=new plus.maps.Polygon(x);if(v){var C=ca(v);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(_){var O=ca(_);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}c&&E.setLineWidth(c),(h=r)===null||h===void 0||h.addOverlay(E),m.push(E)})}}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return sa((y,m,w)=>{g[y]&&g[y](w,m)},la(),!0),{_addMarkers:u,_addMapLines:f,_addMapCircles:d,_addMapPolygons:p,_setMap(y){r=y}}}class UE extends be{constructor(t,r,i,a){super(t,"uni-map",$E,r,i,a,".uni-map-slot")}}var v2="";class HE extends ua{constructor(t,r,i,a){super(t,"uni-movable-area",qx,r,i,a)}}var d2="";class WE extends be{constructor(t,r,i,a){super(t,"uni-movable-view",Kx,r,i,a)}}var h2="";class VE extends be{constructor(t,r,i,a){super(t,"uni-navigator",tS,r,i,a,"uni-navigator")}}class jE extends fa{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class YE extends fa{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},si={YEAR:"year",MONTH:"month",DAY:"day"};function Xn(e){return e>9?e:"0".concat(e)}function Zn(e,t){e=String(e||"");var r=new Date;if(t===Ie.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function qE(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function XE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var ZE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:qE},end:{type:String,default:XE},disabled:{type:[Boolean,String],default:!1}},KE=de({name:"Picker",props:ZE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;xm();var{t:i,getLocale:a}=Qe(),n=F(null),o=Le(n,r),s=F(null),l=F(null),u=()=>{var h=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(h)||(h=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(h.length,e.range.length),c=0;c{l.value&&l.value.sendMessage(h)},d=h=>{var b={event:"cancel"};l.value=fb({url:"__uniapppicker",data:h,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var v=c.event;if(v==="created"){f(h);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{l.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},p=(h,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.TIME?"".concat(Xn(v.getHours()),":").concat(Xn(v.getMinutes())):"".concat(v.getFullYear(),"-").concat(Xn(v.getMonth()+1),"-").concat(Xn(v.getDate()))})},()=>{o("cancel",{},{})},e.mode===Ie.TIME?{time:Zn(e.value,Ie.TIME),popover:b}:{date:Zn(e.value,Ie.DATE),minDate:Zn(e.start,Ie.DATE),maxDate:Zn(e.end,Ie.DATE),popover:b})},g=(h,b)=>{(h.mode===Ie.TIME||h.mode===Ie.DATE)&&!h.fields?p(h,b):(h.fields=Object.values(si).includes(h.fields)?h.fields:si.DAY,d(h))},y=h=>{if(!e.disabled){var b=h.currentTarget,c=b.getBoundingClientRect();g(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+_h(),left:c.left,width:c.width,height:c.height})}},m=_e(kt,!1),w={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(h=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return m&&(m.addField(w),Ce(()=>m.removeField(w))),Object.keys(e).forEach(h=>{h!=="name"&&W(()=>e[h],b=>{var c={};c[h]=b,f(c)},{deep:!0})}),W(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:n,onClick:y},[I("slot",null,null)],8,["onClick"])}});class GE extends be{constructor(t,r,i,a){super(t,"uni-picker",KE,r,i,a)}}var g2="";class JE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view",aS,r,i,a,".uni-picker-view-wrapper")}}var p2="";class QE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view-column",vS,r,i,a,".uni-picker-view-content")}}var m2="";class eT extends be{constructor(t,r,i,a){super(t,"uni-progress",gS,r,i,a)}}var _2="";class tT extends be{constructor(t,r,i,a){super(t,"uni-radio",yS,r,i,a,".uni-radio-wrapper")}setText(t){Cl(this.$holder,"uni-radio-input",t)}}var b2="";class rT extends be{constructor(t,r,i,a){super(t,"uni-radio-group",_S,r,i,a)}}var w2="";class iT extends be{constructor(t,r,i,a){super(t,"uni-rich-text",kS,r,i,a)}}var y2="";class aT extends be{constructor(t,r,i,a){super(t,"uni-scroll-view",RS,r,i,a,".uni-scroll-view-content")}setText(t){Cl(this.$holder,"uni-scroll-view-refresher",t)}}var x2="";class nT extends be{constructor(t,r,i,a){super(t,"uni-slider",DS,r,i,a)}}var S2="";class oT extends ua{constructor(t,r,i,a){super(t,"uni-swiper",WS,r,i,a,".uni-swiper-slide-frame")}}var E2="";class sT extends be{constructor(t,r,i,a){super(t,"uni-swiper-item",jS,r,i,a)}}var T2="";class lT extends be{constructor(t,r,i,a){super(t,"uni-switch",qS,r,i,a)}}var C2="";class uT extends be{constructor(t,r,i,a){super(t,"uni-textarea",QS,r,i,a)}init(t){super.init(t),wh(this.$props)}}var O2="",fT={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Eh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],cT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],vT=de({name:"Video",props:fT,emits:Eh,setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f;u(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),l.value&&f.hide(),Eh.forEach(p=>{f.addEventListener(p,g=>{a(p,{},g.detail)})}),W(()=>o.value,p=>f.setStyles(p),{deep:!0}),W(()=>s,p=>f.setStyles(p),{deep:!0}),W(()=>l.value,p=>{f[p?"hide":"show"](),p||f.setStyles(s)})});var d=la();return sa((p,g)=>{if(cT.includes(p)){var y;switch(p){case"seek":y=g.position;break;case"sendDanmu":y=g;break;case"playbackRate":y=g.rate;break;case"requestFullScreen":y=g.direction;break}f&&f[p](y)}},d,!0),Ce(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class dT extends be{constructor(t,r,i,a){super(t,"uni-video",vT,r,i,a,".uni-video-slot")}}var A2="",hT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},nt,gT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var l=yu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=mh()),o.top=String(l),o.bottom=o.bottom||"0"}nt=plus.webview.create(r,t,o),s&&nt.addEventListener("titleUpdate",function(){var u;if(!!a.updateTitle){var f=(u=nt)===null||u===void 0?void 0:u.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(nt)},pT=()=>{var e;plus.webview.currentWebview().remove(nt),(e=nt)===null||e===void 0||e.close("none"),nt=null},mT=de({name:"WebView",props:hT,setup(e){var t=Gt(),r=F(null),{hidden:i,onParentReady:a}=oi(r),n=ee(()=>e.webviewStyles);return a(()=>{var o,s=F(wb+t);gT({htmlId:s.value,src:st(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(_b,{},t),i.value&&((o=nt)===null||o===void 0||o.hide())}),Ce(()=>{pT(),UniViewJSBridge.publishHandler(bb,{},t)}),W(()=>e.src,o=>{var s,l=st(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=nt)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=nt)===null||s===void 0||s.loadURL(l)}}),W(n,o=>{var s;(s=nt)===null||s===void 0||s.setStyle(o)}),W(i,o=>{nt&&nt[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class _T extends be{constructor(t,r,i,a){super(t,"uni-web-view",mT,r,i,a)}}var bT={"#text":aE,"#comment":py,VIEW:lE,IMAGE:kE,TEXT:iE,NAVIGATOR:VE,FORM:OE,BUTTON:hE,INPUT:ME,LABEL:RE,RADIO:tT,CHECKBOX:mE,"CHECKBOX-GROUP":_E,AD:dE,CAMERA:gE,CANVAS:pE,"COVER-IMAGE":SE,"COVER-VIEW":TE,EDITOR:CE,"FUNCTIONAL-PAGE-NAVIGATOR":AE,ICON:IE,"RADIO-GROUP":rT,"LIVE-PLAYER":LE,"LIVE-PUSHER":DE,MAP:UE,"MOVABLE-AREA":HE,"MOVABLE-VIEW":WE,"OFFICIAL-ACCOUNT":jE,"OPEN-DATA":YE,PICKER:GE,"PICKER-VIEW":JE,"PICKER-VIEW-COLUMN":QE,PROGRESS:eT,"RICH-TEXT":iT,"SCROLL-VIEW":aT,SLIDER:nT,SWIPER:oT,"SWIPER-ITEM":sT,SWITCH:lT,TEXTAREA:uT,VIDEO:dT,"WEB-VIEW":_T};function wT(e,t){return()=>b_(e,t)}var Kn=new Map;function Ke(e){return Kn.get(e)}function yT(e){return Kn.get(e)}function Th(e){return Kn.delete(e)}function Ch(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ii(e,t,r,document.createElement(t));else{var o=bT[t];o?n=new o(e,r,i,a):n=new Sd(e,document.createElement(t),r,i,a)}return Kn.set(e,n),n}var Ol=[],Oh=!1;function Ah(e){if(Oh)return e();Ol.push(e)}function Al(){Oh=!0,Ol.forEach(e=>{try{e()}catch(t){console.error(t)}}),Ol.length=0}function I2(){}function Ih(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;xT(r),ST(i,a,n),ET();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),CT(s,l,u),o&&document.addEventListener("touchmove",ob),t?TT(r):Al()}function xT(e){window.__PAGE_INFO__={route:e}}function ST(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function ET(){Ch(0,"div",-1,-1).$=document.getElementById("app")}function TT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Al,t.onerror=Al,document.head.appendChild(t)}function CT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};Z_(i)}var kh=!1;function OT(e){if(!kh){kh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(kp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Mp)}};requestAnimationFrame(()=>document.addEventListener("scroll",sb(t)))}}function AT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Fp(i||r||0,a),t()}function IT(e){var t=e[0];t[0]===ku?kT(t):Ah(()=>MT(e))}function kT(e){return Ih(e[1])}function MT(e){var t=e[0],r=Z1(t[0]===mb?t[1]:[]);e.forEach(i=>{switch(i[0]){case ku:return Ih(i[1]);case Yp:return void 0;case qp:var a=i[3];return Ch(i[1],r(i[2]),a===-1?0:a,i[4],sd(r,i[5]));case Xp:return Ke(i[1]).insert(i[2],i[3],sd(r,i[4]));case Zp:return Ke(i[1]).remove();case Kp:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case Gp:return Ke(i[1]).removeAttr(r(i[2]));case Jp:return Ke(i[1]).addEvent(r(i[2]),i[3]);case tm:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Qp:return Ke(i[1]).removeEvent(r(i[2]));case em:return Ke(i[1]).setText(r(i[2]));case rm:return OT(i[1])}}),Q1()}function RT(){var{subscribe:e}=UniViewJSBridge;e(bc,IT),e(yb,t=>Qe().setLocale(t)),e(Is,LT)}function LT(){UniViewJSBridge.publishHandler(Is)}function Mh(e){return window.__$__(e).$}function PT(e){var t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Il(e,t){var r={},{top:i}=X_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Lo(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=tE(e)),r}function NT(e,t){return e?window.__$__(e).$:t.$el}function Rh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function DT(e,t,r,i,a){var n=NT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Rh(n,r)?n:n.querySelector(r);return u?Il(u,a):null}else{var f=[],d=(l?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,p=>{f.push(Il(p,a))}),!l&&Rh(n,r)&&f.unshift(Il(n,a)),f}}function BT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:l}=a;n===null?i.push(PT(l)):i.push(DT(e,n,o,s,l))}),r(i)}function FT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function $T(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Mh(i);(o.__io||(o.__io={}))[r]=U1(o,a,n)}function zT(e,t){var{reqId:r,component:i}=e,a=Mh(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var kl={},Ml={};function UT(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Lh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Lh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Lh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function HT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=kl[r]=window.matchMedia(UT(a)),s=Ml[r]=l=>n(l.matches);s(o),o.addListener(s)}function WT(e,t){var{reqId:r,component:i}=e,a=Ml[r],n=kl[r];n&&(n.removeListener(a),delete Ml[r],delete kl[r])}function VT(e,t){var{family:r,source:i,desc:a}=e;Bp(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var jT={$el:document.body};function YT(){var e=Gt();Om(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),wt(e,"requestComponentInfo",(t,r)=>{BT(jT,t.reqs,r)}),wt(e,"addIntersectionObserver",t=>{$T(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeIntersectionObserver",t=>{zT(t)}),wt(e,"addMediaQueryObserver",t=>{HT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeMediaQueryObserver",t=>{WT(t)}),wt(e,F1,AT),wt(e,B1,VT),wt(e,D1,t=>{FT(null,t)})}window.uni=q1,window.UniViewJSBridge=wc,window.rpx2px=ad,window.normalizeStyleName=hd,window.normalizeStyleValue=fl,window.__$__=Ke,window.__f__=Hp;function Ph(){Dm(),YT(),RT(),X1(),wc.publishHandler(Is)}typeof plus!="undefined"?Ph():document.addEventListener("plusready",Ph)}); diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappautomator.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappautomator.js new file mode 100755 index 0000000..3c286dc --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappautomator.js @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. 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 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +function e(){for(var e=0,t=0,n=arguments.length;tt;t++)o(e,e._deferreds[t]);e._deferreds=null}function a(e,t){var n=!1;try{e((function(e){n||(n=!0,i(t,e))}),(function(e){n||(n=!0,u(t,e))}))}catch(e){if(n)return;n=!0,u(t,e)}}var s=setTimeout;r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var r=new this.constructor(n);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,r)),r},r.prototype.finally=e,r.all=function(e){return new r((function(n,r){function o(e,t){try{if(t&&("object"==typeof t||"function"==typeof t)){var c=t.then;if("function"==typeof c)return void c.call(t,(function(t){o(e,t)}),r)}i[e]=t,0==--u&&n(i)}catch(e){r(e)}}if(!t(e))return r(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return n([]);for(var u=i.length,c=0;i.length>c;c++)o(c,i[c])}))},r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(n,o){if(!t(e))return o(new TypeError("Promise.race accepts an array"));for(var i=0,u=e.length;u>i;i++)r.resolve(e[i]).then(n,o)}))},r._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){s(e,0)},r._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var l=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in l?l.Promise.prototype.finally||(l.Promise.prototype.finally=e):l.Promise=r}));var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),n=new Uint8Array(16);function r(){if(!t)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(n)}for(var o=[],i=0;i<256;++i)o[i]=(i+256).toString(16).substr(1);function u(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var u=(e=e||{}).random||(e.rng||r)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t)for(var c=0;c<16;++c)t[i+c]=u[c];return t||function(e,t){var n=t||0,r=o;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}(u)}var c=Object.prototype.hasOwnProperty,a=Array.isArray,s=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},l=/-(\w)/g,f=s((function(e){return e.replace(l,(function(e,t){return t?t.toUpperCase():""}))})),d=s((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;function m(e,t){if(a(e))return e;if(t&&(n=t,r=e,c.call(n,r)))return[e];var n,r,o=[];return e.replace(p,(function(e,t,n,r){return o.push(n?r.replace(/\\(\\)?/g,"$1"):t||e),r})),o}function v(e,t){var n,r=m(t,e);for(n=r.shift();null!=n;){if(null==(e=e[n]))return;n=r.shift()}return e}var h=new Map;function g(e){if(!function(e){if(e){var t=e.tagName;return 0===t.indexOf("UNI-")||"BODY"===t}return!1}(e))throw Error("no such element");var t,n,r={elementId:(t=e,n=t._id,n||(n=u(),t._id=n,h.set(n,{id:n,element:t})),n),tagName:e.tagName.toLocaleLowerCase().replace("uni-","")},o=e.__vue__;return o&&(o.$parent&&o.$parent.$el===e&&(o=o.$parent),o&&!o.$options.isReserved&&(r.nodeId=function(e){if(e._$weex)return e._uid;if(e._$id)return e._$id;var t=function(e){for(var t=e.$parent;t;){if(t._$id)return t;t=t.$parent}}(e);if(!e.$parent)return"-1";var n=e.$vnode,r=n.context;return r&&r!==t&&r._$id?r._$id+";"+t._$id+","+n.data.attrs._i:t._$id+","+n.data.attrs._i}(o))),"video"===r.tagName&&(r.videoId=r.nodeId),r}var _={input:{input:function(e,t){var n=e.__vue__;n.valueSync=t,n.$triggerInput({},{value:t})}},textarea:{input:function(e,t){var n=e.__vue__;n.valueSync=t,n.$triggerInput({},{value:t})}},"scroll-view":{scrollTo:function(e,t,n){var r=e.__vue__.$refs.main;r.scrollLeft=t,r.scrollTop=n},scrollTop:function(e){return e.__vue__.$refs.main.scrollTop},scrollLeft:function(e){return e.__vue__.$refs.main.scrollLeft},scrollWidth:function(e){return e.__vue__.$refs.main.scrollWidth},scrollHeight:function(e){return e.__vue__.$refs.main.scrollHeight}},swiper:{swipeTo:function(e,t){e.__vue__.current=t}},"movable-view":{moveTo:function(e,t,n){e.__vue__._animationTo(t,n)}},switch:{tap:function(e){e.click()}},slider:{slideTo:function(e,t){var n=e.__vue__,r=n.$refs["uni-slider"],o=r.offsetWidth,i=r.getBoundingClientRect().left;n.value=t,n._onClick({x:(t-n.min)*o/(n.max-n.min)+i})}}},y={getWindow:function(e){return window},getDocument:function(e){return document},getEl:function(e){var t=h.get(e);if(!t)throw Error("element destroyed");return t.element},getOffset:function(e){var t=e.getBoundingClientRect();return Promise.resolve({left:t.left+window.pageXOffset,top:t.top+window.pageYOffset})},querySelector:function(e,t){return"page"===t&&(t="body"),Promise.resolve(g(e.querySelector(t)))},querySelectorAll:function(e,t){var n=[],r=document.querySelectorAll(t);return[].forEach.call(r,(function(e){try{n.push(g(e))}catch(e){}})),Promise.resolve({elements:n})},queryProperties:function(e,t){return Promise.resolve({properties:t.map((function(t){var n=v(e,t);return"document.documentElement.scrollTop"===t&&0===n&&(n=v(e,"document.body.scrollTop")),n}))})},queryAttributes:function(e,t){return Promise.resolve({attributes:t.map((function(t){return String(e.getAttribute(t))}))})},queryStyles:function(e,t){var n=getComputedStyle(e);return Promise.resolve({styles:t.map((function(e){return n[e]}))})},queryHTML:function(e,t){return Promise.resolve({html:(n="outer"===t?e.outerHTML:e.innerHTML,n.replace(/\n/g,"").replace(/(]*>)(]*>[^<]*<\/span>)(.*?<\/uni-text>)/g,"$1$3").replace(/<\/?[^>]*>/g,(function(e){return-1":""===e?"":0!==e.indexOf("{var S=Object.create;var h=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var E=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var y=A=>h(A,"__esModule",{value:!0});var G=(A,t)=>()=>(t||A((t={exports:{}}).exports,t),t.exports);var k=(A,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of C(t))!_.call(A,a)&&(s||a!=="default")&&h(A,a,{get:()=>t[a],enumerable:!(r=I(t,a))||r.enumerable});return A},Q=(A,t)=>k(y(h(A!=null?S(E(A)):{},"default",!t&&A&&A.__esModule?{get:()=>A.default,enumerable:!0}:{value:A,enumerable:!0})),A);var B=G(($,D)=>{D.exports=Vue});var N=Object.prototype.toString,f=A=>N.call(A),p=A=>f(A).slice(8,-1);function P(){return typeof __channelId__=="string"&&__channelId__}function j(A,t){switch(p(t)){case"Function":return"function() { [native code] }";default:return t}}function F(A,t,s){return P()?(s.push(t.replace("at ","uni-app:///")),console[A].apply(console,s)):s.map(function(a){let o=f(a).toLowerCase();if(o==="[object object]"||o==="[object array]")try{a="---BEGIN:JSON---"+JSON.stringify(a,j)+"---END:JSON---"}catch{a=o}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{let i=p(a).toUpperCase();i==="NUMBER"||i==="BOOLEAN"?a="---BEGIN:"+i+"---"+a+"---END:"+i+"---":a=String(a)}return a}).join("---COMMA---")+" "+t}function d(A,t,...s){let r=F(A,t,s);r&&console[A](r)}var w={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let A=(plus.webview.currentWebview().extras||{}).data||{};if(A.messages&&(this.localization.messages=A.messages),A.locale){this.locale=A.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),r=s[1];r&&(s[1]=t[r]||r),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(A){let t=this.locale,s=t.split("-")[0],r=this.fallbackLocale,a=this.localization;function o(i){return a[i]||{}}return o("messages")[A]||o(t)[A]||o(s)[A]||o(r)[A]||A}}},m={onLoad(){this.initMessage()},methods:{initMessage(){let{from:A,callback:t,runtime:s,data:r={},useGlobalEvent:a}=plus.webview.currentWebview().extras||{};this.__from=A,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=a,this.data=JSON.parse(JSON.stringify(r)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let o=this,i=function(n){let l=n.data&&n.data.__message;!l||o.__onMessageCallback&&o.__onMessageCallback(l.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",i);else{let n=new BroadcastChannel(this.__page);n.onmessage=i}},postMessage(A={},t=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:A,keep:t}})),r=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,r):new BroadcastChannel(r).postMessage(s);else{let a=plus.webview.getWebviewById(r);a&&a.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(A){this.__onMessageCallback=A}}};var e=Q(B());var b=(A,t)=>{let s=A.__vccOpts||A;for(let[r,a]of t)s[r]=a;return s};var T=Object.defineProperty,O=Object.defineProperties,M=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,L=(A,t,s)=>t in A?T(A,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):A[t]=s,z=(A,t)=>{for(var s in t||(t={}))U.call(t,s)&&L(A,s,t[s]);if(v)for(var s of v(t))R.call(t,s)&&L(A,s,t[s]);return A},H=(A,t)=>O(A,M(t)),Y={map_center_marker_container:{"":{alignItems:"flex-start",width:22,height:70}},map_center_marker:{"":{width:22,height:35}},"unichooselocation-icons":{"":{fontFamily:"unichooselocation",textDecoration:"none",textAlign:"center"}},page:{"":{flex:1,position:"relative"}},"flex-r":{"":{flexDirection:"row",flexWrap:"nowrap"}},"flex-c":{"":{flexDirection:"column",flexWrap:"nowrap"}},"flex-fill":{"":{flex:1}},"a-i-c":{"":{alignItems:"center"}},"j-c-c":{"":{justifyContent:"center"}},"nav-cover":{"":{position:"absolute",left:0,top:0,right:0,height:100,backgroundImage:"linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0))"}},statusbar:{"":{height:22}},"title-view":{"":{paddingTop:5,paddingRight:15,paddingBottom:5,paddingLeft:15}},"btn-cancel":{"":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0}},"btn-cancel-text":{"":{fontSize:30,color:"#ffffff"}},"btn-done":{"":{backgroundColor:"#007AFF",borderRadius:3,paddingTop:5,paddingRight:12,paddingBottom:5,paddingLeft:12}},"btn-done-disabled":{"":{backgroundColor:"#62abfb"}},"text-done":{"":{color:"#ffffff",fontSize:15,fontWeight:"bold",lineHeight:15,height:15}},"text-done-disabled":{"":{color:"#c0ddfe"}},"map-view":{"":{flex:2,position:"relative"}},map:{"":{width:"750rpx",justifyContent:"center",alignItems:"center"}},"map-location":{"":{position:"absolute",right:20,bottom:25,width:44,height:44,backgroundColor:"#ffffff",borderRadius:40,boxShadow:"0 2px 4px rgba(100, 100, 100, 0.2)"}},"map-location-text":{"":{fontSize:20}},"map-location-text-active":{"":{color:"#007AFF"}},"result-area":{"":{flex:2,position:"relative"}},"search-bar":{"":{paddingTop:12,paddingRight:15,paddingBottom:12,paddingLeft:15,backgroundColor:"#ffffff"}},"search-area":{"":{backgroundColor:"#ebebeb",borderRadius:5,height:30,paddingLeft:8}},"search-text":{"":{fontSize:14,lineHeight:16,color:"#b4b4b4"}},"search-icon":{"":{fontSize:16,color:"#b4b4b4",marginRight:4}},"search-tab":{"":{flexDirection:"row",paddingTop:2,paddingRight:16,paddingBottom:2,paddingLeft:16,marginTop:-10,backgroundColor:"#FFFFFF"}},"search-tab-item":{"":{marginTop:0,marginRight:5,marginBottom:0,marginLeft:5,textAlign:"center",fontSize:14,lineHeight:32,color:"#333333",borderBottomStyle:"solid",borderBottomWidth:2,borderBottomColor:"rgba(0,0,0,0)"}},"search-tab-item-active":{"":{borderBottomColor:"#0079FF"}},"no-data":{"":{color:"#808080"}},"no-data-search":{"":{marginTop:50}},"list-item":{"":{position:"relative",paddingTop:12,paddingRight:15,paddingBottom:12,paddingLeft:15}},"list-line":{"":{position:"absolute",left:15,right:0,bottom:0,height:.5,backgroundColor:"#d3d3d3"}},"list-name":{"":{fontSize:14,lines:1,textOverflow:"ellipsis"}},"list-address":{"":{fontSize:12,color:"#808080",lines:1,textOverflow:"ellipsis",marginTop:5}},"list-icon-area":{"":{paddingLeft:10,paddingRight:10}},"list-selected-icon":{"":{fontSize:20,color:"#007AFF"}},"search-view":{"":{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"#f6f6f6"}},"searching-area":{"":{flex:5}},"search-input":{"":{fontSize:14,height:30,paddingLeft:6}},"search-cancel":{"":{color:"#0079FF",marginLeft:10}},"loading-view":{"":{paddingTop:15,paddingRight:15,paddingBottom:15,paddingLeft:15}},"loading-icon":{"":{width:28,height:28,color:"#808080"}}},K=weex.requireModule("dom");K.addRule("fontFace",{fontFamily:"unichooselocation",src:"url('data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8gE4kAAABfAAAAFZjbWFw4nGd6QAAAegAAAGyZ2x5Zn61L/EAAAOoAAACJGhlYWQXJ/zZAAAA4AAAADZoaGVhB94DhgAAALwAAAAkaG10eBQAAAAAAAHUAAAAFGxvY2EBUAGyAAADnAAAAAxtYXhwARMAZgAAARgAAAAgbmFtZWs+cdAAAAXMAAAC2XBvc3SV1XYLAAAIqAAAAE4AAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAUAAQAAAAEAAFP+qyxfDzz1AAsEAAAAAADaBFxuAAAAANoEXG4AAP+gBAADYAAAAAgAAgAAAAAAAAABAAAABQBaAAQAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5grsMgOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABcgABAAAAAABsAAMAAQAAACwAAwAKAAABcgAEAEAAAAAKAAgAAgAC5grmHOZR7DL//wAA5grmHOZR7DL//wAAAAAAAAAAAAEACgAKAAoACgAAAAQAAwACAAEAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAEAAAAAAAAAABAAA5goAAOYKAAAABAAA5hwAAOYcAAAAAwAA5lEAAOZRAAAAAgAA7DIAAOwyAAAAAQAAAAAAAAB+AKAA0gESAAQAAP+gA+ADYAAAAAkAMQBZAAABIx4BMjY0JiIGBSMuASc1NCYiBh0BDgEHIyIGFBY7AR4BFxUUFjI2PQE+ATczMjY0JgE1NCYiBh0BLgEnMzI2NCYrAT4BNxUUFjI2PQEeARcjIgYUFjsBDgECAFABLUQtLUQtAg8iD9OcEhwSnNMPIg4SEg4iD9OcEhwSnNMPIg4SEv5SEhwSga8OPg4SEg4+Dq+BEhwSga8OPg4SEg4+Dq8BgCItLUQtLQKc0w8iDhISDiIP05wSHBKc0w8iDhISDiIP05wSHBL+gj4OEhIOPg6vgRIcEoGvDj4OEhIOPg6vgRIcEoGvAAEAAAAAA4ECgQAQAAABPgEeAQcBDgEvASY0NhYfAQM2DCIbAgz+TA0kDfcMGiIN1wJyDQIZIg3+IQ4BDf4NIhoBDd0AAQAAAAADAgKCAB0AAAE3PgEuAgYPAScmIgYUHwEHBhQWMj8BFxYyNjQnAjy4CAYGEBcWCLe3DSIaDLi4DBkjDbe3DSMZDAGAtwgWFxAGBgi4uAwaIg23tw0jGQy4uAwZIw0AAAIAAP/fA6EDHgAVACYAACUnPgE3LgEnDgEHHgEXMjY3FxYyNjQlBiIuAjQ+AjIeAhQOAQOX2CcsAQTCkpLCAwPCkj5uLdkJGRH+ijV0Z08rK09ndGdPLCxPE9MtckGSwgQEwpKSwgMoJdQIEhi3FixOaHNnTywsT2dzaE4AAAAAAAASAN4AAQAAAAAAAAAVAAAAAQAAAAAAAQARABUAAQAAAAAAAgAHACYAAQAAAAAAAwARAC0AAQAAAAAABAARAD4AAQAAAAAABQALAE8AAQAAAAAABgARAFoAAQAAAAAACgArAGsAAQAAAAAACwATAJYAAwABBAkAAAAqAKkAAwABBAkAAQAiANMAAwABBAkAAgAOAPUAAwABBAkAAwAiAQMAAwABBAkABAAiASUAAwABBAkABQAWAUcAAwABBAkABgAiAV0AAwABBAkACgBWAX8AAwABBAkACwAmAdUKQ3JlYXRlZCBieSBpY29uZm9udAp1bmljaG9vc2Vsb2NhdGlvblJlZ3VsYXJ1bmljaG9vc2Vsb2NhdGlvbnVuaWNob29zZWxvY2F0aW9uVmVyc2lvbiAxLjB1bmljaG9vc2Vsb2NhdGlvbkdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAAoAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdAAKAHUAbgBpAGMAaABvAG8AcwBlAGwAbwBjAGEAdABpAG8AbgBSAGUAZwB1AGwAYQByAHUAbgBpAGMAaABvAG8AcwBlAGwAbwBjAGEAdABpAG8AbgB1AG4AaQBjAGgAbwBvAHMAZQBsAG8AYwBhAHQAaQBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAHUAbgBpAGMAaABvAG8AcwBlAGwAbwBjAGEAdABpAG8AbgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAQIBAwEEAQUBBgAKbXlsb2NhdGlvbgZ4dWFuemUFY2xvc2UGc291c3VvAAAAAA==')"});var g=weex.requireModule("mapSearch"),V=16,x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",Z={mixins:[m,w],data(){return{positionIcon:x,mapScale:V,userKeyword:"",showLocation:!0,latitude:39.908692,longitude:116.397477,nearList:[],nearSelectedIndex:-1,nearLoading:!1,nearLoadingEnd:!1,noNearData:!1,isUserLocation:!1,statusBarHeight:20,mapHeight:250,markers:[{id:"location",latitude:39.908692,longitude:116.397477,zIndex:"1",iconPath:x,width:26,height:36}],showSearch:!1,searchList:[],searchSelectedIndex:-1,searchLoading:!1,searchEnd:!1,noSearchData:!1,localization:{en:{search_tips:"Search for a place",no_found:"No results found",nearby:"Nearby",more:"More"},zh:{search_tips:"\u641C\u7D22\u5730\u70B9",no_found:"\u5BF9\u4E0D\u8D77\uFF0C\u6CA1\u6709\u641C\u7D22\u5230\u76F8\u5173\u6570\u636E",nearby:"\u9644\u8FD1",more:"\u66F4\u591A"}},searchNearFlag:!0,searchMethod:"poiSearchNearBy"}},computed:{disableOK(){return this.nearSelectedIndex<0&&this.searchSelectedIndex<0},searchMethods(){return[{title:this.localize("nearby"),method:"poiSearchNearBy"},{title:this.localize("more"),method:"poiKeywordsSearch"}]}},filters:{distance(A){return A>100?`${A>1e3?(A/1e3).toFixed(1)+"k":A.toFixed(0)}m | `:A>0?"100m\u5185 | ":""}},watch:{searchMethod(){this._searchPageIndex=1,this.searchEnd=!1,this.searchList=[],this._searchKeyword&&this.search()}},onLoad(){this.statusBarHeight=plus.navigator.getStatusbarHeight(),this.mapHeight=plus.screen.resolutionHeight/2;let A=this.data;this.userKeyword=A.keyword||"",this._searchInputTimer=null,this._searchPageIndex=1,this._searchKeyword="",this._nearPageIndex=1,this._hasUserLocation=!1,this._userLatitude=0,this._userLongitude=0},onReady(){this.mapContext=this.$refs.map1,this.data.latitude&&this.data.longitude?(this._hasUserLocation=!0,this.moveToCenter({latitude:this.data.latitude,longitude:this.data.longitude})):this.getUserLocation()},onUnload(){this.clearSearchTimer()},methods:{cancelClick(){this.postMessage({event:"cancel"})},doneClick(){if(this.disableOK)return;let A=this.showSearch&&this.searchSelectedIndex>=0?this.searchList[this.searchSelectedIndex]:this.nearList[this.nearSelectedIndex],t={name:A.name,address:A.address,latitude:A.location.latitude,longitude:A.location.longitude};this.postMessage({event:"selected",detail:t})},getUserLocation(){plus.geolocation.getCurrentPosition(({coordsType:A,coords:t})=>{A.toLowerCase()==="wgs84"?this.wgs84togcjo2(t,s=>{this.getUserLocationSuccess(s)}):this.getUserLocationSuccess(t)},A=>{this._hasUserLocation=!0,d("log","at template/__uniappchooselocation.nvue:292","Gelocation Error: code - "+A.code+"; message - "+A.message)},{geocode:!1})},getUserLocationSuccess(A){this._userLatitude=A.latitude,this._userLongitude=A.longitude,this._hasUserLocation=!0,this.moveToCenter({latitude:A.latitude,longitude:A.longitude})},searchclick(A){this.showSearch=A,A===!1&&plus.key.hideSoftKeybord()},showSearchView(){this.searchList=[],this.showSearch=!0},hideSearchView(){this.showSearch=!1,plus.key.hideSoftKeybord(),this.noSearchData=!1,this.searchSelectedIndex=-1,this._searchKeyword=""},onregionchange(A){var t=A.detail,s=t.type||A.type,r=t.causedBy||A.causedBy;r!=="drag"||s!=="end"||this.mapContext.getCenterLocation(a=>{if(!this.searchNearFlag){this.searchNearFlag=!this.searchNearFlag;return}this.moveToCenter({latitude:a.latitude,longitude:a.longitude})})},onItemClick(A,t){this.searchNearFlag=!1,t.stopPropagation&&t.stopPropagation(),this.nearSelectedIndex!==A&&(this.nearSelectedIndex=A),this.moveToLocation(this.nearList[A]&&this.nearList[A].location)},moveToCenter(A){this.latitude===A.latitude&&this.longitude===A.longitude||(this.latitude=A.latitude,this.longitude=A.longitude,this.updateCenter(A),this.moveToLocation(A),this.isUserLocation=this._userLatitude===A.latitude&&this._userLongitude===A.longitude)},updateCenter(A){this.nearSelectedIndex=-1,this.nearList=[],this._hasUserLocation&&(this._nearPageIndex=1,this.nearLoadingEnd=!1,this.reverseGeocode(A),this.searchNearByPoint(A),this.onItemClick(0,{stopPropagation:()=>{this.searchNearFlag=!0}}),this.$refs.nearListLoadmore.resetLoadmore())},searchNear(){this.nearLoadingEnd||this.searchNearByPoint({latitude:this.latitude,longitude:this.longitude})},searchNearByPoint(A){this.noNearData=!1,this.nearLoading=!0,g.poiSearchNearBy({point:{latitude:A.latitude,longitude:A.longitude},key:this.userKeyword,sortrule:1,index:this._nearPageIndex,radius:1e3},t=>{this.nearLoading=!1,this._nearPageIndex=t.pageIndex+1,this.nearLoadingEnd=t.pageIndex===t.pageNumber,t.poiList&&t.poiList.length?(this.fixPois(t.poiList),this.nearList=this.nearList.concat(t.poiList),this.fixNearList()):this.noNearData=this.nearList.length===0})},moveToLocation(A){!A||this.mapContext.moveToLocation(H(z({},A),{fail:t=>{d("error","at template/__uniappchooselocation.nvue:419","chooseLocation_moveToLocation",t)}}))},reverseGeocode(A){g.reverseGeocode({point:A},t=>{t.type==="success"&&this._nearPageIndex<=2&&(this.nearList.splice(0,0,{code:t.code,location:A,name:"\u5730\u56FE\u4F4D\u7F6E",address:t.address||""}),this.fixNearList())})},fixNearList(){let A=this.nearList;if(A.length>=2&&A[0].name==="\u5730\u56FE\u4F4D\u7F6E"){let t=this.getAddressStart(A[1]),s=A[0].address;s.startsWith(t)&&(A[0].name=s.substring(t.length))}},onsearchinput(A){var t=A.detail.value.replace(/^\s+|\s+$/g,"");this.clearSearchTimer(),this._searchInputTimer=setTimeout(()=>{clearTimeout(this._searchInputTimer),this._searchPageIndex=1,this.searchEnd=!1,this._searchKeyword=t,this.searchList=[],this.search()},300)},clearSearchTimer(){this._searchInputTimer&&clearTimeout(this._searchInputTimer)},search(){this._searchKeyword.length===0||this._searchEnd||this.searchLoading||(this.searchLoading=!0,this.noSearchData=!1,g[this.searchMethod]({point:{latitude:this.latitude,longitude:this.longitude},key:this._searchKeyword,sortrule:1,index:this._searchPageIndex,radius:5e4},A=>{this.searchLoading=!1,this._searchPageIndex=A.pageIndex+1,this.searchEnd=A.pageIndex===A.pageNumber,A.poiList&&A.poiList.length?(this.fixPois(A.poiList),this.searchList=this.searchList.concat(A.poiList)):this.noSearchData=this.searchList.length===0}))},onSearchListTouchStart(){plus.key.hideSoftKeybord()},onSearchItemClick(A,t){t.stopPropagation(),this.searchSelectedIndex!==A&&(this.searchSelectedIndex=A),this.moveToLocation(this.searchList[A]&&this.searchList[A].location)},getAddressStart(A){let t=A.addressOrigin||A.address;return A.province+(A.province===A.city?"":A.city)+(/^\d+$/.test(A.district)||t.startsWith(A.district)?"":A.district)},fixPois(A){for(var t=0;t{if(a.ok){let o=a.data.detail.points[0];t({latitude:o.lat,longitude:o.lng})}})}}};function J(A,t,s,r,a,o){return(0,e.openBlock)(),(0,e.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:!0,style:{flexDirection:"column"}},[(0,e.createElementVNode)("view",{class:"page flex-c"},[(0,e.createElementVNode)("view",{class:"flex-r map-view"},[(0,e.createElementVNode)("map",{class:"map flex-fill",ref:"map1",scale:a.mapScale,showLocation:a.showLocation,longitude:a.longitude,latitude:a.latitude,onRegionchange:t[0]||(t[0]=(...i)=>o.onregionchange&&o.onregionchange(...i)),style:(0,e.normalizeStyle)("height:"+a.mapHeight+"px")},[(0,e.createElementVNode)("div",{class:"map_center_marker_container"},[(0,e.createElementVNode)("u-image",{class:"map_center_marker",src:a.positionIcon},null,8,["src"])])],44,["scale","showLocation","longitude","latitude"]),(0,e.createElementVNode)("view",{class:"map-location flex-c a-i-c j-c-c",onClick:t[1]||(t[1]=i=>o.getUserLocation())},[(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["unichooselocation-icons map-location-text",{"map-location-text-active":a.isUserLocation}])},"\uEC32",2)]),(0,e.createElementVNode)("view",{class:"nav-cover"},[(0,e.createElementVNode)("view",{class:"statusbar",style:(0,e.normalizeStyle)("height:"+a.statusBarHeight+"px")},null,4),(0,e.createElementVNode)("view",{class:"title-view flex-r"},[(0,e.createElementVNode)("view",{class:"btn-cancel",onClick:t[2]||(t[2]=(...i)=>o.cancelClick&&o.cancelClick(...i))},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons btn-cancel-text"},"\uE61C")]),(0,e.createElementVNode)("view",{class:"flex-fill"}),(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["btn-done flex-r a-i-c j-c-c",{"btn-done-disabled":o.disableOK}]),onClick:t[3]||(t[3]=(...i)=>o.doneClick&&o.doneClick(...i))},[(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["text-done",{"text-done-disabled":o.disableOK}])},(0,e.toDisplayString)(A.localize("done")),3)],2)])])]),(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["flex-c result-area",{"searching-area":a.showSearch}])},[(0,e.createElementVNode)("view",{class:"search-bar"},[(0,e.createElementVNode)("view",{class:"search-area flex-r a-i-c",onClick:t[4]||(t[4]=(...i)=>o.showSearchView&&o.showSearchView(...i))},[(0,e.createElementVNode)("u-text",{class:"search-icon unichooselocation-icons"},"\uE60A"),(0,e.createElementVNode)("u-text",{class:"search-text"},(0,e.toDisplayString)(A.localize("search_tips")),1)])]),a.noNearData?(0,e.createCommentVNode)("v-if",!0):((0,e.openBlock)(),(0,e.createElementBlock)("list",{key:0,ref:"nearListLoadmore",class:"flex-fill list-view",loadmoreoffset:"5",scrollY:!0,onLoadmore:t[5]||(t[5]=i=>o.searchNear())},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.nearList,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:i.uid},[(0,e.createElementVNode)("view",{class:"list-item",onClick:l=>o.onItemClick(n,l)},[(0,e.createElementVNode)("view",{class:"flex-r"},[(0,e.createElementVNode)("view",{class:"list-text-area flex-fill flex-c"},[(0,e.createElementVNode)("u-text",{class:"list-name"},(0,e.toDisplayString)(i.name),1),(0,e.createElementVNode)("u-text",{class:"list-address"},(0,e.toDisplayString)(i.distance|A.distance)+(0,e.toDisplayString)(i.address),1)]),n===a.nearSelectedIndex?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"list-icon-area flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons list-selected-icon"},"\uE651")])):(0,e.createCommentVNode)("v-if",!0)]),(0,e.createElementVNode)("view",{class:"list-line"})],8,["onClick"])]))),128)),a.nearLoading?((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:0},[(0,e.createElementVNode)("view",{class:"loading-view flex-c a-i-c j-c-c"},[(0,e.createElementVNode)("loading-indicator",{class:"loading-icon",animating:!0,arrow:"false"})])])):(0,e.createCommentVNode)("v-if",!0)],544)),a.noNearData?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"flex-fill flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"no-data"},(0,e.toDisplayString)(A.localize("no_found")),1)])):(0,e.createCommentVNode)("v-if",!0),a.showSearch?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:2,class:"search-view flex-c"},[(0,e.createElementVNode)("view",{class:"search-bar flex-r a-i-c"},[(0,e.createElementVNode)("view",{class:"search-area flex-fill flex-r"},[(0,e.createElementVNode)("u-input",{focus:!0,onInput:t[6]||(t[6]=(...i)=>o.onsearchinput&&o.onsearchinput(...i)),class:"search-input flex-fill",placeholder:A.localize("search_tips")},null,40,["placeholder"])]),(0,e.createElementVNode)("u-text",{class:"search-cancel",onClick:t[7]||(t[7]=(...i)=>o.hideSearchView&&o.hideSearchView(...i))},(0,e.toDisplayString)(A.localize("cancel")),1)]),(0,e.createElementVNode)("view",{class:"search-tab"},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(o.searchMethods,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("u-text",{onClick:l=>a.searchMethod=a.searchLoading?a.searchMethod:i.method,key:n,class:(0,e.normalizeClass)([{"search-tab-item-active":i.method===a.searchMethod},"search-tab-item"])},(0,e.toDisplayString)(i.title),11,["onClick"]))),128))]),a.noSearchData?(0,e.createCommentVNode)("v-if",!0):((0,e.openBlock)(),(0,e.createElementBlock)("list",{key:0,class:"flex-fill list-view",enableBackToTop:!0,scrollY:!0,onLoadmore:t[8]||(t[8]=i=>o.search()),onTouchstart:t[9]||(t[9]=(...i)=>o.onSearchListTouchStart&&o.onSearchListTouchStart(...i))},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.searchList,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:i.uid},[(0,e.createElementVNode)("view",{class:"list-item",onClick:l=>o.onSearchItemClick(n,l)},[(0,e.createElementVNode)("view",{class:"flex-r"},[(0,e.createElementVNode)("view",{class:"list-text-area flex-fill flex-c"},[(0,e.createElementVNode)("u-text",{class:"list-name"},(0,e.toDisplayString)(i.name),1),(0,e.createElementVNode)("u-text",{class:"list-address"},(0,e.toDisplayString)(i.distance|A.distance)+(0,e.toDisplayString)(i.address),1)]),n===a.searchSelectedIndex?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"list-icon-area flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons list-selected-icon"},"\uE651")])):(0,e.createCommentVNode)("v-if",!0)]),(0,e.createElementVNode)("view",{class:"list-line"})],8,["onClick"])]))),128)),a.searchLoading?((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:0},[(0,e.createElementVNode)("view",{class:"loading-view flex-c a-i-c j-c-c"},[(0,e.createElementVNode)("loading-indicator",{class:"loading-icon",animating:!0})])])):(0,e.createCommentVNode)("v-if",!0)],32)),a.noSearchData?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"flex-fill flex-r j-c-c"},[(0,e.createElementVNode)("u-text",{class:"no-data no-data-search"},(0,e.toDisplayString)(A.localize("no_found")),1)])):(0,e.createCommentVNode)("v-if",!0)])):(0,e.createCommentVNode)("v-if",!0)],2)])])}var c=b(Z,[["render",J],["styles",[Y]]]);var u=plus.webview.currentWebview();if(u){let A=parseInt(u.id),t="template/__uniappchooselocation",s={};try{s=JSON.parse(u.__query__)}catch{}c.mpType="page";let r=Vue.createPageApp(c,{$store:getApp({allowDefault:!0}).$store,__pageId:A,__pagePath:t,__pageQuery:s});r.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...c.styles||[]])),r.mount("#root")}})(); diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniapperror.png b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniapperror.png new file mode 100755 index 0000000..4743b25 Binary files /dev/null and b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniapperror.png differ diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappopenlocation.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappopenlocation.js new file mode 100755 index 0000000..0699fcd --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappopenlocation.js @@ -0,0 +1,2 @@ +"use weex:vue"; +(()=>{var v=Object.create;var u=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var E=e=>u(e,"__esModule",{value:!0});var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var O=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Q(t))!w.call(e,o)&&(a||o!=="default")&&u(e,o,{get:()=>t[o],enumerable:!(n=P(t,o))||n.enumerable});return e},x=(e,t)=>O(E(u(e!=null?v(b(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var B=I((U,C)=>{C.exports=Vue});var m={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},a=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),n=a[1];n&&(a[1]=t[n]||n),a.length=a.length>2?2:a.length,this.locale=a.join("-")},localize(e){let t=this.locale,a=t.split("-")[0],n=this.fallbackLocale,o=this.localization;function s(r){return o[r]||{}}return s("messages")[e]||s(t)[e]||s(a)[e]||s(n)[e]||e}}},h={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:t,runtime:a,data:n={},useGlobalEvent:o}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=a,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=o,this.data=JSON.parse(JSON.stringify(n)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let s=this,r=function(l){let A=l.data&&l.data.__message;!A||s.__onMessageCallback&&s.__onMessageCallback(A.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",r);else{let l=new BroadcastChannel(this.__page);l.onmessage=r}},postMessage(e={},t=!1){let a=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:t}})),n=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(a,n):new BroadcastChannel(n).postMessage(a);else{let o=plus.webview.getWebviewById(n);o&&o.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:a})})`)}},onMessage(e){this.__onMessageCallback=e}}};var i=x(B());var f=(e,t)=>{let a=e.__vccOpts||e;for(let[n,o]of t)a[n]=o;return a};var z={page:{"":{flex:1}},"flex-r":{"":{flexDirection:"row",flexWrap:"nowrap"}},"flex-c":{"":{flexDirection:"column",flexWrap:"nowrap"}},"flex-fill":{"":{flex:1}},"a-i-c":{"":{alignItems:"center"}},"j-c-c":{"":{justifyContent:"center"}},target:{"":{paddingTop:10,paddingBottom:10}},"text-area":{"":{paddingLeft:10,paddingRight:10,flex:1}},name:{"":{fontSize:16,lines:1,textOverflow:"ellipsis"}},address:{"":{fontSize:14,color:"#808080",lines:1,textOverflow:"ellipsis",marginTop:2}},"goto-area":{"":{width:50,height:50,paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,backgroundColor:"#007aff",borderRadius:50,marginRight:10}},"goto-icon":{"":{width:34,height:34}},"goto-text":{"":{fontSize:14,color:"#FFFFFF"}}},R={mixins:[h,m],data(){return{longitude:"",latitude:"",markers:[],name:"",address:"",localization:{en:{"map.title.amap":"AutoNavi Maps","map.title.baidu":"Baidu Maps","map.title.tencent":"Tencent Maps","map.title.apple":"Apple Maps","map.title.google":"Google Maps","location.title":"My Location","select.cancel":"Cancel"},zh:{"map.title.amap":"\u9AD8\u5FB7\u5730\u56FE","map.title.baidu":"\u767E\u5EA6\u5730\u56FE","map.title.tencent":"\u817E\u8BAF\u5730\u56FE","map.title.apple":"\u82F9\u679C\u5730\u56FE","map.title.google":"\u8C37\u6B4C\u5730\u56FE","location.title":"\u6211\u7684\u4F4D\u7F6E","select.cancel":"\u53D6\u6D88"}}}},onLoad(){let e=this.data;this.latitude=e.latitude,this.longitude=e.longitude,this.name=e.name||"",this.address=e.address||""},onReady(){this.mapContext=this.$refs.map1,this.markers=[{id:"location",latitude:this.latitude,longitude:this.longitude,title:this.name,zIndex:"1",iconPath:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAABICAMAAACORiZjAAAByFBMVEUAAAD/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PiL/PyL/PyL/PyP/PyL/PyL/PyL/PyL/PiL/PyL8PiP/PyL4OyP/PyL3OyX9Pyb0RUP0RkPzOiXsPj3YLi7TKSnQJiX0RkTgMCj0QjvkNC3vPDPwOy/9PyXsNSTyRUTgNDPdMjHrPTzuQD7iNTTxQ0HTJyTZKyf1RULlNjDZKyTfLSLeLSX0Qzz3Qzv8PSTMJCTmOjnPJSXLIiLzRkXWLCvgNDPZLyzVKijRJSTtPzvcMS7jNjPZLCnyREHpOzjiNDDtPzvzQz/VKSXkNTDsPDXyQjz2RT7pMyTxOinjMST5QjTmOjnPJSLdLyr0RD//YF7/////R0b/Tk3/XVv/WFb/VVP/S0v/Pz//W1n/UVD/REP/Xlz/Ojr/QUH/Skn/U1L/ODf7VlX5UU/oOzrqNzf/+/v5UlHvQUD2TEv0SUj3Tk3/2dn8W1r6TEv7R0b7REPvPTzzPDvwNjXkMjLnMDDjLS3dKir/xcX/vr7/qqn/pqX/mZn/fn7/ZWT/8PD/4eH/3t3/zs7/ra3/kpL/iIj/e3r5PDz4NjbxMTHsMTDlLCz/9vb/6ej/ubjhOGVRAAAAWXRSTlMABQ4TFgoIHhApI0RAGhgzJi89Ozg2LVEg4s5c/v366tmZiYl2X0pE/vn08eTe1sWvqqiOgXVlUE399/b08u3n4tzZ1dTKyMTDvLmzqqKal35taFxH6sC3oms+ongAAAOtSURBVEjHjZV3W9pQGMXJzQACQRARxVF3HdVW26od7q111NqhdbRSbQVElnvvbV1tv25Jgpr3kpCcP+/7/J5z8p57QScr4l46jSJohEhKEGlANKGBYBA1NFDpyklPz3FV5tWwHKnGEbShprIuFPAujEW14A2E6nqqWYshEcYYqnNC3mEgbyh9wMgZGCUbZHZFFobjtODLKWQpRMgyhrxiiQtwK/6SqpczY/QdvqlhJflcZpZk4hiryzecQIH0IitFY0xaBWDkqCEr9CLIDsDIJqywswbpNlB/ZEpVkZ4kPZKEqwmOTakrXGCk6IdwFYExDfI+SX4ISBeExjQp0m/jUMyIeuLVBo2Xma0kIRpVhyc1Kpxn42hxdd2BuOnv3Z2d3YO4Y29LCitcQiItcxxH5kcEncRhmc5UiofowuJxqPO5kZjm9rFROC9JWAXqC8HBgciI1AWcRbqj+fgX0emDg+MRif5OglmgJdlIEvzCJ8D5xQjQORhOlJlTKR4qmwD6B6FtOJ012yyMjrHMwuNTCM1jUG2SHDQPoWMMciZxdBR6PQOOtyF0ikEmEfrom5FqH0J7YOh+LUAE1bbolmrqj5SZOwTDxXJTdBFRqCrsBtoHRnAW7hRXThYE3VA7koVjo2CfUK4O2WdHodx7c7FsZ25sNDtotxp4SF++OIrpcHf+6Ojk7BA/X2wwOfRIeLj5wVGNClYJF4K/sY4SrVBJhj323hHXG/ymScEu091PH0HaS5e0MEslGeLuBCt9fqYWKLNXNIpZGcuXfqlqqaHWLhrFrLpWvqpqpU1ixFs9Ll1WY5ZLo19ECUb3X+VXg/y5wEj4qtYVlXCtRdIvErtyZi0nDJc1aLZxCPtrZ3P9PxLIX2Vy8P8zQAxla1xVZlYba6NbYAAi7KIwSxnKKjDHtoAHfOb/qSD/Z1OKEA4XbXHUr8ozq/XOZKOFxgkx4Mv177Jaz4fhQFnWdr8c4283pVhBRSDg4+zLeOYyu9CcCsIBK5T2fF0mXK7JkYaAEaAoY9Mazqw1FdnBRcWFuA/ZGDOd/R7eH7my3m1MA208k60I3ibHozUps/bICe+PQllbUmjrBaxIqaynG5JwT5UrgmW9ubpjrt5kJMOKlMvavIM2o08cVqRcVvONyNw0Y088YVmvPIJeqVUEy9rkmU31imBZ1x7PNV6RelkeD16Relmfbm81VQTLevs2A74iDWXpXzznwwEj9YCszcbCcOqiSY4jYTh1Jx1B04o+/wH6/wOSPFj1xgAAAABJRU5ErkJggg==",width:26,height:36}],this.updateMarker()},methods:{goto(){var e=weex.config.env.platform==="iOS";this.openSysMap(this.latitude,this.longitude,this.name,e)},updateMarker(){this.mapContext.moveToLocation(),this.mapContext.translateMarker({markerId:"location",destination:{latitude:this.latitude,longitude:this.longitude},duration:0},e=>{})},openSysMap(e,t,a,n){let o=weex.requireModule("mapSearch");var s=[{title:this.localize("map.title.tencent"),getUrl:function(){var A;return A="https://apis.map.qq.com/uri/v1/routeplan?type=drive&to="+encodeURIComponent(a)+"&tocoord="+encodeURIComponent(e+","+t)+"&referer=APP",A}},{title:this.localize("map.title.google"),getUrl:function(){var A;return A="https://www.google.com/maps/?daddr="+encodeURIComponent(a)+"&sll="+encodeURIComponent(e+","+t),A}}],r=[{title:this.localize("map.title.amap"),pname:"com.autonavi.minimap",action:n?"iosamap://":"amapuri://",getUrl:function(){var A;return n?A="iosamap://path":A="amapuri://route/plan/",A+="?sourceApplication=APP&dname="+encodeURIComponent(a)+"&dlat="+e+"&dlon="+t+"&dev=0",A}},{title:this.localize("map.title.baidu"),pname:"com.baidu.BaiduMap",action:"baidumap://",getUrl:function(){var A="baidumap://map/direction?destination="+encodeURIComponent("latlng:"+e+","+t+"|name:"+a)+"&mode=driving&src=APP&coord_type=gcj02";return A}},{title:this.localize("map.title.tencent"),pname:"com.tencent.map",action:"qqmap://",getUrl:()=>{var A;return A="qqmap://map/routeplan?type=drive"+(n?"&from="+encodeURIComponent(this.localize("location.title")):"")+"&to="+encodeURIComponent(a)+"&tocoord="+encodeURIComponent(e+","+t)+"&referer=APP",A}},{title:this.localize("map.title.google"),pname:"com.google.android.apps.maps",action:"comgooglemapsurl://",getUrl:function(){var A;return n?A="comgooglemapsurl://maps.google.com/":A="https://www.google.com/maps/",A+="?daddr="+encodeURIComponent(a)+"&sll="+encodeURIComponent(e+","+t),A}}],l=[];r.forEach(function(A){var g=plus.runtime.isApplicationExist({pname:A.pname,action:A.action});g&&l.push(A)}),n&&l.unshift({title:this.localize("map.title.apple"),navigateTo:function(){o.openSystemMapNavigation({longitude:t,latitude:e,name:a})}}),l.length===0&&(l=l.concat(s)),plus.nativeUI.actionSheet({cancel:this.localize("select.cancel"),buttons:l},function(A){var g=A.index,c;g>0&&(c=l[g-1],c.navigateTo?c.navigateTo():plus.runtime.openURL(c.getUrl(),function(){},c.pname))})}}};function D(e,t,a,n,o,s){return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:!0,style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"page flex-c"},[(0,i.createElementVNode)("map",{class:"flex-fill map",ref:"map1",longitude:o.longitude,latitude:o.latitude,markers:o.markers},null,8,["longitude","latitude","markers"]),(0,i.createElementVNode)("view",{class:"flex-r a-i-c target"},[(0,i.createElementVNode)("view",{class:"text-area"},[(0,i.createElementVNode)("u-text",{class:"name"},(0,i.toDisplayString)(o.name),1),(0,i.createElementVNode)("u-text",{class:"address"},(0,i.toDisplayString)(o.address),1)]),(0,i.createElementVNode)("view",{class:"goto-area",onClick:t[0]||(t[0]=(...r)=>s.goto&&s.goto(...r))},[(0,i.createElementVNode)("u-image",{class:"goto-icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAYAAAD9yHLdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAADzVJREFUeNrt3WmMFMUfxvGqRREjEhXxIAooUQTFGPGIeLAcshoxRhM1Eu+YjZGIJh4vTIzHC1GJiiCeiUckEkWDVzxQxHgRvNB4LYiigshyxFXYg4Bb/xfPv1YbFpjtnZmq7v5+3vxSs8vOr4vpfqZ6pmeMAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMKwoRtAtjnnnHN77KHR2LGqhx327y8YZ9zSpcYaa+z8+dZaa21LS+i+AQCBKDgmTVJdv96VZN06/+9C9w8AqBId+K1Vfeih0gJjZ/zfsayEASBvksExbVp5gmNrjz5KkABATlQnOAgSAMiNMMFBkABAZsURHAQJAGRGnMFBkABAtLIRHAQJAEQjm8FBkABAMPkIDoIEAKomn8FBkABAxRQjOAgSACibYgYHQQIAqREcnSFIAGC7/AFSleDoHEECAB38AVGV4CgNQQKgwPwBUJXgSIcgAVAg/oCnSnCUB0ECIMf8AU6V4KgMggRAjvgDmirBUR0ECYAM8wcw1ViCY/PmfN3Pzvh5J0gAZIA/YCUPYKE1NqpOmlSd+6uvV/3999BbLqxIAETMH6BUYwuOI49Ura2tzv36+xkyRJUgAYBt+AOSanzBkeyzegGSvF+CBAA6+AOQarzBkey3+gGSvH+CBECB+QOOavzBkew7XIAk+yBIABSIP8CoZic4kv2HD5BkPwQJgBzzBxTV7AVHcjviCZBkXwQJgBzxBxDV7AZHcnviC5BkfwQJgAzzBwzV7AdHcrviDZBknwQJgAzxBwjV/ARHcvviD5BkvwQJgIj5A4Jq/oIjuZ3ZCZBk3wQJgIj4A4BqfoMjub3ZC5Bk/wQJgID8Dq+a/+BIbnd2AyS5HQQJgCryO7hqcYIjuf3ZD5Dk9hAkACrI79CqxQuO5DzkJ0CS20WQACgjvwOrFjc4kvORvwBJbh9BAqAb/A6rSnAk5yW/AZLcToIEQBf4HVSV4Oh8fvIfIMntJUgA7IDfIVUJjh3PU3ECJLndBAmA//A7oCrBUdp8FS9AkttPkACF5nc4VYKja/NW3ABJzgNBAhSK38FUCY5080eAJOeDIAFyze9QqgRH9+aRAOl8XggSIFf8DqRKcJRnPgmQHc8PQQJkmt9hVAmO8s4rAVLaPBEkQKb4HUSV4KjM/BIgXZsvggSImt8hVAmOys4zAZJu3ggSICp+B1AlOKoz3wRI9+aPIAGC8g94VYKjuvNOgJRnHgkSoKr8A1yV4Agz/wRIeeeTIAGqQg/su+8OvYvJH3+oDh0ael6qO/8ESGXmdejQ5OMqtClTQs8LUBau3bW79rPPDr1LSfGCo+P/wTlHgFR6fiMKknbX7tonTAg9L8iGmtANbJc11tjbbw/bxOrVqmPGWGuttT/8EHpakC/Jx9WYMar+cRfKbbeFvX9kRXQBoqdB/ftrdOyxYbogOFBd0QSJNdbYESO0Hx5wQOh5QdyiCxAZMCDM/RIcCCuOIPEvpg8aFHo+ELf4AsQZZ1xra3XvlOBAXIIHiTPOuObm0POAuMUXIMYYYxoaVDdsqOz9rFmjOm4cwYEYJR+X/k0Gq1ZV9l43blRdujT09iNu0QWIrbE1tmbTJo1mz67MvfhncrW12kG/+y70dgM7osfpkiUajRunWqkVyaxZyf0QyBj/Ip7qypXleY9icd+Om5Z/e2113kNavLfxpuUfx8nHdXetXKm38e6/f+jtQzZEtwLx9IzLP8Oqq1NdvrzLf8gZZ1xDg+ppp3GqCnnQ8Tj+/+Nat/oVShc444z7+WcN6uq08mhsDL19QFnpmVHv3nqmdPPNGn/2merGjbp9wwbVTz5Rve461d13D91/VrECyQb/OFe9/nrtFwsXduwXif1k0SKNb7pJ4z32CN0/gBwiQABsT7SnsAAAcSNAAACpECAAgFQIEABAKgQIACAVAgQAkAoBAgBIhQABAKRCgAAAUiFAAACpECAAgFQIEABAKgQIACAVAgQAkAoBAgBIhQABAKRCgAAAUiFAAACpECAAgFQIEABAKgQIACAVAgQAkAoBAgBIhQABAKRCgAAAUiFAAACpECAAgFQIEABAKgQIACAVAgQAkMouoRsAgFBcu2t37b17a9S3r7HGGtu3r3HGGbfvvsnxf35ujDFmn31Ue/VK/tU+ffT7PXro963VeK+9On7FGmtsW5tub2jQjc8/b2tsja35/PPQ81IqAgRAZjnnnHN7760D8eDBunXQIB2gBw7U2NdDDun4eeL2Pffc5g9bY43dwXhnSv331lhjJ0zQ4MYbtT3PPadxfb211lrb3Bx6nreHAAEQDa0IevbUgXXYMAXDUUdpPHy4xsOHa3zUUfpXBx/c5QN81CZOVD3wQM1HXZ1WJps3h+5sawQIgKrRM+zBgxUEI0fqwD9ypH7q67Bhqrvs0u2VQKaNHq3tnTxZ4/vuC93R1ggQAN2mYKipUTCMGKFbR43SAfDkkzU+6STV/fcvVhB01/XXa37vv1+ntJwL3ZFHgAAomU6p9OunABg/Xreeeabq+PG6vV+/0H3my0EHJV/jWbYsdEceAQJgG3rGe8wxGp13nuoZZ6j6FUYNlwFUSyKYCRAAEVBQHHmkRhdcoHrhhapDhoTuD/+1Zk3oDrZGgAAF0PHitTHm33f5+MDw72ZCnFasUP3559CdbI0AAXJEQdGjh86Zjx6tW+vrVf2pqB49QveJrnjggdhePPcIECDDFBiHHqrAuOoq3XrFFTpnfsABoftDSs444957T4MZM0K3sz0ECJAhCozaWh1gbr5Zt9bVKTB4UTvb/Apj1iz9f159tVYeW7aE7mx7CBAgQh3XVRhjjDn3XFUfGCecwHUUgTnjjGtu1v9Dc7PGGzdq/Oefnf++D4imJv1ea6vG33+vOmeOAuOLL0JvXqkIECACur5it900uvRS1RtvVD388ND9ZVtbm+qvv3ZUZ5xxv/2mA/mKFRqvWqXx2rX6vbVrdfu6dcnbm5r00SLxvSZRbQQIEEDHi93GGGMuu0z19ttVDz44dH9xa2xU/fpr1R9+UF2ypKM644xbulQH+pUrQ3ecVwQIUEUKjnPO0eiuu1T9Zz8Vnb/OYeFC1U8/VV28WPWrr3SK548/QncKIUCACtKpqVNP1SmQe+7Rrf4zoQrEGWfcTz9pHubP1/ijj/TDhQu1UojnCmuUhgABykgrjP79Nbr/flV/ZXfeNTWpzpungHjnHR8YCojly0N3iPIiQIBu0ArDf+z4pEm69c47Vfv0Cd1fZSxbpoB47TVt9+uva/zhh7F+bwUqgwABUtBKw3+o4COPqB5/fOi+yst/hMbcuQqIOXMUEP7UE4qOAAFKoMDYfXeN7r1X9ZprVLN+Ad9ff6nOnq36zDOqixbF+hEaiAMBAuxAcqXx7LOqQ4eG7ivt1qi+/75WFE8+qVNQL72koPAXtgGlIUCA/0heAX7ttap+xdGzZ+j+usZfQDdnjgJj6lSdgvrmm9CdIR8IEMD4F8MHDtRo1izVU04J3VfXrFqloJg2TSuLJ57QysK/OwooLwIEhaYVx6hRGr3wgup++4XuqzT+bbEPPqj6+ONaYXAqCtVBgKBQFBjW6pn6DTfo1rvvVo34ezKcccb5LxS67TatMGbP1grjn39Ct4diIkBQCAqOXr00euwxHYD9hxbGyn943333qU6bphXGpk2hOwOMIUCQc3ptw3844euvqx59dOi+OudPPU2dqnrPPVphtLSE7gzoDAGCXNKK44gjNHr7bdUBA0L31TkfbJMnKzD4yA9kAwGCXNGK47jjNHrjDdV+/UL3lbR8uV7TuPpqnZKaNy90R0AaGb+CFhCtOMaM0Wsb/rukYwkO/5Wk06crOI4+muBAHrACQaYpOM47TyP/URyxXPC3dKkC45JLFBj++y2AfGAFgkzSqarTT9fouedUYwmOZ59VcIwYQXAgz1iBIFO04qit1eiVV1T9d4mH8uefCozLLlNgvPZa2H6A6iBAkAlacZx4okavvqrqPx03REPGGbd4sV5zOf98BcdPP4WeJ6CaOIWFqCk4hg/XgfrNN3XrnnuG7eqpp9TPyJF62y3BgWIiQBAlnarq21ejuXNV9947VDeqd9yhwLjySlX/abdAMXEKC1HRimPXXXWK6MUX9Ux/8ODqN2Kccc3Nuv+LL1ZgvPxy6PkBYkKAIC7WWGP9p8v6F8urralJfUyYoOD4+OPQ0wLEiABBROrrVS+6KMz9r1mjWlen4Pjqq9AzAsSMAEFEQgVHY6Nqba2Co6Eh9EwAWcCL6Cgw/019Z55JcABdR4CggHxwjB2r4Fi8OHRHQBYRICiQzZv17qrzz1dwfPll6I6ALCNAUCD19bpi/N13Q3cC5AEBgnxzxhk3ZYpWHE8/HbodIE8IEOTYggW6nuPWW0N3AuQRAYIcWr1adeJErTz++Sd0R0AeESDIkfZ21YsuUnD4IAFQCQQIcmTGDAXH+++H7gQoAgIEOfDjj6q33BK6E6BICBDkwOTJWnm0tITuBCgSAgQZ9uKLCo633grdCVBEBAgyqLVV13fccEPoToAiI0CQLc4442bO1BXlv/0Wuh2gyAgQZIP/hkBjjDFTp4ZuBwABgkx5+GGtPPwXPwEIiQBBBmzZojp9euhOAPyLAEHcnHHGzZ2rlcfKlaHbAfAvAgRxs8YaO3Nm6DYAbIsAQcRWrFD94IPQnQDYFgGCiM2erQsFnQvdCYBtESCIkzPOuDlzQrcBYPsIEMTFGWfcunV67YPvLAdiRoAgLtZYY+fN06kr//0eAGJEgCBC8+eH7gDAzhEgiNCiRaE7ALBzBAgi0tam10CWLAndCYCdI0AQB2eccd9+qyvO/UeXAIgZAYI4WGON9V9NCyALCBBExF95DiALCBDEwRlnHAECZAkBgjhYY41dvz50GwBKR4AgIi0toTsAUDoCBHFwxhnX2hq6DQClI0BQgk2bKn4X1lhj//479JYCKB0BghL8+mtl/77/uPZffgm9pQCAMnPOOec+/9yVW7trd+2ffRZ6+wAAFaID/dlnlz1AnHPOnXVW6O0DAFSYDvhTppRn5XHXXaG3BwBQZUqBK65QbWwsLTVWr1a9/PLQ/QPoPhu6AWSbAqFXL43GjFEdMiT5Ww0NqgsW6Iui2tpC9w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyK7/ATO6t9N2I5PTAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTAzLTAxVDExOjQ1OjU1KzA4OjAw5vcxUwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wMy0wMVQxMTo0NTo1NSswODowMJeqie8AAABSdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX2lnaGV6d2JubWhiL25hdmlnYXRpb25fbGluZS5zdmc29Ka/AAAAAElFTkSuQmCC"})])])])])}var p=f(R,[["render",D],["styles",[z]]]);var d=plus.webview.currentWebview();if(d){let e=parseInt(d.id),t="template/__uniappopenlocation",a={};try{a=JSON.parse(d.__query__)}catch{}p.mpType="page";let n=Vue.createPageApp(p,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});n.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...p.styles||[]])),n.mount("#root")}})(); diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniapppicker.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniapppicker.js new file mode 100755 index 0000000..5e0bf57 --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniapppicker.js @@ -0,0 +1,3 @@ +"use weex:vue"; +(()=>{var T=Object.create;var d=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var I=e=>d(e,"__esModule",{value:!0});var L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var V=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of M(t))!D.call(e,s)&&(a||s!=="default")&&d(e,s,{get:()=>t[s],enumerable:!(r=x(t,s))||r.enumerable});return e},N=(e,t)=>V(I(d(e!=null?T(C(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var A=L((K,v)=>{v.exports=Vue});var _={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},a=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),r=a[1];r&&(a[1]=t[r]||r),a.length=a.length>2?2:a.length,this.locale=a.join("-")},localize(e){let t=this.locale,a=t.split("-")[0],r=this.fallbackLocale,s=this.localization;function n(c){return s[c]||{}}return n("messages")[e]||n(t)[e]||n(a)[e]||n(r)[e]||e}}},b={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:t,runtime:a,data:r={},useGlobalEvent:s}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=a,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=s,this.data=JSON.parse(JSON.stringify(r)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let n=this,c=function(o){let u=o.data&&o.data.__message;!u||n.__onMessageCallback&&n.__onMessageCallback(u.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",c);else{let o=new BroadcastChannel(this.__page);o.onmessage=c}},postMessage(e={},t=!1){let a=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:t}})),r=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(a,r):new BroadcastChannel(r).postMessage(a);else{let s=plus.webview.getWebviewById(r);s&&s.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:a})})`)}},onMessage(e){this.__onMessageCallback=e}}};var i=N(A());var m=(e,t)=>{let a=e.__vccOpts||e;for(let[r,s]of t)a[r]=s;return a};var f=e=>e>9?e:"0"+e;function E({date:e=new Date,mode:t="date"}){return t==="time"?f(e.getHours())+":"+f(e.getMinutes()):e.getFullYear()+"-"+f(e.getMonth()+1)+"-"+f(e.getDate())}var O={data(){return{safeAreaInsets:{left:0,right:0,top:0,bottom:0}}},onLoad(){this.initSafeAreaInsets()},created(){this.initSafeAreaInsets()},methods:{initSafeAreaInsets(){if(this.__initSafeAreaInsets)return;this.__initSafeAreaInsets=!0;let e=plus.webview.currentWebview();e.addEventListener("resize",()=>{setTimeout(()=>{this.updateSafeAreaInsets(e)},20)}),this.updateSafeAreaInsets(e)},updateSafeAreaInsets(e){let t=e.getSafeAreaInsets(),a=this.safeAreaInsets;Object.keys(a).forEach(r=>{a[r]=t[r]})}}},z={content:{"":{position:"absolute",top:0,left:0,bottom:0,right:0}},"uni-mask":{"":{position:"absolute",top:0,left:0,bottom:0,right:0,backgroundColor:"rgba(0,0,0,0.4)",opacity:0,transitionProperty:"opacity",transitionDuration:200,transitionTimingFunction:"linear"}},"uni-mask-android":{"":{backgroundColor:"rgba(0,0,0,0.6)"}},"uni-mask-visible":{"":{opacity:1}},"uni-picker":{"":{position:"absolute",left:0,bottom:0,right:0,backgroundColor:"#ffffff",color:"#000000",flexDirection:"column",transform:"translateY(295px)"}},"uni-picker-header":{"":{height:45,borderBottomWidth:0,backgroundColor:"#E6E6E6",fontSize:20}},"uni-picker-action":{"":{position:"absolute",textAlign:"center",top:0,height:45,paddingTop:0,paddingRight:14,paddingBottom:0,paddingLeft:14,fontSize:17,lineHeight:45}},"uni-picker-action-cancel":{"":{left:0,color:"#888888"}},"uni-picker-action-confirm":{"":{right:0,color:"#007aff"}},"uni-picker-content":{"":{flex:1}},"uni-picker-item":{"":{lineHeight:34,textAlign:"center",color:"#000000"}},"@TRANSITION":{"uni-mask":{property:"opacity",duration:200,timingFunction:"linear"}}};function k(){if(this.mode===l.TIME)return"00:00";if(this.mode===l.DATE){let e=new Date().getFullYear()-61;switch(this.fields){case h.YEAR:return e;case h.MONTH:return e+"-01";default:return e+"-01-01"}}return""}function w(){if(this.mode===l.TIME)return"23:59";if(this.mode===l.DATE){let e=new Date().getFullYear()+61;switch(this.fields){case h.YEAR:return e;case h.MONTH:return e+"-12";default:return e+"-12-31"}}return""}var S=weex.requireModule("animation"),l={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date",REGION:"region"},h={YEAR:"year",MONTH:"month",DAY:"day"},R={name:"Picker",mixins:[_,O],props:{pageId:{type:Number,default:0},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:l.SELECTOR},fields:{type:String,default:h.DAY},start:{type:String,default:k},end:{type:String,default:w},disabled:{type:[Boolean,String],default:!1},visible:{type:Boolean,default:!1}},data(){return{valueSync:null,timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],fontSize:16,height:261,android:weex.config.env.platform.toLowerCase()==="android"}},computed:{rangeArray(){var e=this.range;switch(this.mode){case l.SELECTOR:return[e];case l.MULTISELECTOR:return e;case l.TIME:return this.timeArray;case l.DATE:{let t=this.dateArray;switch(this.fields){case h.YEAR:return[t[0]];case h.MONTH:return[t[0],t[1]];default:return[t[0],t[1],t[2]]}}}return[]},startArray(){return this._getDateValueArray(this.start,k.bind(this)())},endArray(){return this._getDateValueArray(this.end,w.bind(this)())},textMaxLength(){return Math.floor(Math.min(weex.config.env.deviceWidth,weex.config.env.deviceHeight)/(this.fontSize*weex.config.env.scale+1)/this.rangeArray.length)}},watch:{value(){this._setValueSync()},mode(){this._setValueSync()},range(){this._setValueSync()},valueSync(){this._setValueArray()},valueArray(e){if(this.mode===l.TIME||this.mode===l.DATE){let t=this.mode===l.TIME?this._getTimeValue:this._getDateValue,a=this.valueArray,r=this.startArray,s=this.endArray;if(this.mode===l.DATE){let n=this.dateArray,c=n[2].length,o=Number(n[2][a[2]])||1,u=new Date(`${n[0][a[0]]}/${n[1][a[1]]}/${o}`).getDate();ut(s)&&this._cloneArray(a,s)}e.forEach((t,a)=>{t!==this.oldValueArray[a]&&(this.oldValueArray[a]=t,this.mode===l.MULTISELECTOR&&this.$emit("columnchange",{column:a,value:t}))})},visible(e){e?setTimeout(()=>{S.transition(this.$refs.picker,{styles:{transform:"translateY(0)"},duration:200})},20):S.transition(this.$refs.picker,{styles:{transform:`translateY(${283+this.safeAreaInsets.bottom}px)`},duration:200})}},created(){this._createTime(),this._createDate(),this._setValueSync()},methods:{getTexts(e,t){let a=this.textMaxLength;return e.map(r=>{let s=String(typeof r=="object"?r[this.rangeKey]||"":this._l10nItem(r,t));if(a>0&&s.length>a){let n=0,c=0;for(let o=0;o127||u===94?n+=1:n+=.65,n<=a-1&&(c=o),n>=a)return o===s.length-1?s:s.substr(0,c+1)+"\u2026"}}return s||" "}).join(` +`)},_createTime(){var e=[],t=[];e.splice(0,e.length);for(let a=0;a<24;a++)e.push((a<10?"0":"")+a);t.splice(0,t.length);for(let a=0;a<60;a++)t.push((a<10?"0":"")+a);this.timeArray.push(e,t)},_createDate(){var e=[],t=new Date().getFullYear();for(let s=t-61,n=t+61;s<=n;s++)e.push(String(s));var a=[];for(let s=1;s<=12;s++)a.push((s<10?"0":"")+s);var r=[];for(let s=1;s<=31;s++)r.push((s<10?"0":"")+s);this.dateArray.push(e,a,r)},_getTimeValue(e){return e[0]*60+e[1]},_getDateValue(e){return e[0]*31*12+(e[1]||0)*31+(e[2]||0)},_cloneArray(e,t){for(let a=0;ac?0:n)}break;case l.TIME:case l.DATE:this.valueSync=String(e);break;default:{let a=Number(e);this.valueSync=a<0?0:a;break}}},_setValueArray(){var e=this.valueSync,t;switch(this.mode){case l.MULTISELECTOR:t=[...e];break;case l.TIME:t=this._getDateValueArray(e,E({mode:l.TIME}));break;case l.DATE:t=this._getDateValueArray(e,E({mode:l.DATE}));break;default:t=[e];break}this.oldValueArray=[...t],this.valueArray=[...t]},_getValue(){var e=this.valueArray;switch(this.mode){case l.SELECTOR:return e[0];case l.MULTISELECTOR:return e.map(t=>t);case l.TIME:return this.valueArray.map((t,a)=>this.timeArray[a][t]).join(":");case l.DATE:return this.valueArray.map((t,a)=>this.dateArray[a][t]).join("-")}},_getDateValueArray(e,t){let a=this.mode===l.DATE?"-":":",r=this.mode===l.DATE?this.dateArray:this.timeArray,s=3;switch(this.fields){case h.YEAR:s=1;break;case h.MONTH:s=2;break}let n=String(e).split(a),c=[];for(let o=0;o=0&&(c=t?this._getDateValueArray(t):c.map(()=>0)),c},_change(){this.$emit("change",{value:this._getValue()})},_cancel(){this.$emit("cancel")},_pickerViewChange(e){this.valueArray=this._l10nColumn(e.detail.value,!0)},_l10nColumn(e,t){if(this.mode===l.DATE){let a=this.locale;if(!a.startsWith("zh"))switch(this.fields){case h.YEAR:return e;case h.MONTH:return[e[1],e[0]];default:switch(a){case"es":case"fr":return[e[2],e[1],e[0]];default:return t?[e[2],e[0],e[1]]:[e[1],e[2],e[0]]}}}return e},_l10nItem(e,t){if(this.mode===l.DATE){let a=this.locale;if(a.startsWith("zh"))return e+["\u5E74","\u6708","\u65E5"][t];if(this.fields!==h.YEAR&&t===(this.fields!==h.MONTH&&(a==="es"||a==="fr")?1:0)){let r;switch(a){case"es":r=["enero","febrero","marzo","abril","mayo","junio","\u200B\u200Bjulio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":r=["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"];break;default:r=["January","February","March","April","May","June","July","August","September","October","November","December"];break}return r[Number(e)-1]}}return e}}};function Y(e,t,a,r,s,n){let c=(0,i.resolveComponent)("picker-view-column"),o=(0,i.resolveComponent)("picker-view");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:"content"},[(0,i.createElementVNode)("div",{ref:"mask",class:"uni-mask",style:(0,i.normalizeStyle)({opacity:a.visible?1:0,"background-color":s.android?"rgba(0, 0, 0, 0.6)":"rgba(0, 0, 0, 0.4)"}),onClick:t[0]||(t[0]=(...u)=>n._cancel&&n._cancel(...u))},null,4),(0,i.createElementVNode)("div",{style:(0,i.normalizeStyle)(`padding-bottom:${e.safeAreaInsets.bottom}px;height:${s.height+e.safeAreaInsets.bottom}px;`),ref:"picker",class:"uni-picker"},[(0,i.createElementVNode)("div",{class:"uni-picker-header"},[(0,i.createElementVNode)("u-text",{style:(0,i.normalizeStyle)(`left:${e.safeAreaInsets.left}px`),class:"uni-picker-action uni-picker-action-cancel",onClick:t[1]||(t[1]=(...u)=>n._cancel&&n._cancel(...u))},(0,i.toDisplayString)(e.localize("cancel")),5),(0,i.createElementVNode)("u-text",{style:(0,i.normalizeStyle)(`right:${e.safeAreaInsets.right}px`),class:"uni-picker-action uni-picker-action-confirm",onClick:t[2]||(t[2]=(...u)=>n._change&&n._change(...u))},(0,i.toDisplayString)(e.localize("done")),5)]),a.visible?((0,i.openBlock)(),(0,i.createBlock)(o,{key:0,style:(0,i.normalizeStyle)(`margin-left:${e.safeAreaInsets.left}px`),height:"216","indicator-style":"height: 34px;border-color:#C8C9C9;border-top-width:0.5px;border-bottom-width:0.5px;",value:n._l10nColumn(s.valueArray),class:"uni-picker-content",onChange:n._pickerViewChange},{default:(0,i.withCtx)(()=>[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(n._l10nColumn(n.rangeArray),(u,y)=>((0,i.openBlock)(),(0,i.createBlock)(c,{length:u.length,key:y},{default:(0,i.withCtx)(()=>[(0,i.createCommentVNode)(" iOS\u6E32\u67D3\u901F\u5EA6\u6709\u95EE\u9898\u4F7F\u7528\u5355\u4E2Atext\u4F18\u5316 "),(0,i.createElementVNode)("u-text",{class:"uni-picker-item",style:(0,i.normalizeStyle)({fontSize:s.fontSize+"px","line-height":"34px","text-align":"center",color:"#000"})},(0,i.toDisplayString)(n.getTexts(u,y)),5),(0,i.createCommentVNode)(` {{ typeof item==='object'?item[rangeKey]||'':_l10nItem(item) }} `)]),_:2},1032,["length"]))),128))]),_:1},8,["style","value","onChange"])):(0,i.createCommentVNode)("v-if",!0)],4)])}var B=m(R,[["render",Y],["styles",[z]]]),j={page:{"":{flex:1}}},F={mixins:[b],components:{picker:B},data(){return{range:[],rangeKey:"",value:0,mode:"selector",fields:"day",start:"",end:"",disabled:!1,visible:!1}},onLoad(){this.data===null?this.postMessage({event:"created"},!0):this.showPicker(this.data),this.onMessage(e=>{this.showPicker(e)})},onReady(){this.$nextTick(()=>{this.visible=!0})},methods:{showPicker(e={}){let t=e.column;for(let a in e)a!=="column"&&(typeof t=="number"?this.$set(this.$data[a],t,e[a]):this.$data[a]=e[a])},close(e,{value:t=-1}={}){this.visible=!1,setTimeout(()=>{this.postMessage({event:e,value:t})},210)},onClose(){this.close("cancel")},columnchange({column:e,value:t}){this.$set(this.value,e,t),this.postMessage({event:"columnchange",column:e,value:t},!0)}}};function H(e,t,a,r,s,n){let c=(0,i.resolveComponent)("picker");return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:!0,style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"page"},[(0,i.createVNode)(c,{range:s.range,rangeKey:s.rangeKey,value:s.value,mode:s.mode,fields:s.fields,start:s.start,end:s.end,disabled:s.disabled,visible:s.visible,onChange:t[0]||(t[0]=o=>n.close("change",o)),onCancel:t[1]||(t[1]=o=>n.close("cancel",o)),onColumnchange:n.columnchange},null,8,["range","rangeKey","value","mode","fields","start","end","disabled","visible","onColumnchange"])])])}var g=m(F,[["render",H],["styles",[j]]]);var p=plus.webview.currentWebview();if(p){let e=parseInt(p.id),t="template/__uniapppicker",a={};try{a=JSON.parse(p.__query__)}catch{}g.mpType="page";let r=Vue.createPageApp(g,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});r.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...g.styles||[]])),r.mount("#root")}})(); diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappquill.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappquill.js new file mode 100755 index 0000000..d9f46b8 --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappquill.js @@ -0,0 +1,8 @@ +/*! + * Quill Editor v1.3.7 + * https://quilljs.com/ + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(48),a=n(49),s=n(50),u=n(51),c=n(52),f=n(11),h=n(29),p=n(30),d=n(28),y=n(1),v={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:l.default,Block:s.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}};e.default=v},function(t,e,n){"use strict";function r(t,e){var n=i(t);if(null==n)throw new s("Unable to create "+t+" blot");var r=n;return new r(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e),e)}function o(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?o(t.parentNode,n):null}function i(t,e){void 0===e&&(e=p.ANY);var n;if("string"==typeof t)n=h[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=h.text;else if("number"==typeof t)t&p.LEVEL&p.BLOCK?n=h.block:t&p.LEVEL&p.INLINE&&(n=h.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=c[r[o]])break;n=n||f[t.tagName]}return null==n?null:e&p.LEVEL&n.scope&&e&p.TYPE&n.scope?n:null}function l(){for(var t=[],e=0;e1)return t.map(function(t){return l(t)});var n=t[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new s("Invalid definition");if("abstract"===n.blotName)throw new s("Cannot register abstract class");if(h[n.blotName||n.attrName]=n,"string"==typeof n.keyName)u[n.keyName]=n;else if(null!=n.className&&(c[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(t){return t.toUpperCase()}):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach(function(t){null!=f[t]&&null!=n.className||(f[t]=n)})}return n}var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=s;var u={},c={},f={},h={};e.DATA_KEY="__blot";var p;!function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(p=e.Scope||(e.Scope={})),e.create=r,e.find=o,e.query=i,e.register=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},a=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!o)return!1;var i;for(i in t);return void 0===i||n.call(t,i)},s=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,n,r,o,i,c,f=arguments[0],h=1,p=arguments.length,d=!1;for("boolean"==typeof f&&(d=f,f=arguments[1]||{},h=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});h1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,f.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:a(t.parent,e))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var s=function(){function t(t,e){for(var n=0;n0&&(t1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(y.default.Block);x.blotName="block",x.tagName="P",x.defaultChild="break",x.allowedChildren=[m.default,y.default.Embed,O.default],e.bubbleFormats=a,e.BlockEmbed=w,e.default=x},function(t,e,n){var r=n(54),o=n(12),i=n(2),l=n(20),a=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},s.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},s.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o0&&n.next(i.retain-a)}for(var u=new s(r);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),f=e.next(c),h=n.next(c);if("number"==typeof h.retain){var p={};"number"==typeof f.retain?p.retain=c:p.insert=f.insert;var d=l.attributes.compose(f.attributes,h.attributes,"number"==typeof f.retain);if(d&&(p.attributes=d),u.push(p),!n.hasNext()&&o(u.ops[u.ops.length-1],p)){var y=new s(e.rest());return u.concat(y).chop()}}else"number"==typeof h.delete&&"number"==typeof f.retain&&u.push(h)}return u.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")}),i=new s,u=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return u.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),i.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var a=c.next(n),s=f.next(n);o(a.insert,s.insert)?i.retain(n,l.attributes.diff(a.attributes,s.attributes)):i.push(s).delete(n)}e-=n}}),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";for(var n=l.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(e,a)-a:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&t(r,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),u=r.next(i);if(a.delete)continue;u.delete?o.push(u):o.retain(i,l.attributes.transform(a.attributes,u.attributes,e))}else o.retain(l.length(n.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t0){var a,s=[g.default.events.TEXT_CHANGE,l,i,e];if((a=this.emitter).emit.apply(a,[g.default.events.EDITOR_CHANGE].concat(s)),e!==g.default.sources.SILENT){var c;(c=this.emitter).emit.apply(c,s)}}return l}function s(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":c(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),o=o||g.default.sources.API,[t,e,i,o]}function u(t,e,n,r){if(null==t)return null;var o=void 0,i=void 0;if(e instanceof d.default){var l=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==g.default.sources.USER)}),a=f(l,2);o=a[0],i=a[1]}else{var s=[t.index,t.index+t.length].map(function(t){return t=0?t+n:Math.max(e,t+n)}),u=f(s,2);o=u[0],i=u[1]}return new x.Range(o,i-o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),this.options=l(e,r),this.container=this.options.container,null==this.container)return P.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new g.default,this.scroll=w.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new v.default(this.scroll),this.selection=new k.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(g.default.events.EDITOR_CHANGE,function(t){t===g.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(g.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;a.call(n,function(){return n.editor.update(null,e,o)},t)});var s=this.clipboard.convert("
"+o+"


");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return h(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),A.default.level(t)}},{key:"find",value:function(t){return t.__quill||w.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&P.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var o=t.attrName||t.blotName;"string"==typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||P.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?w.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),h(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.deleteText(t,e)},n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.default.sources.API;return a.call(this,function(){var r=n.getSelection(!0),i=new d.default;if(null==r)return i;if(w.default.query(t,w.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,o({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,o({},t,e))}return n.setSelection(r,g.default.sources.SILENT),i},r)}},{key:"formatLine",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatLine(t,e,l)},o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatText(t,e,l)},o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return a.call(this,function(){return o.editor.insertEmbed(e,n,r)},i,e)}},{key:"insertText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,0,n,r,o),c=f(u,4);return t=c[0],l=c[2],o=c[3],a.call(this,function(){return i.editor.insertText(t,e,l)},o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.removeFormat(t,e)},n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){t=new d.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=s(e,n,r),i=f(o,4);e=i[0],n=i[1],r=i[3],this.selection.setRange(new x.Range(e,n),r),r!==g.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API,n=(new d.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){return t=new d.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=g.default.events,S.sources=g.default.sources,S.version="1.3.7",S.imports={delta:d.default,parchment:w.default,"core/module":_.default,"core/theme":T.default},e.expandConfig=l,e.overload=s,e.default=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};o.DEFAULTS={},e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(0),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default.Text);e.default=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n1?e-1:0),r=1;r1?n-1:0),o=1;o-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){function r(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function i(t,e,n){var i,c;if(r(t)||r(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=l.call(t),e=l.call(e),u(t,e,n));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(i=0;i=0;i--)if(f[i]!=h[i])return!1;for(i=f.length-1;i>=0;i--)if(c=f[i],!u(t[c],e[c],n))return!1;return typeof t==typeof e}var l=Array.prototype.slice,a=n(55),s=n(56),u=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:i(t,e,n))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n=t+n)){var l=this.newlineIndex(t,!0)+1,a=i-l+1,s=this.isolate(l,a),u=s.next;s.format(r,o),u instanceof e&&u.formatAt(0,t-l+n-a,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(m.default,t),o=a(r,2),i=o[0],l=o[1];i.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(p.default.create("text","\n")),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=p.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof p.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(y.default);O.blotName="code-block",O.tagName="PRE",O.TAB=" ",e.Code=_,e.default=O},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":l(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,n){"use strict";function r(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(47),l=n(27),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return o(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=r(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof a.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=l}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var l=null==n?a.create("text",e):a.create(e,n);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],l=[[this,t]];return o instanceof e?l.concat(o.path(i,n)):(null!=o&&l.push([o,i]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],i=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),o.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var o=r(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))})},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),i=n(28),l=n(17),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(27),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){function r(t){this.ops=t,this.index=0,this.offset=0}var o=n(12),i=n(2),l={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var r=i(!0,{},e);n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{}));for(var o in t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new r(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=l.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"==typeof e.retain?o.retain=t:"string"==typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},r.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=l},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}function e(n,r,o,i,c){function f(n,o){if(null===n)return null;if(0===o)return n;var y,v;if("object"!=typeof n)return n;if(t(n,a))y=new a;else if(t(n,s))y=new s;else if(t(n,u))y=new u(function(t,e){n.then(function(e){t(f(e,o-1))},function(t){e(f(t,o-1))})});else if(e.__isArray(n))y=[];else if(e.__isRegExp(n))y=new RegExp(n.source,l(n)),n.lastIndex&&(y.lastIndex=n.lastIndex);else if(e.__isDate(n))y=new Date(n.getTime());else{if(d&&Buffer.isBuffer(n))return y=Buffer.allocUnsafe?Buffer.allocUnsafe(n.length):new Buffer(n.length),n.copy(y),y;t(n,Error)?y=Object.create(n):void 0===i?(v=Object.getPrototypeOf(n),y=Object.create(v)):(y=Object.create(i),v=i)}if(r){var b=h.indexOf(n);if(-1!=b)return p[b];h.push(n),p.push(y)}t(n,a)&&n.forEach(function(t,e){var n=f(e,o-1),r=f(t,o-1);y.set(n,r)}),t(n,s)&&n.forEach(function(t){var e=f(t,o-1);y.add(e)});for(var g in n){var m;v&&(m=Object.getOwnPropertyDescriptor(v,g)),m&&null==m.set||(y[g]=f(n[g],o-1))}if(Object.getOwnPropertySymbols)for(var _=Object.getOwnPropertySymbols(n),g=0;g<_.length;g++){var O=_[g],w=Object.getOwnPropertyDescriptor(n,O);(!w||w.enumerable||c)&&(y[O]=f(n[O],o-1),w.enumerable||Object.defineProperty(y,O,{enumerable:!1}))}if(c)for(var x=Object.getOwnPropertyNames(n),g=0;g1&&void 0!==arguments[1]?arguments[1]:0;i(this,t),this.index=e,this.length=n},O=function(){function t(e,n){var r=this;i(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,v.default.sources.USER),1)}),this.emitter.on(v.default.events.EDITOR_CHANGE,function(t,e){t===v.default.events.TEXT_CHANGE&&e.length()>0&&r.update(v.default.sources.SILENT)}),this.emitter.on(v.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(v.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(v.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}}),this.update(v.default.sources.SILENT)}return s(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(v.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(t,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=c.default.find(n.start.node,!1);if(null==r)return;if(r instanceof c.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),l=i[0],s=i[1];if(null==l)return null;var u=l.position(s,!0),c=a(u,2);r=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(r,s);var h=this.scroll.leaf(t+e),p=a(h,2);if(l=p[0],s=p[1],null==l)return null;var d=l.position(s,!0),y=a(d,2);return r=y[0],s=y[1],f.setEnd(r,s),f.getBoundingClientRect()}var v="left",b=void 0;return r instanceof Text?(s0&&(v="right")),{bottom:b.top+b.height,height:b.height,left:b[v],right:b[v],top:b.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map(function(t){var n=a(t,2),r=n[0],o=n[1],i=c.default.find(r,!0),l=i.offset(e.scroll);return 0===o?l:i instanceof c.default.Container?l+i.length():l+i.index(r,o)}),i=Math.min(Math.max.apply(Math,o(r)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(o(r)));return new _(l,i-l)}},{key:"normalizeNative",value:function(t){if(!l(this.root,t.startContainer)||!t.collapsed&&!l(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var i=void 0,l=e.scroll.leaf(t),s=a(l,2),u=s[0],c=s[1],f=u.position(c,0!==n),h=a(f,2);i=h[0],c=h[1],r.push(i,c)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1),l=i[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,r));s=a(u,1)[0]}if(null!=l&&null!=s){var c=t.getBoundingClientRect();n.topc.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(t,e),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.default.sources.API;if("string"==typeof e&&(n=e,e=!1),m.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,o(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],i=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,d.default)(e,this.lastRange)){var l;!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore();var s=[v.default.events.SELECTION_CHANGE,(0,h.default)(this.lastRange),(0,h.default)(e),t];if((l=this.emitter).emit.apply(l,[v.default.events.EDITOR_CHANGE].concat(s)),t!==v.default.sources.SILENT){var u;(u=this.emitter).emit.apply(u,s)}}}}]),t}();e.Range=_,e.default=O},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=r(a),u=n(3),c=r(u),f=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(s.default.Container);f.allowedChildren=[c.default,u.BlockEmbed,f],e.default=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var l=function(){function t(t,e){for(var n=0;n1){var u=o.formats(),c=this.quill.getFormat(t.index-1,1);i=A.default.attributes.diff(u,c)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,S.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-f,f,i,S.default.sources.USER),this.quill.focus()}}function c(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,i=this.quill.getLine(t.index),l=b(i,1),a=l[0];if(e.offset>=a.length()-1){var s=this.quill.getLine(t.index+1),u=b(s,1),c=u[0];if(c){var f=a.formats(),h=this.quill.getFormat(t.index,1);r=A.default.attributes.diff(f,h)||{},o=c.length()}}this.quill.deleteText(t.index,n,S.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,S.default.sources.USER)}}function f(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=A.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,S.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,S.default.sources.USER),this.quill.setSelection(t.index,S.default.sources.SILENT),this.quill.focus()}function h(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return T.default.query(n,T.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],S.default.sources.USER))})}function p(t){return{key:D.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=T.default.query("code-block"),r=e.index,o=e.length,i=this.quill.scroll.descendant(n,r),l=b(i,2),a=l[0],s=l[1];if(null!=a){var u=this.quill.getIndex(a),c=a.newlineIndex(s,!0)+1,f=a.newlineIndex(u+s+o),h=a.domNode.textContent.slice(c,f).split("\n");s=0,h.forEach(function(e,i){t?(a.insertAt(c+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(c+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(S.default.sources.USER),this.quill.setSelection(r,o,S.default.sources.SILENT)}}}}function d(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],S.default.sources.USER)}}}function y(t){if("string"==typeof t||"number"==typeof t)return y({key:t});if("object"===(void 0===t?"undefined":v(t))&&(t=(0,_.default)(t,!1)),"string"==typeof t.key)if(null!=D.keys[t.key.toUpperCase()])t.key=D.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[B]=t.shortKey,delete t.shortKey),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=y(t);if(null==r||null==r.key)return I.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),r=(0,k.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,o=(t.bindings[r]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var i=t.quill.getSelection();if(null!=i&&t.quill.hasFocus()){var l=t.quill.getLine(i.index),a=b(l,2),s=a[0],u=a[1],c=t.quill.getLeaf(i.index),f=b(c,2),h=f[0],p=f[1],d=0===i.length?[h,p]:t.quill.getLeaf(i.index+i.length),y=b(d,2),g=y[0],m=y[1],_=h instanceof T.default.Text?h.value().slice(0,p):"",O=g instanceof T.default.Text?g.value().slice(m):"",x={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:t.quill.getFormat(i),offset:u,prefix:_,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if("object"===v(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,w.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix))&&(!(null!=e.suffix&&!e.suffix.test(x.suffix))&&!0!==e.handler.call(t,i,x))})&&n.preventDefault()}}}})}}]),e}(R.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:d("bold"),italic:d("italic"),underline:d("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",S.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",S.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",S.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,S.default.sources.USER)}},"indent code-block":p(!0),"outdent code-block":p(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,S.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new N.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,S.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,S.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,S.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(0,k.default)({},r.formats(),{list:"checked"}),l=(new N.default).retain(t.index).insert("\n",i).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=b(n,2),o=r[0],i=r[1],l=(new N.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=b(r,2),i=o[0],l=o[1];if(l>n)return!0;var a=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(t.index," ",S.default.sources.USER),this.quill.history.cutoff();var s=(new N.default).retain(t.index-l).delete(n+1).retain(i.length()-2-l).retain(1,{list:a});this.quill.updateContents(s,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,S.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(new N.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,S.default.sources.USER)}},"embed left":s(D.keys.LEFT,!1),"embed left shift":s(D.keys.LEFT,!0),"embed right":s(D.keys.RIGHT,!1),"embed right shift":s(D.keys.RIGHT,!0)}},e.default=D,e.SHORTKEY=B},function(t,e,n){"use strict";t.exports={align:{"":n(75),center:n(76),right:n(77),justify:n(78)},background:n(79),blockquote:n(80),bold:n(81),clean:n(82),code:n(40),"code-block":n(40),color:n(83),direction:{"":n(84),rtl:n(85)},float:{center:n(86),full:n(87),left:n(88),right:n(89)},formula:n(90),header:{1:n(91),2:n(92)},italic:n(93),image:n(94),indent:{"+1":n(95),"-1":n(96)},link:n(97),list:{ordered:n(98),bullet:n(99),check:n(100)},script:{sub:n(101),super:n(102)},strike:n(103),underline:n(104),video:n(105)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(29),i=n(30),l=n(1),a=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),a=i.default.keys(this.domNode);e.concat(n).concat(a).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=a},function(t,e,n){"use strict";function r(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){r(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=r(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[r(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[r(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[r(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n '},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;nr.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.leftr.bottom){var l=o.bottom-o.top,a=t.bottom-t.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var u=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,v.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,v.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=a(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,v.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",v.default.sources.USER),this.quill.setSelection(r+2,v.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(A.default);e.BaseTooltip=M,e.default=L},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(46),i=r(o),l=n(34),a=n(36),s=n(62),u=n(63),c=r(u),f=n(64),h=r(f),p=n(65),d=r(p),y=n(35),v=n(24),b=n(37),g=n(38),m=n(39),_=r(m),O=n(66),w=r(O),x=n(15),k=r(x),E=n(67),N=r(E),j=n(68),A=r(j),q=n(69),T=r(q),P=n(70),S=r(P),C=n(71),L=r(C),M=n(13),R=r(M),I=n(72),B=r(I),D=n(73),U=r(D),F=n(74),H=r(F),K=n(26),z=r(K),V=n(16),Z=r(V),W=n(41),G=r(W),Y=n(42),X=r(Y),$=n(43),Q=r($),J=n(107),tt=r(J),et=n(108),nt=r(et);i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":y.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":y.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":l.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":y.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":M.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":N.default,"formats/strike":A.default,"formats/underline":T.default,"formats/image":S.default,"formats/video":L.default,"formats/list/item":p.ListItem,"modules/formula":B.default,"modules/syntax":U.default,"modules/toolbar":H.default,"themes/bubble":tt.default,"themes/snow":nt.default,"ui/icons":z.default,"ui/picker":Z.default,"ui/icon-picker":X.default,"ui/color-picker":G.default,"ui/tooltip":Q.default},!0),e.default=i.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(o),l=n(6),a=r(l),s=n(3),u=r(s),c=n(14),f=r(c),h=n(23),p=r(h),d=n(31),y=r(d),v=n(33),b=r(v),g=n(5),m=r(g),_=n(59),O=r(_),w=n(8),x=r(w),k=n(60),E=r(k),N=n(61),j=r(N),A=n(25),q=r(A);a.default.register({"blots/block":u.default,"blots/block/embed":s.BlockEmbed,"blots/break":f.default,"blots/container":p.default,"blots/cursor":y.default,"blots/embed":b.default,"blots/inline":m.default,"blots/scroll":O.default,"blots/text":x.default,"modules/clipboard":E.default,"modules/history":j.default,"modules/keyboard":q.default}),i.default.register(u.default,f.default,y.default,m.default,O.default,x.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(ta?n(r,t-a,Math.min(e,a+u-t)):n(r,0,Math.min(u,t+e-a)),a+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},a=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,l),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var l=[].slice.call(this.observer.takeRecords());l.length>0;)e.push(l.pop());for(var a=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&a(t.parent))},s=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(s),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(a(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=i.find(t,!1);a(e,!1),e instanceof o.default&&e.children.forEach(function(t){a(t,!1)})})):"attributes"===t.type&&a(e.prev)),a(e))}),this.children.forEach(s),u=[].slice.call(this.observer.takeRecords()),l=u.slice();l.length>0;)e.push(l.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map(function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=a},function(t,e,n){"use strict";function r(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){if(null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)){this.isolate(e,n).format(r,o)}else t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&r(o,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=l.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),l=i.create(n,r);o.parent.insertBefore(l,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;ie.length?t:e,l=t.length>e.length?e:t,a=i.indexOf(l);if(-1!=a)return r=[[y,i.substring(0,a)],[v,l],[y,i.substring(a+l.length)]],t.length>e.length&&(r[0][0]=r[2][0]=d),r;if(1==l.length)return[[d,t],[y,e]];var u=s(t,e);if(u){var c=u[0],f=u[1],h=u[2],p=u[3],b=u[4],g=n(c,h),m=n(f,p);return g.concat([[v,b]],m)}return o(t,e)}function o(t,e){for(var n=t.length,r=e.length,o=Math.ceil((n+r)/2),l=o,a=2*o,s=new Array(a),u=new Array(a),c=0;cn)v+=2;else if(x>r)p+=2;else if(h){var k=l+f-_;if(k>=0&&k=E)return i(t,e,O,x)}}}for(var N=-m+b;N<=m-g;N+=2){var E,k=l+N;E=N==-m||N!=m&&u[k-1]n)g+=2;else if(j>r)b+=2;else if(!h){var w=l+f-N;if(w>=0&&w=E)return i(t,e,O,x)}}}}return[[d,t],[y,e]]}function i(t,e,r,o){var i=t.substring(0,r),l=e.substring(0,o),a=t.substring(r),s=e.substring(o),u=n(i,l),c=n(a,s);return u.concat(c)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n=t.length?[r,o,i,s,f]:null}var r=t.length>e.length?t:e,o=t.length>e.length?e:t;if(r.length<4||2*o.lengthu[4].length?s:u:s;var c,f,h,p;return t.length>e.length?(c=i[0],f=i[1],h=i[2],p=i[3]):(h=i[0],p=i[1],c=i[2],f=i[3]),[c,f,h,p,i[4]]}function u(t){t.push([v,""]);for(var e,n=0,r=0,o=0,i="",s="";n1?(0!==r&&0!==o&&(e=l(s,i),0!==e&&(n-r-o>0&&t[n-r-o-1][0]==v?t[n-r-o-1][1]+=s.substring(0,e):(t.splice(0,0,[v,s.substring(0,e)]),n++),s=s.substring(e),i=i.substring(e)),0!==(e=a(s,i))&&(t[n][1]=s.substring(s.length-e)+t[n][1],s=s.substring(0,s.length-e),i=i.substring(0,i.length-e))),0===r?t.splice(n-o,r+o,[y,s]):0===o?t.splice(n-r,r+o,[d,i]):t.splice(n-r-o,r+o,[d,i],[y,s]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&t[n-1][0]==v?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,r=0,i="",s=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n0&&r.splice(o+2,0,[l[0],a]),p(r,o,3)}return t}function h(t){for(var e=!1,n=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=2;r=55296&&t.charCodeAt(t.length-1)<=56319}(t[r-2][1])&&t[r-1][0]===d&&n(t[r-1][1])&&t[r][0]===y&&n(t[r][1])&&(e=!0,t[r-1][1]=t[r-2][1].slice(-1)+t[r-1][1],t[r][1]=t[r-2][1].slice(-1)+t[r][1],t[r-2][1]=t[r-2][1].slice(0,-1));if(!e)return t;for(var o=[],r=0;r0&&o.push(t[r]);return o}function p(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1=r&&!a.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,a);var c=e.scroll.line(t),f=u(c,2),h=f[0],p=f[1],y=(0,T.default)({},(0,O.bubbleFormats)(h));if(h instanceof w.default){var b=h.descendant(v.default.Leaf,p),g=u(b,1),m=g[0];y=(0,T.default)(y,(0,O.bubbleFormats)(m))}l=d.default.attributes.diff(y,l)||{}}else if("object"===s(o.insert)){var _=Object.keys(o.insert)[0];if(null==_)return t;e.scroll.insertAt(t,_,o.insert[_])}r+=i}return Object.keys(l).forEach(function(n){e.scroll.formatAt(t,i,n,l[n])}),t+i},0),t.reduce(function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new h.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),l=e;i.forEach(function(e){var i=e.length();if(e instanceof g.default){var a=t-e.offset(n.scroll),s=e.newlineIndex(a+l)-a+1;e.formatAt(a,s,o,r[o])}else e.format(o,r[o]);l-=i})}}),this.scroll.optimize(),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new h.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=u(t,1),o=e[0];o instanceof w.default?n.push(o):o instanceof v.default.Leaf&&r.push(o)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(v.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,O.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=l((0,O.bubbleFormats)(n),e)}return e});return T.default.apply(T.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new h.default).retain(t).insert(o({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e.length,o,r[o])}),this.update((new h.default).retain(t).insert(e,(0,N.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===w.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof k.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=u(r,2),i=o[0],l=o[1],a=0,s=new h.default;null!=i&&(a=i instanceof g.default?i.newlineIndex(l)-l+1:i.length()-l,s=i.delta().slice(l,l+a-1).insert("\n"));var c=this.getContents(t,e+a),f=c.diff((new h.default).insert(n).concat(s)),p=(new h.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(P)&&v.default.find(e[0].target)){var o=v.default.find(e[0].target),i=(0,O.bubbleFormats)(o),l=o.offset(this.scroll),a=e[0].oldValue.replace(_.default.CONTENTS,""),s=(new h.default).insert(a),u=(new h.default).insert(o.value());t=(new h.default).retain(l).concat(s.diff(u,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)},new h.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,A.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();e.default=S},function(t,e){"use strict";function n(){}function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new n,this._eventsCount=0}var i=Object.prototype.hasOwnProperty,l="~";Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(l=!1)),o.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)i.call(t,e)&&n.push(l?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t,e){var n=l?l+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o0){if(i instanceof y.BlockEmbed||f instanceof y.BlockEmbed)return void this.optimize();if(i instanceof _.default){var h=i.newlineIndex(i.length(),!0);if(h>-1&&(i=i.split(h+1))===f)return void this.optimize()}else if(f instanceof _.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var d=f.children.head instanceof g.default?null:f.children.head;i.moveChildren(f,d),i.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==h.default.query(n,h.default.Scope.BLOCK)){var o=h.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var i=h.default.create(n,r);this.appendChild(i)}else c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===h.default.Scope.INLINE_BLOT){var r=h.default.create(this.statics.defaultChild);r.appendChild(t),t=r}c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(a,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,function(e,n,r){a(e)?o.push(e):e instanceof h.default.Container&&(o=o.concat(t(e,n,i))),i-=r}),o}(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(d.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=d.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(d.default.events.SCROLL_BEFORE_UPDATE,n,t),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(d.default.events.SCROLL_UPDATE,n,t)}}}]),e}(h.default.Scroll);x.blotName="scroll",x.className="ql-editor",x.tagName="DIV",x.defaultChild="block",x.allowedChildren=[v.default,y.BlockEmbed,w.default],e.default=x},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){return"object"===(void 0===e?"undefined":x(e))?Object.keys(e).reduce(function(t,n){return s(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,j.default)({},o({},e,n),r.attributes))},new q.default)}function u(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};return t["__ql-computed-style"]||(t["__ql-computed-style"]=window.getComputedStyle(t))}function c(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length-1}function h(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new q.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var i=h(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[W]||[]).reduce(function(t,e){return e(o,t)},i)),r.concat(i)},new q.default):new q.default}function p(t,e,n){return s(n,t,!0)}function d(t,e){var n=P.default.Attributor.Attribute.keys(t),r=P.default.Attributor.Class.keys(t),o=P.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach(function(e){var n=P.default.query(e,P.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(n=Y[e],null==n||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=X[e])||n.attrName!==e&&n.keyName!==e||(n=X[e],i[n.attrName]=n.value(t)||void 0))}),Object.keys(i).length>0&&(e=s(e,i)),e}function y(t,e){var n=P.default.query(t);if(null==n)return e;if(n.prototype instanceof P.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new q.default).insert(r,n.formats(t)))}else"function"==typeof n.formats&&(e=s(e,n.blotName,n.formats(t)));return e}function v(t,e){return c(e,"\n")||e.insert("\n"),e}function b(){return new q.default}function g(t,e){var n=P.default.query(t);if(null==n||"list-item"!==n.blotName||!c(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(P.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new q.default).retain(e.length()-1).retain(1,{indent:r}))}function m(t,e){return c(e,"\n")||(f(t)||e.length()>0&&t.nextSibling&&f(t.nextSibling))&&e.insert("\n"),e}function _(t,e){if(f(t)&&null!=t.nextElementSibling&&!c(e,"\n\n")){var n=t.offsetHeight+parseFloat(u(t).marginTop)+parseFloat(u(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function O(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===u(t).fontStyle&&(n.italic=!0),r.fontWeight&&(u(t).fontWeight.startsWith("bold")||parseInt(u(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=s(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new q.default).insert("\t").concat(e)),e}function w(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!u(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&f(t.parentNode)||null!=t.previousSibling&&f(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&f(t.parentNode)||null!=t.nextSibling&&f(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function t(t,e){for(var n=0;n\r?\n +\<"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[F.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new q.default).insert(n,o({},F.default.blotName,e[F.default.blotName]))}var r=this.prepareMatching(),i=k(r,2),l=i[0],a=i[1],s=h(this.container,l,a);return c(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new q.default).retain(s.length()-1).delete(1))),Z.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,C.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new q.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),C.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new q.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(C.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,C.default.sources.USER),e.quill.setSelection(r.length()-n.length,C.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=k(r,2),i=o[0],l=o[1];switch(i){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(i),function(t){t[W]=t[W]||[],t[W].push(l)})}}),[e,n]}}]),e}(I.default);$.DEFAULTS={matchers:[],matchVisual:!0},e.default=$,e.matchAttributor=d,e.matchBlot=y,e.matchNewline=m,e.matchSpacing=_,e.matchText=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=f.default.query(t,f.default.Scope.BLOCK)}))}function s(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return a(t)&&(n-=1),n}Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var u=function(){function t(t,e){for(var n=0;nr&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(y.default);v.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=v,e.getLastChangeIndex=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var l=function(){function t(t,e){for(var n=0;n0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=f.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(y.default);b.blotName="list",b.scope=f.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],e.ListItem=v,e.default=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(39),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,c.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(u.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return c.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(v.default);b.className="ql-syntax";var g=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),m=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var l=null;return r.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(l),l=setTimeout(function(){r.highlight(),l=null},r.options.interval)}),r.highlight(),r}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(g,!0),h.default.register(b,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(h.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(h.default.sources.SILENT),null!=e&&this.quill.setSelection(e,h.default.sources.SILENT)}}}]),e}(d.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value}}(),interval:1e3},e.CodeBlock=b,e.CodeToken=g,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function u(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)s(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?c(n,e,r):s(n,e,r)}}),t.appendChild(n)})}function c(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)}),t.appendChild(r)}Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=function(){function t(t,e){for(var n=0;n0&&o===h.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var l=i[i.length-1],a=r.quill.getIndex(l),s=Math.min(l.length()-1,e.index+e.length-a),u=r.quill.getBounds(new y.Range(a,s));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return l(e,t),s(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(p.BaseTooltip);_.TEMPLATE=['','
','','',"
"].join(""),e.BubbleTooltip=_,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n','','',''].join(""),e.default=w}]).default}); +//# sourceMappingURL=quill.min.js.map \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappquillimageresize.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappquillimageresize.js new file mode 100755 index 0000000..7c788a5 --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappquillimageresize.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ImageResize=e():t.ImageResize=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=39)}([function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var o=n(22),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();t.exports=i},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=o}var o=9007199254740991;t.exports=n},function(t,e,n){var o=n(50),r=n(55),i=n(87),u=i&&i.isTypedArray,c=u?r(u):o;t.exports=c},function(t,e,n){function o(t){return u(t)?r(t,!0):i(t)}var r=n(44),i=n(51),u=n(12);t.exports=o},function(t,e,n){"use strict";e.a={modules:["DisplaySize","Toolbar","Resize"]}},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return c});var u=n(9),c=function(t){function e(){var t,n,i,u;o(this,e);for(var c=arguments.length,a=Array(c),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(f[t]||t)(n)}),n.modules.forEach(function(t){t.onCreate()}),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach(function(t){t.onUpdate()})},this.removeModules=function(){n.modules.forEach(function(t){t.onDestroy()}),n.modules=[]},this.handleClick=function(t){if(t.target&&t.target.tagName&&"IMG"===t.target.tagName.toUpperCase()){if(n.img===t.target)return;n.img&&n.hide(),n.show(t.target)}else n.img&&n.hide()},this.show=function(t){n.img=t,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),n.overlay.classList.add("ql-image-overlay"),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var t=n.quill.root.parentNode,e=n.img.getBoundingClientRect(),o=t.getBoundingClientRect();Object.assign(n.overlay.style,{left:e.left-o.left-1+t.scrollLeft+"px",top:e.top-o.top+t.scrollTop+"px",width:e.width+"px",height:e.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(t){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(e){n.quill.root.style[e]=t,document.documentElement.style[e]=t})},this.checkImage=function(t){n.img&&(46!=t.keyCode&&8!=t.keyCode||window.Quill.find(n.img).deleteAt(0),n.hide())},this.quill=e;var c=!1;r.modules&&(c=r.modules.slice()),this.options=i()({},r,u.a),!1!==c&&(this.options.modules=c),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};e.default=p,window.Quill&&window.Quill.register("modules/imageResize",p)},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?n[r-1]:void 0,c=r>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(r--,u):void 0,c&&i(n[0],n[1],c)&&(u=r<3?void 0:u,r=1),e=Object(e);++o-1}var r=n(4);t.exports=o},function(t,e,n){function o(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}var r=n(4);t.exports=o},function(t,e,n){function o(){this.size=0,this.__data__={hash:new r,map:new(u||i),string:new r}}var r=n(40),i=n(3),u=n(15);t.exports=o},function(t,e,n){function o(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).get(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).has(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}var r=n(6);t.exports=o},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){var o=n(22),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===r,c=u&&o.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(e,n(14)(t))},function(t,e){function n(t){return r.call(t)}var o=Object.prototype,r=o.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,u=-1,c=i(o.length-e,0),a=Array(c);++u0){if(++e>=o)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var o=800,r=16,i=Date.now;t.exports=n},function(t,e,n){function o(){this.__data__=new r,this.size=0}var r=n(3);t.exports=o},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function o(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length{var _=Object.create;var f=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var S=e=>f(e,"__esModule",{value:!0});var y=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var B=(e,a,s,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of D(a))!v.call(e,l)&&(s||l!=="default")&&f(e,l,{get:()=>a[l],enumerable:!(o=E(a,l))||o.enumerable});return e},k=(e,a)=>B(S(f(e!=null?_(w(e)):{},"default",!a&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var b=y((P,m)=>{m.exports=Vue});var d={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let a={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),o=s[1];o&&(s[1]=a[o]||o),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(e){let a=this.locale,s=a.split("-")[0],o=this.fallbackLocale,l=this.localization;function r(c){return l[c]||{}}return r("messages")[e]||r(a)[e]||r(s)[e]||r(o)[e]||e}}},p={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:a,runtime:s,data:o={},useGlobalEvent:l}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=l,this.data=JSON.parse(JSON.stringify(o)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let r=this,c=function(i){let g=i.data&&i.data.__message;!g||r.__onMessageCallback&&r.__onMessageCallback(g.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",c);else{let i=new BroadcastChannel(this.__page);i.onmessage=c}},postMessage(e={},a=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:a}})),o=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,o):new BroadcastChannel(o).postMessage(s);else{let l=plus.webview.getWebviewById(o);l&&l.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(e){this.__onMessageCallback=e}}};var n=k(b());var C=(e,a)=>{let s=e.__vccOpts||e;for(let[o,l]of a)s[o]=l;return s};var O={content:{"":{flex:1,alignItems:"center",justifyContent:"center",backgroundColor:"#000000"}},barcode:{"":{position:"absolute",left:0,top:0,right:0,bottom:0,zIndex:1}},"set-flash":{"":{alignItems:"center",justifyContent:"center",transform:"translateY(80px)",zIndex:2}},"image-flash":{"":{width:26,height:26,marginBottom:2}},"image-flash-text":{"":{fontSize:10,color:"#FFFFFF"}}},t=plus.barcode,A={qrCode:[t.QR,t.AZTEC,t.MAXICODE],barCode:[t.EAN13,t.EAN8,t.UPCA,t.UPCE,t.CODABAR,t.CODE128,t.CODE39,t.CODE93,t.ITF,t.RSS14,t.RSSEXPANDED],datamatrix:[t.DATAMATRIX],pdf417:[t.PDF417]},M={[t.QR]:"QR_CODE",[t.EAN13]:"EAN_13",[t.EAN8]:"EAN_8",[t.DATAMATRIX]:"DATA_MATRIX",[t.UPCA]:"UPC_A",[t.UPCE]:"UPC_E",[t.CODABAR]:"CODABAR",[t.CODE39]:"CODE_39",[t.CODE93]:"CODE_93",[t.CODE128]:"CODE_128",[t.ITF]:"CODE_25",[t.PDF417]:"PDF_417",[t.AZTEC]:"AZTEC",[t.RSS14]:"RSS_14",[t.RSSEXPANDED]:"RSSEXPANDED"},I={mixins:[p,d],data:{filters:[0,2,1],backgroud:"#000000",frameColor:"#118ce9",scanbarColor:"#118ce9",enabledFlash:!1,flashImage0:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABjklEQVRoQ+1ZbVHEQAx9TwE4ABTcOQAknANQAKcAUAAOAAXgAHAACsDCKQiTmbYDzJZtNt2bFrJ/m6+Xl2yyU2LmhzOPH/8PgIjcADirxNyapNoffMwMiMgzgMPBHmyCLySPLCoBwJKtAbJbYaBmD1yRvBwAtBMxl5DF+DZkiwCIyBLAzsgBbki+Wm2WAlCaL6zOMvKnJO+sNksB7ALQbO1ZHfbIv5FUVs2nCIB6EZETALdmj2mFY5I6X8ynGEADQllYmL1+VzBfnV/VvQB0aj45ARyQ/Ci14QLQsOBZLe5JaikWnzEA7AN4L4hgA2Dpyb76dANwsOCq/TZhASAYKGie0a7R1lDPI0ebtF0NUi+4yfdAtxr3PEMnD6BbD0QkNfACQO05EAwMuaBqDrIVycdmTpwDuP4R0OR7QFftVRP0g+49cwOQq4DJMxAAchmofY3m/EcJBQOZbTRKKJeBKKEoIePvpFRJ1VzmciUccyCa+C81cerBkuuB7sGTE/zt+yhN7AnAqxsAvBn06n8CkyPwMZKwm+UAAAAASUVORK5CYII=",flashImage1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAA3kvI3lfY2k/VAl+43k/U3k/Q4k/M3kvI3k/M4k/Q4lPU2lPU2k/Vdq843k/WWSpNKAAAAD3RSTlMAwD+QINCAcPBgUDDgoBAE044kAAAAdklEQVQ4y2OgOrD/DwffUSTkERIfyZXAtOMbca7iVoKDDSgSbAijJqBI8J2HiX9FM2s+TOITmgQrTEIATYIJJuEA5mJ68S+Gg/0hEi0YEoxQK2gs0WyPQyKBGYeEAhPtJRaw45AIccXpwVEJekuwQyQWMFAfAACeDBJY9aXa3QAAAABJRU5ErkJggg==",autoDecodeCharSet:!1,localization:{en:{fail:"Recognition failure","flash.on":"Tap to turn light on","flash.off":"Tap to turn light off"},zh:{fail:"\u8BC6\u522B\u5931\u8D25","flash.on":"\u8F7B\u89E6\u7167\u4EAE","flash.off":"\u8F7B\u89E6\u5173\u95ED"}}},onLoad(){let e=this.data,a=e.scanType;this.autoDecodeCharSet=e.autoDecodeCharSet;let s=[];Array.isArray(a)&&a.length&&a.forEach(o=>{let l=A[o];l&&(s=s.concat(l))}),s.length||(s=s.concat(A.qrCode).concat(A.barCode).concat(A.datamatrix).concat(A.pdf417)),this.filters=s,this.onMessage(o=>{this.gallery()})},onUnload(){this.cancel()},methods:{start(){this.$refs.barcode.start({conserve:!0,filename:"_doc/barcode/"})},scan(e){t.scan(e,(a,s,o,l)=>{this.scanSuccess(a,s,o,l)},()=>{plus.nativeUI.toast(this.localize("fail"))},this.filters,this.autoDecodeCharSet)},cancel(){this.$refs.barcode.cancel()},gallery(){plus.gallery.pick(e=>{this.scan(e)},e=>{e.code!==(weex.config.env.platform.toLowerCase()==="android"?12:-2)&&plus.nativeUI.toast(this.localize("fail"))},{multiple:!1,system:!1,filename:"_doc/uniapp_temp/gallery/",permissionAlert:!0})},onmarked(e){var a=e.detail;this.scanSuccess(a.code,a.message,a.file,a.charSet)},scanSuccess(e,a,s,o){this.postMessage({event:"marked",detail:{scanType:M[e],result:a,charSet:o||"utf8",path:s||""}})},onerror(e){this.postMessage({event:"fail",message:JSON.stringify(e)})},setFlash(){this.enabledFlash=!this.enabledFlash,this.$refs.barcode.setFlash(this.enabledFlash)}}};function N(e,a,s,o,l,r){let c=(0,n.resolveComponent)("barcode");return(0,n.openBlock)(),(0,n.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:!0,style:{flexDirection:"column"}},[(0,n.createElementVNode)("view",{class:"content"},[(0,n.createVNode)(c,{class:"barcode",ref:"barcode",autostart:"true",backgroud:e.backgroud,frameColor:e.frameColor,scanbarColor:e.scanbarColor,filters:e.filters,autoDecodeCharset:e.autoDecodeCharSet,onMarked:r.onmarked,onError:r.onerror},null,8,["backgroud","frameColor","scanbarColor","filters","autoDecodeCharset","onMarked","onError"]),(0,n.createElementVNode)("view",{class:"set-flash",onClick:a[0]||(a[0]=(...i)=>r.setFlash&&r.setFlash(...i))},[(0,n.createElementVNode)("u-image",{class:"image-flash",src:e.enabledFlash?e.flashImage1:e.flashImage0,resize:"stretch"},null,8,["src"]),(0,n.createElementVNode)("u-text",{class:"image-flash-text"},(0,n.toDisplayString)(e.enabledFlash?e.localize("flash.off"):e.localize("flash.on")),1)])])])}var h=C(I,[["render",N],["styles",[O]]]);var u=plus.webview.currentWebview();if(u){let e=parseInt(u.id),a="template/__uniappscan",s={};try{s=JSON.parse(u.__query__)}catch{}h.mpType="page";let o=Vue.createPageApp(h,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:a,__pageQuery:s});o.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...h.styles||[]])),o.mount("#root")}})(); diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappsuccess.png b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappsuccess.png new file mode 100755 index 0000000..c1f5bd7 Binary files /dev/null and b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappsuccess.png differ diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappview.html b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappview.html new file mode 100755 index 0000000..753ae6b --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/__uniappview.html @@ -0,0 +1,23 @@ + + + + + View + + + + + +
+ + + + + + diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-config-service.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-config-service.js new file mode 100755 index 0000000..11dce3c --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-config-service.js @@ -0,0 +1,11 @@ + + ;(function(){ + let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; + const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","titleColor":"#000000"}},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"FinClip-Uniapp-demo","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.4.7","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{}}; + const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"FinClip-Uniapp-demo"}}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); + __uniConfig.styles=[];//styles + __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); + __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); + service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}}); + })(); + \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-config.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-config.js new file mode 100755 index 0000000..c5168cc --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-config.js @@ -0,0 +1 @@ +(function(){})(); \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-service.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-service.js new file mode 100755 index 0000000..b0b175d --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app-service.js @@ -0,0 +1 @@ +if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((t=>n.resolve(e()).then((()=>t))),(t=>n.resolve(e()).then((()=>{throw t}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e,n){"use strict";function t(e,t){return"Function"===n.toRawType(t)?"function() { [native code] }":t}function o(e,o,r){if("string"==typeof __channelId__&&__channelId__)return r.push(o.replace("at ","uni-app:///")),console[e].apply(console,r);return r.map((function(e){const o=n.toTypeString(e).toLowerCase();if(-1!==["[object object]","[object array]","[object module]"].indexOf(o))try{e="---BEGIN:JSON---"+JSON.stringify(e,t)+"---END:JSON---"}catch(r){e=o}else if(null===e)e="---NULL---";else if(void 0===e)e="---UNDEFINED---";else{const t=n.toRawType(e).toUpperCase();e="NUMBER"===t||"BOOLEAN"===t?"---BEGIN:"+t+"---"+e+"---END:"+t+"---":String(e)}return e})).join("---COMMA---")+" "+o}function r(e,n,...t){const r=o(e,n,t);r&&console[e](r)}function a(e){return weex.requireModule(e)}var i=(e,n)=>{const t=e.__vccOpts||e;for(const[o,r]of n)t[o]=r;return t};const p=a("MopSdk");__definePage("pages/index/index",i({data:()=>({title:"Hello"}),onLoad(){},methods:{handleOpenMiniProgram(){p.openApplet("https://api.finclip.com","5eec56a41464cc0001852e9a",null,null)},handleOpenMiniProgramByQrcode(){uni.scanCode({success:e=>{r("log","at pages/index/index.vue:39",e);const n=e.result;p.openAppletByQrcode(n,(e=>{r("log","at pages/index/index.vue:43","onSuccess",e)}),(e=>{r("log","at pages/index/index.vue:46","onFail",e)}),(e=>{r("log","at pages/index/index.vue:49","onProcess",e)}))}})}}},[["render",function(n,t,o,r,a,i){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("image",{class:"logo",src:"/static/logo.png"}),e.createElementVNode("button",{type:"primary",onClick:t[0]||(t[0]=(...e)=>i.handleOpenMiniProgram&&i.handleOpenMiniProgram(...e))},"打开小程序"),e.createElementVNode("view",{class:"padding-gap"}),e.createElementVNode("button",{type:"primary",onClick:t[1]||(t[1]=(...e)=>i.handleOpenMiniProgramByQrcode&&i.handleOpenMiniProgramByQrcode(...e))},"二维码打开小程序")])}]]));const l=a("MopSdk"),u={onLaunch:function(){r("log","at App.vue:6","App Launch"),l.initialize({sdkKey:"22LyZEib0gLTQdU3MUauAa2CctUv+NxTLFWyPxC28y2gA4x+JWh7hhNS5aO52BFs",sdkSecret:"65146ffa924ecfdc",apmServer:"https://api.finclip.com",uiConfig:{hideTransitionCloseButton:!0,hideForwardMenu:!1,hideSettingMenu:!1,hideBackToHome:!1,hideFeedbackMenu:!1,capsuleConfig:{capsuleWidth:88,capsuleHeight:32,capsuleRightMargin:7,capsuleCornerRadius:16,capsuleBorderWidth:.5,capsuleBgLightColor:"0x00000000",capsuleBgDarkColor:"0x80ffffff",capsuleBorderLightColor:"0x80ffffff",capsuleBorderDarkColor:"0x26000000",capsuleDividerLightColor:"0x26ffffff",capsuleDividerDarkColor:"0x26000000",moreBtnWidth:32,moreBtnLeftMargin:6,closeBtnWidth:32,closeBtnLeftMargin:6}}},(e=>{r("log","at App.vue:118","App Launch Success",e)}),(e=>{r("log","at App.vue:121","App Launch Fail",e)})),l.setAppletLifecycleCallback((e=>{r("log","at App.vue:126","onInitComplete",e)}),(e=>{r("log","at App.vue:129","onFailure",e)}),(e=>{r("log","at App.vue:132","onCreate",e)}),(e=>{r("log","at App.vue:135","onStart",e)}),(e=>{r("log","at App.vue:138","onResume",e)}),(e=>{r("log","at App.vue:141","onPause",e)}),(e=>{r("log","at App.vue:144","onStop",e)}),(e=>{r("log","at App.vue:147","onDestroy",e)})),l.registerExtensionApi("getMessage",(e=>{const{uuid:n}=e;r("log","at App.vue:155","小程序appId:",l.currentAppletId()),r("log","at App.vue:157","小程序信息:",l.currentApplet()),l.onSuccess(n,{message:"成功了,我来自于Vue"})})),l.setNavigationBarCloseButtonClicked((e=>{r("log","at App.vue:216","setNavigationBarCloseButtonClicked",e),l.finishRunningApplet(e)}))},onShow:function(){},onHide:function(){}};const{app:c,Vuex:s,Pinia:d}={app:e.createVueApp(u)};uni.Vuex=s,uni.Pinia=d,c.provide("__globalStyles",__uniConfig.styles),c._component.mpType="app",c._component.render=()=>{},c.mount("#app")}(Vue,uni.VueShared); diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app.css b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app.css new file mode 100755 index 0000000..2627dc3 --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/app.css @@ -0,0 +1,2 @@ +*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox-group{display:block}uni-checkbox-group[hidden]{display:none}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;transform:translate(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:transparent transparent black transparent}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-live-pusher{width:320px;height:240px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-live-pusher[hidden]{display:none}.uni-live-pusher-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-live-pusher-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-map-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0px;left:0px;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap,.navigator-wrap:link,.navigator-wrap:visited,.navigator-wrap:hover,.navigator-wrap:active{text-decoration:none;color:inherit;cursor:pointer}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled:before{color:#adadad}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:flex;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{color:inherit;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all;box-sizing:content-box!important}uni-textarea[hidden]{display:none}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-video-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-web-view{display:inline-block;position:absolute;left:0;right:0;top:0;bottom:0} + diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/manifest.json b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/manifest.json new file mode 100755 index 0000000..140453b --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/manifest.json @@ -0,0 +1 @@ +{"@platforms":["android","iPhone","iPad"],"id":"__UNI__87380BE","name":"FinClip-Uniapp-demo","version":{"name":"1.0.0","code":"100"},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"nativePlugins":{"MopSdk":{"__plugin_info__":{"name":"MopSdk","description":"插件描述信息","platforms":"Android,iOS","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"3.4.7","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"}},"launch_path":"__uniappview.html"} \ No newline at end of file diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/pages/index/index.css b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/pages/index/index.css new file mode 100755 index 0000000..08400b5 --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/pages/index/index.css @@ -0,0 +1 @@ +.content{display:flex;flex-direction:column;align-items:center;justify-content:center}.logo{height:6.25rem;width:6.25rem;margin-top:6.25rem;margin-left:auto;margin-right:auto;margin-bottom:1.5625rem}.text-area{display:flex;justify-content:center}.padding-gap{height:.9375rem}.title{font-size:1.125rem;color:#8f8f94} diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/static/logo.png b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/static/logo.png new file mode 100755 index 0000000..997c971 Binary files /dev/null and b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/static/logo.png differ diff --git a/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/uni-app-view.umd.js b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/uni-app-view.umd.js new file mode 100755 index 0000000..4c64307 --- /dev/null +++ b/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/uni-app-view.umd.js @@ -0,0 +1,3 @@ +(function(Gn){typeof define=="function"&&define.amd?define(Gn):Gn()})(function(){"use strict";var Gn="",qT="",XT="",Lr={exports:{}},ha={exports:{}},ga={exports:{}},Fh=ga.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Fh);var pa={exports:{}};pa.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var $h=ga.exports,Ll="__core-js_shared__",Pl=window[Ll]||(window[Ll]={});(ha.exports=function(e,t){return Pl[e]||(Pl[e]=t!==void 0?t:{})})("versions",[]).push({version:$h.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var zh=0,Uh=Math.random(),Jn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++zh+Uh).toString(36))},Qn=ha.exports("wks"),Hh=Jn,eo=pa.exports.Symbol,Nl=typeof eo=="function",Wh=Lr.exports=function(e){return Qn[e]||(Qn[e]=Nl&&eo[e]||(Nl?eo:Hh)("Symbol."+e))};Wh.store=Qn;var ma={},to=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Vh=to,ro=function(e){if(!Vh(e))throw TypeError(e+" is not an object!");return e},_a=function(e){try{return!!e()}catch(t){return!0}},ui=!_a(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Dl=to,io=pa.exports.document,jh=Dl(io)&&Dl(io.createElement),Bl=function(e){return jh?io.createElement(e):{}},Yh=!ui&&!_a(function(){return Object.defineProperty(Bl("div"),"a",{get:function(){return 7}}).a!=7}),ba=to,qh=function(e,t){if(!ba(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ba(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Fl=ro,Xh=Yh,Zh=qh,Kh=Object.defineProperty;ma.f=ui?Object.defineProperty:function(t,r,i){if(Fl(t),r=Zh(r,!0),Fl(i),Xh)try{return Kh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var $l=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Gh=ma,Jh=$l,Pr=ui?function(e,t,r){return Gh.f(e,t,Jh(1,r))}:function(e,t,r){return e[t]=r,e},ao=Lr.exports("unscopables"),no=Array.prototype;no[ao]==null&&Pr(no,ao,{});var Qh=function(e){no[ao][e]=!0},eg=function(e,t){return{value:t,done:!!e}},oo={},tg={}.toString,rg=function(e){return tg.call(e).slice(8,-1)},ig=rg,ag=Object("z").propertyIsEnumerable(0)?Object:function(e){return ig(e)=="String"?e.split(""):Object(e)},zl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ng=ag,og=zl,wa=function(e){return ng(og(e))},ya={exports:{}},sg={}.hasOwnProperty,xa=function(e,t){return sg.call(e,t)},lg=ha.exports("native-function-to-string",Function.toString),Sa=Pr,Ul=xa,so=Jn("src"),lo=lg,Hl="toString",ug=(""+lo).split(Hl);ga.exports.inspectSource=function(e){return lo.call(e)},(ya.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Ul(r,"name")||Sa(r,"name",t)),e[t]!==r&&(a&&(Ul(r,so)||Sa(r,so,e[t]?""+e[t]:ug.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:Sa(e,t,r):(delete e[t],Sa(e,t,r)))})(Function.prototype,Hl,function(){return typeof this=="function"&&this[so]||lo.call(this)});var Wl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},fg=Wl,cg=function(e,t,r){if(fg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Ea=ga.exports,vg=Pr,dg=ya.exports,Vl=cg,uo="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,l=a?window:n?window[t]||(window[t]={}):(window[t]||{})[uo],u=a?Ea:Ea[t]||(Ea[t]={}),f=u[uo]||(u[uo]={}),d,p,g,y;a&&(r=t);for(d in r)p=!i&&l&&l[d]!==void 0,g=(p?l:r)[d],y=s&&p?Vl(g,window):o&&typeof g=="function"?Vl(Function.call,g):g,l&&dg(l,d,g,e&je.U),u[d]!=g&&vg(u,d,y),o&&f[d]!=g&&(f[d]=g)};window.core=Ea,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var fo=je,hg=Math.ceil,gg=Math.floor,jl=function(e){return isNaN(e=+e)?0:(e>0?gg:hg)(e)},pg=jl,mg=Math.min,_g=function(e){return e>0?mg(pg(e),9007199254740991):0},bg=jl,wg=Math.max,yg=Math.min,xg=function(e,t){return e=bg(e),e<0?wg(e+t,0):yg(e,t)},Sg=wa,Eg=_g,Tg=xg,Cg=function(e){return function(t,r,i){var a=Sg(t),n=Eg(a.length),o=Tg(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Yl=ha.exports("keys"),Og=Jn,co=function(e){return Yl[e]||(Yl[e]=Og(e))},ql=xa,Ag=wa,Ig=Cg(!1),kg=co("IE_PROTO"),Mg=function(e,t){var r=Ag(e),i=0,a=[],n;for(n in r)n!=kg&&ql(r,n)&&a.push(n);for(;t.length>i;)ql(r,n=t[i++])&&(~Ig(a,n)||a.push(n));return a},Xl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Rg=Mg,Lg=Xl,vo=Object.keys||function(t){return Rg(t,Lg)},Pg=ma,Ng=ro,Dg=vo,Bg=ui?Object.defineProperties:function(t,r){Ng(t);for(var i=Dg(r),a=i.length,n=0,o;a>n;)Pg.f(t,o=i[n++],r[o]);return t},Zl=pa.exports.document,Fg=Zl&&Zl.documentElement,$g=ro,zg=Bg,Kl=Xl,Ug=co("IE_PROTO"),ho=function(){},go="prototype",Ta=function(){var e=Bl("iframe"),t=Kl.length,r="<",i=">",a;for(e.style.display="none",Fg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),Ta=a.F;t--;)delete Ta[go][Kl[t]];return Ta()},Hg=Object.create||function(t,r){var i;return t!==null?(ho[go]=$g(t),i=new ho,ho[go]=null,i[Ug]=t):i=Ta(),r===void 0?i:zg(i,r)},Wg=ma.f,Vg=xa,Gl=Lr.exports("toStringTag"),Jl=function(e,t,r){e&&!Vg(e=r?e:e.prototype,Gl)&&Wg(e,Gl,{configurable:!0,value:t})},jg=Hg,Yg=$l,qg=Jl,Ql={};Pr(Ql,Lr.exports("iterator"),function(){return this});var Xg=function(e,t,r){e.prototype=jg(Ql,{next:Yg(1,r)}),qg(e,t+" Iterator")},Zg=zl,eu=function(e){return Object(Zg(e))},Kg=xa,Gg=eu,tu=co("IE_PROTO"),Jg=Object.prototype,Qg=Object.getPrototypeOf||function(e){return e=Gg(e),Kg(e,tu)?e[tu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Jg:null},po=fo,ep=ya.exports,ru=Pr,iu=oo,tp=Xg,rp=Jl,ip=Qg,fi=Lr.exports("iterator"),mo=!([].keys&&"next"in[].keys()),ap="@@iterator",au="keys",Ca="values",nu=function(){return this},np=function(e,t,r,i,a,n,o){tp(r,t,i);var s=function(c){if(!mo&&c in d)return d[c];switch(c){case au:return function(){return new r(this,c)};case Ca:return function(){return new r(this,c)}}return function(){return new r(this,c)}},l=t+" Iterator",u=a==Ca,f=!1,d=e.prototype,p=d[fi]||d[ap]||a&&d[a],g=p||s(a),y=a?u?s("entries"):g:void 0,m=t=="Array"&&d.entries||p,w,h,b;if(m&&(b=ip(m.call(new e)),b!==Object.prototype&&b.next&&(rp(b,l,!0),typeof b[fi]!="function"&&ru(b,fi,nu))),u&&p&&p.name!==Ca&&(f=!0,g=function(){return p.call(this)}),(mo||f||!d[fi])&&ru(d,fi,g),iu[t]=g,iu[l]=nu,a)if(w={values:u?g:s(Ca),keys:n?g:s(au),entries:y},o)for(h in w)h in d||ep(d,h,w[h]);else po(po.P+po.F*(mo||f),t,w);return w},_o=Qh,Oa=eg,ou=oo,op=wa,sp=np(Array,"Array",function(e,t){this._t=op(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,Oa(1)):t=="keys"?Oa(0,r):t=="values"?Oa(0,e[r]):Oa(0,[r,e[r]])},"values");ou.Arguments=ou.Array,_o("keys"),_o("values"),_o("entries");for(var su=sp,lp=vo,up=ya.exports,lu=Pr,uu=oo,fu=Lr.exports,cu=fu("iterator"),vu=fu("toStringTag"),du=uu.Array,hu={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},gu=lp(hu),bo=0;bo!!r[n.toLowerCase()]:n=>!!r[n]}var cp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vp=ka(cp);function mu(e){return!!e||e===""}var dp=ka("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function wo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(gp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function pp(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Je(r);(Ee(i)||typeof i=="number"&&dp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function yo(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r{},mp=()=>!1,_p=/^on[^a-z]/,Ma=e=>_p.test(e),xo=e=>e.startsWith("onUpdate:"),ce=Object.assign,So=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},bp=Object.prototype.hasOwnProperty,ie=(e,t)=>bp.call(e,t),ne=Array.isArray,vi=e=>di(e)==="[object Map]",wp=e=>di(e)==="[object Set]",oe=e=>typeof e=="function",Ee=e=>typeof e=="string",Eo=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",bu=e=>We(e)&&oe(e.then)&&oe(e.catch),yp=Object.prototype.toString,di=e=>yp.call(e),To=e=>di(e).slice(8,-1),_t=e=>di(e)==="[object Object]",Co=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ra=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),La=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},xp=/-(\w)/g,Ht=La(e=>e.replace(xp,(t,r)=>r?r.toUpperCase():"")),Sp=/\B([A-Z])/g,Je=La(e=>e.replace(Sp,"-$1").toLowerCase()),Oo=La(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ao=La(e=>e?"on".concat(Oo(e)):""),hi=(e,t)=>!Object.is(e,t),Io=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Ep=e=>{var t=parseFloat(e);return isNaN(t)?e:t},wu,Tp=()=>wu||(wu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),gi=` +`,yu=44,Na="#007aff",Cp=/^([a-z-]+:)?\/\//i,Op=/^data:.*,.*/,xu="wxs://",Su="json://",Ap="wxsModules",Ip="renderjsModules",kp="onPageScroll",Mp="onReachBottom",Rp="onWxsInvokeCallMethod",ko=0;function Mo(e){var t=Date.now(),r=ko?t-ko:0;ko=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function Lp(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function Pp(e){return Lp(e)}function Np(e){return e.indexOf("/")===0}function Ro(e){return Np(e)?e:"/"+e}function pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;n{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(i,a){if(i.startsWith("data-")&&this.tagName.startsWith("UNI-")){var n=this.__uniDataset||(this.__uniDataset={});n[Tu(i)]=a}t.call(this,i,a)};var r=e.removeAttribute;e.removeAttribute=function(i){this.__uniDataset&&i.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Tu(i)],r.call(this,i)}});function Lo(e){return ce({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function Po(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Lo(e),offsetTop:r,offsetLeft:i}}function Bp(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:d,variant:p,featureSettings:g}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),p&&s.push("font-variant:".concat(p)),g&&s.push("font-feature-settings:".concat(g))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Fp(e,t,r){if(Ee(e)){var i=document.querySelector(e);if(i){var{height:a,top:n}=i.getBoundingClientRect();e=n+window.pageYOffset,r&&(e-=a)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var u=f=>{if(f<=0){window.scrollTo(0,e);return}var d=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+d/f*10),u(f-10)})};u(t)}}function $p(){return typeof __channelId__=="string"&&__channelId__}function zp(e,t){switch(To(t)){case"Function":return"function() { [native code] }";default:return t}}function Up(e,t,r){if($p())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=di(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(n)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,zp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=To(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Hp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a({stop:1,prevent:1<<1,self:1<<2}))(),Ou="class",Bo="style",Vp="innerHTML",jp="textContent",Da=".vShow",Au=".vOwnerId",Iu=".vRenderjs",Fo="change:",ku=1,Yp=2,qp=3,Xp=4,Zp=5,Kp=6,Gp=7,Jp=8,Qp=9,em=10,tm=12,rm=15,im=20;function am(e,t,r){var{clearTimeout:i,setTimeout:a}=r,n,o=function(){i(n);var s=()=>e.apply(this,arguments);n=a(s,t)};return o.cancel=function(){i(n)},o}var Mu=function(){};Mu.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;ie!==null&&typeof e=="object",sm=["{","}"];class lm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sm;if(!r)return[t];var a=this._caches[t];return a||(a=cm(t,i),this._caches[t]=a),vm(a,r)}}var um=/^(?:\d)+/,fm=/^(?:\w)+/;function cm(e,t){for(var[r,i]=t,a=[],n=0,o="";ndm.call(e,t),hm=new lm;function gm(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function pm(e,t){return t.find(r=>e.indexOf(r)===0)}function Pu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return _i;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?_i:e.indexOf("-hant")>-1||gm(e,["-tw","-hk","-mo","-cht"])?Ba:_i;var r=pm(e,[Wt,$o,zo]);if(r)return r}}class mm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Wt,this.fallbackLocale=Wt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||hm,this.messages=a||{},this.setLocale(r||Wt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Pu(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Lu(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Pu(r,this.messages),r&&(a=this.messages[r])):i=r,Lu(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function _m(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function bm(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Wt}function wm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=bm()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Wt);var a=new mm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(u,f){return a.t(u,f)};else{var l=!1;n=function(u,f){var d=getApp().$vm;return d&&(d.$locale,l||(l=!0,_m(d,a))),a.t(u,f)}}return n(o,s)};return{i18n:a,f(o,s,l){return a.f(o,s,l)},t(o,s){return n(o,s)},add(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,l)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var ym=pi(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),bi;function Qe(){if(!bi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,bi=wm(e),ym()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>bi.add(r,__uniConfig.locales[r])),bi.setLocale(e)}}return bi}function bt(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var xm=pi(()=>{var e="uni.picker.",t=["done","cancel"];Qe().add(Wt,bt(e,t,["Done","Cancel"]),!1),Qe().add(zo,bt(e,t,["OK","Cancelar"]),!1),Qe().add($o,bt(e,t,["OK","Annuler"]),!1),Qe().add(_i,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Qe().add(Ba,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Sm=pi(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Qe().add(Wt,bt(e,t,["feedback","send"]),!1),Qe().add(zo,bt(e,t,["realimentaci\xF3n","enviar"]),!1),Qe().add($o,bt(e,t,["retour d'information","envoyer"]),!1),Qe().add(_i,bt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Qe().add(Ba,bt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function Em(e){var t=new Ru;return{on(r,i){return t.on(r,i)},once(r,i){return t.once(r,i)},off(r,i){return t.off(r,i)},emit(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var Nu="invokeViewApi",Du="invokeServiceApi",Tm=1,Cm=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?Tm++:0;r&&i(Du+"."+n,r,!0),a(Du,{id:n,name:e,args:t})},Fa=Object.create(null);function $a(e,t){return e+"."+t}function Om(e,t){UniViewJSBridge.subscribe($a(e,Nu),t?t(Bu):Bu)}function wt(e,t,r){t=$a(e,t),Fa[t]||(Fa[t]=r)}function Am(e,t){t=$a(e,t),delete Fa[t]}function Bu(e,t){var{id:r,name:i,args:a}=e;i=$a(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Nu+"."+r,s)},o=Fa[i];o?o(a,n):n({})}var Im=ce(Em("service"),{invokeServiceMethod:Cm}),km=350,Fu=10,za=mi(!0),wi;function yi(){wi&&(clearTimeout(wi),wi=null)}var $u=0,zu=0;function Mm(e){if(yi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];$u=t,zu=r,wi=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},km)}}function Rm(e){if(!!wi){if(e.touches.length!==1)return yi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-$u)>Fu||Math.abs(r-zu)>Fu)return yi()}}function Lm(){window.addEventListener("touchstart",Mm,za),window.addEventListener("touchmove",Rm,za),window.addEventListener("touchend",yi,za),window.addEventListener("touchcancel",yi,za)}function Uu(e,t){var r=Number(e);return isNaN(r)?t:r}function Pm(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function Nm(){var e=__uniConfig.globalStyle||{},t=Uu(e.rpxCalcMaxDeviceWidth,960),r=Uu(e.rpxCalcBaseDeviceWidth,375);function i(){var a=Pm();a=a<=t?a:r,document.documentElement.style.fontSize=a/23.4375+"px"}i(),document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i),window.addEventListener("resize",i)}function Dm(){Nm(),Dp(),Lm()}var Bm=_a,Fm=function(e,t){return!!e&&Bm(function(){t?e.call(null,function(){},1):e.call(null)})},Uo=fo,$m=Wl,Hu=eu,Wu=_a,Ho=[].sort,Vu=[1,2,3];Uo(Uo.P+Uo.F*(Wu(function(){Vu.sort(void 0)})||!Wu(function(){Vu.sort(null)})||!Fm(Ho)),"Array",{sort:function(t){return t===void 0?Ho.call(Hu(this)):Ho.call(Hu(this),$m(t))}});var yt;class zm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&yt&&(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}run(t){if(this.active){var r=yt;try{return yt=this,t()}finally{yt=r}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r1&&arguments[1]!==void 0?arguments[1]:yt;t&&t.active&&t.effects.push(e)}var Wo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},ju=e=>(e.w&Vt)>0,Yu=e=>(e.n&Vt)>0,Hm=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Um(this,i)}run(){if(!this.active)return this.fn();for(var t=ct,r=jt;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,jt=!0,Vt=1<<++xi,xi<=jo?Hm(this):qu(this),this.fn()}finally{xi<=jo&&Wm(this),Vt=1<<--xi,ct=this.parent,jt=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(qu(this),this.onStop&&this.onStop(),this.active=!1)}}function qu(e){var{deps:t}=e;if(t.length){for(var r=0;r{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?Co(r)&&s.push(o.get("length")):(s.push(o.get(fr)),vi(e)&&s.push(o.get(Yo)));break;case"delete":ne(e)||(s.push(o.get(fr)),vi(e)&&s.push(o.get(Yo)));break;case"set":vi(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&Xo(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);Xo(Wo(l))}}}function Xo(e,t){for(var r of ne(e)?e:[...e])(r!==ct||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var Vm=ka("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Eo)),jm=Zo(),Ym=Zo(!1,!0),qm=Zo(!0),Gu=Xm();function Xm(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Dr();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?f0:sf:t?of:nf).get(i))return i;var o=ne(i);if(!e&&o&&ie(Gu,a))return Reflect.get(Gu,a,n);var s=Reflect.get(i,a,n);if((Eo(a)?Ku.has(a):Vm(a))||(e||et(i,"get",a),t))return s;if($e(s)){var l=!o||!Co(a);return l?s.value:s}return We(s)?e?lf(s):ke(s):s}}var Zm=Ju(),Km=Ju(!0);function Ju(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Si(o)&&$e(o)&&!$e(a))return!1;if(!e&&!Si(a)&&(uf(a)||(a=me(a),o=me(o)),!ne(r)&&$e(o)&&!$e(a)))return o.value=a,!0;var s=ne(r)&&Co(i)?Number(i)e,Ua=e=>Reflect.getPrototypeOf(e);function Ha(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=me(e),n=me(t);t!==n&&!r&&et(a,"get",t),!r&&et(a,"get",n);var{has:o}=Ua(a),s=i?Ko:r?Qo:Ei;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&et(i,"has",e),!t&&et(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&et(me(e),"iterate",fr),Reflect.get(e,"size",e)}function ef(e){e=me(e);var t=me(this),r=Ua(t),i=r.has.call(t,e);return i||(t.add(e),Lt(t,"add",e,e)),this}function tf(e,t){t=me(t);var r=me(this),{has:i,get:a}=Ua(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?hi(t,o)&&Lt(r,"set",e,t):Lt(r,"add",e,t),this}function rf(e){var t=me(this),{has:r,get:i}=Ua(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Lt(t,"delete",e,void 0),n}function af(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Lt(e,"clear",void 0,void 0),r}function ja(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),l=t?Ko:e?Qo:Ei;return!e&&et(s,"iterate",fr),o.forEach((u,f)=>i.call(a,l(u),l(f),n))}}function Ya(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=vi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,l=i[e](...arguments),u=r?Ko:t?Qo:Ei;return!t&&et(a,"iterate",s?Yo:fr),{next(){var{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:o?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Yt(e){return function(){return e==="delete"?!1:this}}function r0(){var e={get(n){return Ha(this,n)},get size(){return Va(this)},has:Wa,add:ef,set:tf,delete:rf,clear:af,forEach:ja(!1,!1)},t={get(n){return Ha(this,n,!1,!0)},get size(){return Va(this)},has:Wa,add:ef,set:tf,delete:rf,clear:af,forEach:ja(!1,!0)},r={get(n){return Ha(this,n,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!1)},i={get(n){return Ha(this,n,!0,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=Ya(n,!1,!1),r[n]=Ya(n,!0,!1),t[n]=Ya(n,!1,!0),i[n]=Ya(n,!0,!0)}),[e,r,t,i]}var[i0,a0,n0,o0]=r0();function Go(e,t){var r=t?e?o0:n0:e?a0:i0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ie(r,a)&&a in i?r:i,a,n)}var s0={get:Go(!1,!1)},l0={get:Go(!1,!0)},u0={get:Go(!0,!1)},nf=new WeakMap,of=new WeakMap,sf=new WeakMap,f0=new WeakMap;function c0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function v0(e){return e.__v_skip||!Object.isExtensible(e)?0:c0(To(e))}function ke(e){return Si(e)?e:Jo(e,!1,Qu,s0,nf)}function d0(e){return Jo(e,!1,t0,l0,of)}function lf(e){return Jo(e,!0,e0,u0,sf)}function Jo(e,t,r,i,a){if(!We(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=v0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function Fr(e){return Si(e)?Fr(e.__v_raw):!!(e&&e.__v_isReactive)}function Si(e){return!!(e&&e.__v_isReadonly)}function uf(e){return!!(e&&e.__v_isShallow)}function ff(e){return Fr(e)||Si(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function qa(e){return Pa(e,"__v_skip",!0),e}var Ei=e=>We(e)?ke(e):e,Qo=e=>We(e)?lf(e):e;function cf(e){jt&&ct&&(e=me(e),Zu(e.dep||(e.dep=Wo())))}function vf(e,t){e=me(e),e.dep&&Xo(e.dep)}function $e(e){return!!(e&&e.__v_isRef===!0)}function F(e){return df(e,!1)}function es(e){return df(e,!0)}function df(e,t){return $e(e)?e:new h0(e,t)}class h0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ei(t)}get value(){return cf(this),this._value}set value(t){t=this.__v_isShallow?t:me(t),hi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ei(t),vf(this))}}function g0(e){return $e(e)?e.value:e}var p0={get:(e,t,r)=>g0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return $e(a)&&!$e(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function hf(e){return Fr(e)?e:new Proxy(e,p0)}class m0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new qo(t,()=>{this._dirty||(this._dirty=!0,vf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=me(this);return cf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function _0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=oe(e);n?(i=e,a=mt):(i=e.get,a=e.set);var o=new m0(i,a,n||!a,r);return o}function qt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Xa(n,t,r)}return a}function vt(e,t,r,i){if(oe(e)){var a=qt(e,t,r,i);return a&&bu(a)&&a.catch(s=>{Xa(s,t,r)}),a}for(var n=[],o=0;o>>1,a=Ai(tt[i]);aPt&&tt.splice(t,1)}function _f(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),mf()}function x0(e){_f(e,Ci,Ti,$r)}function S0(e){_f(e,Xt,Oi,zr)}function as(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ti.length){for(is=t,Ci=[...new Set(Ti)],Ti.length=0,$r=0;$rAi(r)-Ai(i)),zr=0;zre.id==null?1/0:e.id;function wf(e){ts=!1,Za=!0,as(e),tt.sort((i,a)=>Ai(i)-Ai(a));var t=mt;try{for(Pt=0;Pt2?i-2:0),n=2;nm.trim()):f&&(o=a.map(Ep))}var p,g=r[p=Ao(t)]||r[p=Ao(Ht(t))];!g&&s&&(g=r[p=Ao(Je(t))]),g&&vt(g,e,6,o);var y=r[p+"Once"];if(y){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,vt(y,e,6,o)}}}function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!oe(e)){var l=u=>{var f=yf(u,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(u=>o[u]=null):ce(o,n),i.set(e,o),o)}function Ka(e,t){return!e||!Ma(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Je(t))||ie(e,t))}var dt=null,xf=null;function Ga(e){var t=dt;return dt=e,xf=e&&e.type.__scopeId||null,t}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt;if(!t||e._n)return e;var r=function(){r._d&&Yf(-1);var i=Ga(t),a=e(...arguments);return Ga(i),r._d&&Yf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function ZT(){}function ns(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:d,data:p,setupState:g,ctx:y,inheritAttrs:m}=e,w,h,b=Ga(e);try{if(r.shapeFlag&4){var c=a||i;w=St(f.call(c,c,d,n,g,p,y)),h=l}else{var v=t;w=St(v.length>1?v(n,{attrs:l,slots:s,emit:u}):v(n,null)),h=t.props?l:C0(l)}}catch(C){Xa(C,e,1),w=I(Hr)}var _=w;if(h&&m!==!1){var x=Object.keys(h),{shapeFlag:E}=_;x.length&&E&7&&(o&&x.some(xo)&&(h=O0(h,o)),_=Mi(_,h))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),w=_,Ga(b),w}var C0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Ma(r))&&((t||(t={}))[r]=e[r]);return t},O0=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function A0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?Sf(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,d=0;de.__isSuspense;function M0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):S0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||dt;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&oe(t)?t.call(i.proxy):t}}function R0(e,t){return os(e,null,t)}var Ef={};function W(e,t,r){return os(e,t,r)}function os(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,l,u=!1,f=!1;if($e(e)?(l=()=>e.value,u=uf(e)):Fr(e)?(l=()=>e,i=!0):ne(e)?(f=!0,u=e.some(Fr),l=()=>e.map(b=>{if($e(b))return b.value;if(Fr(b))return cr(b);if(oe(b))return qt(b,s,2)})):oe(e)?t?l=()=>qt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return p&&p(),vt(e,s,3,[g])}:l=mt,t&&i){var d=l;l=()=>cr(d())}var p,g=b=>{p=h.onStop=()=>{qt(b,s,4)}};if(Ri)return g=mt,t?r&&vt(t,s,3,[l(),f?[]:void 0,g]):l(),mt;var y=f?[]:Ef,m=()=>{if(!!h.active)if(t){var b=h.run();(i||u||(f?b.some((c,v)=>hi(c,y[v])):hi(b,y)))&&(p&&p(),vt(t,s,3,[b,y===Ef?void 0:y,g]),y=b)}else h.run()};m.allowRecurse=!!t;var w;a==="sync"?w=m:a==="post"?w=()=>Xe(m,s&&s.suspense):w=()=>{!s||s.isMounted?x0(m):m()};var h=new qo(l,w);return t?r?m():y=h.run():a==="post"?Xe(h.run.bind(h),s&&s.suspense):h.run(),()=>{h.stop(),s&&s.scope&&So(s.scope.effects,h)}}function L0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Tf(i,e):()=>i[e]:e.bind(i,i),n;oe(t)?n=t:(n=t.handler,r=t);var o=Ue;Wr(this);var s=os(a,n.bind(i),r);return o?Wr(o):gr(),s}function Tf(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{cr(a,t)});else if(_t(e))for(var i in e)cr(e[i],t);return e}function P0(e){return oe(e)?{setup:e,name:e.name}:e}var ss=e=>!!e.type.__asyncLoader,Cf=e=>e.type.__isKeepAlive;function ls(e,t){Of(e,"a",t)}function N0(e,t){Of(e,"da",t)}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Ja(t,i,r),r)for(var a=r.parent;a&&a.parent;)Cf(a.parent.vnode)&&D0(i,t,r,a),a=a.parent}function D0(e,t,r,i){var a=Ja(t,e,i,!0);Zt(()=>{So(i[t],a)},r)}function Ja(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Dr(),Wr(r);for(var o=arguments.length,s=new Array(o),l=0;lfunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Ri||e==="sp")&&Ja(e,t,r)},Af=Nt("bm"),Re=Nt("m"),B0=Nt("bu"),F0=Nt("u"),Ce=Nt("bum"),Zt=Nt("um"),$0=Nt("sp"),z0=Nt("rtg"),U0=Nt("rtc");function H0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Ja("ec",e,t)}var us=!0;function W0(e){var t=Mf(e),r=e.proxy,i=e.ctx;us=!1,t.beforeCreate&&If(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:g,updated:y,activated:m,deactivated:w,beforeDestroy:h,beforeUnmount:b,destroyed:c,unmounted:v,render:_,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:M,inheritAttrs:R,components:U,directives:te,filters:L}=t,H=null;if(u&&V0(u,i,H,e.appContext.config.unwrapInjectedRef),o)for(var q in o){var re=o[q];oe(re)&&(i[q]=re.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),us=!0,n){var V=function(le){var J=n[le],xe=oe(J)?J.bind(r,r):oe(J.get)?J.get.bind(r,r):mt,we=!oe(J)&&oe(J.set)?J.set.bind(r):mt,Ve=ee({get:xe,set:we});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:sr=>Ve.value=sr})};for(var K in n)V(K)}if(s)for(var ae in s)kf(s[ae],i,r,ae);if(l){var Te=oe(l)?l.call(r):l;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&If(f,e,"c");function se(le,J){ne(J)?J.forEach(xe=>le(xe.bind(r))):J&&le(J.bind(r))}if(se(Af,d),se(Re,p),se(B0,g),se(F0,y),se(ls,m),se(N0,w),se(H0,C),se(U0,x),se(z0,E),se(Ce,b),se(Zt,v),se($0,O),ne(M))if(M.length){var he=e.exposed||(e.exposed={});M.forEach(le=>{Object.defineProperty(he,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});_&&e.render===mt&&(e.render=_),R!=null&&(e.inheritAttrs=R),U&&(e.components=U),te&&(e.directives=te)}function V0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=fs(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),$e(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[n]=s};for(var a in e)i(a)}function If(e,t,r){vt(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function kf(e,t,r,i){var a=i.includes(".")?Tf(r,i):()=>r[i];if(Ee(e)){var n=t[e];oe(n)&&W(a,n)}else if(oe(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>kf(s,t,r,i));else{var o=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(o)&&W(a,o,e)}}function Mf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),l;return s?l=s:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(u=>Qa(l,u,o,!0)),Qa(l,t,o)),n.set(t,l),l}function Qa(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Qa(e,n,r,!0),a&&a.forEach(l=>Qa(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=j0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var j0={data:Rf,props:vr,emits:vr,methods:vr,computed:vr,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:vr,directives:vr,watch:q0,provide:Rf,inject:Y0};function Rf(e,t){return t?e?function(){return ce(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return vr(fs(e),fs(t))}function fs(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Pa(n,tn,1),e.propsDefaults=Object.create(null),Lf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:d0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Z0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],l=!1;if(!oe(e)){var u=c=>{l=!0;var[v,_]=Pf(c,t,!0);ce(o,v),_&&s.push(..._)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!l)return i.set(e,ci),ci;if(ne(n))for(var f=0;f-1,m[1]=h<0||w-1||ie(m,"default"))&&s.push(g)}}}var b=[o,s];return i.set(e,b),b}function Nf(e){return e[0]!=="$"}function Df(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Bf(e,t){return Df(e)===Df(t)}function Ff(e,t){return ne(t)?t.findIndex(r=>Bf(r,e)):oe(t)&&Bf(t,e)?0:-1}var $f=e=>e[0]==="_"||e==="$stable",vs=e=>ne(e)?e.map(St):[St(e)],K0=(e,t,r)=>{var i=T0(function(){return vs(t(...arguments))},r);return i._c=!1,i},zf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!$f(a)){var n=e[a];oe(n)?t[a]=K0(a,n,i):n!=null&&function(){var o=vs(n);t[a]=()=>o}()}},Uf=(e,t)=>{var r=vs(t);e.slots.default=()=>r},G0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Pa(t,"_",r)):zf(t,e.slots={})}else e.slots={},t&&Uf(e,t);Pa(e.slots,tn,1)},J0=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ce(a,t),!r&&s===1&&delete a._):(n=!t.$stable,zf(t,a)),o=t}else t&&(Uf(e,t),o={default:1});if(n)for(var l in a)!$f(l)&&!(l in o)&&delete a[l]};function Ii(e,t){var r=dt;if(r===null)return e;for(var i=nn(r)||r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;oe(i)||(i=Object.assign({},i)),a!=null&&!We(a)&&(a=null);var n=Hf(),o=new Set,s=!1,l=n.app={_uid:Q0++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:w_,get config(){return n.config},set config(u){},use(u){for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((m,w)=>ds(m,t&&(ne(t)?t[w]:t),r,i,a));return}if(!(ss(i)&&!a)){var n=i.shapeFlag&4?nn(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:l}=e,u=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Ee(u)?(f[u]=null,ie(d,u)&&(d[u]=null)):$e(u)&&(u.value=null)),oe(l))qt(l,s,12,[o,f]);else{var p=Ee(l),g=$e(l);if(p||g){var y=()=>{if(e.f){var m=p?f[l]:l.value;a?ne(m)&&So(m,n):ne(m)?m.includes(n)||m.push(n):p?(f[l]=[n],ie(d,l)&&(d[l]=f[l])):(l.value=[n],e.k&&(f[e.k]=l.value))}else p?(f[l]=o,ie(d,l)&&(d[l]=o)):$e(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Xe(y,r)):y()}}}}var Xe=M0;function t_(e){return r_(e)}function r_(e,t){var r=Tp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:d,nextSibling:p,setScopeId:g=mt,cloneNode:y,insertStaticContent:m}=e,w=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,B=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!ki(S,T)&&(P=Ve(S),he(S,N,$,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:Q,shapeFlag:G}=T;switch(D){case hs:h(S,T,k,P);break;case Hr:b(S,T,k,P);break;case gs:S==null&&c(T,k,P,j);break;case xt:te(S,T,k,P,N,$,j,B,z);break;default:G&1?x(S,T,k,P,N,$,j,B,z):G&6?L(S,T,k,P,N,$,j,B,z):(G&64||G&128)&&D.process(S,T,k,P,N,$,j,B,z,Ne)}Q!=null&&N&&ds(Q,S&&S.ref,$,T||S,!T)}},h=(S,T,k,P)=>{if(S==null)i(T.el=s(T.children),k,P);else{var N=T.el=S.el;T.children!==S.children&&u(N,T.children)}},b=(S,T,k,P)=>{S==null?i(T.el=l(T.children||""),k,P):T.el=S.el},c=(S,T,k,P)=>{[S.el,S.anchor]=m(S.children,T,k,P,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:P,anchor:N}=S,$;P&&P!==N;)$=p(P),i(P,T,k),P=$;i(N,T,k)},_=S=>{for(var{el:T,anchor:k}=S,P;T&&T!==k;)P=p(T),a(T),T=P;a(k)},x=(S,T,k,P,N,$,j,B,z)=>{j=j||T.type==="svg",S==null?E(T,k,P,N,$,j,B,z):M(S,T,N,$,j,B,z)},E=(S,T,k,P,N,$,j,B)=>{var z,D,{type:Q,props:G,shapeFlag:Z,transition:fe,patchFlag:Be,dirs:Ae}=S;if(S.el&&y!==void 0&&Be===-1)z=S.el=y(S.el);else{if(z=S.el=o(S.type,$,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,P,N,$&&Q!=="foreignObject",j,B),Ae&&dr(S,null,P,"created"),G){for(var A in G)A!=="value"&&!Ra(A)&&n(z,A,null,G[A],$,S.children,P,N,we);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&Et(D,P,S)}C(z,S,S.scopeId,j,P)}Object.defineProperty(z,"__vueParentComponent",{value:P,enumerable:!1}),Ae&&dr(S,null,P,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&fe&&!fe.persisted;Y&&fe.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Ae)&&Xe(()=>{D&&Et(D,P,S),Y&&fe.enter(z),Ae&&dr(S,null,P,"mounted")},N)},C=(S,T,k,P,N)=>{if(k&&g(S,k),P)for(var $=0;$8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var B=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:Q}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,fe;k&&hr(k,!1),(fe=Z.onVnodeBeforeUpdate)&&Et(fe,k,T,S),Q&&dr(T,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?R(S.dynamicChildren,D,B,k,P,Be,$):j||K(S,T,B,null,k,P,Be,$,!1),z>0){if(z&16)U(B,T,G,Z,k,P,N);else if(z&2&&G.class!==Z.class&&n(B,"class",null,Z.class,N),z&4&&n(B,"style",G.style,Z.style,N),z&8)for(var Ae=T.dynamicProps,A=0;A{fe&&Et(fe,k,T,S),Q&&dr(T,S,k,"updated")},P)},R=(S,T,k,P,N,$,j)=>{for(var B=0;B{if(k!==P){for(var B in P)if(!Ra(B)){var z=P[B],D=k[B];z!==D&&B!=="value"&&n(S,B,D,z,j,T.children,N,$,we)}if(k!==Se)for(var Q in k)!Ra(Q)&&!(Q in P)&&n(S,Q,k[Q],null,j,T.children,N,$,we);"value"in P&&n(S,"value",k.value,P.value)}},te=(S,T,k,P,N,$,j,B,z)=>{var D=T.el=S?S.el:s(""),Q=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:fe}=T;fe&&(B=B?B.concat(fe):fe),S==null?(i(D,k,P),i(Q,k,P),O(T.children,k,Q,N,$,j,B,z)):G>0&&G&64&&Z&&S.dynamicChildren?(R(S.dynamicChildren,Z,k,N,$,j,B),(T.key!=null||N&&T===N.subTree)&&Wf(S,T,!0)):K(S,T,k,Q,N,$,j,B,z)},L=(S,T,k,P,N,$,j,B,z)=>{T.slotScopeIds=B,S==null?T.shapeFlag&512?N.ctx.activate(T,k,P,j,z):H(T,k,P,N,$,j,z):q(S,T,z)},H=(S,T,k,P,N,$,j)=>{var B=S.component=d_(S,P,N);if(Cf(S)&&(B.ctx.renderer=Ne),h_(B),B.asyncDep){if(N&&N.registerDep(B,re),!S.el){var z=B.subTree=I(Hr);b(null,z,T,k)}return}re(B,S,T,k,N,$,j)},q=(S,T,k)=>{var P=T.component=S.component;if(A0(S,T,k))if(P.asyncDep&&!P.asyncResolved){V(P,T,k);return}else P.next=T,y0(P.update),P.update();else T.component=S.component,T.el=S.el,P.vnode=T},re=(S,T,k,P,N,$,j)=>{var B=()=>{if(S.isMounted){var{next:ue,bu:Fe,u:Ge,parent:De,vnode:pt}=S,lr=ue,Rt;hr(S,!1),ue?(ue.el=pt.el,V(S,ue,j)):ue=pt,Fe&&Io(Fe),(Rt=ue.props&&ue.props.onVnodeBeforeUpdate)&&Et(Rt,De,ue,pt),hr(S,!0);var Mr=ns(S),Ut=S.subTree;S.subTree=Mr,w(Ut,Mr,d(Ut.el),Ve(Ut),S,N,$),ue.el=Mr.el,lr===null&&I0(S,Mr.el),Ge&&Xe(Ge,N),(Rt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>Et(Rt,De,ue,pt),N)}else{var Q,{el:G,props:Z}=T,{bm:fe,m:Be,parent:Ae}=S,A=ss(T);if(hr(S,!1),fe&&Io(fe),!A&&(Q=Z&&Z.onVnodeBeforeMount)&&Et(Q,Ae,T),hr(S,!0),G&&da){var Y=()=>{S.subTree=ns(S),da(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var X=S.subTree=ns(S);w(null,X,k,P,S,N,$),T.el=X.el}if(Be&&Xe(Be,N),!A&&(Q=Z&&Z.onVnodeMounted)){var ge=T;Xe(()=>Et(Q,Ae,ge),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=P=null}},z=S.effect=new qo(B,()=>pf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},V=(S,T,k)=>{T.component=S;var P=S.vnode.props;S.vnode=T,S.next=null,Z0(S,T.props,P,k),J0(S,T.children,k),Dr(),as(void 0,S.update),Br()},K=function(S,T,k,P,N,$,j,B){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,Q=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:fe}=T;if(Z>0){if(Z&128){Te(D,G,k,P,N,$,j,B,z);return}else if(Z&256){ae(D,G,k,P,N,$,j,B,z);return}}fe&8?(Q&16&&we(D,N,$),G!==D&&f(k,G)):Q&16?fe&16?Te(D,G,k,P,N,$,j,B,z):we(D,N,$,!0):(Q&8&&f(k,""),fe&16&&O(G,k,P,N,$,j,B,z))},ae=(S,T,k,P,N,$,j,B,z)=>{S=S||ci,T=T||ci;var D=S.length,Q=T.length,G=Math.min(D,Q),Z;for(Z=0;ZQ?we(S,N,$,!0,!1,G):O(T,k,P,N,$,j,B,z,G)},Te=(S,T,k,P,N,$,j,B,z)=>{for(var D=0,Q=T.length,G=S.length-1,Z=Q-1;D<=G&&D<=Z;){var fe=S[D],Be=T[D]=z?Kt(T[D]):St(T[D]);if(ki(fe,Be))w(fe,Be,k,null,N,$,j,B,z);else break;D++}for(;D<=G&&D<=Z;){var Ae=S[G],A=T[Z]=z?Kt(T[Z]):St(T[Z]);if(ki(Ae,A))w(Ae,A,k,null,N,$,j,B,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,X=YZ)for(;D<=G;)he(S[D],N,$,!0),D++;else{var ge=D,ue=D,Fe=new Map;for(D=ue;D<=Z;D++){var Ge=T[D]=z?Kt(T[D]):St(T[D]);Ge.key!=null&&Fe.set(Ge.key,D)}var De,pt=0,lr=Z-ue+1,Rt=!1,Mr=0,Ut=new Array(lr);for(D=0;D=lr){he(li,N,$,!0);continue}var Rr=void 0;if(li.key!=null)Rr=Fe.get(li.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&ki(li,T[De])){Rr=De;break}Rr===void 0?he(li,N,$,!0):(Ut[Rr-ue]=D+1,Rr>=Mr?Mr=Rr:Rt=!0,w(li,T[Rr],k,null,N,$,j,B,z),pt++)}var Nh=Rt?i_(Ut):ci;for(De=Nh.length-1,D=lr-1;D>=0;D--){var Rl=ue+D,Dh=T[Rl],Bh=Rl+14&&arguments[4]!==void 0?arguments[4]:null,{el:$,type:j,transition:B,children:z,shapeFlag:D}=S;if(D&6){se(S.component.subTree,T,k,P);return}if(D&128){S.suspense.move(T,k,P);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i($,T,k);for(var Q=0;QB.enter($),N);else{var{leave:Z,delayLeave:fe,afterLeave:Be}=B,Ae=()=>i($,T,k),A=()=>{Z($,()=>{Ae(),Be&&Be()})};fe?fe($,Ae,A):A()}else i($,T,k)},he=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:$,props:j,ref:B,children:z,dynamicChildren:D,shapeFlag:Q,patchFlag:G,dirs:Z}=S;if(B!=null&&ds(B,null,k,S,!0),Q&256){T.ctx.deactivate(S);return}var fe=Q&1&&Z,Be=!ss(S),Ae;if(Be&&(Ae=j&&j.onVnodeBeforeUnmount)&&Et(Ae,T,S),Q&6)xe(S.component,k,P);else{if(Q&128){S.suspense.unmount(k,P);return}fe&&dr(S,null,T,"beforeUnmount"),Q&64?S.type.remove(S,T,k,N,Ne,P):D&&($!==xt||G>0&&G&64)?we(D,T,k,!1,!0):($===xt&&G&384||!N&&Q&16)&&we(z,T,k),P&&le(S)}(Be&&(Ae=j&&j.onVnodeUnmounted)||fe)&&Xe(()=>{Ae&&Et(Ae,T,S),fe&&dr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:P,transition:N}=S;if(T===xt){J(k,P);return}if(T===gs){_(S);return}var $=()=>{a(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(S.shapeFlag&1&&N&&!N.persisted){var{leave:j,delayLeave:B}=N,z=()=>j(k,$);B?B(S.el,$,z):z()}else $()},J=(S,T)=>{for(var k;S!==T;)k=p(S),a(S),S=k;a(T)},xe=(S,T,k)=>{var{bum:P,scope:N,update:$,subTree:j,um:B}=S;P&&Io(P),N.stop(),$&&($.active=!1,he(j,S,T,k)),B&&Xe(B,T),Xe(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},we=function(S,T,k){for(var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=$;jS.shapeFlag&6?Ve(S.component.subTree):S.shapeFlag&128?S.suspense.next():p(S.anchor||S.el),sr=(S,T,k)=>{if(S==null)T._vnode&&he(T._vnode,null,null,!0);else{var P=T.__vueParent;w(T._vnode||null,S,T,null,P,null,k)}T._vnode=S},Ne={p:w,um:he,m:se,r:le,mt:H,mc:O,pc:K,pbc:R,n:Ve,o:e},va,da;return t&&([va,da]=t(Ne)),{render:sr,hydrate:va,createApp:e_(sr,va)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var a_=e=>e.__isTeleport,n_=Symbol(),xt=Symbol(void 0),hs=Symbol(void 0),Hr=Symbol(void 0),gs=Symbol(void 0),Vf=null,jf=1;function Yf(e){jf+=e}function en(e){return e?e.__v_isVNode===!0:!1}function ki(e,t){return e.type===t.type&&e.key===t.key}var tn="__vInternal",qf=e=>{var{key:t}=e;return t!=null?t:null},rn=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||$e(t)||oe(t)?{i:dt,r:t,k:r,f:!!i}:t:null};function o_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===xt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&rn(t),scopeId:xf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(ps(l,r),n&128&&e.normalize(l)):r&&(l.shapeFlag|=Ee(r)?8:16),jf>0&&!o&&Vf&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Vf.push(l),l}var I=s_;function s_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===n_)&&(e=Hr),en(e)){var o=Mi(e,t,!0);return r&&ps(o,r),o}if(__(e)&&(e=e.__vccOpts),t){t=l_(t);var{class:s,style:l}=t;s&&!Ee(s)&&(t.class=yo(s)),We(l)&&(ff(l)&&!ne(l)&&(l=ce({},l)),t.style=wo(l))}var u=Ee(e)?1:k0(e)?128:a_(e)?64:We(e)?4:oe(e)?2:0;return o_(e,t,r,i,a,u,n,!0)}function l_(e){return e?ff(e)||tn in e?ce({},e):e:null}function Mi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?rt(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&qf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(rn(t)):[a,rn(t)]:rn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mi(e.ssContent),ssFallback:e.ssFallback&&Mi(e.ssFallback),el:e.el,anchor:e.anchor};return l}function u_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(hs,null,e,t)}function St(e){return e==null||typeof e=="boolean"?I(Hr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Kt(e):I(hs,null,String(e))}function Kt(e){return e.el===null||e.memo?e:Mi(e)}function ps(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&65){var a=t.default;a&&(a._c&&(a._d=!1),ps(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(tn in t)?t._ctx=dt:n===3&&dt&&(dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:dt},r=32):(t=String(t),i&64?(r=16,t=[u_(t)]):r=8);e.children=t,e.shapeFlag|=r}function rt(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;vt(e,t,7,[r,i])}var ms=e=>e?Xf(e)?nn(e)||e.proxy:ms(e.parent):null,an=ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ms(e.parent),$root:e=>ms(e.root),$emit:e=>e.emit,$options:e=>Mf(e),$forceUpdate:e=>()=>pf(e.update),$nextTick:e=>Ur.bind(e.proxy),$watch:e=>L0.bind(e)}),f_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:l,appContext:u}=r,f;if(t[0]!=="$"){var d=s[t];if(d!==void 0)switch(d){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];us&&(s[t]=0)}}var p=an[t],g,y;if(p)return t==="$attrs"&&et(r,"get",t),p(r);if((g=l.__cssModules)&&(g=g[t]))return g;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(y=u.config.globalProperties,ie(y,t))return y[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;return n!==Se&&ie(n,t)?(n[t]=r,!0):a!==Se&&ie(a,t)?(a[t]=r,!0):ie(i.props,t)||t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,l;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(l=s[0])&&ie(l,t)||ie(n,t)||ie(an,t)||ie(o.config.globalProperties,t)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ie(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},c_=Hf(),v_=0;function d_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||c_,n={uid:v_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new zm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Pf(i,a),emitsOptions:yf(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=E0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Dt=()=>Ue||dt,Wr=e=>{Ue=e,e.scope.on()},gr=()=>{Ue&&Ue.scope.off(),Ue=null};function Xf(e){return e.vnode.shapeFlag&4}var Ri=!1;function h_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ri=t;var{props:r,children:i}=e.vnode,a=Xf(e);X0(e,r,a,t),G0(e,i);var n=a?g_(e,t):void 0;return Ri=!1,n}function g_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=qa(new Proxy(e.ctx,f_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?m_(e):null;Wr(e),Dr();var n=qt(i,e,0,[e.props,a]);if(Br(),gr(),bu(n)){if(n.then(gr,gr),t)return n.then(o=>{Zf(e,o,t)}).catch(o=>{Xa(o,e,0)});e.asyncDep=n}else Zf(e,n,t)}else Gf(e,t)}function Zf(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=hf(t)),Gf(e,r)}var Kf;function Gf(e,t,r){var i=e.type;if(!e.render){if(!t&&Kf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=ce(ce({isCustomElement:n,delimiters:s},o),l);i.render=Kf(a,u)}}e.render=i.render||mt}Wr(e),Dr(),W0(e),Br(),gr()}function p_(e){return new Proxy(e.attrs,{get(t,r){return et(e,"get","$attrs"),t[r]}})}function m_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=p_(e))},slots:e.slots,emit:e.emit,expose:t}}function nn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hf(qa(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in an)return an[r](e)}}))}function __(e){return oe(e)&&"__vccOpts"in e}var ee=(e,t)=>_0(e,t,Ri);function b_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?en(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&en(r)&&(r=[r]),I(e,t,r))}var w_="3.2.33",y_="http://www.w3.org/2000/svg",pr=typeof document!="undefined"?document:null,Jf=pr&&pr.createElement("template"),x_={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var a=t?pr.createElementNS(y_,e):pr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>pr.createTextNode(e),createComment:e=>pr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i,a,n){var o=r?r.previousSibling:t.lastChild;if(a&&(a===n||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===n||!(a=a.nextSibling)););else{Jf.innerHTML=i?"".concat(e,""):e;var s=Jf.content;if(i){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function S_(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function E_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)_s(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&_s(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=normalizeStyleValue(r)):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var Qf=/\s*!important$/;function _s(e,t,r){if(ne(r))r.forEach(a=>_s(e,t,a));else if(r==null&&(r=""),r=normalizeStyleValue(r),t.startsWith("--"))e.setProperty(t,r);else{var i=normalizeStyleName(e,t);Qf.test(r)?e.setProperty(Je(i),r.replace(Qf,""),"important"):e[i]=r}}var ec="http://www.w3.org/1999/xlink";function T_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ec,t.slice(6,t.length)):e.setAttributeNS(ec,t,r);else{var n=vp(t);r==null||n&&!mu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function C_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}var l=!1;if(r===""||r==null){var u=typeof e[t];u==="boolean"?r=mu(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch(f){}l&&e.removeAttribute(t)}var[tc,O_]=(()=>{var e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());var r=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(r&&Number(r[1])<=53)}return[e,t]})(),bs=0,A_=Promise.resolve(),I_=()=>{bs=0},k_=()=>bs||(A_.then(I_),bs=tc());function M_(e,t,r,i){e.addEventListener(t,r,i)}function R_(e,t,r,i){e.removeEventListener(t,r,i)}function L_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,l]=P_(t);if(i){var u=n[t]=N_(i,a);M_(e,s,u,l)}else o&&(R_(e,s,o,l),n[t]=void 0)}}var rc=/(?:Once|Passive|Capture)$/;function P_(e){var t;if(rc.test(e)){t={};for(var r;r=e.match(rc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}function N_(e,t){var r=i=>{var a=i.timeStamp||tc();(O_||a>=r.attached-1)&&vt(D_(i,r.value),t,5,[i])};return r.value=e,r.attached=k_(),r}function D_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}var ic=/^on[a-z]/,B_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?S_(e,i,a):t==="style"?E_(e,r,i):Ma(t)?xo(t)||L_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):F_(e,t,i,a))?C_(e,t,i,n,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),T_(e,t,i,a))};function F_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ic.test(t)&&oe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ic.test(t)&&Ee(r)?!1:t in e}var $_=["ctrl","shift","alt","meta"],z_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>$_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},ws=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Pi(e,!1)}):Pi(e,i))},beforeUnmount(e,t){var{value:r}=t;Pi(e,r)}};function Pi(e,t){e.style.display=t?e._vod:"none"}var U_=ce({patchProp:B_},x_),ac;function H_(){return ac||(ac=t_(U_))}var nc=function(){var e=H_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=W_(r);if(!!i){var a=e._component;!oe(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function W_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var oc=["top","left","right","bottom"],ys,on={},ot;function xs(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function sc(){if(ot=typeof ot=="string"?ot:xs(),!ot){oc.forEach(function(s){on[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(f){var d=l[f];u[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,l){var u=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),p=document.createElement("div"),g=100,y=1e4,m={position:"absolute",width:g+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+l+")"};e(u,m),e(f,m),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(p,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(d),f.appendChild(p),s.appendChild(u),s.appendChild(f),r(function(){u.scrollTop=f.scrollTop=y;var h=u.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===u?h:b)&&(u.scrollTop=f.scrollTop=y,h=u.scrollTop,b=f.scrollTop,V_(l))}u.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var w=getComputedStyle(u);Object.defineProperty(on,l,{configurable:!0,get:function(){return parseFloat(w.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),oc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),ys=!0}function sn(e){return ys||sc(),on[e]}var ln=[];function V_(e){ln.length||setTimeout(function(){var t={};ln.forEach(function(r){t[r]=on[r]}),ln.length=0,un.forEach(function(r){r(t)})},0),ln.push(e)}var un=[];function j_(e){!xs()||(ys||sc(),typeof e=="function"&&un.push(e))}function Y_(e){var t=un.indexOf(e);t>=0&&un.splice(t,1)}var q_={get support(){return(typeof ot=="string"?ot:xs()).length!=0},get top(){return sn("top")},get left(){return sn("left")},get right(){return sn("right")},get bottom(){return sn("bottom")},onChange:j_,offChange:Y_},fn=q_,lc=ws(()=>{},["prevent"]);function cn(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Ss(){var e=document.documentElement.style,t=cn(e,"--window-top");return t?t+fn.top:0}function X_(){var e=document.documentElement.style,t=Ss(),r=cn(e,"--window-bottom"),i=cn(e,"--window-left"),a=cn(e,"--window-right");return{top:t,bottom:r?r+fn.bottom:0,left:i?i+fn.left:0,right:a?a+fn.right:0}}function Z_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function vn(e){return Symbol(e)}function uc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Vr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return K_(e);if(typeof e=="string"){var r=parseInt(e)||0;return uc(e)?uni.upx2px(r):r}return e}function K_(e){return uc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var G_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",J_="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",Q_="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",eb="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",tb="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",dn="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",rb="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",ib="M15.84 0.096q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",ab="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function hn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function gn(){return Gt()}function nb(){return window.__PAGE_INFO__}function Gt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function ob(e){e.preventDefault()}var fc,cc=0;function sb(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:u}=document.documentElement,f=window.innerHeight,d=window.scrollY,p=d>0&&u>f&&d+f+i>=u,g=Math.abs(u-cc)>i;return p&&(!n||g)?(cc=u,n=!0,!0):(!p&&n&&(n=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(u()||(fc=setTimeout(u,300))),a=!1};return function(){clearTimeout(fc),a||requestAnimationFrame(l),a=!0}}function Es(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Es(e,t.slice(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Ro(n.concat(r).join("/"))}var jr,vc,Yr;function dc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function hc(){return jr.webview.currentWebview().id}var pn,Ts,Cs={};function Os(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Cs[r];i&&i(t),t.keep||delete Cs[r]}}function lb(e,t){dc()==="v8"?Yr?(pn&&pn.close(),pn=new Yr(hc()),pn.onmessage=Os):Ts||(Ts=vc.requireModule("globalEvent"),Ts.addEventListener("plusMessage",Os)):window.__plusMessage=Os,Cs[e]=t}class ub{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Yr){var a=new Yr(i);a.postMessage(r)}else jr.webview.postMessageToUniNView&&jr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function fb(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;jr=t.plus||plus,vc=t.weex||(typeof weex=="object"?weex:null),Yr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());a=ce({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ce(s,a.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(r,".js"),defaultFontSize:16,viewport:jr.screen.resolutionWidth}};a=ce(u,a);var f=jr.webview.create("",l,a,{extras:{from:hc(),runtime:dc(),data:i,useGlobalEvent:!Yr}});return f.addEventListener("close",o),lb(l,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new ub(f)}class cb{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=gc(this.$el.querySelector(t));if(!!r)return As(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];oe(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Rp,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function As(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new cb(e)),e.$el.__wxsComponentDescriptor}function Ni(e,t){return As(e)}function gc(e){if(!!e)return qr(e)}function qr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var vb=e=>e.type==="click";function pc(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=mc(e,a);if(vb(e))hb(n,e);else if(e instanceof TouchEvent){var o=Ss();n.touches=_c(e.touches,o),n.changedTouches=_c(e.changedTouches,o)}return[n]}function db(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function mc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,{type:r,timeStamp:i,target:a,currentTarget:n}=e,o={type:r,timeStamp:i,target:Po(t?a:db(a)),detail:{},currentTarget:Po(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function hb(e,t){var{x:r,y:i}=t,a=Ss();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[gb(t,a)]}function gb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function _c(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Gt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},pb)}function Sb(e,t){var r=e[0];if(!(!t||!_t(t.formatArgs)&&_t(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Ob(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ab=0;function Ib(e,t,r){var i="".concat(Date.now()).concat(Ab++),a=e.split(","),n=a[0],o=a[1],s=(n.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(i,".").concat(s),u="".concat(t,"/").concat(l),f=t.indexOf("/"),d=t.substring(0,f),p=t.substring(f+1);plus.io.resolveLocalFileSystemURL(d,function(g){g.getDirectory(p,{create:!0,exclusive:!1},function(y){y.getFile(l,{create:!0,exclusive:!1},function(m){m.createWriter(function(w){w.onwrite=function(){r(null,u)},w.onerror=r,w.seek(0),w.writeAsBinary(o)},r)},r)},r)},r)}function kb(e){return new Promise(function(t,r){function i(){var a=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));a.load(e,function(){t(a.toBase64Data()),a.clear()},function(n){a.clear(),r(n)})}plus.io.resolveLocalFileSystemURL(e,function(a){a.file(function(n){var o=new plus.io.FileReader;o.onload=function(s){t(s.target.result)},o.onerror=i,o.readAsDataURL(n)},i)},i)})}function Mb(e){return new Promise(function(t,r){if(e.indexOf("http://")!==0&&e.indexOf("https://")!==0){t(e);return}plus.downloader.createDownload(e,{filename:"_doc/uniapp_temp/download/"},function(i,a){a===200?t(i.filename):r(new Error("network fail"))}).start()})}function Rb(e){return Mb(e).then(function(t){var r=window;return r.webkit&&r.webkit.messageHandlers?kb(t):plus.io.convertLocalFileSystemURL(t)})}var Bt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(n[l]=s[l])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,l,u){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+l),u);return}for(var f=0;f=0;)e[t]=0}var Db=0,Tc=1,Bb=2,Fb=3,$b=258,ks=29,Bi=256,Fi=Bi+1+ks,Kr=30,Ms=19,Cc=2*Fi+1,mr=15,Rs=16,zb=7,Ls=256,Oc=16,Ac=17,Ic=18,Ps=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],mn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ub=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],kc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Hb=512,Ft=new Array((Fi+2)*2);Zr(Ft);var $i=new Array(Kr*2);Zr($i);var zi=new Array(Hb);Zr(zi);var Ui=new Array($b-Fb+1);Zr(Ui);var Ns=new Array(ks);Zr(Ns);var _n=new Array(Kr);Zr(_n);function Ds(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Mc,Rc,Lc;function Bs(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Pc(e){return e<256?zi[e]:zi[256+(e>>>7)]}function Hi(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,r){e.bi_valid>Rs-r?(e.bi_buf|=t<>Rs-e.bi_valid,e.bi_valid+=r-Rs):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Wb(e){e.bi_valid===16?(Hi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Vb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,u,f,d,p,g,y,m=0;for(p=0;p<=mr;p++)e.bl_count[p]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(p=l,m++),r[f*2+1]=p,!(f>i)&&(e.bl_count[p]++,g=0,f>=s&&(g=o[f-s]),y=r[f*2],e.opt_len+=y*(p+g),n&&(e.static_len+=y*(a[f*2+1]+g)));if(m!==0){do{for(p=l-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[l]--,m-=2}while(m>0);for(p=l;p!==0;p--)for(f=e.bl_count[p];f!==0;)d=e.heap[--u],!(d>i)&&(r[d*2+1]!==p&&(e.opt_len+=(p-r[d*2+1])*r[d*2],r[d*2+1]=p),f--)}}function Dc(e,t,r){var i=new Array(mr+1),a=0,n,o;for(n=1;n<=mr;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Nc(i[s]++,s))}}function jb(){var e,t,r,i,a,n=new Array(mr+1);for(r=0,i=0;i>=7;i8?Hi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Yb(e,t,r,i){Fc(e),i&&(Hi(e,r),Hi(e,~r)),Lb.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function $c(e,t,r,i){var a=t*2,n=r*2;return e[a]>1;o>=1;o--)Fs(e,r,o);u=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Fs(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[u*2]=r[o*2]+r[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=u,e.heap[1]=u++,Fs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Vb(e,t),Dc(r,l,e.bl_count)}function Uc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[kc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Xb(e,t,r,i){var a;for(Ze(e,t-257,5),Ze(e,r-1,5),Ze(e,i-4,4),a=0;a>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Sc;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Ec;for(r=32;r0?(e.strm.data_type===Nb&&(e.strm.data_type=Zb(e)),$s(e,e.l_desc),$s(e,e.d_desc),o=qb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?Vc(e,t,r,i):e.strategy===Pb||n===a?(Ze(e,(Tc<<1)+(i?1:0),3),zc(e,Ft,$i)):(Ze(e,(Bb<<1)+(i?1:0),3),Xb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),zc(e,e.dyn_ltree,e.dyn_dtree)),Bc(e),i&&Fc(e)}function Qb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Ui[r]+Bi+1)*2]++,e.dyn_dtree[Pc(t)*2]++),e.last_lit===e.lit_bufsize-1}Xr._tr_init=Kb,Xr._tr_stored_block=Vc,Xr._tr_flush_block=Jb,Xr._tr_tally=Qb,Xr._tr_align=Gb;function ew(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var jc=ew;function tw(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var rw=tw();function iw(e,t,r,i){var a=rw,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Yc=iw,zs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qe=Bt,lt=Xr,qc=jc,Jt=Yc,aw=zs,_r=0,nw=1,ow=3,Qt=4,Xc=5,Ot=0,Zc=1,ut=-2,sw=-3,Us=-5,lw=-1,uw=1,bn=2,fw=3,cw=4,vw=0,dw=2,wn=8,hw=9,gw=15,pw=8,mw=29,_w=256,Hs=_w+1+mw,bw=30,ww=19,yw=2*Hs+1,xw=15,ve=3,er=258,ht=er+ve+1,Sw=32,yn=42,Ws=69,xn=73,Sn=91,En=103,br=113,Wi=666,Pe=1,Vi=2,wr=3,Gr=4,Ew=3;function tr(e,t){return e.msg=aw[t],t}function Kc(e){return(e<<1)-(e>4?9:0)}function rr(e){for(var t=e.length;--t>=0;)e[t]=0}function ir(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(qe.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function He(e,t){lt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ir(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function ji(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Tw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,qe.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=qc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Jt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function Gc(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-ht?e.strstart-(e.w_size-ht):0,u=e.window,f=e.w_mask,d=e.prev,p=e.strstart+er,g=u[i+o-1],y=u[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==y||u[a+o-1]!==g||u[a]!==u[i]||u[++a]!==u[i+1])){i+=2,a++;do;while(u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&io){if(e.match_start=t,o=n,n>=s)break;g=u[i+o-1],y=u[i+o]}}while((t=d[t&f])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function yr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ht)){qe.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=Tw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===_r)return Pe;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ht&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Pe)}function Vs(e,t){for(var r,i;;){if(e.lookahead=ve&&(e.ins_h=(e.ins_h<=ve)if(i=lt._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=ve&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=lt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+er;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=lt._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function Aw(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===_r)return Pe;break}if(e.match_length=0,r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function At(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var Qr;Qr=[new At(0,0,0,0,Cw),new At(4,4,8,4,Vs),new At(4,5,16,8,Vs),new At(4,6,32,32,Vs),new At(4,4,16,16,Jr),new At(8,16,32,32,Jr),new At(8,16,128,128,Jr),new At(8,32,128,256,Jr),new At(32,128,258,1024,Jr),new At(32,258,258,4096,Jr)];function Iw(e){e.window_size=2*e.w_size,rr(e.head),e.max_lazy_match=Qr[e.level].max_lazy,e.good_match=Qr[e.level].good_length,e.nice_match=Qr[e.level].nice_length,e.max_chain_length=Qr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function kw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wn,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qe.Buf16(yw*2),this.dyn_dtree=new qe.Buf16((2*bw+1)*2),this.bl_tree=new qe.Buf16((2*ww+1)*2),rr(this.dyn_ltree),rr(this.dyn_dtree),rr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(xw+1),this.heap=new qe.Buf16(2*Hs+1),rr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*Hs+1),rr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Jc(e){var t;return!e||!e.state?tr(e,ut):(e.total_in=e.total_out=0,e.data_type=dw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?yn:br,e.adler=t.wrap===2?0:1,t.last_flush=_r,lt._tr_init(t),Ot)}function Qc(e){var t=Jc(e);return t===Ot&&Iw(e.state),t}function Mw(e,t){return!e||!e.state||e.state.wrap!==2?ut:(e.state.gzhead=t,Ot)}function ev(e,t,r,i,a,n){if(!e)return ut;var o=1;if(t===lw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>hw||r!==wn||i<8||i>15||t<0||t>9||n<0||n>cw)return tr(e,ut);i===8&&(i=9);var s=new kw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Xc||t<0)return e?tr(e,ut):ut;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Wi&&t!==Qt)return tr(e,e.avail_out===0?Us:ut);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===yn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=bn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Jt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Ws):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=bn||i.level<2?4:0),pe(i,Ew),i.status=br);else{var o=wn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=bn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=Sw),o+=31-o%31,i.status=br,ji(i,o),i.strstart!==0&&(ji(i,e.adler>>>16),ji(i,e.adler&65535)),e.adler=1}if(i.status===Ws)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=Sn)}else i.status=Sn;if(i.status===Sn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=En)}else i.status=En;if(i.status===En&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ir(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=br)):i.status=br),i.pending!==0){if(ir(e),e.avail_out===0)return i.last_flush=-1,Ot}else if(e.avail_in===0&&Kc(t)<=Kc(r)&&t!==Qt)return tr(e,Us);if(i.status===Wi&&e.avail_in!==0)return tr(e,Us);if(e.avail_in!==0||i.lookahead!==0||t!==_r&&i.status!==Wi){var l=i.strategy===bn?Aw(i,t):i.strategy===fw?Ow(i,t):Qr[i.level].func(i,t);if((l===wr||l===Gr)&&(i.status=Wi),l===Pe||l===wr)return e.avail_out===0&&(i.last_flush=-1),Ot;if(l===Vi&&(t===nw?lt._tr_align(i):t!==Xc&&(lt._tr_stored_block(i,0,0,!1),t===ow&&(rr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ir(e),e.avail_out===0))return i.last_flush=-1,Ot}return t!==Qt?Ot:i.wrap<=0?Zc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(ji(i,e.adler>>>16),ji(i,e.adler&65535)),ir(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ot:Zc)}function Pw(e){var t;return!e||!e.state?ut:(t=e.state.status,t!==yn&&t!==Ws&&t!==xn&&t!==Sn&&t!==En&&t!==br&&t!==Wi?tr(e,ut):(e.state=null,t===br?tr(e,sw):Ot))}function Nw(e,t){var r=t.length,i,a,n,o,s,l,u,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==yn||i.lookahead))return ut;for(o===1&&(e.adler=qc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(rr(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new qe.Buf8(i.w_size),qe.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,l=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<=252?6:ar>=248?5:ar>=240?4:ar>=224?3:ar>=192?2:1;Yi[254]=Yi[254]=1,xr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function iv(e,t){if(t<65534&&(e.subarray&&rv||!e.subarray&&tv))return String.fromCharCode.apply(null,Tn.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return iv(s,i)},xr.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Yi[e[r]]>t?r:t};function Dw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var av=Dw,qi=Tt,Xi=Bt,js=xr,Ys=zs,Bw=av,nv=Object.prototype.toString,Fw=0,qs=4,ei=0,ov=1,sv=2,$w=-1,zw=0,Uw=8;function Sr(e){if(!(this instanceof Sr))return new Sr(e);this.options=Xi.assign({level:$w,method:Uw,chunkSize:16384,windowBits:15,memLevel:8,strategy:zw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bw,this.strm.avail_out=0;var r=qi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ei)throw new Error(Ys[r]);if(t.header&&qi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=js.string2buf(t.dictionary):nv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=qi.deflateSetDictionary(this.strm,i),r!==ei)throw new Error(Ys[r]);this._dict_set=!0}}Sr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?qs:Fw,typeof e=="string"?r.input=js.string2buf(e):nv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Xi.Buf8(i),r.next_out=0,r.avail_out=i),a=qi.deflate(r,n),a!==ov&&a!==ei)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===qs||n===sv))&&(this.options.to==="string"?this.onData(js.buf2binstring(Xi.shrinkBuf(r.output,r.next_out))):this.onData(Xi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==ov);return n===qs?(a=qi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ei):(n===sv&&(this.onEnd(ei),r.avail_out=0),!0)},Sr.prototype.onData=function(e){this.chunks.push(e)},Sr.prototype.onEnd=function(e){e===ei&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Xi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Xs(e,t){var r=new Sr(t);if(r.push(e,!0),r.err)throw r.msg||Ys[r.err];return r.result}function Hw(e,t){return t=t||{},t.raw=!0,Xs(e,t)}function Ww(e,t){return t=t||{},t.gzip=!0,Xs(e,t)}Di.Deflate=Sr,Di.deflate=Xs,Di.deflateRaw=Hw,Di.gzip=Ww;var Zi={},gt={},Cn=30,Vw=12,jw=function(t,r){var i,a,n,o,s,l,u,f,d,p,g,y,m,w,h,b,c,v,_,x,E,C,O,M,R;i=t.state,a=t.next_in,M=t.input,n=a+(t.avail_in-5),o=t.next_out,R=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=i.dmax,f=i.wsize,d=i.whave,p=i.wnext,g=i.window,y=i.hold,m=i.bits,w=i.lencode,h=i.distcode,b=(1<>>24,y>>>=_,m-=_,_=v>>>16&255,_===0)R[o++]=v&65535;else if(_&16){x=v&65535,_&=15,_&&(m<_&&(y+=M[a++]<>>=_,m-=_),m<15&&(y+=M[a++]<>>24,y>>>=_,m-=_,_=v>>>16&255,_&16){if(E=v&65535,_&=15,m<_&&(y+=M[a++]<u){t.msg="invalid distance too far back",i.mode=Cn;break e}if(y>>>=_,m-=_,_=o-s,E>_){if(_=E-_,_>d&&i.sane){t.msg="invalid distance too far back",i.mode=Cn;break e}if(C=0,O=g,p===0){if(C+=f-_,_2;)R[o++]=O[C++],R[o++]=O[C++],R[o++]=O[C++],x-=3;x&&(R[o++]=O[C++],x>1&&(R[o++]=O[C++]))}else{C=o-E;do R[o++]=R[C++],R[o++]=R[C++],R[o++]=R[C++],x-=3;while(x>2);x&&(R[o++]=R[C++],x>1&&(R[o++]=R[C++]))}}else if((_&64)===0){v=h[(v&65535)+(y&(1<<_)-1)];continue r}else{t.msg="invalid distance code",i.mode=Cn;break e}break}}else if((_&64)===0){v=w[(v&65535)+(y&(1<<_)-1)];continue t}else if(_&32){i.mode=Vw;break e}else{t.msg="invalid literal/length code",i.mode=Cn;break e}break}}while(a>3,a-=x,m-=x<<3,y&=(1<=1&&U[g]===0;g--);if(y>g&&(y=g),g===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(p=1;p0&&(t===cv||g!==1))return-1;for(te[1]=0,f=1;fuv||t===vv&&b>fv)return 1;for(;;){q=f-w,s[d]R?(re=L[H+s[d]],V=O[M+s[d]]):(re=32+64,V=0),v=1<>w)+_]=q<<24|re<<16|V|0;while(_!==0);for(v=1<>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--U[f]===0){if(f===g)break;f=r[i+s[d]]}if(f>y&&(c&E)!==x){for(w===0&&(w=y),C+=p,m=f-w,h=1<uv||t===vv&&b>fv)return 1;x=c&E,n[x]=y<<24|m<<16|C-o|0}}return c!==0&&(n[C+c]=f-w<<24|64<<16|0),l.bits=y,0},it=Bt,Ks=jc,It=Yc,Gw=jw,Ki=Kw,Jw=0,dv=1,hv=2,gv=4,Qw=5,On=6,Er=0,e1=1,t1=2,ft=-2,pv=-3,mv=-4,r1=-5,_v=8,bv=1,wv=2,yv=3,xv=4,Sv=5,Ev=6,Tv=7,Cv=8,Ov=9,Av=10,An=11,$t=12,Gs=13,Iv=14,Js=15,kv=16,Mv=17,Rv=18,Lv=19,In=20,kn=21,Pv=22,Nv=23,Dv=24,Bv=25,Fv=26,Qs=27,$v=28,zv=29,Oe=30,Uv=31,i1=32,a1=852,n1=592,o1=15,s1=o1;function Hv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function l1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new it.Buf16(320),this.work=new it.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Wv(e){var t;return!e||!e.state?ft:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=bv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new it.Buf32(a1),t.distcode=t.distdyn=new it.Buf32(n1),t.sane=1,t.back=-1,Er)}function Vv(e){var t;return!e||!e.state?ft:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Wv(e))}function jv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ft:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,Vv(e))}function Yv(e,t){var r,i;return e?(i=new l1,e.state=i,i.window=null,r=jv(e,t),r!==Er&&(e.state=null),r):ft}function u1(e){return Yv(e,s1)}var qv=!0,el,tl;function f1(e){if(qv){var t;for(el=new it.Buf32(512),tl=new it.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ki(dv,e.lens,0,288,el,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ki(hv,e.lens,0,32,tl,0,e.work,{bits:5}),qv=!1}e.lencode=el,e.lenbits=9,e.distcode=tl,e.distbits=5}function Xv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(it.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),it.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(it.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave>>8&255,r.check=It(r.check,O,2,0),u=0,f=0,r.mode=wv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=Oe;break}if((u&15)!==_v){e.msg="unknown compression method",r.mode=Oe;break}if(u>>>=4,f-=4,E=(u&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Oe;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0,r.mode=yv;case yv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,r.check=It(r.check,O,4,0)),u=0,f=0,r.mode=xv;case xv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>8),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0,r.mode=Sv;case Sv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0}else r.head&&(r.head.extra=null);r.mode=Ev;case Ev:if(r.flags&1024&&(g=r.length,g>s&&(g=s),g&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),it.arraySet(r.head.extra,i,n,g,E)),r.flags&512&&(r.check=It(r.check,i,g,n)),s-=g,n+=g,r.length-=g),r.length))break e;r.length=0,r.mode=Tv;case Tv:if(r.flags&2048){if(s===0)break e;g=0;do E=i[n+g++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&g>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=$t;break;case Av:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<>>=f&7,f-=f&7,r.mode=Qs;break}for(;f<3;){if(s===0)break e;s--,u+=i[n++]<>>=1,f-=1,u&3){case 0:r.mode=Iv;break;case 1:if(f1(r),r.mode=In,t===On){u>>>=2,f-=2;break e}break;case 2:r.mode=Mv;break;case 3:e.msg="invalid block type",r.mode=Oe}u>>>=2,f-=2;break;case Iv:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Oe;break}if(r.length=u&65535,u=0,f=0,r.mode=Js,t===On)break e;case Js:r.mode=kv;case kv:if(g=r.length,g){if(g>s&&(g=s),g>l&&(g=l),g===0)break e;it.arraySet(a,i,n,g,o),s-=g,n+=g,l-=g,o+=g,r.length-=g;break}r.mode=$t;break;case Mv:for(;f<14;){if(s===0)break e;s--,u+=i[n++]<>>=5,f-=5,r.ndist=(u&31)+1,u>>>=5,f-=5,r.ncode=(u&15)+4,u>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Oe;break}r.have=0,r.mode=Rv;case Rv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},C=Ki(Jw,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid code lengths set",r.mode=Oe;break}r.have=0,r.mode=Lv;case Lv:for(;r.have>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<>>=h,f-=h,r.lens[r.have++]=c;else{if(c===16){for(R=h+2;f>>=h,f-=h,r.have===0){e.msg="invalid bit length repeat",r.mode=Oe;break}E=r.lens[r.have-1],g=3+(u&3),u>>>=2,f-=2}else if(c===17){for(R=h+3;f>>=h,f-=h,E=0,g=3+(u&7),u>>>=3,f-=3}else{for(R=h+7;f>>=h,f-=h,E=0,g=11+(u&127),u>>>=7,f-=7}if(r.have+g>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Oe;break}for(;g--;)r.lens[r.have++]=E}}if(r.mode===Oe)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Oe;break}if(r.lenbits=9,M={bits:r.lenbits},C=Ki(dv,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid literal/lengths set",r.mode=Oe;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},C=Ki(hv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,C){e.msg="invalid distances set",r.mode=Oe;break}if(r.mode=In,t===On)break e;case In:r.mode=kn;case kn:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,Gw(e,p),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,r.mode===$t&&(r.back=-1);break}for(r.back=0;w=r.lencode[u&(1<>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<>v)],h=w>>>24,b=w>>>16&255,c=w&65535,!(v+h<=f);){if(s===0)break e;s--,u+=i[n++]<>>=v,f-=v,r.back+=v}if(u>>>=h,f-=h,r.back+=h,r.length=c,b===0){r.mode=Fv;break}if(b&32){r.back=-1,r.mode=$t;break}if(b&64){e.msg="invalid literal/length code",r.mode=Oe;break}r.extra=b&15,r.mode=Pv;case Pv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Nv;case Nv:for(;w=r.distcode[u&(1<>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<>v)],h=w>>>24,b=w>>>16&255,c=w&65535,!(v+h<=f);){if(s===0)break e;s--,u+=i[n++]<>>=v,f-=v,r.back+=v}if(u>>>=h,f-=h,r.back+=h,b&64){e.msg="invalid distance code",r.mode=Oe;break}r.offset=c,r.extra=b&15,r.mode=Dv;case Dv:if(r.extra){for(R=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Oe;break}r.mode=Bv;case Bv:if(l===0)break e;if(g=p-l,r.offset>g){if(g=r.offset-g,g>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Oe;break}g>r.wnext?(g-=r.wnext,y=r.wsize-g):y=r.wnext-g,g>r.length&&(g=r.length),m=r.window}else m=a,y=o-r.offset,g=r.length;g>l&&(g=l),l-=g,r.length-=g;do a[o++]=m[y++];while(--g);r.length===0&&(r.mode=kn);break;case Fv:if(l===0)break e;a[o++]=r.length,l--,r.mode=kn;break;case Qs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,u|=i[n++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m1,this.strm.avail_out=0;var r=ri.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(rl[r]);if(this.header=new _1,ri.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Mn.string2buf(t.dictionary):Kv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ri.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(rl[r])}Tr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,l,u,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=Mn.binstring2buf(e):Kv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Gi.Buf8(i),r.next_out=0,r.avail_out=i),n=ri.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ri.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=Mn.utf8border(r.output,r.next_out),l=r.next_out-s,u=Mn.buf2string(r.output,s),r.next_out=l,r.avail_out=i-l,l&&Gi.arraySet(r.output,r.output,s,l,0),this.onData(u)):this.onData(Gi.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ri.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Tr.prototype.onData=function(e){this.chunks.push(e)},Tr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function il(e,t){var r=new Tr(t);if(r.push(e,!0),r.err)throw r.msg||rl[r.err];return r.result}function b1(e,t){return t=t||{},t.raw=!0,il(e,t)}Zi.Inflate=Tr,Zi.inflate=il,Zi.inflateRaw=b1,Zi.ungzip=il;var w1=Bt.assign,y1=Di,x1=Zi,S1=Zv,Gv={};w1(Gv,y1,x1,S1);var Jv=Gv,E1="upx2px",T1=1e-4,C1=750,Qv=!1,al=0,ed=0,td=960,rd=375;function O1(){var{platform:e,pixelRatio:t,windowWidth:r}=yc();al=r,ed=t,Qv=e==="ios"}function id(e,t){var r=Number(e);return isNaN(r)?t:r}function A1(){var e=__uniConfig.globalStyle||{};td=id(e.rpxCalcMaxDeviceWidth,960),rd=id(e.rpxCalcBaseDeviceWidth,375)}var ad=Cb(E1,(e,t)=>{if(al===0&&(O1(),A1()),e=Number(e),e===0)return 0;var r=t||al;r=r<=td?r:rd;var i=e/C1*r;return i<0&&(i=-i),i=Math.floor(i+T1),i===0&&(ed===1||!Qv?i=1:i=.5),e<0?-i:i});new Ru;var I1=[{name:"id",type:String,required:!0}];I1.concat({name:"componentInstance",type:Object});var nd={};nd.f={}.propertyIsEnumerable;var k1=ui,M1=vo,R1=wa,L1=nd.f,P1=function(e){return function(t){for(var r=R1(t),i=M1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!k1||L1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},od=fo,N1=P1(!1);od(od.S,"Object",{values:function(t){return N1(t)}});var D1="setPageMeta",B1="loadFontFace",F1="pageScrollTo",$1=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(v){return null}}var t=function(c){for(var v=c,_=e(v);_;)v=_.ownerDocument,_=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=y(c.rootBounds),this.boundingClientRect=y(c.boundingClientRect),this.intersectionRect=y(c.intersectionRect||g()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,_=v.width*v.height,x=this.intersectionRect,E=x.width*x.height;_?this.intersectionRatio=Number((E/_).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var _=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(_.root&&_.root.nodeType!=1&&_.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(_.rootMargin),this.thresholds=this._initThresholds(_.threshold),this.root=_.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,v){!c||!v?a=g():a=m(c,v),r.forEach(function(_){_._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(_){return _.element==c});if(!v){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(v){return v.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var v=c||[0];return Array.isArray(v)||(v=[v]),v.sort().filter(function(_,x,E){if(typeof _!="number"||isNaN(_)||_<0||_>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return _!==E[x-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",_=v.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return _[1]=_[1]||_[0],_[2]=_[2]||_[0],_[3]=_[3]||_[1],_},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var _=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=v.setInterval(_,this.POLL_INTERVAL):(u(v,"resize",_,!0),u(c,"scroll",_,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(_),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var M=c.defaultView;M&&(x&&M.clearInterval(x),f(M,"resize",_,!0)),f(c,"scroll",_,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=C){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var v=this._monitoringDocuments.indexOf(c);if(v!=-1){var _=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(O){var M=O.element.ownerDocument;if(M==c)return!0;for(;M&&M!=_;){var R=e(M);if(M=R&&R.ownerDocument,M==c)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=_){var C=e(c);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var v=0;v=0&&M>=0&&{top:_,bottom:x,left:E,right:C,width:O,height:M}||null}function p(c){var v;try{v=c.getBoundingClientRect()}catch(_){}return v?(v.width&&v.height||(v={top:v.top,right:v.right,bottom:v.bottom,left:v.left,width:v.right-v.left,height:v.bottom-v.top}),v):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function m(c,v){var _=v.top-c.top,x=v.left-c.left;return{top:_,left:x,height:v.height,width:v.width,bottom:_+v.height,right:x+v.width}}function w(c,v){for(var _=v;_;){if(_==c)return!0;_=h(_)}return!1}function h(c){var v=c.parentNode;return c.nodeType==9&&c!=t?e(c):(v&&v.assignedSlot&&(v=v.assignedSlot.parentNode),v&&v.nodeType==11&&v.host?v.host:v)}function b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function nl(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function z1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function U1(e,t,r){$1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:z1(u),intersectionRect:nl(u.intersectionRect),boundingClientRect:nl(u.boundingClientRect),relativeRect:nl(u.rootBounds),time:Date.now(),dataset:Lo(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function Z1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function sd(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=K1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function K1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function G1(e,t){return e.priority=t,e}var ol=new Set,J1=1,Rn=2,ld=3,ud=4;function zt(e,t){ol.add(G1(e,t))}function Q1(){try{[...ol].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{ol.clear()}}function fd(e,t){var r=window["__"+Ap],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var ey=xu.length;function ty(e,t,r){var[i,a,n,o]=ll(t),s=sl(e,i);if(ne(r)||ne(o)){var[l,u]=n.split(".");return ul(s,a,l,u,r||o)}return ay(s,a,n)}function ry(e,t,r){var[i,a,n]=ll(t),[o,s]=n.split("."),l=sl(e,i);return ul(l,a,o,s,[oy(r,e),Ni(qr(l))])}function sl(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function ll(e){return JSON.parse(e.slice(ey))}function iy(e,t,r,i){var[a,n,o]=ll(e),s=sl(t,a),[l,u]=o.split(".");return ul(s,n,l,u,[r,i,Ni(qr(s)),Ni(qr(t))])}function ul(e,t,r,i,a){var n=fd(t,e);if(!n)return console.error(Mo("wxs","module "+r+" not found"));var o=n[i];return oe(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ay(e,t,r){var i=fd(t,e);return i?Eu(i,r.slice(r.indexOf(".")+1)):console.error(Mo("wxs","module "+r+" not found"))}function ny(e,t,r){var i=r;return a=>{try{iy(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function oy(e,t){var r=qr(t);return Object.defineProperty(e,"instance",{get(){return Ni(r)}}),e}function cd(e,t){Object.keys(t).forEach(r=>{ly(e,t[r])})}function sy(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function ly(e,t){var r=uy(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=fy(i,r)}}function uy(e){var t=window["__"+Ip],r=t&&t[e];return r||console.error(Mo("renderjs",e+" not found"))}function fy(e,t){return t=t.default||t,t.render=()=>{},nc(t).mixin({mounted(){this.$ownerInstance=Ni(qr(e))}}).mount(document.createElement("div"))}class ii{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=yT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t,this.updateView()}insert(t,r,i){i&&this.init(i,!1);var a=this.$,n=Ke(t);r===-1?n.appendChild(a):n.insertBefore(a,Ke(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Th(this.id),sy(this),this.removeUniChildren(),this.updateView()}appendChild(t){var r=this.$.appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=this.$.insertBefore(t,r);return this.updateView(!0),i}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(Fo)===0){var i=r.replace(Fo,""),a=t[i],n=ny(this,t[r],a);zt(()=>n(a),ud),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(Fo+t);if(a)return zt(()=>i?Ur(()=>a(r)):a(r),ud),!0}updateView(t){(this.isMounted||t)&&window.dispatchEvent(new CustomEvent("updateview"))}}function vd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function fl(e){return vy(Vr(e,!0))}var cy=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,vy=e=>{if(Ee(e)&&e.indexOf("url(")!==-1){var t=e.match(cy);t&&t.length===3&&(e=e.replace(t[1],st(t[1])))}return e},dd=["Webkit"],cl={};function hd(e,t){var r=cl[t];if(r)return r;var i=Ht(t);if(i!=="filter"&&i in e)return cl[t]=i;i=Oo(i);for(var a=0;avl(e,t,a));else if(r=fl(r),t.startsWith("--"))e.setProperty(t,r);else{var i=hd(e,t);pd.test(r)?e.setProperty(Je(i),r.replace(pd,""),"important"):e[i]=r}}var dy=Su.length;function dl(e,t){return Ee(t)&&(t.indexOf(Su)===0?t=JSON.parse(t.slice(dy)):t.indexOf(xu)===0&&(t=ty(e,t))),t}function Ln(e){return e.indexOf("--")===0}function hy(e){return!!e.addWxsEvent}function md(e,t){var r=e.__listeners[t];r&&e.removeEventListener(t,r)}function _d(e,t){if(e.__listeners[t])return!0}function bd(e,t,r){var[i,a]=No(t);r===-1?md(e,i):_d(e,i)||e.addEventListener(i,e.__listeners[i]=wd(e.__id,r,a),a)}function wd(e,t,r){var i=a=>{var[n]=pc(a);n.type=Wp(a.type,r),UniViewJSBridge.publishHandler(bc,[[im,e,n]])};return t?ws(i,yd(t)):i}function yd(e){var t=[];return e&Do.prevent&&t.push("prevent"),e&Do.self&&t.push("self"),e&Do.stop&&t.push("stop"),t}function gy(e,t,r,i){var[a,n]=No(t);i===-1?md(e,a):_d(e,a)||e.addEventListener(a,e.__listeners[a]=xd(e,r,i),n)}function xd(e,t,r){var i=a=>{ry(hy(e)?e.$:e,t,pc(a)[0])};return r?ws(i,yd(r)):i}function hl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Sd extends ii{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=ke({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),r&&(W(this.$props,()=>{zt(this._update,J1)},{flush:"sync"}),this.update(!0))}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){gy(this.$,t,r,i)}addEvent(t,r){bd(this.$,t,r)}removeEvent(t){bd(this.$,t,-1)}setAttr(t,r){t===Ou?vd(this.$,r):t===Bo?gd(this.$,r):t===Da?hl(this.$,r):t===Au?this.$.__ownerId=r:t===Iu?zt(()=>cd(this,r),ld):t===Vp?this.$.innerHTML=r:t===jp?this.setText(r):this.setAttribute(t,r),this.updateView()}removeAttr(t){t===Ou?vd(this.$,""):t===Bo?gd(this.$,""):this.removeAttribute(t),this.updateView()}setAttribute(t,r){r=dl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:Ln(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:Ln(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class py extends ii{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var KT="";function Ed(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function my(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function _y(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,l={},u=[];return n.forEach(f=>{var d=f.type,p=[...f.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?p=p.map(y=>parseFloat(y)+"deg"):d.startsWith("translate")&&(p=p.map(Ed)),r.indexOf(d)>=0&&(p.length=1),u.push("".concat(d,"(").concat(p.join(","),")"));else if(i.concat(a).includes(p[0])){d=p[0];var g=p[1];l[d]=a.includes(d)?Ed(g):g}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(f=>"".concat(my(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function Td(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,l=_y(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{n()},0)}var Pn={props:["animation"],watch:{animation:{deep:!0,handler(){Td(this)}}},mounted(){Td(this)}},de=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Pn),by(e)},by=e=>(e.__reserved=!0,e.compatConfig={MODE:3},P0(e)),wy={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function gl(e){var t=F(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function ai(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Cr(e){return e.__wwe=!0,e}function Le(e,t){return(r,i,a)=>{e.value&&t(r,xy(r,i,e.value,a||{}))}}function yy(e){return(t,r)=>{e(t,mc(r))}}function xy(e,t,r,i){var a=Po(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var kt=vn("uf"),Sy=de({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=F(null);return Ey(Le(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function Ey(e){var t=[];return ze(kt,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Ty={for:{type:String,default:""}},Ji=vn("ul");function Cy(){var e=[];return ze(Ji,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var Oy=de({name:"Label",props:Ty,setup(e,t){var{slots:r}=t,i=gn(),a=Cy(),n=ee(()=>e.for||r.default&&r.default.length),o=Cr(s=>{var l=s.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Nn(e,t){Cd(e.id,t),W(()=>e.id,(r,i)=>{Od(i,t,!0),Cd(r,t,!0)}),Zt(()=>{Od(e.id,t)})}function Cd(e,t,r){var i=gn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Od(e,t,r){var i=gn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Ay={id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},Iy=de({name:"Button",props:Ay,setup(e,t){var{slots:r}=t,i=F(null);Sm();var a=_e(kt,!1),{hovering:n,binding:o}=gl(e),{t:s}=Qe(),l=Cr((f,d)=>{if(e.disabled)return f.stopImmediatePropagation();d&&i.value.click();var p=e.formType;if(p){if(!a)return;p==="submit"?a.submit(f):p==="reset"&&a.reset(f);return}e.openType==="feedback"&&ky(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),u=_e(Ji,!1);return u&&(u.addHandler(l),Ce(()=>{u.removeHandler(l)})),Nn(e,{"label-click":l}),()=>{var f=e.hoverClass,d=ai(e,"disabled"),p=ai(e,"loading"),g=ai(e,"plain"),y=f&&f!=="none";return I("uni-button",rt({ref:i,onClick:l,class:y&&n.value?f:""},y&&o,d,p,g),[r.default&&r.default()],16,["onClick"])}}});function ky(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Or=de({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=F(null),a=Ry(i),n=My(i,r,a);return Ly(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function My(e,t,r){var i=ke({width:-1,height:-1});return W(()=>ce({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Ry(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ly(e,t,r,i){ls(i),Re(()=>{t.initial&&Ur(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var ye=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?ye:1),e.height=e.offsetHeight*(t?ye:1),e.getContext("2d").__hidpi__=t}var Id=!1;function Py(){if(!Id){Id=!0;var e=function(i,a){for(var n in i)ie(i,n)&&a(i[n],n)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,l,u,f,d,p,g){if(!this.__hidpi__)return i.apply(this,arguments);n*=ye,o*=ye,s*=ye,l*=ye,u*=ye,f*=ye,d=g?d*ye:d,p=g?p*ye:p,i.call(this,a,n,o,s,l,u,f,d,p)}}(r.drawImage),ye!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*ye});else if(Array.isArray(i))for(var s=0;sPy());function kd(e){return e&&st(e)}function Dn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Md(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var Qi;function Rd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Qi||(Qi=document.createElement("canvas")),Qi.width=e,Qi.height=t,Qi}var Dy={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},By=de({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Dy,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Ny();var a=F(null),n=F(null),o=F(!1),s=yy(r),{$attrs:l,$excludeAttrs:u,$listeners:f}=Gd({excludeListeners:!0}),{_listeners:d}=Fy(e,f,s),{_handleSubscribe:p,_resize:g}=$y(e,a,o);return sa(p,la(e.canvasId),!0),Re(()=>{g()}),()=>{var{canvasId:y,disableScroll:m}=e;return I("uni-canvas",rt({"canvas-id":y,"disable-scroll":m},l.value,u.value,d.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Or,{ref:n,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Fy(e,t,r){var i=ee(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ce({},(()=>{var s={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=n[l];s[l]=u}return s})());return a.forEach(s=>{var l=o[s],u=[];l&&u.push(Cr(f=>{r(s.replace("on","").toLocaleLowerCase(),ce({},(()=>{var d={};for(var p in f)d[p]=f[p];return d})(),{touches:Md(f.currentTarget,f.touches),changedTouches:Md(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(lc),o[s]=u}),o});return{_listeners:i}}function $y(e,t,r){var i=[],a={},n=ee(()=>e.hidpi?ye:1);function o(m){var w=t.value,h=!m||w.width!==Math.floor(m.width*n.value)||w.height!==Math.floor(m.height*n.value);if(!!h)if(w.width>0&&w.height>0){var b=w.getContext("2d"),c=b.getImageData(0,0,w.width,w.height);Ad(w,e.hidpi),b.putImageData(c,0,0)}else Ad(w,e.hidpi)}function s(m,w){var{actions:h,reserve:b}=m;if(!!h){if(r.value){i.push([h,b]);return}var c=t.value,v=c.getContext("2d");b||(v.fillStyle="#000000",v.strokeStyle="#000000",v.shadowColor="#000000",v.shadowBlur=0,v.shadowOffsetX=0,v.shadowOffsetY=0,v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,c.width,c.height)),l(h);for(var _=function(C){var O=h[C],M=O.method,R=O.data,U=R[0];if(/^set/.test(M)&&M!=="setTransform"){var te=M[3].toLowerCase()+M.slice(4),L;if(te==="fillStyle"||te==="strokeStyle"){if(U==="normal")L=Dn(R[1]);else if(U==="linear"){var H=v.createLinearGradient(...R[1]);R[2].forEach(function(J){var xe=J[0],we=Dn(J[1]);H.addColorStop(xe,we)}),L=H}else if(U==="radial"){var q=R[1],re=q[0],V=q[1],K=q[2],ae=v.createRadialGradient(re,V,0,re,V,K);R[2].forEach(function(J){var xe=J[0],we=Dn(J[1]);ae.addColorStop(xe,we)}),L=ae}else if(U==="pattern"){var Te=u(R[1],h.slice(C+1),w,function(J){J&&(v[te]=v.createPattern(J,R[2]))});return Te?"continue":"break"}v[te]=L}else if(te==="globalAlpha")v[te]=Number(U)/255;else if(te==="shadow"){var se=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];R.forEach(function(J,xe){v[se[xe]]=se[xe]==="shadowColor"?Dn(J):J})}else if(te==="fontSize"){var he=v.__font__||v.font;v.__font__=v.font=he.replace(/\d+\.?\d*px/,U+"px")}else te==="lineDash"?(v.setLineDash(U),v.lineDashOffset=R[1]||0):te==="textBaseline"?(U==="normal"&&(R[0]="alphabetic"),v[te]=U):te==="font"?v.__font__=v.font=U:v[te]=U}else if(M==="fillPath"||M==="strokePath")M=M.replace(/Path/,""),v.beginPath(),R.forEach(function(J){v[J.method].apply(v,J.data)}),v[M]();else if(M==="fillText")v.fillText.apply(v,R);else if(M==="drawImage"){var le=function(){var J=[...R],xe=J[0],we=J.slice(1);if(a=a||{},!u(xe,h.slice(C+1),w,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...we.slice(4,8)],[...we.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else M==="clip"?(R.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[M].apply(v,R)},x=0;x{_.src=x}).catch(()=>{_.src=c})}})}function u(m,w,h,b){var c=a[m];return c.ready?(b(c),!0):(i.unshift([w,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var _=v.shift();_;)s({actions:_[0],reserve:_[1]},h),_=v.shift()},!1)}function f(m,w){var{x:h=0,y:b=0,width:c,height:v,destWidth:_,destHeight:x,hidpi:E=!0,dataType:C,quality:O=1,type:M="png"}=m,R=t.value,U,te=R.offsetWidth-h;c=c?Math.min(c,te):te;var L=R.offsetHeight-b;v=v?Math.min(v,L):L,E?(_=c,x=v):!_&&!x?(_=Math.round(c*n.value),x=Math.round(v*n.value)):_?x||(x=Math.round(v/c*_)):_=Math.round(c/v*x);var H=Rd(_,x),q=H.getContext("2d");(M==="jpeg"||M==="jpg")&&(M="jpeg",q.fillStyle="#fff",q.fillRect(0,0,_,x)),q.__hidpi__=!0,q.drawImageByCanvas(R,h,b,c,v,0,0,_,x,!1);var re;try{var V;if(C==="base64")U=H.toDataURL("image/".concat(M),O);else{var K=q.getImageData(0,0,_,x);U=Jv.deflateRaw(K.data,{to:"string"}),V=!0}re={data:U,compressed:V,width:_,height:x}}catch(ae){re={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(H.height=H.width=0,q.__hidpi__=!1,w)w(re);else return re}function d(m,w){var{data:h,x:b,y:c,width:v,height:_,compressed:x}=m;try{x&&(h=Jv.inflateRaw(h)),_||(_=Math.round(h.length/4/v));var E=Rd(v,_),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(h),v,_),0,0),t.value.getContext("2d").drawImage(E,b,c,v,_),E.height=E.width=0}catch(O){w({errMsg:"canvasPutImageData:fail"});return}w({errMsg:"canvasPutImageData:ok"})}function p(m,w){var{x:h=0,y:b=0,width:c,height:v,destWidth:_,destHeight:x,fileType:E,quality:C,dirname:O}=m,M=f({x:h,y:b,width:c,height:v,destWidth:_,destHeight:x,hidpi:!1,dataType:"base64",type:E,quality:C});if(!M.data||!M.data.length){w({errMsg:M.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ib(M.data,O,(R,U)=>{var te="toTempFilePath:".concat(R?"fail":"ok");R&&(te+=" ".concat(R.message)),w({errMsg:te,tempFilePath:U})})}var g={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:p};function y(m,w,h){var b=g[m];m.indexOf("_")!==0&&typeof b=="function"&&b(w,h)}return ce(g,{_resize:o,_handleSubscribe:y})}var Ld=vn("ucg"),zy={name:{type:String,default:""}},Uy=de({name:"CheckboxGroup",props:zy,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=Le(a,r);return Hy(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Hy(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Ld,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(kt,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Wy={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},Vy=de({name:"Checkbox",props:Wy,setup(e,t){var{slots:r}=t,i=F(e.checked),a=F(e.value);W([()=>e.checked,()=>e.value],u=>{var[f,d]=u;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=jy(i,a,n),l=u=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(u))};return s&&(s.addHandler(l),Ce(()=>{s.removeHandler(l)})),Nn(e,{"label-click":l}),()=>{var u=ai(e,"disabled");return I("uni-checkbox",rt(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?hn(dn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function jy(e,t,r){var i=ee(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Ld,!1);n&&n.addField(i);var o=_e(kt,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Pd,ea,Bn,nr,Fn,pl;Nr(()=>{ea=plus.os.name==="Android",Bn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){nr=e.height,Fn&&Fn()},!1);function Nd(){}function ta(e,t,r){Nr(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=pl||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(l.mode===a){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function Yy(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Nr(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function qy(e){var t=e.softinputNavBar;t&&Nr(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Dd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Bd=["keyboardheightchange"];function Fd(e,t,r){var i={};function a(n){var o,s=ee(()=>String(navigator.vendor).indexOf("Apple")===0),l=()=>{r("keyboardheightchange",{},{height:nr,duration:.25}),o&&nr===0&&ta(e,n),e.autoBlur&&o&&nr===0&&(ea||parseInt(Bn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Pd),document.addEventListener("click",Nd,!1),Fn=l,nr&&r("keyboardheightchange",{},{height:nr,duration:0}),Yy(e,i),ta(e,n)}),ea&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&nr===0&&ta(e,n)}),ea||(parseInt(Bn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ta(e,n)}),parseFloat(Bn)>=14.6&&!pl&&Nr(()=>{var f=plus.webview.currentWebview();pl=f.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Nd,!1),Fn=null,nr&&r("keyboardheightchange",{},{height:0,duration:0}),qy(i),ea&&(Pd=setTimeout(()=>{ta(e,n,!0)},300)),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{s.value&&n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var $d=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,zd=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Xy=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Zy=ni("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Ky=ni("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Gy=ni("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Jy=ni("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Qy=ni("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ex=ni("script,style");function Ud(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!ex[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,d){return d=d.replace(/|/g,"$1$2"),t.chars&&t.chars(d),""}),u("",n.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(f,d,p,g){if(d=d.toLowerCase(),Ky[d])for(;n.last()&&Gy[n.last()];)u("",n.last());if(Jy[d]&&n.last()==d&&u("",d),g=Zy[d]||!!g,g||n.push(d),t.start){var y=[];p.replace(Xy,function(m,w){var h=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Qy[w]?w:"";y.push({name:w,value:h,escaped:h.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,y,g)}}function u(f,d){if(d)for(var p=n.length-1;p>=0&&n[p]!=d;p--);else var p=0;if(p>=0){for(var g=n.length-1;g>=p;g--)t.end&&t.end(n[g]);n.length=p}}}function ni(e){for(var t={},r=e.split(","),i=0;io()),delete ml[t]}}a.push(r)}function tx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function rx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function ix(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function ax(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function nx(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),f=t.find(l.target);u==="checked"?f.format("list","unchecked"):u==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ox(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function sx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Je(s),i)}),o}function lx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Je(o),i)}),n}function ux(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Je(o),{scope:s})}),a}function fx(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&st(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function cx(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function vx(e){var t={divider:tx,ins:rx,align:ix,direction:ax,list:nx,background:ox,box:sx,font:lx,text:ux,image:fx,link:cx},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function dx(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,y=>{i&&(n.enable(!y),y||n.blur())}),W(()=>e.placeholder,y=>{i&&u(y)});function s(y){var m=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],w="",h;Ud(y,{start:function(c,v,_){if(!m.includes(c)){h=!_;return}h=!1;var x=v.map(C=>{var{name:O,value:M}=C;return"".concat(O,'="').concat(M,'"')}).join(" "),E="<".concat(c," ").concat(x," ").concat(_?"/":"",">");w+=E},end:function(c){h||(w+=""))},chars:function(c){h||(w+=c)}}),a=!0;var b=n.clipboard.convert(w);return a=!1,b}function l(){var y=n.root.innerHTML,m=n.getText(),w=n.getContents();return{html:y,text:m,delta:w}}function u(y){var m="data-placeholder",w=n.root;w.getAttribute(m)!==y&&w.setAttribute(m,y)}var f={};function d(y){var m=y?n.getFormat(y):{},w=Object.keys(m);(w.length!==Object.keys(f).length||w.find(h=>m[h]!==f[h]))&&(f=m,r("statuschange",{},m))}function p(y){var m=window.Quill;vx(m);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};y.length&&(m.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:y}});var h=t.value;n=new m(h,w);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,_=>{var x=l();if(v==="input"){if(yc().platform==="ios"){var E=(x.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;u(C)}_.stopPropagation()}else r(v,_,x)})}),n.on("text-change",()=>{o||r("input",{},l())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,_)=>(a||_.ops&&(_.ops=_.ops.filter(x=>{var{insert:E}=x;return typeof E=="string"}).map(x=>{var{insert:E}=x;return{insert:E}})),_)),i=!0,r("ready",{},{})}Re(()=>{var y=[];e.showImgSize&&y.push("DisplaySize"),e.showImgToolbar&&y.push("Toolbar"),e.showImgResize&&y.push("Resize");var m="./__uniappquill.js";Hd(window.Quill,m,()=>{if(y.length){var w="./__uniappquillimageresize.js";Hd(window.ImageResize,w,()=>{p(y)})}else p(y)})});var g=la();sa((y,m,w)=>{var{options:h,callbackId:b}=m,c,v,_;if(i){var x=window.Quill;switch(y){case"format":{var{name:E="",value:C=!1}=h;v=n.getSelection(!0);var O=n.getFormat(v)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!O;else if(E==="direction"){C=C==="rtl"&&O?!1:C;var M=n.getFormat(v).align;C==="rtl"&&!M?n.format("align","right","user"):!C&&M==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var R=n.getFormat(v).direction==="rtl";C=C==="+1",R&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,O=O==="checked"?"unchecked":O),C=O&&O!==(C||!1)||!O&&C?C:!O;n.format(E,C,"user")}break;case"insertDivider":v=n.getSelection(!0),n.insertText(v.index,gi,"user"),n.insertEmbed(v.index+1,"divider",!0,"user"),n.setSelection(v.index+2,0,"silent");break;case"insertImage":{v=n.getSelection(!0);var{src:U="",alt:te="",width:L="",height:H="",extClass:q="",data:re={}}=h,V=st(U);n.insertEmbed(v.index,"image",V,"user");var K=/^(file|blob):/.test(V)?V:!1;o=!0,n.formatText(v.index,1,"data-local",K),n.formatText(v.index,1,"alt",te),n.formatText(v.index,1,"width",L),n.formatText(v.index,1,"height",H),n.formatText(v.index,1,"class",q),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(re).map(le=>"".concat(le,"=").concat(re[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=h;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:se}=h;typeof Te=="object"?n.setContents(Te,"silent"):typeof se=="string"?n.setContents(s(se),"silent"):_="contents is missing"}break;case"getContents":c=l();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var he=x.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{he.query(le,he.Scope.INLINE)&&n.format(le,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":v=n.selection.savedRange,c={text:""},v&&v.length!==0&&(c.text=n.getText(v.index,v.length));break;case"scrollIntoView":n.scrollIntoView();break}d(v)}else _="not ready";b&&w({callbackId:b,data:ce({},c,{errMsg:"".concat(y,":").concat(_?"fail "+_:"ok")})})},g,!0)}var hx=ce({},Dd,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),gx=de({name:"Editor",props:hx,emit:["ready","focus","blur","input","statuschange",...Bd],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r);return dx(e,i,a),Fd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Wd="#10aeff",px="#f76260",Vd="#b2b2b2",mx="#f43530",_x={success:{d:rb,c:Na},success_no_circle:{d:dn,c:Na},info:{d:eb,c:Wd},warn:{d:ab,c:px},waiting:{d:ib,c:Wd},cancel:{d:G_,c:mx},download:{d:Q_,c:Na},search:{d:tb,c:Vd},clear:{d:J_,c:Vd}},bx=de({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=ee(()=>_x[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&hn(r.d,e.color||r.c,Vr(e.size))])}}}),wx={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},$n={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},yx={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},xx=de({name:"Image",props:wx,setup(e,t){var{emit:r}=t,i=F(null),a=Sx(i,e),n=Le(i,r),{fixSize:o}=Ox(i,e,a);return Ex(a,o,n),()=>{var{mode:s}=e,{imgSrc:l,modeStyle:u,src:f}=a,d;return d=l?I("img",{src:l,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:u},null,4),d,$n[s]?I(Or,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function Sx(e,t){var r=F(""),i=ee(()=>{var n="auto",o="",s=yx[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=ke({rootEl:e,src:ee(()=>t.src?st(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function Ex(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=l,e.imgSrc=u},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=l=>{var{width:u,height:f}=i;a(u,f,s),t(),o(),r("load",l,{width:u,height:f})},i.onerror=l=>{a(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ce(()=>o())}var Tx=navigator.vendor==="Google Inc.";function Cx(e){return Tx&&e>10&&(e=Math.round(e/2)*2),e}function Ox(e,t,r){var i=()=>{var{mode:n}=t,o=$n[n];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Cx(o[2](d,u))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return W(()=>t.mode,(n,o)=>{$n[o]&&a(),$n[n]&&i()}),{fixSize:i,resetSize:a}}function Ax(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),l=0;l{a=null,r=u,e.apply(this,s)},u-rzn.forEach(t=>t.userAction=e);function kx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!jd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!_l&&Yd(!0),_l++,setTimeout(()=>{!--_l&&Yd(!1)},0)},Ix)}),jd=!0}zn.push(e)}function Mx(e){var t=zn.indexOf(e);t>=0&&zn.splice(t,1)}function Rx(){var e=ke({userAction:!1});return Re(()=>{kx(e)}),Ce(()=>{Mx(e)}),{state:e}}function qd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Dt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Lx(e,t){var r=_e(kt,!1);if(!!r){var i=Dt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ce(()=>{r.removeField(a)})}}function Px(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var Nx=function(){wt(Gt(),"getSelectedTextRange",Px)},Dx=200,bl;function wl(e,t){return t==="number"&&isNaN(Number(e))&&(e=""),e===null?"":String(e)}var Xd=ce({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0}},Dd),Zd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...Bd];function Bx(e,t,r){var i=F(null),a=Le(t,r),n=ee(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=ee(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=ee(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),l=ee(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),u=wl(e.modelValue,e.type)||wl(e.value,e.type),f=ke({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return W(()=>f.focus,d=>r("update:focus",d)),W(()=>f.maxlength,d=>f.value=f.value.slice(0,d)),{fieldRef:i,state:f,trigger:a}}function Fx(e,t,r,i){var a=am(s=>{t.value=wl(s,e.type)},100,{setTimeout,clearTimeout});W(()=>e.modelValue,a),W(()=>e.value,a);var n=Ax((s,l)=>{a.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{a.cancel(),n(s,l),u&&n.flush()};return Af(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function $x(e,t){var{state:r}=Rx(),i=ee(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Dx-(Date.now()-bl);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}W(()=>e.focus,o=>{o?a():n()}),Re(()=>{bl=bl||Date.now(),i.value&&Ur(a)})}function zx(e,t,r,i,a,n){function o(){var f=e.value;f&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&f.type!=="number"&&(f.selectionStart=t.selectionStart,f.selectionEnd=t.selectionEnd)}function s(){var f=e.value;f&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&f.type!=="number"&&(f.selectionEnd=f.selectionStart=t.cursor)}function l(f){return f.type==="number"?null:f.selectionEnd}function u(){var f=e.value,d=function(m){t.focus=!0,i("focus",m,{value:t.value}),o(),s()},p=function(m,w){m.stopPropagation(),!(typeof n=="function"&&n(m,t)===!1)&&(t.value=f.value,(!t.composing||!r.ignoreCompositionEvent)&&a(m,{value:f.value,cursor:l(f)},w))},g=function(m){t.composing&&(t.composing=!1,p(m,!0)),t.focus=!1,i("blur",m,{value:t.value,cursor:l(m.target)})};f.addEventListener("change",m=>m.stopPropagation()),f.addEventListener("focus",d),f.addEventListener("blur",g),f.addEventListener("input",p),f.addEventListener("compositionstart",m=>{m.stopPropagation(),t.composing=!0,y(m)}),f.addEventListener("compositionend",m=>{m.stopPropagation(),t.composing&&(t.composing=!1,p(m)),y(m)}),f.addEventListener("compositionupdate",y);function y(m){r.ignoreCompositionEvent||i(m.type,m,{value:m.data})}}W([()=>t.selectionStart,()=>t.selectionEnd],o),W(()=>t.cursor,s),W(()=>e.value,u)}function Kd(e,t,r,i){Nx();var{fieldRef:a,state:n,trigger:o}=Bx(e,t,r),{triggerInput:s}=Fx(e,n,r,o);$x(e,a),Fd(e,a,o);var{state:l}=qd();Lx("name",n),zx(a,n,e,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var Ux=ce({},Xd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Hx=de({name:"Input",props:Ux,emits:["confirm",...Zd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=ee(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=ee(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Je(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=F(""),l,u=F(null),{fieldRef:f,state:d,scopedAttrsState:p,fixDisabledColor:g,trigger:y}=Kd(e,u,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(l&&(v.removeEventListener("blur",l),l=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",l=()=>{s.value=v.value=""},v.addEventListener("blur",l),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var _=c.maxlength;if(_>0&&v.value.length>_)return v.value=v.value.slice(0,_),c.value=v.value,!1}});W(()=>d.value,b=>{e.type==="number"&&!(s.value==="-"&&b==="")&&(s.value=b)});var m=["number","digit"],w=ee(()=>m.includes(e.type)?"0.000000000000000001":"");function h(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),y("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&g?I("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:h},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Ii(I("div",rt(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function Wx(e){return Object.keys(e).map(t=>[t,e[t]])}var Vx=["class","style"],jx=/^on[A-Z]+/,Gd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Dt(),a=es({}),n=es({}),o=es({}),s=r.concat(Vx);return i.attrs=ke(i.attrs),R0(()=>{var l=Wx(i.attrs).reduce((u,f)=>{var[d,p]=f;return s.includes(d)?u.exclude[d]=p:jx.test(d)?(t||(u.attrs[d]=p),u.listeners[d]=p):u.attrs[d]=p,u},{exclude:{},attrs:{},listeners:{}});a.value=l.attrs,n.value=l.listeners,o.value=l.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Un,ra;function Hn(){Nr(()=>{Un||(Un=plus.webview.currentWebview()),ra||(ra=(Un.getStyle()||{}).pullToRefresh||{})})}function or(e){var{disable:t}=e;ra&&ra.support&&Un.setPullToRefresh(Object.assign({},ra,{support:!t}))}function yl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{en(r)?r.type===xt?t.push(...yl(r.children)):t.push(r):Array.isArray(r)&&t.push(...yl(r))}),t}function ia(e){var t=Dt();t.rebuild=e}var Yx={scaleArea:{type:Boolean,default:!1}},qx=de({inheritAttrs:!1,name:"MovableArea",props:Yx,setup(e,t){var{slots:r}=t,i=F(null),a=F(!1),{setContexts:n,events:o}=Xx(e,i),{$listeners:s,$attrs:l,$excludeAttrs:u}=Gd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(h=>{var b=f[h],c=o["_".concat(h)];f[h]=b?[].concat(b,c):c}),Re(()=>{o._resize(),Hn(),a.value=!0});var p=[],g=[];function y(){for(var h=[],b=function(v){var _=p[v];_ instanceof Element||(_=_.el);var x=g.find(E=>_===E.rootRef.value);x&&h.push(qa(x))},c=0;c{p=i.value.children,y()});var m=h=>{g.push(h),y()},w=h=>{var b=g.indexOf(h);b>=0&&(g.splice(b,1),y())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",m),ze("removeMovableViewContext",w),()=>(r.default&&r.default(),I("uni-movable-area",rt({ref:i},l.value,u.value,f),[I(Or,{onReize:o._resize},null,8,["onReize"]),p],16))}});function Jd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Xx(e,t){var r=F(0),i=F(0),a=ke({x:null,y:null}),n=F(null),o=null,s=[];function l(m){m&&m!==1&&(e.scaleArea?s.forEach(function(w){w._setScale(m)}):o&&o._setScale(m))}function u(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,h=t.value;function b(c){for(var v=0;v{or({disable:!0});var w=m.touches;if(w&&w.length>1){var h={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.value=Jd(h),a.x=h.x,a.y=h.y,!e.scaleArea){var b=u(w[0].target),c=u(w[1].target);o=b&&b===c?b:null}}}),d=Cr(m=>{var w=m.touches;if(w&&w.length>1){m.preventDefault();var h={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Jd(h)/n.value;l(b)}a.x=h.x,a.y=h.y}}),p=Cr(m=>{or({disable:!1});var w=m.touches;w&&w.length||m.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(h){h._endScale()}):o&&o._endScale())});function g(){y(),s.forEach(function(m,w){m.setParent()})}function y(){var m=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(h,b){var c="border"+b+"Width",v="padding"+b;return h+parseFloat(m[c])+parseFloat(m[v])},0),i.value=w.height-["Top","Bottom"].reduce(function(h,b){var c="border"+b+"Width",v="padding"+b;return h+parseFloat(m[c])+parseFloat(m[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(m){s=m},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:p,_resize:g}}}var aa=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable=="undefined"||a.cancelable)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Qd,eh;function Wn(e,t,r){Ce(()=>{document.removeEventListener("mousemove",Qd),document.removeEventListener("mouseup",eh)});var i=0,a=0,n=0,o=0,s=function(g,y,m,w){if(t({cancelable:g.cancelable,target:g.target,currentTarget:g.currentTarget,preventDefault:g.preventDefault.bind(g),stopPropagation:g.stopPropagation.bind(g),touches:g.touches,changedTouches:g.changedTouches,detail:{state:y,x:m,y:w,dx:m-i,dy:w-a,ddx:m-n,ddy:w-o,timeStamp:g.timeStamp}})===!1)return!1},l=null,u,f;aa(e,"touchstart",function(g){if(u=!0,g.touches.length===1&&!l)return l=g,i=n=g.touches[0].pageX,a=o=g.touches[0].pageY,s(g,"start",i,a)}),aa(e,"mousedown",function(g){if(f=!0,!u&&!l)return l=g,i=n=g.pageX,a=o=g.pageY,s(g,"start",i,a)}),aa(e,"touchmove",function(g){if(g.touches.length===1&&l){var y=s(g,"move",g.touches[0].pageX,g.touches[0].pageY);return n=g.touches[0].pageX,o=g.touches[0].pageY,y}});var d=Qd=function(g){if(!u&&f&&l){var y=s(g,"move",g.pageX,g.pageY);return n=g.pageX,o=g.pageY,y}};document.addEventListener("mousemove",d),aa(e,"touchend",function(g){if(g.touches.length===0&&l)return u=!1,l=null,s(g,"end",g.changedTouches[0].pageX,g.changedTouches[0].pageY)});var p=eh=function(g){if(f=!1,!u&&l)return l=null,s(g,"end",g.pageX,g.pageY)};document.addEventListener("mouseup",p),aa(e,"touchcancel",function(g){if(l){u=!1;var y=l;return l=null,s(g,r?"cancel":"end",y.touches[0].pageX,y.touches[0].pageY)}})}function Vn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},Mt.prototype.ds=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Mt.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Mt.prototype.dt=function(){return-this._x_v/this._x_a},Mt.prototype.done=function(){var e=Vn(this.s().x,this._endPositionX)||Vn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Mt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Mt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function at(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}at.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(h){return(s+l*h)*Math.pow(Math.E,o*h)},dx:function(h){var b=Math.pow(Math.E,o*h);return o*(s+l*h)*b+l*b}}}if(n>0){var u=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-u*e)/(f-u),p=e-d;return{x:function(h){var b,c;return h===this._t&&(b=this._powER1T,c=this._powER2T),this._t=h,b||(b=this._powER1T=Math.pow(Math.E,u*h)),c||(c=this._powER2T=Math.pow(Math.E,f*h)),p*b+d*c},dx:function(h){var b,c;return h===this._t&&(b=this._powER1T,c=this._powER2T),this._t=h,b||(b=this._powER1T=Math.pow(Math.E,u*h)),c||(c=this._powER2T=Math.pow(Math.E,f*h)),p*u*b+d*f*c}}}var g=Math.sqrt(4*i*a-r*r)/(2*i),y=-r/2*i,m=e,w=(t-y*e)/g;return{x:function(h){return Math.pow(Math.E,y*h)*(m*Math.cos(g*h)+w*Math.sin(g*h))},dx:function(h){var b=Math.pow(Math.E,y*h),c=Math.cos(g*h),v=Math.sin(g*h);return b*(w*g*c-m*g*v)+y*b*(w*v+m*c)}}},at.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},at.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},at.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ar(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ar(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ar(t,.1)&&(t=0),Ar(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ar(i-e,.1)&&Ar(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},at.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},at.prototype.done=function(e){return e||(e=new Date().getTime()),Vn(this.x(),this._endPosition,.1)&&Ar(this.dx(),.1)},at.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},at.prototype.springConstant=function(){return this._k},at.prototype.damping=function(){return this._c},at.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function na(e,t,r){this._springX=new at(e,t,r),this._springY=new at(e,t,r),this._springScale=new at(e,t,r),this._startTime=0}na.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},na.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},na.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},na.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var Zx={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}};function th(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var Kx=de({name:"MovableView",props:Zx,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=Le(a,i),{setParent:o}=Gx(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Or,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),Sl=!1;function rh(e){Sl||(Sl=!0,requestAnimationFrame(function(){e(),Sl=!1}))}function ih(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=ih(e.offsetParent,t):0}function ah(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=ah(e.offsetParent,t):0}function nh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),f&&u&&u(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function jn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Gx(e,t,r){var i=_e("movableAreaWidth",F(0)),a=_e("movableAreaHeight",F(0)),n=_e("_isMounted",F(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),l=_e("removeMovableViewContext",()=>{}),u=F(jn(e.x)),f=F(jn(e.y)),d=F(Number(e.scaleValue)||1),p=F(0),g=F(0),y=F(0),m=F(0),w=F(0),h=F(0),b=null,c=null,v={x:0,y:0},_={x:0,y:0},x=1,E=1,C=0,O=0,M=!1,R=!1,U,te,L=null,H=null,q=new xl,re=new xl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=ee(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=ee(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=ee(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),se=ee(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),he=ee(()=>e.direction==="all"||e.direction==="horizontal"),le=ee(()=>e.direction==="all"||e.direction==="vertical"),J=new na(1,9*Math.pow(K.value,2)/40,K.value),xe=new Mt(1,ae.value);W(()=>e.x,A=>{u.value=jn(A)}),W(()=>e.y,A=>{f.value=jn(A)}),W(u,A=>{Ve(A)}),W(f,A=>{sr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{va(A)}),W(Te,()=>{Ne()}),W(se,()=>{Ne()});function we(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(he.value){if(A+_.x===C)return C;b&&b.cancel(),Q(A+_.x,f.value+_.y,x)}return A}function sr(A){if(le.value){if(A+_.y===O)return O;b&&b.cancel(),Q(u.value+_.x,A+_.y,x)}return A}function Ne(){if(!e.scale)return!1;B(x,!0),z(x)}function va(A){return e.scale?(A=D(A),B(A,!0),z(A),A):!1}function da(){M||e.disabled||(or({disable:!0}),we(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],he.value&&(U=C),le.value&&(te=O),r.value.style.willChange="transform",L=null,H=null,R=!0)}function S(A){if(!M&&!e.disabled&&R){var Y=C,X=O;if(H===null&&(H=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),he.value&&(Y=A.detail.dx+U,V.historyX.shift(),V.historyX.push(Y),!le.value&&L===null&&(L=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(X=A.detail.dy+te,V.historyY.shift(),V.historyY.push(X),!he.value&&L===null&&(L=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!L){A.preventDefault();var ge="touch";Yw.value&&(e.outOfBounds?(ge="touch-out-of-bounds",Y=w.value+q.x(Y-w.value)):Y=w.value),Xh.value&&(e.outOfBounds?(ge="touch-out-of-bounds",X=h.value+re.x(X-h.value)):X=h.value),rh(function(){Z(Y,X,x,ge)})}}}function T(){if(!M&&!e.disabled&&R&&(or({disable:!1}),r.value.style.willChange="auto",R=!1,!L&&!G("out-of-bounds")&&e.inertia)){var A=1e3*(V.historyX[1]-V.historyX[0])/(V.historyT[1]-V.historyT[0]),Y=1e3*(V.historyY[1]-V.historyY[0])/(V.historyT[1]-V.historyT[0]);xe.setV(A,Y),xe.setS(C,O);var X=xe.delta().x,ge=xe.delta().y,ue=X+C,Fe=ge+O;uew.value&&(ue=w.value,Fe=O+(w.value-C)*ge/X),Feh.value&&(Fe=h.value,ue=C+(h.value-O)*X/ge),xe.setEnd(ue,Fe),c=nh(xe,function(){var Ge=xe.s(),De=Ge.x,pt=Ge.y;Z(De,pt,x,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&we()}function k(A,Y){var X=!1;return A>w.value?(A=w.value,X=!0):Ah.value?(Y=h.value,X=!0):Y3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,Fe=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),X=Number(X.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:th(A,_.x),y:th(Y,_.y),source:ge}),e.scale||(X=x),X=D(X),X=+X.toFixed(3),Fe&&X!==x&&t("scale",{},{x:A,y:Y,scale:X});var Ge="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+X+")";r.value.style.transform=Ge,r.value.style.webkitTransform=Ge,C=A,O=Y,x=X}function fe(){if(!!n.value){we();var A=e.scale?d.value:1;P(),N(A),$(),C=u.value+_.x,O=f.value+_.y;var Y=k(C,O),X=Y.x,ge=Y.y;Z(X,ge,A,"",!0),z(A)}}function Be(){M=!1,z(x)}function Ae(A){A&&(A=E*A,j(),B(A))}return Re(()=>{Wn(r.value,Y=>{switch(Y.detail.state){case"start":da();break;case"move":S(Y);break;case"end":T()}}),fe(),xe.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",Hn();var A={rootRef:r,setParent:fe,_endScale:Be,_setScale:Ae};s(A),Zt(()=>{l(A)})}),Zt(()=>{we()}),{setParent:fe}}var Jx=["navigate","redirect","switchTab","reLaunch","navigateBack"],Qx={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Jx.indexOf(e))}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1}};function eS(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}}var tS=de({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Qx,setup(e,t){var{slots:r}=t,i=Dt(),a=i&&i.vnode.scopeId||"",{hovering:n,binding:o}=gl(e),s=eS(e);return()=>{var{hoverClass:l,url:u}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:u,onClick:lc},[I("uni-navigator",rt({class:f&&n.value?l:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),rS={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function iS(e){var t=ke([...e.value]),r=ke({value:t,height:34});return W(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var aS=de({name:"PickerView",props:rS,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=F(null),o=Le(a,i),s=iS(e),l=F(null),u=()=>{var y=l.value;s.height=y.$el.offsetHeight},f=F([]),d=F([]);function p(y){var m=d.value;if(m instanceof HTMLCollection)return Array.prototype.indexOf.call(m,y.el);m=m.filter(h=>h.type!==Hr);var w=m.indexOf(y);return w!==-1?w:f.value.indexOf(y)}var g=function(y){var m=ee({get(){var w=p(y.vnode);return s.value[w]||0},set(w){var h=p(y.vnode);if(!(h<0)){var b=s.value[h];if(b!==w){s.value[h]=w;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return m};return ze("getPickerViewColumn",g),ze("pickerViewProps",e),ze("pickerViewState",s),ia(()=>{u(),d.value=n.value.children}),()=>{var y=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Or,{ref:l,onResize:m=>{var{height:w}=m;return s.height=w}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[y],512)],512)}}});class oh{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function sh(e,t,r){return e>t-r&&e0){var f=(-i-Math.sqrt(o))/(2*a),d=(-i+Math.sqrt(o))/(2*a),p=(r-f*t)/(d-f),g=t-p;return{x:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),g*c+p*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),g*f*c+p*d*v}}}var y=Math.sqrt(4*a*n-i*i)/(2*a),m=-i/2*a,w=t,h=(r-m*t)/y;return{x:function(b){return Math.pow(Math.E,m*b)*(w*Math.cos(y*b)+h*Math.sin(y*b))},dx:function(b){var c=Math.pow(Math.E,m*b),v=Math.cos(y*b),_=Math.sin(y*b);return c*(h*y*v-w*y*_)+m*c*(h*_+w*v)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!Ir(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(Ir(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),Ir(r,.4)&&(r=0),Ir(a,.4)&&(a=0),a+=this._endPosition),this._solution&&Ir(a-t,.4)&&Ir(r,.4)||(this._endPosition=t,this._solution=this._solve(a-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),sh(this.x(),this._endPosition,.4)&&Ir(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){function t(i,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class nS{constructor(t,r,i){this._extent=t,this._friction=r||new oh(.01),this._spring=i||new lh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function oS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),f&&u&&u(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class sS{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new nS(this._extent,r.friction,r.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=oS(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var f=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function lS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new sS(e,t);function a(l){var u=l,f=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(l){var u=l,f=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault()}function o(l){var u=l,f=l;if(r.trackingID!==-1){(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault();var d=a(l);if(d){for(r.maxDy=Math.max(r.maxDy,Math.abs(d.y)),r.maxDx=Math.max(r.maxDx,Math.abs(d.x)),r.historyX.push(d.x),r.historyY.push(d.y),r.historyTime.push(u.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(d.x,d.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=a(l);if(u){var f=r.listener;r.trackingID=-1,r.listener=null;var d=r.historyTime.length,p={x:0,y:0};if(d>2)for(var g=r.historyTime.length-1,y=r.historyTime[g],m=r.historyX[g],w=r.historyY[g];g>0;){g--;var h=r.historyTime[g],b=y-h;if(b>30&&b<50){p.x=(m-r.historyX[g])/(b/1e3),p.y=(w-r.historyY[g])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(u.x,u.y,p)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var uS=0;function fS(e){var t="uni-picker-view-content-".concat(uS++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return W(()=>e.value,r),t}function cS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r){s[u]=n[u]}),a.target.dispatchEvent(s)}})}var vS=de({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=F(null),o=_e("getPickerViewColumn"),s=Dt(),l=o?o(s):F(0),u=_e("pickerViewProps"),f=_e("pickerViewState"),d=F(34),p=F(null),g=()=>{var M=p.value;d.value=M.$el.offsetHeight},y=ee(()=>(f.height-d.value)/2),{state:m}=qd(),w=fS(d),h,b=ke({current:l.value,length:0}),c;function v(){h&&!c&&(c=!0,Ur(()=>{c=!1;var M=Math.min(b.current,b.length-1);M=Math.max(M,0),h.update(M*d.value,void 0,d.value)}))}W(()=>l.value,M=>{M!==b.current&&(b.current=M,v())}),W(()=>b.current,M=>l.value=M),W([()=>d.value,()=>b.length,()=>f.height],v);var _=0;function x(M){var R=_+M.deltaY;if(Math.abs(R)>10){_=0;var U=Math.min(b.current+(R<0?-1:1),b.length-1);b.current=U=Math.max(U,0),h.scrollTo(U*d.value)}else _=R;M.preventDefault()}function E(M){var{clientY:R}=M,U=a.value;if(!h.isScrolling()){var te=U.getBoundingClientRect(),L=R-te.top-f.height/2,H=d.value/2;if(!(Math.abs(L)<=H)){var q=Math.ceil((Math.abs(L)-H)/d.value),re=L<0?-q:q,V=Math.min(b.current+re,b.length-1);b.current=V=Math.max(V,0),h.scrollTo(V*d.value)}}}var C=()=>{var M=a.value,R=n.value,{scroller:U,handleTouchStart:te,handleTouchMove:L,handleTouchEnd:H}=lS(R,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new oh(1e-4),spring:new lh(2,90,20),onSnap:q=>{!isNaN(q)&&q!==b.current&&(b.current=q)}});h=U,Wn(M,q=>{switch(q.detail.state){case"start":te(q),or({disable:!0});break;case"move":L(q),q.stopPropagation();break;case"end":case"cancel":H(q),or({disable:!1})}},!0),cS(M),Hn(),v()};{var O=!1;ia(()=>{b.length=n.value.children.length,O||(O=!0,g(),C())})}return()=>{var M=r.default&&r.default(),R="".concat(y.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:x,onClick:E,class:"uni-picker-view-group"},[I("div",rt(m.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(y.value,"px;").concat(u.maskStyle)}),null,16),I("div",rt(m.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Or,{ref:p,onResize:U=>{var{height:te}=U;return d.value=te}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",w],style:{padding:R}},[M],6)],40,["onWheel","onClick"])],512)}}}),dS=16,kr={activeColor:Na,backgroundColor:"#EBEBEB",activeMode:"backwards"},hS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:dS},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:kr.activeColor},activeColor:{type:String,default:kr.activeColor},backgroundColor:{type:String,default:kr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:kr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},gS=de({name:"Progress",props:hS,setup(e){var t=pS(e);return uh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,uh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function pS(e){var t=F(0),r=ee(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=ee(()=>{var o=e.color!==kr.activeColor&&e.activeColor===kr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=ee(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=ke({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function uh(e,t){t.active?(e.currentPercent=t.activeMode===kr.activeMode?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}var fh=vn("ucg"),mS={name:{type:String,default:""}},_S=de({name:"RadioGroup",props:mS,setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=Le(a,r);return bS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function bS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};ze(fh,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var f=r.indexOf(u);s(f,!0),t("change",l,{value:i()})}});var a=_e(kt,!1),n={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};a&&(a.addField(n),Ce(()=>{a.removeField(n)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((f,d)=>{d!==l&&(u?o(r[d],!1):r.forEach((p,g)=>{d>=g||r[g].value.radioChecked&&o(r[d],!1)}))})}return r}var wS={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},yS=de({name:"Radio",props:wS,setup(e,t){var{slots:r}=t,i=F(e.checked),a=F(e.value),n=ee(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));W([()=>e.checked,()=>e.value],d=>{var[p,g]=d;i.value=p,a.value=g});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:l,field:u}=xS(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,u))};return l&&(l.addHandler(f),Ce(()=>{l.removeHandler(f)})),Nn(e,{"label-click":f}),()=>{var d=ai(e,"disabled");return I("uni-radio",rt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?hn(dn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function xS(e,t,r){var i=ee({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),a={reset:r},n=_e(fh,!1);n&&n.addField(i);var o=_e(kt,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}var ch={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},El={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function SS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(El,r)&&El[r])return El[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function ES(e,t,r){return e==="img"&&t==="src"?st(r):r}function vh(e,t,r,i){return e.forEach(function(a){if(!!_t(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(ch,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(_t(s)){var l=ch[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:l.indexOf(f)!==-1&&o.setAttribute(f,ES(n,f,d))}})}TS(a,o,i);var u=a.children;Array.isArray(u)&&u.length&&vh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(SS(a.text)))}),t}function TS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}function CS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function OS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&["style","src"].indexOf(a)===-1&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function AS(e){e=CS(e);var t=[],r={node:"root",children:[]};return Ud(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=OS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var IS={nodes:{type:[Array,String],default:function(){return[]}}},kS=de({name:"RichText",compatConfig:{MODE:3},props:IS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Dt(),n=F(null),o=Le(n,r),s=!!i.onItemclick;function l(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function u(f){typeof f=="string"&&(f=AS(f));var d=vh(f,document.createDocumentFragment(),a&&a.vnode.scopeId||"",s&&l);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{u(f)}),Re(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),dh=mi(!0),MS={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},RS=de({name:"ScrollView",compatConfig:{MODE:3},props:MS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=F(null),o=F(null),s=F(null),l=F(null),u=Le(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:p}=LS(e);PS(e,f,d,p,u,a,n,s,r);var g=ee(()=>{var y="";return e.scrollX?y+="overflow-x:auto;":y+="overflow-x:hidden;",e.scrollY?y+="overflow-y:auto;":y+="overflow-y:hidden;",y});return()=>{var{refresherEnabled:y,refresherBackground:m,refresherDefaultStyle:w}=e,{refresherHeight:h,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:g.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[y?I("div",{ref:l,style:{backgroundColor:m,height:h+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,b=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,w=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function LS(e){var t=ee(()=>Number(e.scrollTop)||0),r=ee(()=>Number(e.scrollLeft)||0),i=ke({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function PS(e,t,r,i,a,n,o,s,l){var u=!1,f=0,d=!1,p=()=>{},g=ee(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),y=ee(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function m(x,E){var C=o.value,O=0,M="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-x:E==="y"&&(O=C.scrollTop-x),O!==0){var R=s.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?M="translateX("+O+"px) translateZ(0)":E==="y"&&(M="translateY("+O+"px) translateZ(0)"),R.removeEventListener("transitionend",p),R.removeEventListener("webkitTransitionEnd",p),p=()=>v(x,E),R.addEventListener("transitionend",p),R.addEventListener("webkitTransitionEnd",p),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),R.style.transform=M,R.style.webkitTransform=M}}function w(x){var E=x.target;a("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=g.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+y.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=g.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+y.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function h(x){e.scrollY&&(e.scrollWithAnimation?m(x,"y"):o.value.scrollTop=x)}function b(x){e.scrollX&&(e.scrollWithAnimation?m(x,"x"):o.value.scrollLeft=x)}function c(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=n.value.querySelector("#"+x);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var M=O.left-C.left,R=o.value.scrollLeft,U=R+M;e.scrollWithAnimation?m(U,"x"):o.value.scrollLeft=U}if(e.scrollY){var te=O.top-C.top,L=o.value.scrollTop,H=L+te;e.scrollWithAnimation?m(H,"y"):o.value.scrollTop=H}}}}function v(x,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function _(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,a("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=f=0,x==="restore"&&(d=!1,a("refresherrestore",{},{})),x==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=x}Re(()=>{Ur(()=>{h(r.value),b(i.value)}),c(e.scrollIntoView);var x=function(U){U.preventDefault(),U.stopPropagation(),w(U)},E={x:0,y:0},C=null,O=function(U){if(E!==null){var te=U.touches[0].pageX,L=U.touches[0].pageY,H=o.value;if(Math.abs(te-E.x)>Math.abs(L-E.y))if(e.scrollX){if(H.scrollLeft===0&&te>E.x){C=!1;return}else if(H.scrollWidth===H.offsetWidth+H.scrollLeft&&teE.y)C=!1,e.refresherEnabled&&U.cancelable!==!1&&U.preventDefault();else if(H.scrollHeight===H.offsetHeight+H.scrollTop&&L0&&(d=!0,a("refresherpulling",U,{deltaY:q})));var re=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(re>1?1:re)*360}}},M=function(U){U.touches.length===1&&(or({disable:!0}),E={x:U.touches[0].pageX,y:U.touches[0].pageY})},R=function(U){E=null,or({disable:!1}),t.refresherHeight>=e.refresherThreshold?_("refreshing"):_("refresherabort")};o.value.addEventListener("touchstart",M,dh),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",x,mi(!1)),o.value.addEventListener("touchend",R,dh),Hn(),Ce(()=>{o.value.removeEventListener("touchstart",M),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",x),o.value.removeEventListener("touchend",R)})}),ls(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,x=>{h(x)}),W(i,x=>{b(x)}),W(()=>e.scrollIntoView,x=>{c(x)}),W(()=>e.refresherTriggered,x=>{x===!0?_("refreshing"):x===!1&&_("restore")})}var NS={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},DS=de({name:"Slider",props:NS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=F(null),o=F(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Le(i,r),l=BS(e,o),{_onClick:u,_onTrack:f}=FS(e,o,i,a,s);return Re(()=>{Wn(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:p,setActiveColor:g,setBlockStyle:y}=l;return I("uni-slider",{ref:i,onClick:Cr(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:p.value,class:"uni-slider-handle"},null,4),I("div",{style:y.value,class:"uni-slider-thumb"},null,4),I("div",{style:g.value,class:"uni-slider-track"},null,4)],4)]),Ii(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Li,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function BS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:ee(()=>({backgroundColor:i()})),setBlockBg:ee(()=>({left:r()})),setActiveColor:ee(()=>({backgroundColor:a(),width:r()})),setBlockStyle:ee(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function FS(e,t,r,i,a){var n=d=>{e.disabled||(s(d),a("change",d,{value:t.value}))},o=d=>{var p=Number(e.max),g=Number(e.min),y=Number(e.step);return dp?p:$S.mul.call(Math.round((d-g)/y),y)+g},s=d=>{var p=Number(e.max),g=Number(e.min),y=i.value,m=getComputedStyle(y,null).marginLeft,w=y.offsetWidth;w=w+parseInt(m);var h=r.value,b=h.offsetWidth-(e.showValue?w:0),c=h.getBoundingClientRect().left,v=(d.x-c)*(p-g)/b+g;t.value=o(v)},l=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),a("changing",d,{value:t.value}),!1):d.detail.state==="end"&&a("change",d,{value:t.value})},u=_e(kt,!1);if(u){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};u.addField(f),Ce(()=>{u.removeField(f)})}return{_onClick:n,_onTrack:l}}var $S={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},zS={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function US(e){var t=ee(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=ee(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=ee(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=ke({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function HS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,f=1,d=null,p=!1,g=0,y,m="",w,h=ee(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(L){if(!l)for(var H=r.value,q=H.length,re=L+t.displayMultipleItems,V=0;V=K.length&&(L-=K.length),L=y%1>.5||y<0?L-1:L,n("transition",{},{dx:e.vertical?0:L*V.offsetWidth,dy:e.vertical?L*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function _(L){var H=r.value.length;if(!H)return-1;var q=(Math.round(L)%H+H)%H;if(h.value){if(H<=t.displayMultipleItems)return 0}else if(q>H-t.displayMultipleItems)return H-t.displayMultipleItems;return q}function x(){d=null}function E(){if(!d){p=!1;return}var L=d,H=L.toPos,q=L.acc,re=L.endTime,V=L.source,K=re-Date.now();if(K<=0){c(H),d=null,p=!1,y=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var se=q*K*K/2,he=H+se;c(he),w=requestAnimationFrame(E)}function C(L,H,q){x();var re=t.duration,V=r.value.length,K=u;if(h.value)if(q<0){for(;KL;)K-=V}else if(q>0){for(;K>L;)K-=V;for(;K+VL;)K-=V;K+V-L0&&f<1||(f=1)}var K=u;u=-2;var ae=t.current;ae>=0?(l=!1,t.userTracking?(c(K+ae-g),g=ae):(c(ae),e.autoplay&&O())):(l=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var L=-1;if(e.currentItemId)for(var H=0,q=r.value;He.vertical,()=>h.value,()=>t.displayMultipleItems,()=>[...r.value]],M),W(()=>t.interval,()=>{s&&(o(),O())});function R(L,H){var q=m;m="";var re=r.value;if(!q){var V=re.length;C(L,"",h.value&&H+(V-L)%V>V/2?1:0)}var K=re[L];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:q})}}W(()=>t.current,(L,H)=>{R(L,H),a("update:current",L)}),W(()=>t.currentItemId,L=>{a("update:currentItemId",L)});function U(L){L?O():o()}W(()=>e.autoplay&&!t.userTracking,U),U(e.autoplay&&!t.userTracking),Re(()=>{var L=!1,H=0,q=0;function re(){o(),g=u,H=0,q=Date.now(),x()}function V(ae){var Te=q;q=Date.now();var se=r.value.length,he=se-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,sr){var Ne=g+Ve;H=.6*H+.4*sr,h.value||(Ne<0||Ne>he)&&(Ne<0?Ne=-le(-Ne):Ne>he&&(Ne=he+le(Ne-he)),H=0),c(Ne)}var xe=q-Te||1,we=i.value;e.vertical?J(-ae.dy/we.offsetHeight,-ae.ddy/xe):J(-ae.dx/we.offsetWidth,-ae.ddx/xe)}function K(ae){t.userTracking=!1;var Te=H/Math.abs(H),se=0;!ae&&Math.abs(H)>.2&&(se=.5*Te);var he=_(u+se);ae?c(g):(m="touch",t.current=he,C(he,"touch",se!==0?se:he===0&&h.value&&u>=1?1:0))}Wn(i.value,ae=>{if(!e.disableTouch&&!l){if(ae.detail.state==="start")return t.userTracking=!0,L=!1,re();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!L){L=!0;var Te=Math.abs(ae.detail.dx),se=Math.abs(ae.detail.dy);if((Te>=se&&e.vertical||Te<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Zt(()=>{o(),cancelAnimationFrame(w)});function te(L){C(t.current=L,m="click",h.value?1:0)}return{onSwiperDotClick:te}}var WS=de({name:"Swiper",props:zS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=Le(a,i),o=F(null),s=F(null),l=US(e),u=ee(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:Vr(e.previousMargin,!0),bottom:Vr(e.nextMargin,!0)}:{top:0,bottom:0,left:Vr(e.previousMargin,!0),right:Vr(e.nextMargin,!0)}),b}),f=ee(()=>{var b=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],p=[],g=F([]);function y(){for(var b=[],c=function(_){var x=d[_];x instanceof Element||(x=x.el);var E=p.find(C=>x===C.rootRef.value);E&&b.push(qa(E))},v=0;v{d=s.value.children,y()});var m=function(b){p.push(b),y()};ze("addSwiperContext",m);var w=function(b){var c=p.indexOf(b);c>=0&&(p.splice(c,1),y())};ze("removeSwiperContext",w);var{onSwiperDotClick:h}=HS(e,l,g,s,i,n);return()=>{var b=r.default&&r.default();return d=yl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[g.value.map((c,v,_)=>I("div",{onClick:()=>h(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v=l.current||v{var n=_e("addSwiperContext");n&&n(a)}),Zt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),YS={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},qS=de({name:"Switch",props:YS,emits:["change"],setup(e,t){var{emit:r}=t,i=F(null),a=F(e.checked),n=XS(e,a),o=Le(i,r);W(()=>e.checked,l=>{a.value=l});var s=l=>{e.disabled||(a.value=!a.value,o("change",l,{value:a.value}))};return n&&(n.addHandler(s),Ce(()=>{n.removeHandler(s)})),Nn(e,{"label-click":s}),()=>{var{color:l,type:u}=e,f=ai(e,"disabled");return I("uni-switch",rt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ii(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?l:"#DFDFDF",borderColor:a.value?l:"#DFDFDF"}},null,6),[[Li,u==="switch"]]),Ii(I("div",{class:"uni-checkbox-input"},[a.value?hn(dn,e.color,22):""],512),[[Li,u==="checkbox"]])])],16,["onClick"])}}});function XS(e,t){var r=_e(kt,!1),i=_e(Ji,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Zt(()=>{r.removeField(a)})),i}var oa={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function ZS(e,t){return e.replace(/\\n/g,gi).split(gi).map(r=>KS(r,t))}function KS(e,t){var{space:r,decode:i}=t;return!e||(r&&oa[r]&&(e=e.replace(/ /g,oa[r])),!i)?e:e.replace(/ /g,oa.nbsp).replace(/ /g,oa.ensp).replace(/ /g,oa.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var GS=ce({},Xd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Tl=!1;function JS(){var e="(prefers-color-scheme: dark)";Tl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var QS=de({name:"Textarea",props:GS,emits:["confirm","linechange",...Zd],setup(e,t){var{emit:r}=t,i=F(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:l}=Kd(e,i,r),u=ee(()=>n.value.split(gi)),f=ee(()=>["done","go","next","search","send"].includes(e.confirmType)),d=F(0),p=F(null);W(()=>d.value,h=>{var b=i.value,c=p.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var _=Math.round(h/v);l("linechange",{},{height:h,heightRpx:750/window.innerWidth*h,lineCount:_}),e.autoHeight&&(b.style.height=h+"px")});function g(h){var{height:b}=h;d.value=b}function y(h){l("confirm",h,{value:n.value})}function m(h){h.key==="Enter"&&f.value&&h.preventDefault()}function w(h){if(h.key==="Enter"&&f.value){y(h);var b=h.target;!e.confirmHold&&b.blur()}}return JS(),()=>{var h=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:m,onKeyup:w},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ii(I("div",rt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!n.value.length]]),I("div",{ref:p,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Or,{initial:!0,onResize:g},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[h],40,["onSubmit"]):h])],512)}}});ce({},wy);function Yn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function hh(e,t,r){!e||wt(r||Gt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function gh(e,t){!e||Am(t||Gt(),e)}function sa(e,t,r,i){var a=Dt(),n=a.proxy;Re(()=>{hh(t||Yn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{hh(Yn(n,o),e,i),gh(s&&Yn(n,s))})}),Ce(()=>{gh(t||Yn(n),i)})}var eE=0;function la(e){var t=gn(),r=Dt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(eE++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function tE(e){return e.__uniContextInfo}class ph extends Sd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Pn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Pn.mounted);this.$animate&&(this.$animate=!1,this.call(Pn.watch.animation.handler))}}}var rE=["space","decode"];class iE extends ph{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,rE);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update(),this.updateView()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=ZS(this._text,{space:r,decode:i}).join(gi),super.update(t)}}class aE extends ii{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var GT="",nE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class oE extends ph{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...nE,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new sE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class sE{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class lE extends oE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function mh(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function _h(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?yu+mh():0}var bh=Symbol("onDraw");function uE(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function qn(e,t){return ee(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?st(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function oi(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=F(!1);function i(){var d=e.value,p=d.getBoundingClientRect(),g=["width","height"];r.value=p.width===0||p.height===0,r.value||(t.position=uE(d)?"absolute":"static",g.push("top","left")),g.forEach(y=>{var m=p[y];m=y==="top"?m+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:_h()):m,t[y]=m+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function l(d){s?s.push(d):d()}function u(d){var p=_e(bh),g=y=>{d(y),o.forEach(m=>m(t)),o=null};l(()=>{p?p(g):g({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(d){o?o.push(d):d(t)};return ze(bh,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ce(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:u}}var fE=de({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=Le(i,r),o=qn(e,["id"]),{position:s,onParentReady:l}=oi(a),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(u),u.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),u.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),u.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>u.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&u.renderingBind(d)});function f(){var d={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(d.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",d,p=>{var{code:g,data:y,message:m}=p;g===0?u.renderingBind(y):n("error",{},{errMsg:m})})}e.adpid&&f()}),Ce(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class be extends ii{constructor(t,r,i,a,n,o,s){super(t,r,a);var l=document.createElement("div");l.__vueParent=cE(this),this.$props=ke({}),this.init(o),this.$app=nc(wT(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Da)&&hl(this.$,o.a[Da]),this.insert(a,n),bf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t,this.updateView()}addWxsEvent(t,r,i){this.$props[t]=xd(this,r,i)}addEvent(t,r){this.$props[t]=wd(this.id,r,No(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Da)this.$&&hl(this.$,r);else if(t===Au)this.$.__ownerId=r;else if(t===Iu)zt(()=>cd(this,r),ld);else if(t===Bo){var i=dl(this.$||Ke(this.pid).$,r),a=this.$props.style;_t(i)&&_t(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else Ln(t)?this.$.style.setProperty(t,r):(r=dl(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r));this.updateView()}removeAttr(t){Ln(t)?this.$.style.removeProperty(t):this.$props[t]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Th(this.id),this.removeUniChildren(),this.updateView()}appendChild(t){var r=(this.$holder||this.$).appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=(this.$holder||this.$).insertBefore(t,r);return this.updateView(!0),i}}class ua extends be{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return zt(this.getRebuildFn(),Rn),super.setText(t)}appendChild(t){return zt(this.getRebuildFn(),Rn),super.appendChild(t)}insertBefore(t,r){return zt(this.getRebuildFn(),Rn),super.insertBefore(t,r)}removeUniChild(t){return zt(this.getRebuildFn(),Rn),super.removeUniChild(t)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function cE(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Cl(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}var vE=["value","modelValue"];function wh(e){vE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class dE extends be{constructor(t,r,i,a){super(t,"uni-ad",fE,r,i,a)}}var JT="";class hE extends be{constructor(t,r,i,a){super(t,"uni-button",Iy,r,i,a)}}class fa extends ii{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class gE extends fa{constructor(t,r,i){super(t,"uni-camera",r,i)}}var QT="";class pE extends be{constructor(t,r,i,a){super(t,"uni-canvas",By,r,i,a,"uni-canvas > div")}}var e2="";class mE extends be{constructor(t,r,i,a){super(t,"uni-checkbox",Vy,r,i,a,".uni-checkbox-wrapper")}setText(t){Cl(this.$holder,"uni-checkbox-input",t)}}var t2="";class _E extends be{constructor(t,r,i,a){super(t,"uni-checkbox-group",Uy,r,i,a)}}var r2="",bE=0;function yh(e,t,r){var{position:i,hidden:a,onParentReady:n}=oi(e),o,s;n(l=>{var u=ee(()=>{var c={};for(var v in i){var _=i[v],x=parseFloat(_),E=parseFloat(l[v]);if(v==="top"||v==="left")_=Math.max(x,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(l[C]),M=parseFloat(i[C]),R=Math.max(O-M,0),U=Math.max(M+x-(O+E),0);_=Math.max(x-R-U,0)+"px"}c[v]=_}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],p=[],g={start:"left",end:"right"};function y(c){var v=getComputedStyle(e.value);return f.concat(d,p).forEach(_=>{c[_]=v[_]}),c}var m=ke(y({})),w=null;s=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,y(m)})},window.addEventListener("updateview",s);function h(){var c={};for(var v in c){var _=c[v];(v==="top"||v==="left")&&(_=Math.min(parseFloat(_)-parseFloat(l[v]),0)+"px"),c[v]=_}return c}var b=ee(()=>{var c=h(),v=[{tag:"rect",position:c,rectStyles:{color:m.backgroundColor,radius:m.borderRadius,borderColor:m.borderColor,borderWidth:m.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var _=parseFloat(m.lineHeight)-parseFloat(m.fontSize),x=parseFloat(c.width)-parseFloat(m.paddingLeft)-parseFloat(m.paddingRight);x=x<0?0:x;var E=parseFloat(c.height)-parseFloat(m.paddingTop)-_/2-parseFloat(m.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(m.paddingTop)+_/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(m.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:g[m.textAlign]||m.textAlign,color:m.color,decoration:"none",lineSpacing:"".concat(_,"px"),margin:"0px",overflow:m.textOverflow,size:m.fontSize,verticalAlign:"top",weight:m.fontWeight,whiteSpace:m.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(bE++),u.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>u.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ce(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var wE="_doc/uniapp_temp/",yE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function xE(e,t,r){var i=F(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?st(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:wE+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:l=>{var{width:u,height:f}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ce(()=>{a&&a.abort()}),i}var xh=de({name:"CoverImage",props:yE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=ke({src:""}),o=xE(e,n,a);return yh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class SE extends be{constructor(t,r,i,a){super(t,"uni-cover-image",xh,r,i,a)}}var i2="",EE=de({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=Le(i,r),o=ke({text:""});return yh(i,n,o),ia(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class TE extends ua{constructor(t,r,i,a){super(t,"uni-cover-view",EE,r,i,a,".uni-cover-view")}}var a2="";class CE extends be{constructor(t,r,i,a){super(t,"uni-editor",gx,r,i,a)}}var n2="";class OE extends be{constructor(t,r,i,a){super(t,"uni-form",Sy,r,i,a,"span")}}class AE extends fa{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var o2="";class IE extends be{constructor(t,r,i,a){super(t,"uni-icon",bx,r,i,a)}}var s2="";class kE extends be{constructor(t,r,i,a){super(t,"uni-image",xx,r,i,a)}}var l2="";class ME extends be{constructor(t,r,i,a){super(t,"uni-input",Hx,r,i,a)}init(t){super.init(t),wh(this.$props)}}var u2="";class RE extends be{constructor(t,r,i,a){super(t,"uni-label",Oy,r,i,a)}}class LE extends fa{constructor(t,r,i){super(t,"uni-live-player",r,i)}}var f2="",PE={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},Sh=["statechange","netstatus","error"],NE=de({name:"LivePusher",props:PE,emits:Sh,setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f;u(()=>{f=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),Sh.forEach(p=>{f.addEventListener(p,g=>{a(p,{},g.detail)})}),W(()=>o.value,p=>f.setStyles(p),{deep:!0}),W(()=>s,p=>f.setStyles(p),{deep:!0}),W(()=>l.value,p=>{p||f.setStyles(s)})});var d=la();return sa((p,g)=>{f&&f[p](g)},d,!0),Ce(()=>{f&&f.close()}),()=>I("uni-live-pusher",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-live-pusher-container"},null,512)],8,["id"])}});class DE extends be{constructor(t,r,i,a){super(t,"uni-live-pusher",NE,r,i,a,".uni-live-pusher-slot")}}var c2="",BE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function ca(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}var FE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},polygons:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},$E=de({name:"Map",props:FE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f,{_addMarkers:d,_addMapLines:p,_addMapCircles:g,_addMapPolygons:y,_setMap:m}=zE(e,a);u(()=>{f=ce(plus.maps.create(Gt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),l.value&&f.hide(),f.onclick=h=>{a("click",{},h)},f.onstatuschanged=h=>{a("regionchange",{},{})},m(f),d(e.markers),p(e.polyline),g(e.circles),y(e.polygons),W(()=>o.value,h=>f&&f.setStyles(h),{deep:!0}),W(()=>s,h=>f&&f.setStyles(h),{deep:!0}),W(l,h=>{f&&f[h?"hide":"show"]()}),W(()=>e.scale,h=>{f&&f.setZoom(parseInt(String(h)))}),W([()=>e.latitude,()=>e.longitude],h=>{var[b,c]=h;f&&f.setStyles({center:new plus.maps.Point(Number(b),Number(c))})}),W(()=>e.markers,h=>{d(h,!0)},{deep:!0}),W(()=>e.polyline,h=>{p(h)},{deep:!0}),W(()=>e.circles,h=>{g(h)},{deep:!0}),W(()=>e.polygons,h=>{y(h)},{deep:!0})});var w=ee(()=>e.controls.map(h=>{var b={position:"absolute"};return["top","left","width","height"].forEach(c=>{h.position[c]&&(b[c]=h.position[c]+"px")}),{id:h.id,iconPath:st(h.iconPath),position:b,clickable:h.clickable}}));return Ce(()=>{f&&(f.close(),m(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),w.value.map((h,b)=>I(xh,{key:b,src:h.iconPath,style:h.position,"auto-size":!0,onClick:()=>h.clickable&&a("controltap",{},{controlId:h.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function zE(e,t){var r;function i(y){var{longitude:m,latitude:w}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(m||e.longitude),Number(w||e.latitude))),y({errMsg:"moveToLocation:ok"}))}function a(y){!r||r.getCurrentCenter((m,w)=>{y({longitude:w.getLng(),latitude:w.getLat(),errMsg:"getCenterLocation:ok"})})}function n(y){if(!!r){var m=r.getBounds();y({southwest:m.getSouthWest(),northeast:m.getNorthEast(),errMsg:"getRegion:ok"})}}function o(y){!r||y({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(y){if(!!r){var{id:m,latitude:w,longitude:h,iconPath:b,callout:c,label:v}=y;BE(h,w,_=>{var x,{latitude:E,longitude:C}=_.coord,O=new plus.maps.Marker(new plus.maps.Point(C,E));b&&O.setIcon(st(b)),v&&v.content&&O.setLabel(v.content);var M=void 0;c&&c.content&&(M=new plus.maps.Bubble(c.content)),M&&O.setBubble(M),(m||m===0)&&(O.onclick=R=>{t("markertap",{},{markerId:m})},M&&(M.onclick=()=>{t("callouttap",{},{markerId:m})})),(x=r)===null||x===void 0||x.addOverlay(O),r.__markers__.push(O)})}}function l(){if(!!r){var y=r.__markers__;y.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__markers__=[]}}function u(y,m){m&&l(),y.forEach(w=>{s(w)})}function f(y){!r||(r.__lines__.length>0&&(r.__lines__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__lines__=[]),y.forEach(m=>{var w,{color:h,width:b}=m,c=m.points.map(x=>new plus.maps.Point(x.longitude,x.latitude)),v=new plus.maps.Polyline(c);if(h){var _=ca(h);v.setStrokeColor(_.color),v.setStrokeOpacity(_.opacity)}b&&v.setLineWidth(b),(w=r)===null||w===void 0||w.addOverlay(v),r.__lines__.push(v)}))}function d(y){!r||(r.__circles__.length>0&&(r.__circles__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__circles__=[]),y.forEach(m=>{var w,{latitude:h,longitude:b,color:c,fillColor:v,radius:_,strokeWidth:x}=m,E=new plus.maps.Circle(new plus.maps.Point(b,h),_);if(c){var C=ca(c);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(v){var O=ca(v);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}x&&E.setLineWidth(x),(w=r)===null||w===void 0||w.addOverlay(E),r.__circles__.push(E)}))}function p(y){if(!!r){var m=r.__polygons__;m.forEach(w=>{var h;(h=r)===null||h===void 0||h.removeOverlay(w)}),m.length=0,y.forEach(w=>{var h,{points:b,strokeWidth:c,strokeColor:v,fillColor:_}=w,x=[];b&&b.forEach(M=>{x.push(new plus.maps.Point(M.longitude,M.latitude))});var E=new plus.maps.Polygon(x);if(v){var C=ca(v);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(_){var O=ca(_);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}c&&E.setLineWidth(c),(h=r)===null||h===void 0||h.addOverlay(E),m.push(E)})}}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return sa((y,m,w)=>{g[y]&&g[y](w,m)},la(),!0),{_addMarkers:u,_addMapLines:f,_addMapCircles:d,_addMapPolygons:p,_setMap(y){r=y}}}class UE extends be{constructor(t,r,i,a){super(t,"uni-map",$E,r,i,a,".uni-map-slot")}}var v2="";class HE extends ua{constructor(t,r,i,a){super(t,"uni-movable-area",qx,r,i,a)}}var d2="";class WE extends be{constructor(t,r,i,a){super(t,"uni-movable-view",Kx,r,i,a)}}var h2="";class VE extends be{constructor(t,r,i,a){super(t,"uni-navigator",tS,r,i,a,"uni-navigator")}}class jE extends fa{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class YE extends fa{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},si={YEAR:"year",MONTH:"month",DAY:"day"};function Xn(e){return e>9?e:"0".concat(e)}function Zn(e,t){e=String(e||"");var r=new Date;if(t===Ie.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function qE(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function XE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var ZE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:qE},end:{type:String,default:XE},disabled:{type:[Boolean,String],default:!1}},KE=de({name:"Picker",props:ZE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;xm();var{t:i,getLocale:a}=Qe(),n=F(null),o=Le(n,r),s=F(null),l=F(null),u=()=>{var h=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(h)||(h=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(h.length,e.range.length),c=0;c{l.value&&l.value.sendMessage(h)},d=h=>{var b={event:"cancel"};l.value=fb({url:"__uniapppicker",data:h,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var v=c.event;if(v==="created"){f(h);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{l.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},p=(h,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.TIME?"".concat(Xn(v.getHours()),":").concat(Xn(v.getMinutes())):"".concat(v.getFullYear(),"-").concat(Xn(v.getMonth()+1),"-").concat(Xn(v.getDate()))})},()=>{o("cancel",{},{})},e.mode===Ie.TIME?{time:Zn(e.value,Ie.TIME),popover:b}:{date:Zn(e.value,Ie.DATE),minDate:Zn(e.start,Ie.DATE),maxDate:Zn(e.end,Ie.DATE),popover:b})},g=(h,b)=>{(h.mode===Ie.TIME||h.mode===Ie.DATE)&&!h.fields?p(h,b):(h.fields=Object.values(si).includes(h.fields)?h.fields:si.DAY,d(h))},y=h=>{if(!e.disabled){var b=h.currentTarget,c=b.getBoundingClientRect();g(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+_h(),left:c.left,width:c.width,height:c.height})}},m=_e(kt,!1),w={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(h=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return m&&(m.addField(w),Ce(()=>m.removeField(w))),Object.keys(e).forEach(h=>{h!=="name"&&W(()=>e[h],b=>{var c={};c[h]=b,f(c)},{deep:!0})}),W(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:n,onClick:y},[I("slot",null,null)],8,["onClick"])}});class GE extends be{constructor(t,r,i,a){super(t,"uni-picker",KE,r,i,a)}}var g2="";class JE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view",aS,r,i,a,".uni-picker-view-wrapper")}}var p2="";class QE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view-column",vS,r,i,a,".uni-picker-view-content")}}var m2="";class eT extends be{constructor(t,r,i,a){super(t,"uni-progress",gS,r,i,a)}}var _2="";class tT extends be{constructor(t,r,i,a){super(t,"uni-radio",yS,r,i,a,".uni-radio-wrapper")}setText(t){Cl(this.$holder,"uni-radio-input",t)}}var b2="";class rT extends be{constructor(t,r,i,a){super(t,"uni-radio-group",_S,r,i,a)}}var w2="";class iT extends be{constructor(t,r,i,a){super(t,"uni-rich-text",kS,r,i,a)}}var y2="";class aT extends be{constructor(t,r,i,a){super(t,"uni-scroll-view",RS,r,i,a,".uni-scroll-view-content")}setText(t){Cl(this.$holder,"uni-scroll-view-refresher",t)}}var x2="";class nT extends be{constructor(t,r,i,a){super(t,"uni-slider",DS,r,i,a)}}var S2="";class oT extends ua{constructor(t,r,i,a){super(t,"uni-swiper",WS,r,i,a,".uni-swiper-slide-frame")}}var E2="";class sT extends be{constructor(t,r,i,a){super(t,"uni-swiper-item",jS,r,i,a)}}var T2="";class lT extends be{constructor(t,r,i,a){super(t,"uni-switch",qS,r,i,a)}}var C2="";class uT extends be{constructor(t,r,i,a){super(t,"uni-textarea",QS,r,i,a)}init(t){super.init(t),wh(this.$props)}}var O2="",fT={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Eh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],cT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],vT=de({name:"Video",props:fT,emits:Eh,setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f;u(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),l.value&&f.hide(),Eh.forEach(p=>{f.addEventListener(p,g=>{a(p,{},g.detail)})}),W(()=>o.value,p=>f.setStyles(p),{deep:!0}),W(()=>s,p=>f.setStyles(p),{deep:!0}),W(()=>l.value,p=>{f[p?"hide":"show"](),p||f.setStyles(s)})});var d=la();return sa((p,g)=>{if(cT.includes(p)){var y;switch(p){case"seek":y=g.position;break;case"sendDanmu":y=g;break;case"playbackRate":y=g.rate;break;case"requestFullScreen":y=g.direction;break}f&&f[p](y)}},d,!0),Ce(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class dT extends be{constructor(t,r,i,a){super(t,"uni-video",vT,r,i,a,".uni-video-slot")}}var A2="",hT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},nt,gT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var l=yu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=mh()),o.top=String(l),o.bottom=o.bottom||"0"}nt=plus.webview.create(r,t,o),s&&nt.addEventListener("titleUpdate",function(){var u;if(!!a.updateTitle){var f=(u=nt)===null||u===void 0?void 0:u.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(nt)},pT=()=>{var e;plus.webview.currentWebview().remove(nt),(e=nt)===null||e===void 0||e.close("none"),nt=null},mT=de({name:"WebView",props:hT,setup(e){var t=Gt(),r=F(null),{hidden:i,onParentReady:a}=oi(r),n=ee(()=>e.webviewStyles);return a(()=>{var o,s=F(wb+t);gT({htmlId:s.value,src:st(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(_b,{},t),i.value&&((o=nt)===null||o===void 0||o.hide())}),Ce(()=>{pT(),UniViewJSBridge.publishHandler(bb,{},t)}),W(()=>e.src,o=>{var s,l=st(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=nt)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=nt)===null||s===void 0||s.loadURL(l)}}),W(n,o=>{var s;(s=nt)===null||s===void 0||s.setStyle(o)}),W(i,o=>{nt&&nt[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class _T extends be{constructor(t,r,i,a){super(t,"uni-web-view",mT,r,i,a)}}var bT={"#text":aE,"#comment":py,VIEW:lE,IMAGE:kE,TEXT:iE,NAVIGATOR:VE,FORM:OE,BUTTON:hE,INPUT:ME,LABEL:RE,RADIO:tT,CHECKBOX:mE,"CHECKBOX-GROUP":_E,AD:dE,CAMERA:gE,CANVAS:pE,"COVER-IMAGE":SE,"COVER-VIEW":TE,EDITOR:CE,"FUNCTIONAL-PAGE-NAVIGATOR":AE,ICON:IE,"RADIO-GROUP":rT,"LIVE-PLAYER":LE,"LIVE-PUSHER":DE,MAP:UE,"MOVABLE-AREA":HE,"MOVABLE-VIEW":WE,"OFFICIAL-ACCOUNT":jE,"OPEN-DATA":YE,PICKER:GE,"PICKER-VIEW":JE,"PICKER-VIEW-COLUMN":QE,PROGRESS:eT,"RICH-TEXT":iT,"SCROLL-VIEW":aT,SLIDER:nT,SWIPER:oT,"SWIPER-ITEM":sT,SWITCH:lT,TEXTAREA:uT,VIDEO:dT,"WEB-VIEW":_T};function wT(e,t){return()=>b_(e,t)}var Kn=new Map;function Ke(e){return Kn.get(e)}function yT(e){return Kn.get(e)}function Th(e){return Kn.delete(e)}function Ch(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ii(e,t,r,document.createElement(t));else{var o=bT[t];o?n=new o(e,r,i,a):n=new Sd(e,document.createElement(t),r,i,a)}return Kn.set(e,n),n}var Ol=[],Oh=!1;function Ah(e){if(Oh)return e();Ol.push(e)}function Al(){Oh=!0,Ol.forEach(e=>{try{e()}catch(t){console.error(t)}}),Ol.length=0}function I2(){}function Ih(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;xT(r),ST(i,a,n),ET();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),CT(s,l,u),o&&document.addEventListener("touchmove",ob),t?TT(r):Al()}function xT(e){window.__PAGE_INFO__={route:e}}function ST(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function ET(){Ch(0,"div",-1,-1).$=document.getElementById("app")}function TT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Al,t.onerror=Al,document.head.appendChild(t)}function CT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};Z_(i)}var kh=!1;function OT(e){if(!kh){kh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(kp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Mp)}};requestAnimationFrame(()=>document.addEventListener("scroll",sb(t)))}}function AT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Fp(i||r||0,a),t()}function IT(e){var t=e[0];t[0]===ku?kT(t):Ah(()=>MT(e))}function kT(e){return Ih(e[1])}function MT(e){var t=e[0],r=Z1(t[0]===mb?t[1]:[]);e.forEach(i=>{switch(i[0]){case ku:return Ih(i[1]);case Yp:return void 0;case qp:var a=i[3];return Ch(i[1],r(i[2]),a===-1?0:a,i[4],sd(r,i[5]));case Xp:return Ke(i[1]).insert(i[2],i[3],sd(r,i[4]));case Zp:return Ke(i[1]).remove();case Kp:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case Gp:return Ke(i[1]).removeAttr(r(i[2]));case Jp:return Ke(i[1]).addEvent(r(i[2]),i[3]);case tm:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Qp:return Ke(i[1]).removeEvent(r(i[2]));case em:return Ke(i[1]).setText(r(i[2]));case rm:return OT(i[1])}}),Q1()}function RT(){var{subscribe:e}=UniViewJSBridge;e(bc,IT),e(yb,t=>Qe().setLocale(t)),e(Is,LT)}function LT(){UniViewJSBridge.publishHandler(Is)}function Mh(e){return window.__$__(e).$}function PT(e){var t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Il(e,t){var r={},{top:i}=X_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Lo(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=tE(e)),r}function NT(e,t){return e?window.__$__(e).$:t.$el}function Rh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function DT(e,t,r,i,a){var n=NT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Rh(n,r)?n:n.querySelector(r);return u?Il(u,a):null}else{var f=[],d=(l?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,p=>{f.push(Il(p,a))}),!l&&Rh(n,r)&&f.unshift(Il(n,a)),f}}function BT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:l}=a;n===null?i.push(PT(l)):i.push(DT(e,n,o,s,l))}),r(i)}function FT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function $T(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Mh(i);(o.__io||(o.__io={}))[r]=U1(o,a,n)}function zT(e,t){var{reqId:r,component:i}=e,a=Mh(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var kl={},Ml={};function UT(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Lh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Lh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Lh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function HT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=kl[r]=window.matchMedia(UT(a)),s=Ml[r]=l=>n(l.matches);s(o),o.addListener(s)}function WT(e,t){var{reqId:r,component:i}=e,a=Ml[r],n=kl[r];n&&(n.removeListener(a),delete Ml[r],delete kl[r])}function VT(e,t){var{family:r,source:i,desc:a}=e;Bp(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var jT={$el:document.body};function YT(){var e=Gt();Om(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),wt(e,"requestComponentInfo",(t,r)=>{BT(jT,t.reqs,r)}),wt(e,"addIntersectionObserver",t=>{$T(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeIntersectionObserver",t=>{zT(t)}),wt(e,"addMediaQueryObserver",t=>{HT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeMediaQueryObserver",t=>{WT(t)}),wt(e,F1,AT),wt(e,B1,VT),wt(e,D1,t=>{FT(null,t)})}window.uni=q1,window.UniViewJSBridge=wc,window.rpx2px=ad,window.normalizeStyleName=hd,window.normalizeStyleValue=fl,window.__$__=Ke,window.__f__=Hp;function Ph(){Dm(),YT(),RT(),X1(),wc.publishHandler(Is)}typeof plus!="undefined"?Ph():document.addEventListener("plusready",Ph)}); diff --git a/ios/网盘.txt b/ios/网盘.txt new file mode 100755 index 0000000..6be9596 --- /dev/null +++ b/ios/网盘.txt @@ -0,0 +1 @@ +链接: https://pan.baidu.com/s/127QGJdSVRKkQDWNlbL9RHg?pwd=qehu 提取码: qehu \ No newline at end of file