mo-h5-bridge 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mo-h5-bridge.js +90 -106
- package/dist/mo-h5-bridge.js.map +1 -1
- package/dist-doc/assets/{index-BOY2v7SC.js → index-Ao_QNIqd.js} +1 -1
- package/dist-doc/assets/{index-D4WNZCgR.js → index-B45wvUvd.js} +1 -1
- package/dist-doc/assets/{index-BXpuuNqO.js → index-Bj05_9gR.js} +1 -1
- package/dist-doc/assets/{index-U0ZajFgL.js → index-Bs890x46.js} +1 -1
- package/dist-doc/assets/{index-B-v8HhE9.js → index-CahgnCeI.js} +1 -1
- package/dist-doc/assets/{index-ClxOrcFI.js → index-CmepzL9v.js} +1 -1
- package/dist-doc/assets/{index-DVpCRRK1.js → index-D0etwguE.js} +1 -1
- package/dist-doc/assets/{index--vr-ogPd.js → index-D4fDFaRw.js} +1 -1
- package/dist-doc/assets/{index-DdPEB-se.js → index-D7Nzvbcr.js} +3 -3
- package/dist-doc/assets/{index-oq9Bd0UD.js → index-DJmN5ZjH.js} +1 -1
- package/dist-doc/assets/{index-BdnFYay5.js → index-Dy2rzoCt.js} +1 -1
- package/dist-doc/assets/{index-B9O-pvFv.js → index-ExIo_WmK.js} +1 -1
- package/dist-doc/assets/{index-BJtubsIy.js → index-Lve4tkqR.js} +1 -1
- package/dist-doc/assets/{index-DQh8FIBo.js → index-XzCQKQlN.js} +1 -1
- package/dist-doc/assets/{index-xshNlWrA.js → index-lNSi5YYg.js} +1 -1
- package/dist-doc/assets/main-BVsgWIXK.js +1 -0
- package/package.json +1 -1
- package/dist-doc/assets/main-D8QW5WbL.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as p,B as h,C as d}from"./main-
|
|
1
|
+
import{i as p,B as h,C as d}from"./main-BVsgWIXK.js";import{d as m,r as j,o as c,c as o,b as s,e,w as l,u as _,a}from"./index-D7Nzvbcr.js";/* empty css */const g=m({__name:"index.md.Virtual831be197",setup(i){p();async function t(){let n=await h.getAreas();console.log(n)}return(n,k)=>{const r=j("m-button");return c(),o("div",null,[s(" 在console中查看 "),e(r,{onClick:t},{default:l(()=>[s("检验")]),_:1})])}}}),u={class:"marked-body"},A=a("h2",{id:"getareas"},"getAreas",-1),C=a("p",null,"获取库存页面的区域",-1),B=a("h3",{id:"使用说明"},"使用说明",-1),f=a("pre",{class:"language-xml"},[a("code",{class:"hljs"},[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(`
|
|
2
2
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(">")]),s(`
|
|
3
3
|
在console中查看
|
|
4
4
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"m-button"),s(" @"),a("span",{class:"hljs-attr"},"click"),s("="),a("span",{class:"hljs-string"},'"handleCheck"'),s(">")]),s("检验"),a("span",{class:"hljs-tag"},[s("</"),a("span",{class:"hljs-name"},"m-button"),s(">")]),s(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as o,B as r,C as h}from"./main-
|
|
1
|
+
import{i as o,B as r,C as h}from"./main-BVsgWIXK.js";import{d as A,r as m,o as e,c,b as s,e as n,w as t,u as d,a}from"./index-D7Nzvbcr.js";/* empty css */const B=A({__name:"index.md.Virtual9e90aa7a",setup(i){o();async function l(){r.updateTimelineShareData({title:"大学生领券享8折专属特惠",link:"大学生领券享8折专属特惠",imgUrl:"https://mobje-pro-04-1309183960.cos.ap-beijing.myqcloud.com/share.jpg"})}return(p,F)=>{const E=m("m-button");return e(),c("div",null,[s(" 在console中查看 "),n(E,{onClick:l},{default:t(()=>[s("检验")]),_:1})])}}}),j={class:"marked-body"},g=a("h2",{id:"updatetimelinesharedata"},"updateTimelineShareData",-1),u=a("p",null,"自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容",-1),_=a("h3",{id:"使用说明"},"使用说明",-1),C=a("pre",{class:"language-xml"},[a("code",{class:"hljs"},[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(`
|
|
2
2
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(">")]),s(`
|
|
3
3
|
在console中查看
|
|
4
4
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"m-button"),s(" @"),a("span",{class:"hljs-attr"},"click"),s("="),a("span",{class:"hljs-string"},'"handleCheck"'),s(">")]),s("检验"),a("span",{class:"hljs-tag"},[s("</"),a("span",{class:"hljs-name"},"m-button"),s(">")]),s(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,B as r,C as d}from"./main-
|
|
1
|
+
import{i as h,B as r,C as d}from"./main-BVsgWIXK.js";import{d as m,r as _,o as e,c,b as s,e as n,w as l,u as j,a}from"./index-D7Nzvbcr.js";/* empty css */const u=m({__name:"index.md.Virtual12b43ced",setup(i){h();async function t(){r.switchTab({url:"/pages/home/index"})}return(o,k)=>{const p=_("m-button");return e(),c("div",null,[s(" 在console中查看 "),n(p,{onClick:t},{default:l(()=>[s("检验")]),_:1})])}}}),g={class:"marked-body"},A=a("h2",{id:"switchtab"},"switchTab",-1),C=a("p",null,"跳转到tabBar中的某一页",-1),B=a("h3",{id:"使用说明"},"使用说明",-1),f=a("ul",null,[a("li",null,"以微信小程序的api为准")],-1),b=a("pre",{class:"language-xml"},[a("code",{class:"hljs"},[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(`
|
|
2
2
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(">")]),s(`
|
|
3
3
|
在console中查看
|
|
4
4
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"m-button"),s(" @"),a("span",{class:"hljs-attr"},"click"),s("="),a("span",{class:"hljs-string"},'"handleCheck"'),s(">")]),s("检验"),a("span",{class:"hljs-tag"},[s("</"),a("span",{class:"hljs-name"},"m-button"),s(">")]),s(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__fileDeps=["./index-
|
|
1
|
+
const __vite__fileDeps=["./index-Lve4tkqR.js","./vue-BsE_GyNA.css","./index-DJmN5ZjH.js","./main-BVsgWIXK.js","./index-Dy2rzoCt.js","./index-CahgnCeI.js","./index-D4fDFaRw.js","./index-Bj05_9gR.js","./index-ExIo_WmK.js","./index-B45wvUvd.js","./index-Bs890x46.js","./index-CmepzL9v.js","./index-Ao_QNIqd.js","./index-lNSi5YYg.js","./index-XzCQKQlN.js","./index-D0etwguE.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
2
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const l of r)if(l.type==="childList")for(const a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(r){if(r.ep)return;r.ep=!0;const l=n(r);fetch(r.href,l)}})();/**
|
|
3
3
|
* @vue/shared v3.4.27
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -496,9 +496,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
496
496
|
* @author RubaXa <trash@rubaxa.org>
|
|
497
497
|
* @author owenm <owen23355@gmail.com>
|
|
498
498
|
* @license MIT
|
|
499
|
-
*/function z3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Yr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z3(Object(n),!0).forEach(function(o){rbe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z3(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function lf(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lf=function(t){return typeof t}:lf=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lf(e)}function rbe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(){return Il=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Il.apply(this,arguments)}function lbe(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,l;for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function abe(e,t){if(e==null)return{};var n=lbe(e,t),o,r;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)o=l[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var ibe="1.15.2";function xl(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Rl=xl(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),gd=xl(/Edge/i),j3=xl(/firefox/i),ec=xl(/safari/i)&&!xl(/chrome/i)&&!xl(/android/i),R7=xl(/iP(ad|od|hone)/i),D7=xl(/chrome/i)&&xl(/android/i),B7={capture:!1,passive:!1};function Bt(e,t,n){e.addEventListener(t,n,!Rl&&B7)}function Rt(e,t,n){e.removeEventListener(t,n,!Rl&&B7)}function gv(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function sbe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function gr(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&gv(e,t):gv(e,t))||o&&e===n)return e;if(e===n)break}while(e=sbe(e))}return null}var N3=/\s+/g;function Bo(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(N3," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(N3," ")}}function ct(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ys(e,t){var n="";if(typeof e=="string")n=e;else do{var o=ct(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function z7(e,t,n){if(e){var o=e.getElementsByTagName(t),r=0,l=o.length;if(n)for(;r<l;r++)n(o[r],r);return o}return[]}function Kr(){var e=document.scrollingElement;return e||document.documentElement}function wn(e,t,n,o,r){if(!(!e.getBoundingClientRect&&e!==window)){var l,a,i,s,u,c,d;if(e!==window&&e.parentNode&&e!==Kr()?(l=e.getBoundingClientRect(),a=l.top,i=l.left,s=l.bottom,u=l.right,c=l.height,d=l.width):(a=0,i=0,s=window.innerHeight,u=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!Rl))do if(r&&r.getBoundingClientRect&&(ct(r,"transform")!=="none"||n&&ct(r,"position")!=="static")){var p=r.getBoundingClientRect();a-=p.top+parseInt(ct(r,"border-top-width")),i-=p.left+parseInt(ct(r,"border-left-width")),s=a+l.height,u=i+l.width;break}while(r=r.parentNode);if(o&&e!==window){var f=ys(r||e),g=f&&f.a,h=f&&f.d;f&&(a/=h,i/=g,d/=g,c/=h,s=a+c,u=i+d)}return{top:a,left:i,bottom:s,right:u,width:d,height:c}}}function F3(e,t,n){for(var o=oa(e,!0),r=wn(e)[t];o;){var l=wn(o)[n],a=void 0;if(a=r>=l,!a)return o;if(o===Kr())break;o=oa(o,!1)}return!1}function Ts(e,t,n,o){for(var r=0,l=0,a=e.children;l<a.length;){if(a[l].style.display!=="none"&&a[l]!==dt.ghost&&(o||a[l]!==dt.dragged)&&gr(a[l],n.draggable,e,!1)){if(r===t)return a[l];r++}l++}return null}function Bx(e,t){for(var n=e.lastElementChild;n&&(n===dt.ghost||ct(n,"display")==="none"||t&&!gv(n,t));)n=n.previousElementSibling;return n||null}function tr(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==dt.clone&&(!t||gv(e,t))&&n++;return n}function _3(e){var t=0,n=0,o=Kr();if(e)do{var r=ys(e),l=r.a,a=r.d;t+=e.scrollLeft*l,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function ube(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function oa(e,t){if(!e||!e.getBoundingClientRect)return Kr();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=ct(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Kr();if(o||t)return n;o=!0}}while(n=n.parentNode);return Kr()}function cbe(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Nm(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var tc;function j7(e,t){return function(){if(!tc){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),tc=setTimeout(function(){tc=void 0},t)}}}function dbe(){clearTimeout(tc),tc=void 0}function N7(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function F7(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function _7(e,t,n){var o={};return Array.from(e.children).forEach(function(r){var l,a,i,s;if(!(!gr(r,t.draggable,e,!1)||r.animated||r===n)){var u=wn(r);o.left=Math.min((l=o.left)!==null&&l!==void 0?l:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((i=o.right)!==null&&i!==void 0?i:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var _o="Sortable"+new Date().getTime();function pbe(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(o){if(!(ct(o,"display")==="none"||o===dt.ghost)){e.push({target:o,rect:wn(o)});var r=Yr({},e[e.length-1].rect);if(o.thisAnimationDuration){var l=ys(o,!0);l&&(r.top-=l.f,r.left-=l.e)}o.fromRect=r}})}},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(ube(e,{target:n}),1)},animateAll:function(n){var o=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var r=!1,l=0;e.forEach(function(a){var i=0,s=a.target,u=s.fromRect,c=wn(s),d=s.prevFromRect,p=s.prevToRect,f=a.rect,g=ys(s,!0);g&&(c.top-=g.f,c.left-=g.e),s.toRect=c,s.thisAnimationDuration&&Nm(d,c)&&!Nm(u,c)&&(f.top-c.top)/(f.left-c.left)===(u.top-c.top)/(u.left-c.left)&&(i=vbe(f,d,p,o.options)),Nm(c,u)||(s.prevFromRect=u,s.prevToRect=c,i||(i=o.options.animation),o.animate(s,f,c,i)),i&&(r=!0,l=Math.max(l,i),clearTimeout(s.animationResetTimer),s.animationResetTimer=setTimeout(function(){s.animationTime=0,s.prevFromRect=null,s.fromRect=null,s.prevToRect=null,s.thisAnimationDuration=null},i),s.thisAnimationDuration=i)}),clearTimeout(t),r?t=setTimeout(function(){typeof n=="function"&&n()},l):typeof n=="function"&&n(),e=[]},animate:function(n,o,r,l){if(l){ct(n,"transition",""),ct(n,"transform","");var a=ys(this.el),i=a&&a.a,s=a&&a.d,u=(o.left-r.left)/(i||1),c=(o.top-r.top)/(s||1);n.animatingX=!!u,n.animatingY=!!c,ct(n,"transform","translate3d("+u+"px,"+c+"px,0)"),this.forRepaintDummy=fbe(n),ct(n,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),ct(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){ct(n,"transition",""),ct(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},l)}}}}function fbe(e){return e.offsetWidth}function vbe(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var Hi=[],Fm={initializeByDefault:!0},md={mount:function(e){for(var t in Fm)Fm.hasOwnProperty(t)&&!(t in e)&&(e[t]=Fm[t]);Hi.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Hi.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var r=e+"Global";Hi.forEach(function(l){t[l.pluginName]&&(t[l.pluginName][r]&&t[l.pluginName][r](Yr({sortable:t},n)),t.options[l.pluginName]&&t[l.pluginName][e]&&t[l.pluginName][e](Yr({sortable:t},n)))})},initializePlugins:function(e,t,n,o){Hi.forEach(function(a){var i=a.pluginName;if(!(!e.options[i]&&!a.initializeByDefault)){var s=new a(e,t,e.options);s.sortable=e,s.options=e.options,e[i]=s,Il(n,s.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var l=this.modifyOption(e,r,e.options[r]);typeof l<"u"&&(e.options[r]=l)}},getEventProperties:function(e,t){var n={};return Hi.forEach(function(o){typeof o.eventProperties=="function"&&Il(n,o.eventProperties.call(t[o.pluginName],e))}),n},modifyOption:function(e,t,n){var o;return Hi.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[t]=="function"&&(o=r.optionListeners[t].call(e[r.pluginName],n))}),o}};function hbe(e){var t=e.sortable,n=e.rootEl,o=e.name,r=e.targetEl,l=e.cloneEl,a=e.toEl,i=e.fromEl,s=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,p=e.originalEvent,f=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[_o],!!t){var h,b=t.options,$="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!Rl&&!gd?h=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(h=document.createEvent("Event"),h.initEvent(o,!0,!0)),h.to=a||n,h.from=i||n,h.item=r||n,h.clone=l,h.oldIndex=s,h.newIndex=u,h.oldDraggableIndex=c,h.newDraggableIndex=d,h.originalEvent=p,h.pullMode=f?f.lastPutMode:void 0;var y=Yr(Yr({},g),md.getEventProperties(o,t));for(var x in y)h[x]=y[x];n&&n.dispatchEvent(h),b[$]&&b[$].call(t,h)}}var gbe=["evt"],xo=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.evt,r=abe(n,gbe);md.pluginEvent.bind(dt)(e,t,Yr({dragEl:_e,parentEl:ln,ghostEl:vt,rootEl:en,nextEl:Fa,lastDownEl:af,cloneEl:nn,cloneHidden:Zl,dragStarted:ku,putSortable:zn,activeSortable:dt.active,originalEvent:o,oldIndex:ns,oldDraggableIndex:nc,newIndex:zo,newDraggableIndex:Yl,hideGhostForTarget:K7,unhideGhostForTarget:V7,cloneNowHidden:function(){Zl=!0},cloneNowShown:function(){Zl=!1},dispatchSortableEvent:function(l){io({sortable:t,name:l,originalEvent:o})}},r))};function io(e){hbe(Yr({putSortable:zn,cloneEl:nn,targetEl:_e,rootEl:en,oldIndex:ns,oldDraggableIndex:nc,newIndex:zo,newDraggableIndex:Yl},e))}var _e,ln,vt,en,Fa,af,nn,Zl,ns,zo,nc,Yl,up,zn,Ui=!1,mv=!1,bv=[],za,vr,_m,Hm,H3,L3,ku,Li,oc,rc=!1,cp=!1,sf,Xn,Lm=[],Hb=!1,yv=[],Zh=typeof document<"u",dp=R7,W3=gd||Rl?"cssFloat":"float",mbe=Zh&&!D7&&!R7&&"draggable"in document.createElement("div"),H7=function(){if(Zh){if(Rl)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),L7=function(e,t){var n=ct(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=Ts(e,0,t),l=Ts(e,1,t),a=r&&ct(r),i=l&&ct(l),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+wn(r).width,u=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+wn(l).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var c=a.float==="left"?"left":"right";return l&&(i.clear==="both"||i.clear===c)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||s>=o&&n[W3]==="none"||l&&n[W3]==="none"&&s+u>o)?"vertical":"horizontal"},bbe=function(e,t,n){var o=n?e.left:e.top,r=n?e.right:e.bottom,l=n?e.width:e.height,a=n?t.left:t.top,i=n?t.right:t.bottom,s=n?t.width:t.height;return o===a||r===i||o+l/2===a+s/2},ybe=function(e,t){var n;return bv.some(function(o){var r=o[_o].options.emptyInsertThreshold;if(!(!r||Bx(o))){var l=wn(o),a=e>=l.left-r&&e<=l.right+r,i=t>=l.top-r&&t<=l.bottom+r;if(a&&i)return n=o}}),n},W7=function(e){function t(r,l){return function(a,i,s,u){var c=a.options.group.name&&i.options.group.name&&a.options.group.name===i.options.group.name;if(r==null&&(l||c))return!0;if(r==null||r===!1)return!1;if(l&&r==="clone")return r;if(typeof r=="function")return t(r(a,i,s,u),l)(a,i,s,u);var d=(l?a:i).options.group.name;return r===!0||typeof r=="string"&&r===d||r.join&&r.indexOf(d)>-1}}var n={},o=e.group;(!o||lf(o)!="object")&&(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},K7=function(){!H7&&vt&&ct(vt,"display","none")},V7=function(){!H7&&vt&&ct(vt,"display","")};Zh&&!D7&&document.addEventListener("click",function(e){if(mv)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),mv=!1,!1},!0);var ja=function(e){if(_e){e=e.touches?e.touches[0]:e;var t=ybe(e.clientX,e.clientY);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[_o]._onDragOver(n)}}},$be=function(e){_e&&_e.parentNode[_o]._isOutsideThisEl(e.target)};function dt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Il({},t),e[_o]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return L7(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,a){l.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:dt.supportPointer!==!1&&"PointerEvent"in window&&!ec,emptyInsertThreshold:5};md.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);W7(t);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=t.forceFallback?!1:mbe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Bt(e,"pointerdown",this._onTapStart):(Bt(e,"mousedown",this._onTapStart),Bt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Bt(e,"dragover",this),Bt(e,"dragenter",this)),bv.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Il(this,pbe())}dt.prototype={constructor:dt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Li=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,_e):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,r=o.preventOnFilter,l=e.type,a=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,i=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||i,u=o.filter;if(Ebe(n),!_e&&!(/mousedown|pointerdown/.test(l)&&e.button!==0||o.disabled)&&!s.isContentEditable&&!(!this.nativeDraggable&&ec&&i&&i.tagName.toUpperCase()==="SELECT")&&(i=gr(i,o.draggable,n,!1),!(i&&i.animated)&&af!==i)){if(ns=tr(i),nc=tr(i,o.draggable),typeof u=="function"){if(u.call(this,e,i,this)){io({sortable:t,rootEl:s,name:"filter",targetEl:i,toEl:n,fromEl:n}),xo("filter",t,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(c){if(c=gr(s,c.trim(),n,!1),c)return io({sortable:t,rootEl:c,name:"filter",targetEl:i,fromEl:n,toEl:n}),xo("filter",t,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}o.handle&&!gr(s,o.handle,n,!1)||this._prepareDragStart(e,a,i)}}},_prepareDragStart:function(e,t,n){var o=this,r=o.el,l=o.options,a=r.ownerDocument,i;if(n&&!_e&&n.parentNode===r){var s=wn(n);if(en=r,_e=n,ln=_e.parentNode,Fa=_e.nextSibling,af=n,up=l.group,dt.dragged=_e,za={target:_e,clientX:(t||e).clientX,clientY:(t||e).clientY},H3=za.clientX-s.left,L3=za.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,_e.style["will-change"]="all",i=function(){if(xo("delayEnded",o,{evt:e}),dt.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!j3&&o.nativeDraggable&&(_e.draggable=!0),o._triggerDragStart(e,t),io({sortable:o,name:"choose",originalEvent:e}),Bo(_e,l.chosenClass,!0)},l.ignore.split(",").forEach(function(u){z7(_e,u.trim(),Wm)}),Bt(a,"dragover",ja),Bt(a,"mousemove",ja),Bt(a,"touchmove",ja),Bt(a,"mouseup",o._onDrop),Bt(a,"touchend",o._onDrop),Bt(a,"touchcancel",o._onDrop),j3&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_e.draggable=!0),xo("delayStart",this,{evt:e}),l.delay&&(!l.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(gd||Rl))){if(dt.eventCanceled){this._onDrop();return}Bt(a,"mouseup",o._disableDelayedDrag),Bt(a,"touchend",o._disableDelayedDrag),Bt(a,"touchcancel",o._disableDelayedDrag),Bt(a,"mousemove",o._delayedDragTouchMoveHandler),Bt(a,"touchmove",o._delayedDragTouchMoveHandler),l.supportPointer&&Bt(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(i,l.delay)}else i()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_e&&Wm(_e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Rt(e,"mouseup",this._disableDelayedDrag),Rt(e,"touchend",this._disableDelayedDrag),Rt(e,"touchcancel",this._disableDelayedDrag),Rt(e,"mousemove",this._delayedDragTouchMoveHandler),Rt(e,"touchmove",this._delayedDragTouchMoveHandler),Rt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?Bt(document,"pointermove",this._onTouchMove):t?Bt(document,"touchmove",this._onTouchMove):Bt(document,"mousemove",this._onTouchMove):(Bt(_e,"dragend",this),Bt(en,"dragstart",this._onDragStart));try{document.selection?uf(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Ui=!1,en&&_e){xo("dragStarted",this,{evt:t}),this.nativeDraggable&&Bt(document,"dragover",$be);var n=this.options;!e&&Bo(_e,n.dragClass,!1),Bo(_e,n.ghostClass,!0),dt.active=this,e&&this._appendGhost(),io({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(vr){this._lastX=vr.clientX,this._lastY=vr.clientY,K7();for(var e=document.elementFromPoint(vr.clientX,vr.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(vr.clientX,vr.clientY),e!==t);)t=e;if(_e.parentNode[_o]._isOutsideThisEl(e),t)do{if(t[_o]){var n=void 0;if(n=t[_o]._onDragOver({clientX:vr.clientX,clientY:vr.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);V7()}},_onTouchMove:function(e){if(za){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,r=e.touches?e.touches[0]:e,l=vt&&ys(vt,!0),a=vt&&l&&l.a,i=vt&&l&&l.d,s=dp&&Xn&&_3(Xn),u=(r.clientX-za.clientX+o.x)/(a||1)+(s?s[0]-Lm[0]:0)/(a||1),c=(r.clientY-za.clientY+o.y)/(i||1)+(s?s[1]-Lm[1]:0)/(i||1);if(!dt.active&&!Ui){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(vt){l?(l.e+=u-(_m||0),l.f+=c-(Hm||0)):l={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");ct(vt,"webkitTransform",d),ct(vt,"mozTransform",d),ct(vt,"msTransform",d),ct(vt,"transform",d),_m=u,Hm=c,vr=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!vt){var e=this.options.fallbackOnBody?document.body:en,t=wn(_e,!0,dp,!0,e),n=this.options;if(dp){for(Xn=e;ct(Xn,"position")==="static"&&ct(Xn,"transform")==="none"&&Xn!==document;)Xn=Xn.parentNode;Xn!==document.body&&Xn!==document.documentElement?(Xn===document&&(Xn=Kr()),t.top+=Xn.scrollTop,t.left+=Xn.scrollLeft):Xn=Kr(),Lm=_3(Xn)}vt=_e.cloneNode(!0),Bo(vt,n.ghostClass,!1),Bo(vt,n.fallbackClass,!0),Bo(vt,n.dragClass,!0),ct(vt,"transition",""),ct(vt,"transform",""),ct(vt,"box-sizing","border-box"),ct(vt,"margin",0),ct(vt,"top",t.top),ct(vt,"left",t.left),ct(vt,"width",t.width),ct(vt,"height",t.height),ct(vt,"opacity","0.8"),ct(vt,"position",dp?"absolute":"fixed"),ct(vt,"zIndex","100000"),ct(vt,"pointerEvents","none"),dt.ghost=vt,e.appendChild(vt),ct(vt,"transform-origin",H3/parseInt(vt.style.width)*100+"% "+L3/parseInt(vt.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,r=n.options;if(xo("dragStart",this,{evt:e}),dt.eventCanceled){this._onDrop();return}xo("setupClone",this),dt.eventCanceled||(nn=F7(_e),nn.removeAttribute("id"),nn.draggable=!1,nn.style["will-change"]="",this._hideClone(),Bo(nn,this.options.chosenClass,!1),dt.clone=nn),n.cloneId=uf(function(){xo("clone",n),!dt.eventCanceled&&(n.options.removeCloneOnHide||en.insertBefore(nn,_e),n._hideClone(),io({sortable:n,name:"clone"}))}),!t&&Bo(_e,r.dragClass,!0),t?(mv=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Rt(document,"mouseup",n._onDrop),Rt(document,"touchend",n._onDrop),Rt(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",r.setData&&r.setData.call(n,o,_e)),Bt(document,"drop",n),ct(_e,"transform","translateZ(0)")),Ui=!0,n._dragStartId=uf(n._dragStarted.bind(n,t,e)),Bt(document,"selectstart",n),ku=!0,ec&&ct(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,n=e.target,o,r,l,a=this.options,i=a.group,s=dt.active,u=up===i,c=a.sort,d=zn||s,p,f=this,g=!1;if(Hb)return;function h(D,A){xo(D,f,Yr({evt:e,isOwner:u,axis:p?"vertical":"horizontal",revert:l,dragRect:o,targetRect:r,canSort:c,fromSortable:d,target:n,completed:$,onMove:function(N,_){return pp(en,t,_e,o,N,wn(N),e,_)},changed:y},A))}function b(){h("dragOverAnimationCapture"),f.captureAnimationState(),f!==d&&d.captureAnimationState()}function $(D){return h("dragOverCompleted",{insertion:D}),D&&(u?s._hideClone():s._showClone(f),f!==d&&(Bo(_e,zn?zn.options.ghostClass:s.options.ghostClass,!1),Bo(_e,a.ghostClass,!0)),zn!==f&&f!==dt.active?zn=f:f===dt.active&&zn&&(zn=null),d===f&&(f._ignoreWhileAnimating=n),f.animateAll(function(){h("dragOverAnimationComplete"),f._ignoreWhileAnimating=null}),f!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(n===_e&&!_e.animated||n===t&&!n.animated)&&(Li=null),!a.dragoverBubble&&!e.rootEl&&n!==document&&(_e.parentNode[_o]._isOutsideThisEl(e.target),!D&&ja(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),g=!0}function y(){zo=tr(_e),Yl=tr(_e,a.draggable),io({sortable:f,name:"change",toEl:t,newIndex:zo,newDraggableIndex:Yl,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=gr(n,a.draggable,t,!0),h("dragOver"),dt.eventCanceled)return g;if(_e.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||f._ignoreWhileAnimating===n)return $(!1);if(mv=!1,s&&!a.disabled&&(u?c||(l=ln!==en):zn===this||(this.lastPutMode=up.checkPull(this,s,_e,e))&&i.checkPut(this,s,_e,e))){if(p=this._getDirection(e,n)==="vertical",o=wn(_e),h("dragOverValid"),dt.eventCanceled)return g;if(l)return ln=en,b(),this._hideClone(),h("revert"),dt.eventCanceled||(Fa?en.insertBefore(_e,Fa):en.appendChild(_e)),$(!0);var x=Bx(t,a.draggable);if(!x||Sbe(e,p,this)&&!x.animated){if(x===_e)return $(!1);if(x&&t===e.target&&(n=x),n&&(r=wn(n)),pp(en,t,_e,o,n,r,e,!!n)!==!1)return b(),x&&x.nextSibling?t.insertBefore(_e,x.nextSibling):t.appendChild(_e),ln=t,y(),$(!0)}else if(x&&Cbe(e,p,this)){var w=Ts(t,0,a,!0);if(w===_e)return $(!1);if(n=w,r=wn(n),pp(en,t,_e,o,n,r,e,!1)!==!1)return b(),t.insertBefore(_e,w),ln=t,y(),$(!0)}else if(n.parentNode===t){r=wn(n);var C=0,k,S=_e.parentNode!==t,O=!bbe(_e.animated&&_e.toRect||o,n.animated&&n.toRect||r,p),E=p?"top":"left",P=F3(n,"top","top")||F3(_e,"top","top"),T=P?P.scrollTop:void 0;Li!==n&&(k=r[E],rc=!1,cp=!O&&a.invertSwap||S),C=kbe(e,n,r,p,O?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,cp,Li===n);var R;if(C!==0){var j=tr(_e);do j-=C,R=ln.children[j];while(R&&(ct(R,"display")==="none"||R===vt))}if(C===0||R===n)return $(!1);Li=n,oc=C;var F=n.nextElementSibling,M=!1;M=C===1;var z=pp(en,t,_e,o,n,r,e,M);if(z!==!1)return(z===1||z===-1)&&(M=z===1),Hb=!0,setTimeout(wbe,30),b(),M&&!F?t.appendChild(_e):n.parentNode.insertBefore(_e,M?F:n),P&&N7(P,0,T-P.scrollTop),ln=_e.parentNode,k!==void 0&&!cp&&(sf=Math.abs(k-wn(n)[E])),y(),$(!0)}if(t.contains(_e))return $(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Rt(document,"mousemove",this._onTouchMove),Rt(document,"touchmove",this._onTouchMove),Rt(document,"pointermove",this._onTouchMove),Rt(document,"dragover",ja),Rt(document,"mousemove",ja),Rt(document,"touchmove",ja)},_offUpEvents:function(){var e=this.el.ownerDocument;Rt(e,"mouseup",this._onDrop),Rt(e,"touchend",this._onDrop),Rt(e,"pointerup",this._onDrop),Rt(e,"touchcancel",this._onDrop),Rt(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;if(zo=tr(_e),Yl=tr(_e,n.draggable),xo("drop",this,{evt:e}),ln=_e&&_e.parentNode,zo=tr(_e),Yl=tr(_e,n.draggable),dt.eventCanceled){this._nulling();return}Ui=!1,cp=!1,rc=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Lb(this.cloneId),Lb(this._dragStartId),this.nativeDraggable&&(Rt(document,"drop",this),Rt(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ec&&ct(document.body,"user-select",""),ct(_e,"transform",""),e&&(ku&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),vt&&vt.parentNode&&vt.parentNode.removeChild(vt),(en===ln||zn&&zn.lastPutMode!=="clone")&&nn&&nn.parentNode&&nn.parentNode.removeChild(nn),_e&&(this.nativeDraggable&&Rt(_e,"dragend",this),Wm(_e),_e.style["will-change"]="",ku&&!Ui&&Bo(_e,zn?zn.options.ghostClass:this.options.ghostClass,!1),Bo(_e,this.options.chosenClass,!1),io({sortable:this,name:"unchoose",toEl:ln,newIndex:null,newDraggableIndex:null,originalEvent:e}),en!==ln?(zo>=0&&(io({rootEl:ln,name:"add",toEl:ln,fromEl:en,originalEvent:e}),io({sortable:this,name:"remove",toEl:ln,originalEvent:e}),io({rootEl:ln,name:"sort",toEl:ln,fromEl:en,originalEvent:e}),io({sortable:this,name:"sort",toEl:ln,originalEvent:e})),zn&&zn.save()):zo!==ns&&zo>=0&&(io({sortable:this,name:"update",toEl:ln,originalEvent:e}),io({sortable:this,name:"sort",toEl:ln,originalEvent:e})),dt.active&&((zo==null||zo===-1)&&(zo=ns,Yl=nc),io({sortable:this,name:"end",toEl:ln,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){xo("nulling",this),en=_e=ln=vt=Fa=nn=af=Zl=za=vr=ku=zo=Yl=ns=nc=Li=oc=zn=up=dt.dragged=dt.ghost=dt.clone=dt.active=null,yv.forEach(function(e){e.checked=!0}),yv.length=_m=Hm=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":_e&&(this._onDragOver(e),xbe(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,o=0,r=n.length,l=this.options;o<r;o++)t=n[o],gr(t,l.draggable,this.el,!1)&&e.push(t.getAttribute(l.dataIdAttr)||Ibe(t));return e},sort:function(e,t){var n={},o=this.el;this.toArray().forEach(function(r,l){var a=o.children[l];gr(a,this.options.draggable,o,!1)&&(n[r]=a)},this),t&&this.captureAnimationState(),e.forEach(function(r){n[r]&&(o.removeChild(n[r]),o.appendChild(n[r]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return gr(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var o=md.modifyOption(this,e,t);typeof o<"u"?n[e]=o:n[e]=t,e==="group"&&W7(n)},destroy:function(){xo("destroy",this);var e=this.el;e[_o]=null,Rt(e,"mousedown",this._onTapStart),Rt(e,"touchstart",this._onTapStart),Rt(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Rt(e,"dragover",this),Rt(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),bv.splice(bv.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Zl){if(xo("hideClone",this),dt.eventCanceled)return;ct(nn,"display","none"),this.options.removeCloneOnHide&&nn.parentNode&&nn.parentNode.removeChild(nn),Zl=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Zl){if(xo("showClone",this),dt.eventCanceled)return;_e.parentNode==en&&!this.options.group.revertClone?en.insertBefore(nn,_e):Fa?en.insertBefore(nn,Fa):en.appendChild(nn),this.options.group.revertClone&&this.animate(_e,nn),ct(nn,"display",""),Zl=!1}}};function xbe(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function pp(e,t,n,o,r,l,a,i){var s,u=e[_o],c=u.options.onMove,d;return window.CustomEvent&&!Rl&&!gd?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=r||t,s.relatedRect=l||wn(t),s.willInsertAfter=i,s.originalEvent=a,e.dispatchEvent(s),c&&(d=c.call(u,s,a)),d}function Wm(e){e.draggable=!1}function wbe(){Hb=!1}function Cbe(e,t,n){var o=wn(Ts(n.el,0,n.options,!0)),r=_7(n.el,n.options,vt),l=10;return t?e.clientX<r.left-l||e.clientY<o.top&&e.clientX<o.right:e.clientY<r.top-l||e.clientY<o.bottom&&e.clientX<o.left}function Sbe(e,t,n){var o=wn(Bx(n.el,n.options.draggable)),r=_7(n.el,n.options,vt),l=10;return t?e.clientX>r.right+l||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>r.bottom+l||e.clientX>o.right&&e.clientY>o.top}function kbe(e,t,n,o,r,l,a,i){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,p=!1;if(!a){if(i&&sf<u*r){if(!rc&&(oc===1?s>c+u*l/2:s<d-u*l/2)&&(rc=!0),rc)p=!0;else if(oc===1?s<c+sf:s>d-sf)return-oc}else if(s>c+u*(1-r)/2&&s<d-u*(1-r)/2)return Obe(t)}return p=p||a,p&&(s<c+u*l/2||s>d-u*l/2)?s>c+u/2?1:-1:0}function Obe(e){return tr(_e)<tr(e)?1:-1}function Ibe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Ebe(e){yv.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&yv.push(o)}}function uf(e){return setTimeout(e,0)}function Lb(e){return clearTimeout(e)}Zh&&Bt(document,"touchmove",function(e){(dt.active||Ui)&&e.cancelable&&e.preventDefault()});dt.utils={on:Bt,off:Rt,css:ct,find:z7,is:function(e,t){return!!gr(e,t,e,!1)},extend:cbe,throttle:j7,closest:gr,toggleClass:Bo,clone:F7,index:tr,nextTick:uf,cancelNextTick:Lb,detectDirection:L7,getChild:Ts};dt.get=function(e){return e[_o]};dt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(dt.utils=Yr(Yr({},dt.utils),o.utils)),md.mount(o)})};dt.create=function(e,t){return new dt(e,t)};dt.version=ibe;var yn=[],Ou,Wb,Kb=!1,Km,Vm,$v,Iu;function Pbe(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?Bt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Bt(document,"pointermove",this._handleFallbackAutoScroll):n.touches?Bt(document,"touchmove",this._handleFallbackAutoScroll):Bt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?Rt(document,"dragover",this._handleAutoScroll):(Rt(document,"pointermove",this._handleFallbackAutoScroll),Rt(document,"touchmove",this._handleFallbackAutoScroll),Rt(document,"mousemove",this._handleFallbackAutoScroll)),K3(),cf(),dbe()},nulling:function(){$v=Wb=Ou=Kb=Iu=Km=Vm=null,yn.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var o=this,r=(t.touches?t.touches[0]:t).clientX,l=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,l);if($v=t,n||this.options.forceAutoScrollFallback||gd||Rl||ec){Xm(t,this.options,a,n);var i=oa(a,!0);Kb&&(!Iu||r!==Km||l!==Vm)&&(Iu&&K3(),Iu=setInterval(function(){var s=oa(document.elementFromPoint(r,l),!0);s!==i&&(i=s,cf()),Xm(t,o.options,s,n)},10),Km=r,Vm=l)}else{if(!this.options.bubbleScroll||oa(a,!0)===Kr()){cf();return}Xm(t,this.options,oa(a,!1),!1)}}},Il(e,{pluginName:"scroll",initializeByDefault:!0})}function cf(){yn.forEach(function(e){clearInterval(e.pid)}),yn=[]}function K3(){clearInterval(Iu)}var Xm=j7(function(e,t,n,o){if(t.scroll){var r=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,s=Kr(),u=!1,c;Wb!==n&&(Wb=n,cf(),Ou=t.scroll,c=t.scrollFn,Ou===!0&&(Ou=oa(n,!0)));var d=0,p=Ou;do{var f=p,g=wn(f),h=g.top,b=g.bottom,$=g.left,y=g.right,x=g.width,w=g.height,C=void 0,k=void 0,S=f.scrollWidth,O=f.scrollHeight,E=ct(f),P=f.scrollLeft,T=f.scrollTop;f===s?(C=x<S&&(E.overflowX==="auto"||E.overflowX==="scroll"||E.overflowX==="visible"),k=w<O&&(E.overflowY==="auto"||E.overflowY==="scroll"||E.overflowY==="visible")):(C=x<S&&(E.overflowX==="auto"||E.overflowX==="scroll"),k=w<O&&(E.overflowY==="auto"||E.overflowY==="scroll"));var R=C&&(Math.abs(y-r)<=a&&P+x<S)-(Math.abs($-r)<=a&&!!P),j=k&&(Math.abs(b-l)<=a&&T+w<O)-(Math.abs(h-l)<=a&&!!T);if(!yn[d])for(var F=0;F<=d;F++)yn[F]||(yn[F]={});(yn[d].vx!=R||yn[d].vy!=j||yn[d].el!==f)&&(yn[d].el=f,yn[d].vx=R,yn[d].vy=j,clearInterval(yn[d].pid),(R!=0||j!=0)&&(u=!0,yn[d].pid=setInterval((function(){o&&this.layer===0&&dt.active._onTouchMove($v);var M=yn[this.layer].vy?yn[this.layer].vy*i:0,z=yn[this.layer].vx?yn[this.layer].vx*i:0;typeof c=="function"&&c.call(dt.dragged.parentNode[_o],z,M,e,$v,yn[this.layer].el)!=="continue"||N7(yn[this.layer].el,z,M)}).bind({layer:d}),24))),d++}while(t.bubbleScroll&&p!==s&&(p=oa(p,!1)));Kb=u}},30),X7=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,r=e.activeSortable,l=e.dispatchSortableEvent,a=e.hideGhostForTarget,i=e.unhideGhostForTarget;if(t){var s=n||r;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);i(),s&&!s.el.contains(c)&&(l("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function zx(){}zx.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=Ts(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:X7};Il(zx,{pluginName:"revertOnSpill"});function jx(){}jx.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,o=n||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:X7};Il(jx,{pluginName:"removeOnSpill"});dt.mount(new Pbe);dt.mount(jx,zx);const G7={change:"change",updateOpen:"update:open"},Mbe=Object.values(G7),Tbe={open:{required:!0,type:Boolean},config:{required:!0,type:Object}},Abe=te({components:{DragOutlined:Sx},inheritAttrs:!1,props:Tbe,emits:Mbe,setup(e,{emit:t}){const n=Jh(e,"open",t),o=ee(),r=ee([]),l=ee([]),a=ee([]),i=ee({checkAll:I(()=>[...r.value.filter(d=>d.checked),...l.value.filter(d=>d.checked),...a.value.filter(d=>d.checked)].length===r.value.length+l.value.length+a.value.length),indeterminate:I(()=>{const d=[...r.value.filter(f=>f.checked),...l.value.filter(f=>f.checked),...a.value.filter(f=>f.checked)].length,p=r.value.length+l.value.length+a.value.length;return!(d===0||d===p)})});function s(){const d=o.value;dt.create(d,{animation:200,group:"name",sort:!0,onEnd:function(p){const f=p.oldIndex,g=p.newIndex;let h=l.value[f];if(f<g)for(let b=f;b<g;b++)l.value[b]=l.value[b+1];else if(f>g)for(let b=f;b>g;b--)l.value[b]=l.value[b-1];l.value[g]=h}})}function u(){n.value=!1,t(G7.change,{fixedLeftColumns:r.value,activeColumns:l.value,fixedRightColumns:a.value})}function c(){i.value.checkAll?(r.value.forEach(d=>d.checked=!1),l.value.forEach(d=>d.checked=!1),a.value.forEach(d=>d.checked=!1)):(r.value.forEach(d=>d.checked=!0),l.value.forEach(d=>d.checked=!0),a.value.forEach(d=>d.checked=!0))}return he([()=>e.config],()=>{r.value=Re(e.config.fixedLeftColumns),l.value=Re(e.config.activeColumns),a.value=Re(e.config.fixedRightColumns)},{immediate:!0,deep:!0}),Ke(()=>{s()}),{sortableBoxCompRef:o,handleOk:u,fixedLeftColumnsRef:r,activeColumnsRef:l,fixedRightColumnsRef:a,openVM:n,checkConfigRf:i,handleCheckChange:c}}}),Rbe={class:"no-drag-item"},Dbe={class:"checkbox"},Bbe={class:"checkbox"},zbe={key:1,ref:"sortableBoxCompRef"},jbe={class:"checkbox"},Nbe={class:"checkbox"};function Fbe(e,t,n,o,r,l){const a=ut("m-checkbox"),i=ut("drag-outlined"),s=ut("m-modal");return ze(),St(s,{open:e.openVM,"onUpdate:open":t[0]||(t[0]=u=>e.openVM=u),title:"自定义列",onOk:e.handleOk},{default:bt(()=>[Ht("div",Rbe,[Ht("div",Dbe,[v(a,{checked:e.checkConfigRf.checkAll,indeterminate:e.checkConfigRf.indeterminate,onChange:e.handleCheckChange},{default:bt(()=>[Ot(" 全选/反选 ")]),_:1},8,["checked","indeterminate","onChange"])])]),e.fixedLeftColumnsRef.length>0?(ze(!0),it(De,{key:0},Sn(e.fixedLeftColumnsRef,(u,c)=>(ze(),it("div",{key:c,class:"no-drag-item"},[Ht("div",Bbe,[v(a,{checked:u.checked,"onUpdate:checked":d=>u.checked=d},{default:bt(()=>[Ot($n(u.title),1)]),_:2},1032,["checked","onUpdate:checked"])])]))),128)):xt("",!0),e.activeColumnsRef.length>0?(ze(),it("div",zbe,[(ze(!0),it(De,null,Sn(e.activeColumnsRef,u=>(ze(),it("div",{key:u.dataIndex,class:"drag-item"},[v(i,{class:"drag-icon"}),Ht("div",jbe,[v(a,{checked:u.checked,"onUpdate:checked":c=>u.checked=c},{default:bt(()=>[Ot($n(u.title),1)]),_:2},1032,["checked","onUpdate:checked"])])]))),128))],512)):xt("",!0),e.fixedRightColumnsRef.length>0?(ze(!0),it(De,{key:2},Sn(e.fixedRightColumnsRef,(u,c)=>(ze(),it("div",{key:c,class:"no-drag-item"},[Ht("div",Nbe,[v(a,{checked:u.checked,"onUpdate:checked":d=>u.checked=d},{default:bt(()=>[Ot($n(u.title),1)]),_:2},1032,["checked","onUpdate:checked"])])]))),128)):xt("",!0)]),_:1},8,["open","onOk"])}const _be=lo(Abe,[["render",Fbe],["__scopeId","data-v-33794367"]]),U7={change:"change",updateModelValue:"update:modelValue"},Hbe=Object.values(U7),Lbe={modelValue:{required:!0,type:[String,Number]},tabsConfig:{required:!1,type:Object}},Wbe=te({props:Lbe,emits:Hbe,setup(e,{emit:t}){const n=Jh(e,"modelValue",t);function o(r){n.value=r,t(U7.change)}return he([()=>e.tabsConfig.defaultValue],()=>{e.tabsConfig.defaultValue?n.value=e.tabsConfig.defaultValue:n.value=e.tabsConfig.items&&e.tabsConfig.items[0]&&e.tabsConfig.items[0].key||""},{immediate:!0}),{activeKeyVM:n,handleChange:o}}});function Kbe(e,t,n,o,r,l){const a=ut("m-tab-pane"),i=ut("m-tabs");return e.tabsConfig.items&&e.tabsConfig.items.length>0?(ze(),St(i,{key:0,activeKey:e.activeKeyVM,type:"card",onChange:e.handleChange},{default:bt(()=>[(ze(!0),it(De,null,Sn(e.tabsConfig.items,s=>(ze(),St(a,{key:s.key,tab:s.tab},null,8,["tab"]))),128))]),_:1},8,["activeKey","onChange"])):xt("",!0)}const Vbe=lo(Wbe,[["render",Kbe],["__scopeId","data-v-d3a3fcf0"]]),V3=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],wl=(()=>{if(typeof document>"u")return!1;const e=V3[0],t={};for(const n of V3)if((n==null?void 0:n[1])in document){for(const[o,r]of n.entries())t[e[o]]=r;return t}return!1})(),X3={change:wl.fullscreenchange,error:wl.fullscreenerror};let No={request(e=document.documentElement,t){return new Promise((n,o)=>{const r=()=>{No.off("change",r),n()};No.on("change",r);const l=e[wl.requestFullscreen](t);l instanceof Promise&&l.then(r).catch(o)})},exit(){return new Promise((e,t)=>{if(!No.isFullscreen){e();return}const n=()=>{No.off("change",n),e()};No.on("change",n);const o=document[wl.exitFullscreen]();o instanceof Promise&&o.then(n).catch(t)})},toggle(e,t){return No.isFullscreen?No.exit():No.request(e,t)},onchange(e){No.on("change",e)},onerror(e){No.on("error",e)},on(e,t){const n=X3[e];n&&document.addEventListener(n,t,!1)},off(e,t){const n=X3[e];n&&document.removeEventListener(n,t,!1)},raw:wl};Object.defineProperties(No,{isFullscreen:{get:()=>!!document[wl.fullscreenElement]},element:{enumerable:!0,get:()=>document[wl.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[wl.fullscreenEnabled]}});wl||(No={isEnabled:!1});const gu=No,Gm=ee({});function Xbe(){const e=ee(null);function t(){gu.isFullscreen?(Gm.value={getContainer:()=>e.value},e.value.classList.add("m-overflow-auto")):(Gm.value=void 0,e.value.classList.remove("m-overflow-auto"))}function n(){const o=e.value;gu.isEnabled&&gu.request(o)}return Ke(()=>{gu.on("change",t)}),Je(()=>{gu.off("change",t)}),{tableContainerDomRef:e,handleFullScreen:n,stickyRef:Gm}}function Y7(e,t){e.shownColumns.forEach(n=>{const o=t.find(r=>r.dataIndex===n.dataIndex);n&&n.typeConfig&&(n.typeConfig=o.typeConfig)})}const Eu="m-components",_a="table-columns",os=ee(""),Gbe={oriColumns:[],config:{fixedLeftColumns:[],activeColumns:[],fixedRightColumns:[]},shownColumns:[]};function Ube(){os.value=location.href}function q7(e,t,n){return[...e.filter(o=>o.checked).map(o=>{const r={...o};return delete r.checked,r}),...t.filter(o=>o.checked).map(o=>{const r={...o};return delete r.checked,r}),...n.filter(o=>o.checked).map(o=>{const r={...o};return delete r.checked,r})]}function Ybe(e){const t=e.findLastIndex(r=>["left",!0].includes(r.fixed));let n=e.findIndex(r=>["right"].includes(r.fixed));n=n===-1?e.length:n;const o={oriColumns:[],config:{fixedLeftColumns:e.slice(0,t+1),activeColumns:e.slice(t+1,n),fixedRightColumns:e.slice(n)},shownColumns:[]};return o.config.fixedLeftColumns.forEach(r=>r.checked=!0),o.config.activeColumns.forEach(r=>r.checked=!0),o.config.fixedRightColumns.forEach(r=>r.checked=!0),o.oriColumns=e,o.shownColumns=q7(o.config.fixedLeftColumns,o.config.activeColumns,o.config.fixedRightColumns),o}function qbe(e,t){if(e.value.shownColumns=q7(e.value.config.fixedLeftColumns,e.value.config.activeColumns,e.value.config.fixedRightColumns),Y7(e.value,t),!localStorage.getItem(Eu))localStorage.setItem(Eu,JSON.stringify({[_a]:{[os.value]:e.value}}));else{const n=JSON.parse(localStorage.getItem(Eu));n[_a]||(n[_a]={}),n[_a][os.value]?n[_a][os.value]=e.value:n[_a][os.value]={},localStorage.setItem(Eu,JSON.stringify(n))}}function Qbe(e){Ube();const t=ee(),n=ee();function o(){let l=Re(Gbe);const a=Ybe(e.value);let i=localStorage.getItem(Eu);if(!i)l=a;else{i=JSON.parse(i);const s=i[_a];if(!s)l=a;else{const u=s[os.value];u?JSON.stringify(u.oriColumns)!==JSON.stringify(e.value)?l=a:(l=u,Y7(l,e.value)):l=a}}return{isShowCustomColumnsModal:!1,pageConfig:l}}function r(l){n.value.config=l,qbe(n,e.value)}return he(e,()=>{const{isShowCustomColumnsModal:l,pageConfig:a}=o();t.value=l,n.value=a},{immediate:!0}),{pageConfigRef:n,isShowCustomColumnsModalRef:t,handleCustomColumnsChange:r}}const Jbe=te({components:{pageTabs:Vbe,ability:obe,customColumnsModal:_be},inheritAttrs:!1,props:K0e,emits:W0e,setup(e,{expose:t}){const{pageConfigRef:n,isShowCustomColumnsModalRef:o,handleCustomColumnsChange:r}=Qbe(Be(e,"columns")),{formCompRef:l}=V0e(),{antTableComponentRef:a,getProps:i}=X0e(),{tableContainerDomRef:s,stickyRef:u,handleFullScreen:c}=Xbe(),d=ee({data:""}),p=ee({data:{}}),f=ee(null),g=ee({multipleConfig:{}}),h=ee({data:""}),b=ee({isFirstGetTable:!0,isLoading:!1,table:{data:[],pageable:{}},condition:{}});async function $(){let P={};if(d.value.data){const T={[e.pageTopTabs.uploadKey]:d.value.data};Object.assign(P,T)}if(p.value.data){const T=Re(p.value.data);Object.assign(P,Re(T))}if(h.value.data){const T={[e.tableAboveTabs.uploadKey]:h.value.data};Object.assign(P,T)}return b.value.condition.pagination&&Object.assign(P,b.value.condition.pagination),e.getTableDataExtraParamsAsync&&(P=await e.getTableDataExtraParamsAsync(P)),Promise.resolve(P)}async function y(){b.value.isLoading=!0;try{b.value.isFirstGetTable&&e.delayFirstAsync&&(await e.delayFirstAsync(),b.value.isFirstGetTable=!1);const P=await $(),T=await e.getTableDataAsync(P);b.value.table.data=T.data,b.value.table.pageable=T.pageable}catch{b.value.table.data=[]}finally{b.value.isLoading=!1}}function x(...P){f.value.handleCancelMultiple(...P)}function w(){p.value.data={},rt(()=>{a.value.reset()})}function C(){a.value.reset()}function k(){a.value.reset()}function S(){p.value.data={},rt(()=>{a.value.reset()})}function O(){y()}function E(){o.value=!0}return t({antFormComponent:I(()=>l.value&&l.value.antFormComponent||null),antTableComponent:I(()=>a.value.antTableComponent),handleFormQuery:k,getTableData:y}),{formCompRef:l,antTableComponentRef:a,tableConfigRef:b,formConfigRef:p,getProps:i,handleFormQuery:k,handleFormReset:S,handleCancelMultiple:x,pageTopTabsConfigRf:d,tableAboveTabsConfigRef:h,FORM_TYPE:fa,abilityConfigRef:g,handlePaginationChange:O,handlePageTopTabChange:w,handleTableAboveTabChange:C,pageConfigRef:n,isShowCustomColumnsModalRef:o,handleOpenResizeModal:E,handleCustomColumnsChange:r,abilityRef:f,handleFullScreen:c,stickyRef:u,tableContainerDomRef:s,getParamsAsync:$}}}),Zbe={key:3,class:"mt-10px"},eye={ref:"tableContainerDomRef",class:"table-container"},tye={key:0,class:"table-slot"},nye={key:1,class:"table-slot"};function oye(e,t,n,o,r,l){const a=ut("page-tabs"),i=ut("m-form"),s=ut("ability"),u=ut("m-table"),c=ut("custom-columns-modal");return ze(),it("div",{class:xr(["m-page",e.$attrs.class]),style:Ho(e.$attrs.style)},[e.pageTopTabs?(ze(),St(a,{key:0,modelValue:e.pageTopTabsConfigRf.data,"onUpdate:modelValue":t[0]||(t[0]=d=>e.pageTopTabsConfigRf.data=d),tabsConfig:e.pageTopTabs,onChange:e.handlePageTopTabChange},null,8,["modelValue","tabsConfig","onChange"])):xt("",!0),e.condition?(ze(),St(i,Gt({key:1,ref:"formCompRef",modelValue:e.formConfigRef.data,"onUpdate:modelValue":t[1]||(t[1]=d=>e.formConfigRef.data=d)},e.condition,{type:e.FORM_TYPE.tableCondition,onQuery:e.handleFormQuery,onReset:e.handleFormReset}),null,16,["modelValue","type","onQuery","onReset"])):xt("",!0),v(s,{ref:"abilityRef",modelValue:e.abilityConfigRef.multipleConfig,"onUpdate:modelValue":t[2]||(t[2]=d=>e.abilityConfigRef.multipleConfig=d),class:"ability mt-10px",ability:e.ability,getParamsAsync:e.getParamsAsync,onOpenResizeModal:e.handleOpenResizeModal,onFullScreen:e.handleFullScreen},null,8,["modelValue","ability","getParamsAsync","onOpenResizeModal","onFullScreen"]),e.tableAboveTabs?(ze(),St(a,{key:2,modelValue:e.tableAboveTabsConfigRef.data,"onUpdate:modelValue":t[3]||(t[3]=d=>e.tableAboveTabsConfigRef.data=d),class:"mt-10px",tabsConfig:e.tableAboveTabs,onChange:e.handleTableAboveTabChange},null,8,["modelValue","tabsConfig","onChange"])):xt("",!0),e.$slots.tableAbove?(ze(),it("div",Zbe,[po(e.$slots,"tableAbove",{},void 0,!0)])):xt("",!0),Ht("div",eye,[e.$slots.tableLeft?(ze(),it("div",tye,[po(e.$slots,"tableLeft",{},void 0,!0)])):xt("",!0),v(u,Gt({ref:"antTableComponentRef",paginationParams:e.tableConfigRef.condition,"onUpdate:paginationParams":t[4]||(t[4]=d=>e.tableConfigRef.condition=d),class:"flex-1"},e.getProps(e.$attrs),{sticky:e.stickyRef,columns:e.pageConfigRef.shownColumns,operationsColumn:e.operationsColumn,dataSource:e.tableConfigRef.table.data,loading:e.tableConfigRef.isLoading,multiple:e.abilityConfigRef.multipleConfig,pagination:e.tableConfigRef.table.pageable,paginationMap:e.paginationMap,onChange:e.handlePaginationChange,onCancelMultiple:e.handleCancelMultiple}),Cl({_:2},[Sn(e.$slots,(d,p)=>({name:p,fn:bt(f=>[po(e.$slots,p,Gt(f,{key:p}),void 0,!0)])}))]),1040,["paginationParams","sticky","columns","operationsColumn","dataSource","loading","multiple","pagination","paginationMap","onChange","onCancelMultiple"]),e.$slots.tableRight?(ze(),it("div",nye,[po(e.$slots,"tableRight",{},void 0,!0)])):xt("",!0)],512),e.isShowCustomColumnsModalRef?(ze(),St(c,{key:4,open:e.isShowCustomColumnsModalRef,"onUpdate:open":t[5]||(t[5]=d=>e.isShowCustomColumnsModalRef=d),config:e.pageConfigRef.config,onChange:e.handleCustomColumnsChange},null,8,["open","config","onChange"])):xt("",!0)],6)}const rye=lo(Jbe,[["render",oye],["__scopeId","data-v-85a2c4c1"]]),lye={},aye=Object.values(lye),iye={};function sye(){function e(t){const{style:n,...o}=t;return delete o.class,o}return{getProps:e}}const uye=te({inheritAttrs:!1,props:iye,emits:aye,setup(e,{expose:t}){const{getProps:n}=sye();return t({}),{getProps:n}}}),cye={key:0,class:"description"};function dye(e,t,n,o,r,l){return ze(),it("div",Gt({class:["m-title"]},e.getProps(e.$attrs),{style:e.$attrs.style}),[po(e.$slots,"default",{},void 0,!0),e.$slots.description?(ze(),it("span",cye,[po(e.$slots,"description",{},void 0,!0)])):xt("",!0)],16)}const pye=lo(uye,[["render",dye],["__scopeId","data-v-88d3edb7"]]),fye={},vye={},hye={},gye={},mye={...gye},bye=Object.values(mye),yye={items:{required:!1,type:Array,default(){return[]}}};function $ye(){function e(t){const{style:n,...o}=t;delete o.class;for(const r of Object.values(vye))delete o[r];return Object.assign(Re(o),Re(fye),Re(o))}return{getProps:e}}function xye(){function e(t){const{...n}=t;for(const o of Object.values(hye))delete n[o];return n}return{getSlots:e}}const wye={disabled:!1,hidden:!1,async confirmAsync(){console.error("未提供必输confirmAsync函数")},label:"",mode:hd.normal,loading:!1};function Cye(e){const t=ee([]);function n(){t.value=Re(e.value),t.value.forEach((o,r)=>{Object.assign(t.value[r],Re(wye),Re(t.value[r]))})}return he(e,()=>{n()},{immediate:!0,deep:!0}),{itemsRef:t}}const Sye=te({inheritAttrs:!1,props:yye,emits:bye,setup(e,{expose:t}){const{getProps:n}=$ye(),{getSlots:o}=xye(),{itemsRef:r}=Cye(Be(e,"items"));function l(a){a.loading=!0,a.confirmAsync().then(()=>{}).finally(()=>{a.loading=!1})}return t({}),{getProps:n,getSlots:o,itemsRef:r,handleClick:l}}});function kye(e,t,n,o,r,l){const a=ut("m-button");return ze(),it("div",Gt(e.getProps(e.$attrs),{class:["m-footer",e.$attrs.class],style:e.$attrs.style}),[(ze(!0),it(De,null,Sn(e.itemsRef,(i,s)=>(ze(),it(De,{key:s},[i.hidden?xt("",!0):(ze(),St(a,{key:0,mode:i.mode,loading:i.loading,disabled:i.disabled,onClick:u=>e.handleClick(i)},{default:bt(()=>[Ot($n(i.label),1)]),_:2},1032,["mode","loading","disabled","onClick"]))],64))),128))],16)}const Oye=lo(Sye,[["render",kye],["__scopeId","data-v-3f974934"]]),Q7={click:"click"},Iye=Object.values(Q7),Eye={type:{required:!1,type:String,default:"primary"},disabled:{required:!1,type:Boolean,default:!1},href:{required:!1,type:String,default:""}},Pye=te({props:Eye,emits:Iye,setup(e,{emit:t,expose:n}){const o=I(()=>!e.disabled&&e.href?e.href:"javascript:void(0);");function r(a){e.disabled||t(Q7.click,a)}const l={};return n(l),{...l,hrefCp:o,handleClick:r}}}),Mye=["href"];function Tye(e,t,n,o,r,l){return ze(),it("a",{href:e.hrefCp,class:xr(["m-link",e.type,{disabled:e.disabled}]),onClick:t[0]||(t[0]=(...a)=>e.handleClick&&e.handleClick(...a))},[po(e.$slots,"default",{},void 0,!0)],10,Mye)}const Aye=lo(Pye,[["render",Tye],["__scopeId","data-v-24f79ee6"]]),Rye={},Dye={},Bye={},zye={};function jye(){function e(t){const{style:n,...o}=t;delete o.class;for(const r of Object.values(Dye))delete o[r];return Object.assign(Re(o),Re(Rye),Re(o))}return{getProps:e}}function Nye(){function e(t){const{...n}=t;for(const o of Object.values(Bye))delete n[o];return n}return{getSlots:e}}const Fye={...zye},_ye=Object.values(Fye),Hye={url:{required:!0,type:String},enablePreview:{required:!1,type:Boolean,default(){return!0}},enableDownload:{required:!1,type:Boolean,default(){return!0}},downloadAsync:{required:!1,type:Function}},Wi={PIC:"PIC",AUDIO:"AUDIO",VIDEO:"VIDEO",OFFICE:"OFFICE",PDF:"PDF"},Lye=[".png",".jpg",".jpeg"],Wye=[".audio",".mp3",".ogg"],Kye=[".video",".mp4"],Vye=[".docx",".xlsx",".ppt"],Xye=te({components:{AudioOutlined:wx,VideoCameraOutlined:Ex,FileWordOutlined:Ox,FilePdfOutlined:kx,CompressOutlined:Cx,ArrowDownOutlined:xx},inheritAttrs:!1,props:Hye,emits:_ye,setup(e,{expose:t}){const{getProps:n}=jye(),{getSlots:o}=Nye(),r=ee(!1),l=I(()=>Lye.find(u=>e.url.includes(u))?Wi.PIC:Wye.find(u=>e.url.includes(u))?Wi.AUDIO:Kye.find(u=>e.url.includes(u))?Wi.VIDEO:Vye.find(u=>e.url.includes(u))?Wi.OFFICE:Wi.PDF);function a(){r.value=!0}function i(){r.value=!1}async function s(){e.downloadAsync(e.url).then(()=>{})}return t({}),{getProps:n,getSlots:o,TYPE:Wi,currentTypeCp:l,visibleRef:r,handlePreview:a,handlePreviewCancel:i,handleDownload:s}}}),Gye={class:"inline-flex items-center"},Uye=["src"],Yye={key:0,controls:"",controlsList:"nodownload",class:"w-100%"},qye=Ht("track",{kind:"captions"},null,-1),Qye=["src"],Jye={key:1,controls:"",muted:"",controlsList:"nodownload"},Zye=Ht("track",{kind:"captions"},null,-1),e1e=["src"],t1e=["src"],n1e=["src"];function o1e(e,t,n,o,r,l){const a=ut("AudioOutlined"),i=ut("VideoCameraOutlined"),s=ut("FileWordOutlined"),u=ut("FilePdfOutlined"),c=ut("CompressOutlined"),d=ut("ArrowDownOutlined"),p=ut("m-image"),f=ut("m-modal");return ze(),it("div",Gt(e.getProps(e.$attrs),{class:["m-preview-download",e.$attrs.class],style:e.$attrs.style}),[Ht("div",Gye,[e.currentTypeCp===e.TYPE.PIC?(ze(),it("img",{key:0,src:e.url,class:"w-24px h-24px"},null,8,Uye)):e.currentTypeCp===e.TYPE.AUDIO?(ze(),St(a,{key:1,class:"text-24px"})):e.currentTypeCp===e.TYPE.VIDEO?(ze(),St(i,{key:2,class:"text-24px"})):e.currentTypeCp===e.TYPE.OFFICE?(ze(),St(s,{key:3,class:"text-24px"})):e.currentTypeCp===e.TYPE.PDF?(ze(),St(u,{key:4,class:"text-24px"})):xt("",!0),e.enablePreview?(ze(),St(c,{key:5,class:"ml-8px cursor-pointer text-14px",onClick:e.handlePreview},null,8,["onClick"])):xt("",!0),e.enableDownload?(ze(),St(d,{key:6,class:"ml-8px cursor-pointer text-14px",onClick:e.handleDownload},null,8,["onClick"])):xt("",!0)]),v(p,{class:"hidden",preview:{visible:e.currentTypeCp===e.TYPE.PIC&&e.visibleRef,onVisibleChange:e.handlePreviewCancel},src:e.url},null,8,["preview","src"]),e.currentTypeCp!==e.TYPE.PIC&&e.visibleRef?(ze(),St(f,{key:0,title:"预览",footer:null,visible:!0,width:"100%","wrap-class-name":"full-modal",onCancel:e.handlePreviewCancel},{default:bt(()=>[e.currentTypeCp===e.TYPE.AUDIO?(ze(),it("audio",Yye,[qye,Ht("source",{src:e.url,type:"audio/mpeg"},null,8,Qye)])):xt("",!0),e.currentTypeCp===e.TYPE.VIDEO?(ze(),it("video",Jye,[Zye,Ht("source",{src:e.url,type:"video/mp4"},null,8,e1e)])):xt("",!0),e.currentTypeCp===e.TYPE.OFFICE?(ze(),it("iframe",{key:2,src:"https://view.officeapps.live.com/op/view.aspx?src="+e.url,class:"w-100% h-100%"},null,8,t1e)):xt("",!0),e.currentTypeCp===e.TYPE.PDF?(ze(),it("iframe",{key:3,src:e.url,class:"w-100% h-100%"},null,8,n1e)):xt("",!0)]),_:1},8,["onCancel"])):xt("",!0)],16)}const r1e=lo(Xye,[["render",o1e]]),l1e={Page:rye,Title:pye,Footer:Oye,Link:Aye,PreviewDownload:r1e},a1e=Object.assign({},She,H0e,l1e);function i1e(e){for(const[t,n]of Object.entries(a1e))e.component(`m${t}`,n)}const s1e="mo-h5-bridge",u1e="0.0.38",c1e="module",d1e="./dist/mo-h5-bridge.js",p1e="./dist/index.d.ts",f1e={dev:"vite --mode dev",pack:"cd ./build && ./index.sh",doc:"vite build --mode doc",build:"vite build --mode package"},v1e={"@types/pinyin":"^2.10.2","lodash-es":"^4.17.21","mo-front-end-util":"^0.0.12","mo-web-components":"^4.0.17",nprogress:"^0.2.0",rimraf:"^6.0.1",screenfull:"^6.0.2",unocss:"^0.60.4","vite-plugin-dts":"^4.5.0",vue:"^3.4.21","vue-router":"^4.3.2"},h1e={"@eslint/js":"^9.30.0","@typescript-eslint/eslint-plugin":"^8.35.0","@typescript-eslint/parser":"^8.35.0","@vitejs/plugin-vue":"^5.0.4","@vueuse/core":"^10.10.0",autoprefixer:"^10.4.19",eslint:"^9.4.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-unused-imports":"^4.0.0","eslint-plugin-vue":"^9.26.0",globals:"^15.4.0","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.2","rollup-plugin-visualizer":"^5.12.0",sass:"^1.77.4","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^5.0.1","stylelint-config-recommended-scss":"^14.0.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard":"^36.0.0","stylelint-config-standard-scss":"^13.1.0","stylelint-order":"^6.0.4","stylelint-prettier":"^5.0.0","stylelint-scss":"^6.3.1",typescript:"^5.2.2","typescript-eslint":"^7.13.0",vite:"^5.2.0","vite-plugin-doc-preview":"^0.2.1","vite-plugin-eslint":"^1.8.1","vite-plugin-stylelint":"^5.3.1","vue-eslint-parser":"^10.1.4","vue-tsc":"^2.0.6"},g1e={name:s1e,private:!1,version:u1e,type:c1e,main:d1e,types:p1e,scripts:f1e,dependencies:v1e,devDependencies:h1e};/*!
|
|
499
|
+
*/function z3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Yr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z3(Object(n),!0).forEach(function(o){rbe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z3(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function lf(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lf=function(t){return typeof t}:lf=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lf(e)}function rbe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(){return Il=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Il.apply(this,arguments)}function lbe(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,l;for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function abe(e,t){if(e==null)return{};var n=lbe(e,t),o,r;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)o=l[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var ibe="1.15.2";function xl(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Rl=xl(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),gd=xl(/Edge/i),j3=xl(/firefox/i),ec=xl(/safari/i)&&!xl(/chrome/i)&&!xl(/android/i),R7=xl(/iP(ad|od|hone)/i),D7=xl(/chrome/i)&&xl(/android/i),B7={capture:!1,passive:!1};function Bt(e,t,n){e.addEventListener(t,n,!Rl&&B7)}function Rt(e,t,n){e.removeEventListener(t,n,!Rl&&B7)}function gv(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function sbe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function gr(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&gv(e,t):gv(e,t))||o&&e===n)return e;if(e===n)break}while(e=sbe(e))}return null}var N3=/\s+/g;function Bo(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(N3," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(N3," ")}}function ct(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ys(e,t){var n="";if(typeof e=="string")n=e;else do{var o=ct(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function z7(e,t,n){if(e){var o=e.getElementsByTagName(t),r=0,l=o.length;if(n)for(;r<l;r++)n(o[r],r);return o}return[]}function Kr(){var e=document.scrollingElement;return e||document.documentElement}function wn(e,t,n,o,r){if(!(!e.getBoundingClientRect&&e!==window)){var l,a,i,s,u,c,d;if(e!==window&&e.parentNode&&e!==Kr()?(l=e.getBoundingClientRect(),a=l.top,i=l.left,s=l.bottom,u=l.right,c=l.height,d=l.width):(a=0,i=0,s=window.innerHeight,u=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!Rl))do if(r&&r.getBoundingClientRect&&(ct(r,"transform")!=="none"||n&&ct(r,"position")!=="static")){var p=r.getBoundingClientRect();a-=p.top+parseInt(ct(r,"border-top-width")),i-=p.left+parseInt(ct(r,"border-left-width")),s=a+l.height,u=i+l.width;break}while(r=r.parentNode);if(o&&e!==window){var f=ys(r||e),g=f&&f.a,h=f&&f.d;f&&(a/=h,i/=g,d/=g,c/=h,s=a+c,u=i+d)}return{top:a,left:i,bottom:s,right:u,width:d,height:c}}}function F3(e,t,n){for(var o=oa(e,!0),r=wn(e)[t];o;){var l=wn(o)[n],a=void 0;if(a=r>=l,!a)return o;if(o===Kr())break;o=oa(o,!1)}return!1}function Ts(e,t,n,o){for(var r=0,l=0,a=e.children;l<a.length;){if(a[l].style.display!=="none"&&a[l]!==dt.ghost&&(o||a[l]!==dt.dragged)&&gr(a[l],n.draggable,e,!1)){if(r===t)return a[l];r++}l++}return null}function Bx(e,t){for(var n=e.lastElementChild;n&&(n===dt.ghost||ct(n,"display")==="none"||t&&!gv(n,t));)n=n.previousElementSibling;return n||null}function tr(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==dt.clone&&(!t||gv(e,t))&&n++;return n}function _3(e){var t=0,n=0,o=Kr();if(e)do{var r=ys(e),l=r.a,a=r.d;t+=e.scrollLeft*l,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function ube(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function oa(e,t){if(!e||!e.getBoundingClientRect)return Kr();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=ct(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Kr();if(o||t)return n;o=!0}}while(n=n.parentNode);return Kr()}function cbe(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Nm(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var tc;function j7(e,t){return function(){if(!tc){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),tc=setTimeout(function(){tc=void 0},t)}}}function dbe(){clearTimeout(tc),tc=void 0}function N7(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function F7(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function _7(e,t,n){var o={};return Array.from(e.children).forEach(function(r){var l,a,i,s;if(!(!gr(r,t.draggable,e,!1)||r.animated||r===n)){var u=wn(r);o.left=Math.min((l=o.left)!==null&&l!==void 0?l:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((i=o.right)!==null&&i!==void 0?i:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var _o="Sortable"+new Date().getTime();function pbe(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(o){if(!(ct(o,"display")==="none"||o===dt.ghost)){e.push({target:o,rect:wn(o)});var r=Yr({},e[e.length-1].rect);if(o.thisAnimationDuration){var l=ys(o,!0);l&&(r.top-=l.f,r.left-=l.e)}o.fromRect=r}})}},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(ube(e,{target:n}),1)},animateAll:function(n){var o=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var r=!1,l=0;e.forEach(function(a){var i=0,s=a.target,u=s.fromRect,c=wn(s),d=s.prevFromRect,p=s.prevToRect,f=a.rect,g=ys(s,!0);g&&(c.top-=g.f,c.left-=g.e),s.toRect=c,s.thisAnimationDuration&&Nm(d,c)&&!Nm(u,c)&&(f.top-c.top)/(f.left-c.left)===(u.top-c.top)/(u.left-c.left)&&(i=vbe(f,d,p,o.options)),Nm(c,u)||(s.prevFromRect=u,s.prevToRect=c,i||(i=o.options.animation),o.animate(s,f,c,i)),i&&(r=!0,l=Math.max(l,i),clearTimeout(s.animationResetTimer),s.animationResetTimer=setTimeout(function(){s.animationTime=0,s.prevFromRect=null,s.fromRect=null,s.prevToRect=null,s.thisAnimationDuration=null},i),s.thisAnimationDuration=i)}),clearTimeout(t),r?t=setTimeout(function(){typeof n=="function"&&n()},l):typeof n=="function"&&n(),e=[]},animate:function(n,o,r,l){if(l){ct(n,"transition",""),ct(n,"transform","");var a=ys(this.el),i=a&&a.a,s=a&&a.d,u=(o.left-r.left)/(i||1),c=(o.top-r.top)/(s||1);n.animatingX=!!u,n.animatingY=!!c,ct(n,"transform","translate3d("+u+"px,"+c+"px,0)"),this.forRepaintDummy=fbe(n),ct(n,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),ct(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){ct(n,"transition",""),ct(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},l)}}}}function fbe(e){return e.offsetWidth}function vbe(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var Hi=[],Fm={initializeByDefault:!0},md={mount:function(e){for(var t in Fm)Fm.hasOwnProperty(t)&&!(t in e)&&(e[t]=Fm[t]);Hi.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Hi.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var r=e+"Global";Hi.forEach(function(l){t[l.pluginName]&&(t[l.pluginName][r]&&t[l.pluginName][r](Yr({sortable:t},n)),t.options[l.pluginName]&&t[l.pluginName][e]&&t[l.pluginName][e](Yr({sortable:t},n)))})},initializePlugins:function(e,t,n,o){Hi.forEach(function(a){var i=a.pluginName;if(!(!e.options[i]&&!a.initializeByDefault)){var s=new a(e,t,e.options);s.sortable=e,s.options=e.options,e[i]=s,Il(n,s.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var l=this.modifyOption(e,r,e.options[r]);typeof l<"u"&&(e.options[r]=l)}},getEventProperties:function(e,t){var n={};return Hi.forEach(function(o){typeof o.eventProperties=="function"&&Il(n,o.eventProperties.call(t[o.pluginName],e))}),n},modifyOption:function(e,t,n){var o;return Hi.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[t]=="function"&&(o=r.optionListeners[t].call(e[r.pluginName],n))}),o}};function hbe(e){var t=e.sortable,n=e.rootEl,o=e.name,r=e.targetEl,l=e.cloneEl,a=e.toEl,i=e.fromEl,s=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,p=e.originalEvent,f=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[_o],!!t){var h,b=t.options,$="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!Rl&&!gd?h=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(h=document.createEvent("Event"),h.initEvent(o,!0,!0)),h.to=a||n,h.from=i||n,h.item=r||n,h.clone=l,h.oldIndex=s,h.newIndex=u,h.oldDraggableIndex=c,h.newDraggableIndex=d,h.originalEvent=p,h.pullMode=f?f.lastPutMode:void 0;var y=Yr(Yr({},g),md.getEventProperties(o,t));for(var x in y)h[x]=y[x];n&&n.dispatchEvent(h),b[$]&&b[$].call(t,h)}}var gbe=["evt"],xo=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.evt,r=abe(n,gbe);md.pluginEvent.bind(dt)(e,t,Yr({dragEl:_e,parentEl:ln,ghostEl:vt,rootEl:en,nextEl:Fa,lastDownEl:af,cloneEl:nn,cloneHidden:Zl,dragStarted:ku,putSortable:zn,activeSortable:dt.active,originalEvent:o,oldIndex:ns,oldDraggableIndex:nc,newIndex:zo,newDraggableIndex:Yl,hideGhostForTarget:K7,unhideGhostForTarget:V7,cloneNowHidden:function(){Zl=!0},cloneNowShown:function(){Zl=!1},dispatchSortableEvent:function(l){io({sortable:t,name:l,originalEvent:o})}},r))};function io(e){hbe(Yr({putSortable:zn,cloneEl:nn,targetEl:_e,rootEl:en,oldIndex:ns,oldDraggableIndex:nc,newIndex:zo,newDraggableIndex:Yl},e))}var _e,ln,vt,en,Fa,af,nn,Zl,ns,zo,nc,Yl,up,zn,Ui=!1,mv=!1,bv=[],za,vr,_m,Hm,H3,L3,ku,Li,oc,rc=!1,cp=!1,sf,Xn,Lm=[],Hb=!1,yv=[],Zh=typeof document<"u",dp=R7,W3=gd||Rl?"cssFloat":"float",mbe=Zh&&!D7&&!R7&&"draggable"in document.createElement("div"),H7=function(){if(Zh){if(Rl)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),L7=function(e,t){var n=ct(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=Ts(e,0,t),l=Ts(e,1,t),a=r&&ct(r),i=l&&ct(l),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+wn(r).width,u=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+wn(l).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var c=a.float==="left"?"left":"right";return l&&(i.clear==="both"||i.clear===c)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||s>=o&&n[W3]==="none"||l&&n[W3]==="none"&&s+u>o)?"vertical":"horizontal"},bbe=function(e,t,n){var o=n?e.left:e.top,r=n?e.right:e.bottom,l=n?e.width:e.height,a=n?t.left:t.top,i=n?t.right:t.bottom,s=n?t.width:t.height;return o===a||r===i||o+l/2===a+s/2},ybe=function(e,t){var n;return bv.some(function(o){var r=o[_o].options.emptyInsertThreshold;if(!(!r||Bx(o))){var l=wn(o),a=e>=l.left-r&&e<=l.right+r,i=t>=l.top-r&&t<=l.bottom+r;if(a&&i)return n=o}}),n},W7=function(e){function t(r,l){return function(a,i,s,u){var c=a.options.group.name&&i.options.group.name&&a.options.group.name===i.options.group.name;if(r==null&&(l||c))return!0;if(r==null||r===!1)return!1;if(l&&r==="clone")return r;if(typeof r=="function")return t(r(a,i,s,u),l)(a,i,s,u);var d=(l?a:i).options.group.name;return r===!0||typeof r=="string"&&r===d||r.join&&r.indexOf(d)>-1}}var n={},o=e.group;(!o||lf(o)!="object")&&(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},K7=function(){!H7&&vt&&ct(vt,"display","none")},V7=function(){!H7&&vt&&ct(vt,"display","")};Zh&&!D7&&document.addEventListener("click",function(e){if(mv)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),mv=!1,!1},!0);var ja=function(e){if(_e){e=e.touches?e.touches[0]:e;var t=ybe(e.clientX,e.clientY);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[_o]._onDragOver(n)}}},$be=function(e){_e&&_e.parentNode[_o]._isOutsideThisEl(e.target)};function dt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Il({},t),e[_o]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return L7(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,a){l.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:dt.supportPointer!==!1&&"PointerEvent"in window&&!ec,emptyInsertThreshold:5};md.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);W7(t);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=t.forceFallback?!1:mbe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Bt(e,"pointerdown",this._onTapStart):(Bt(e,"mousedown",this._onTapStart),Bt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Bt(e,"dragover",this),Bt(e,"dragenter",this)),bv.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Il(this,pbe())}dt.prototype={constructor:dt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Li=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,_e):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,r=o.preventOnFilter,l=e.type,a=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,i=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||i,u=o.filter;if(Ebe(n),!_e&&!(/mousedown|pointerdown/.test(l)&&e.button!==0||o.disabled)&&!s.isContentEditable&&!(!this.nativeDraggable&&ec&&i&&i.tagName.toUpperCase()==="SELECT")&&(i=gr(i,o.draggable,n,!1),!(i&&i.animated)&&af!==i)){if(ns=tr(i),nc=tr(i,o.draggable),typeof u=="function"){if(u.call(this,e,i,this)){io({sortable:t,rootEl:s,name:"filter",targetEl:i,toEl:n,fromEl:n}),xo("filter",t,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(c){if(c=gr(s,c.trim(),n,!1),c)return io({sortable:t,rootEl:c,name:"filter",targetEl:i,fromEl:n,toEl:n}),xo("filter",t,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}o.handle&&!gr(s,o.handle,n,!1)||this._prepareDragStart(e,a,i)}}},_prepareDragStart:function(e,t,n){var o=this,r=o.el,l=o.options,a=r.ownerDocument,i;if(n&&!_e&&n.parentNode===r){var s=wn(n);if(en=r,_e=n,ln=_e.parentNode,Fa=_e.nextSibling,af=n,up=l.group,dt.dragged=_e,za={target:_e,clientX:(t||e).clientX,clientY:(t||e).clientY},H3=za.clientX-s.left,L3=za.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,_e.style["will-change"]="all",i=function(){if(xo("delayEnded",o,{evt:e}),dt.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!j3&&o.nativeDraggable&&(_e.draggable=!0),o._triggerDragStart(e,t),io({sortable:o,name:"choose",originalEvent:e}),Bo(_e,l.chosenClass,!0)},l.ignore.split(",").forEach(function(u){z7(_e,u.trim(),Wm)}),Bt(a,"dragover",ja),Bt(a,"mousemove",ja),Bt(a,"touchmove",ja),Bt(a,"mouseup",o._onDrop),Bt(a,"touchend",o._onDrop),Bt(a,"touchcancel",o._onDrop),j3&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_e.draggable=!0),xo("delayStart",this,{evt:e}),l.delay&&(!l.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(gd||Rl))){if(dt.eventCanceled){this._onDrop();return}Bt(a,"mouseup",o._disableDelayedDrag),Bt(a,"touchend",o._disableDelayedDrag),Bt(a,"touchcancel",o._disableDelayedDrag),Bt(a,"mousemove",o._delayedDragTouchMoveHandler),Bt(a,"touchmove",o._delayedDragTouchMoveHandler),l.supportPointer&&Bt(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(i,l.delay)}else i()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_e&&Wm(_e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Rt(e,"mouseup",this._disableDelayedDrag),Rt(e,"touchend",this._disableDelayedDrag),Rt(e,"touchcancel",this._disableDelayedDrag),Rt(e,"mousemove",this._delayedDragTouchMoveHandler),Rt(e,"touchmove",this._delayedDragTouchMoveHandler),Rt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?Bt(document,"pointermove",this._onTouchMove):t?Bt(document,"touchmove",this._onTouchMove):Bt(document,"mousemove",this._onTouchMove):(Bt(_e,"dragend",this),Bt(en,"dragstart",this._onDragStart));try{document.selection?uf(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Ui=!1,en&&_e){xo("dragStarted",this,{evt:t}),this.nativeDraggable&&Bt(document,"dragover",$be);var n=this.options;!e&&Bo(_e,n.dragClass,!1),Bo(_e,n.ghostClass,!0),dt.active=this,e&&this._appendGhost(),io({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(vr){this._lastX=vr.clientX,this._lastY=vr.clientY,K7();for(var e=document.elementFromPoint(vr.clientX,vr.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(vr.clientX,vr.clientY),e!==t);)t=e;if(_e.parentNode[_o]._isOutsideThisEl(e),t)do{if(t[_o]){var n=void 0;if(n=t[_o]._onDragOver({clientX:vr.clientX,clientY:vr.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);V7()}},_onTouchMove:function(e){if(za){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,r=e.touches?e.touches[0]:e,l=vt&&ys(vt,!0),a=vt&&l&&l.a,i=vt&&l&&l.d,s=dp&&Xn&&_3(Xn),u=(r.clientX-za.clientX+o.x)/(a||1)+(s?s[0]-Lm[0]:0)/(a||1),c=(r.clientY-za.clientY+o.y)/(i||1)+(s?s[1]-Lm[1]:0)/(i||1);if(!dt.active&&!Ui){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(vt){l?(l.e+=u-(_m||0),l.f+=c-(Hm||0)):l={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");ct(vt,"webkitTransform",d),ct(vt,"mozTransform",d),ct(vt,"msTransform",d),ct(vt,"transform",d),_m=u,Hm=c,vr=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!vt){var e=this.options.fallbackOnBody?document.body:en,t=wn(_e,!0,dp,!0,e),n=this.options;if(dp){for(Xn=e;ct(Xn,"position")==="static"&&ct(Xn,"transform")==="none"&&Xn!==document;)Xn=Xn.parentNode;Xn!==document.body&&Xn!==document.documentElement?(Xn===document&&(Xn=Kr()),t.top+=Xn.scrollTop,t.left+=Xn.scrollLeft):Xn=Kr(),Lm=_3(Xn)}vt=_e.cloneNode(!0),Bo(vt,n.ghostClass,!1),Bo(vt,n.fallbackClass,!0),Bo(vt,n.dragClass,!0),ct(vt,"transition",""),ct(vt,"transform",""),ct(vt,"box-sizing","border-box"),ct(vt,"margin",0),ct(vt,"top",t.top),ct(vt,"left",t.left),ct(vt,"width",t.width),ct(vt,"height",t.height),ct(vt,"opacity","0.8"),ct(vt,"position",dp?"absolute":"fixed"),ct(vt,"zIndex","100000"),ct(vt,"pointerEvents","none"),dt.ghost=vt,e.appendChild(vt),ct(vt,"transform-origin",H3/parseInt(vt.style.width)*100+"% "+L3/parseInt(vt.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,r=n.options;if(xo("dragStart",this,{evt:e}),dt.eventCanceled){this._onDrop();return}xo("setupClone",this),dt.eventCanceled||(nn=F7(_e),nn.removeAttribute("id"),nn.draggable=!1,nn.style["will-change"]="",this._hideClone(),Bo(nn,this.options.chosenClass,!1),dt.clone=nn),n.cloneId=uf(function(){xo("clone",n),!dt.eventCanceled&&(n.options.removeCloneOnHide||en.insertBefore(nn,_e),n._hideClone(),io({sortable:n,name:"clone"}))}),!t&&Bo(_e,r.dragClass,!0),t?(mv=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Rt(document,"mouseup",n._onDrop),Rt(document,"touchend",n._onDrop),Rt(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",r.setData&&r.setData.call(n,o,_e)),Bt(document,"drop",n),ct(_e,"transform","translateZ(0)")),Ui=!0,n._dragStartId=uf(n._dragStarted.bind(n,t,e)),Bt(document,"selectstart",n),ku=!0,ec&&ct(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,n=e.target,o,r,l,a=this.options,i=a.group,s=dt.active,u=up===i,c=a.sort,d=zn||s,p,f=this,g=!1;if(Hb)return;function h(D,A){xo(D,f,Yr({evt:e,isOwner:u,axis:p?"vertical":"horizontal",revert:l,dragRect:o,targetRect:r,canSort:c,fromSortable:d,target:n,completed:$,onMove:function(N,_){return pp(en,t,_e,o,N,wn(N),e,_)},changed:y},A))}function b(){h("dragOverAnimationCapture"),f.captureAnimationState(),f!==d&&d.captureAnimationState()}function $(D){return h("dragOverCompleted",{insertion:D}),D&&(u?s._hideClone():s._showClone(f),f!==d&&(Bo(_e,zn?zn.options.ghostClass:s.options.ghostClass,!1),Bo(_e,a.ghostClass,!0)),zn!==f&&f!==dt.active?zn=f:f===dt.active&&zn&&(zn=null),d===f&&(f._ignoreWhileAnimating=n),f.animateAll(function(){h("dragOverAnimationComplete"),f._ignoreWhileAnimating=null}),f!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(n===_e&&!_e.animated||n===t&&!n.animated)&&(Li=null),!a.dragoverBubble&&!e.rootEl&&n!==document&&(_e.parentNode[_o]._isOutsideThisEl(e.target),!D&&ja(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),g=!0}function y(){zo=tr(_e),Yl=tr(_e,a.draggable),io({sortable:f,name:"change",toEl:t,newIndex:zo,newDraggableIndex:Yl,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=gr(n,a.draggable,t,!0),h("dragOver"),dt.eventCanceled)return g;if(_e.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||f._ignoreWhileAnimating===n)return $(!1);if(mv=!1,s&&!a.disabled&&(u?c||(l=ln!==en):zn===this||(this.lastPutMode=up.checkPull(this,s,_e,e))&&i.checkPut(this,s,_e,e))){if(p=this._getDirection(e,n)==="vertical",o=wn(_e),h("dragOverValid"),dt.eventCanceled)return g;if(l)return ln=en,b(),this._hideClone(),h("revert"),dt.eventCanceled||(Fa?en.insertBefore(_e,Fa):en.appendChild(_e)),$(!0);var x=Bx(t,a.draggable);if(!x||Sbe(e,p,this)&&!x.animated){if(x===_e)return $(!1);if(x&&t===e.target&&(n=x),n&&(r=wn(n)),pp(en,t,_e,o,n,r,e,!!n)!==!1)return b(),x&&x.nextSibling?t.insertBefore(_e,x.nextSibling):t.appendChild(_e),ln=t,y(),$(!0)}else if(x&&Cbe(e,p,this)){var w=Ts(t,0,a,!0);if(w===_e)return $(!1);if(n=w,r=wn(n),pp(en,t,_e,o,n,r,e,!1)!==!1)return b(),t.insertBefore(_e,w),ln=t,y(),$(!0)}else if(n.parentNode===t){r=wn(n);var C=0,k,S=_e.parentNode!==t,O=!bbe(_e.animated&&_e.toRect||o,n.animated&&n.toRect||r,p),E=p?"top":"left",P=F3(n,"top","top")||F3(_e,"top","top"),T=P?P.scrollTop:void 0;Li!==n&&(k=r[E],rc=!1,cp=!O&&a.invertSwap||S),C=kbe(e,n,r,p,O?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,cp,Li===n);var R;if(C!==0){var j=tr(_e);do j-=C,R=ln.children[j];while(R&&(ct(R,"display")==="none"||R===vt))}if(C===0||R===n)return $(!1);Li=n,oc=C;var F=n.nextElementSibling,M=!1;M=C===1;var z=pp(en,t,_e,o,n,r,e,M);if(z!==!1)return(z===1||z===-1)&&(M=z===1),Hb=!0,setTimeout(wbe,30),b(),M&&!F?t.appendChild(_e):n.parentNode.insertBefore(_e,M?F:n),P&&N7(P,0,T-P.scrollTop),ln=_e.parentNode,k!==void 0&&!cp&&(sf=Math.abs(k-wn(n)[E])),y(),$(!0)}if(t.contains(_e))return $(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Rt(document,"mousemove",this._onTouchMove),Rt(document,"touchmove",this._onTouchMove),Rt(document,"pointermove",this._onTouchMove),Rt(document,"dragover",ja),Rt(document,"mousemove",ja),Rt(document,"touchmove",ja)},_offUpEvents:function(){var e=this.el.ownerDocument;Rt(e,"mouseup",this._onDrop),Rt(e,"touchend",this._onDrop),Rt(e,"pointerup",this._onDrop),Rt(e,"touchcancel",this._onDrop),Rt(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;if(zo=tr(_e),Yl=tr(_e,n.draggable),xo("drop",this,{evt:e}),ln=_e&&_e.parentNode,zo=tr(_e),Yl=tr(_e,n.draggable),dt.eventCanceled){this._nulling();return}Ui=!1,cp=!1,rc=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Lb(this.cloneId),Lb(this._dragStartId),this.nativeDraggable&&(Rt(document,"drop",this),Rt(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ec&&ct(document.body,"user-select",""),ct(_e,"transform",""),e&&(ku&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),vt&&vt.parentNode&&vt.parentNode.removeChild(vt),(en===ln||zn&&zn.lastPutMode!=="clone")&&nn&&nn.parentNode&&nn.parentNode.removeChild(nn),_e&&(this.nativeDraggable&&Rt(_e,"dragend",this),Wm(_e),_e.style["will-change"]="",ku&&!Ui&&Bo(_e,zn?zn.options.ghostClass:this.options.ghostClass,!1),Bo(_e,this.options.chosenClass,!1),io({sortable:this,name:"unchoose",toEl:ln,newIndex:null,newDraggableIndex:null,originalEvent:e}),en!==ln?(zo>=0&&(io({rootEl:ln,name:"add",toEl:ln,fromEl:en,originalEvent:e}),io({sortable:this,name:"remove",toEl:ln,originalEvent:e}),io({rootEl:ln,name:"sort",toEl:ln,fromEl:en,originalEvent:e}),io({sortable:this,name:"sort",toEl:ln,originalEvent:e})),zn&&zn.save()):zo!==ns&&zo>=0&&(io({sortable:this,name:"update",toEl:ln,originalEvent:e}),io({sortable:this,name:"sort",toEl:ln,originalEvent:e})),dt.active&&((zo==null||zo===-1)&&(zo=ns,Yl=nc),io({sortable:this,name:"end",toEl:ln,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){xo("nulling",this),en=_e=ln=vt=Fa=nn=af=Zl=za=vr=ku=zo=Yl=ns=nc=Li=oc=zn=up=dt.dragged=dt.ghost=dt.clone=dt.active=null,yv.forEach(function(e){e.checked=!0}),yv.length=_m=Hm=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":_e&&(this._onDragOver(e),xbe(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,o=0,r=n.length,l=this.options;o<r;o++)t=n[o],gr(t,l.draggable,this.el,!1)&&e.push(t.getAttribute(l.dataIdAttr)||Ibe(t));return e},sort:function(e,t){var n={},o=this.el;this.toArray().forEach(function(r,l){var a=o.children[l];gr(a,this.options.draggable,o,!1)&&(n[r]=a)},this),t&&this.captureAnimationState(),e.forEach(function(r){n[r]&&(o.removeChild(n[r]),o.appendChild(n[r]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return gr(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var o=md.modifyOption(this,e,t);typeof o<"u"?n[e]=o:n[e]=t,e==="group"&&W7(n)},destroy:function(){xo("destroy",this);var e=this.el;e[_o]=null,Rt(e,"mousedown",this._onTapStart),Rt(e,"touchstart",this._onTapStart),Rt(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Rt(e,"dragover",this),Rt(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),bv.splice(bv.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Zl){if(xo("hideClone",this),dt.eventCanceled)return;ct(nn,"display","none"),this.options.removeCloneOnHide&&nn.parentNode&&nn.parentNode.removeChild(nn),Zl=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Zl){if(xo("showClone",this),dt.eventCanceled)return;_e.parentNode==en&&!this.options.group.revertClone?en.insertBefore(nn,_e):Fa?en.insertBefore(nn,Fa):en.appendChild(nn),this.options.group.revertClone&&this.animate(_e,nn),ct(nn,"display",""),Zl=!1}}};function xbe(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function pp(e,t,n,o,r,l,a,i){var s,u=e[_o],c=u.options.onMove,d;return window.CustomEvent&&!Rl&&!gd?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=r||t,s.relatedRect=l||wn(t),s.willInsertAfter=i,s.originalEvent=a,e.dispatchEvent(s),c&&(d=c.call(u,s,a)),d}function Wm(e){e.draggable=!1}function wbe(){Hb=!1}function Cbe(e,t,n){var o=wn(Ts(n.el,0,n.options,!0)),r=_7(n.el,n.options,vt),l=10;return t?e.clientX<r.left-l||e.clientY<o.top&&e.clientX<o.right:e.clientY<r.top-l||e.clientY<o.bottom&&e.clientX<o.left}function Sbe(e,t,n){var o=wn(Bx(n.el,n.options.draggable)),r=_7(n.el,n.options,vt),l=10;return t?e.clientX>r.right+l||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>r.bottom+l||e.clientX>o.right&&e.clientY>o.top}function kbe(e,t,n,o,r,l,a,i){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,p=!1;if(!a){if(i&&sf<u*r){if(!rc&&(oc===1?s>c+u*l/2:s<d-u*l/2)&&(rc=!0),rc)p=!0;else if(oc===1?s<c+sf:s>d-sf)return-oc}else if(s>c+u*(1-r)/2&&s<d-u*(1-r)/2)return Obe(t)}return p=p||a,p&&(s<c+u*l/2||s>d-u*l/2)?s>c+u/2?1:-1:0}function Obe(e){return tr(_e)<tr(e)?1:-1}function Ibe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Ebe(e){yv.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&yv.push(o)}}function uf(e){return setTimeout(e,0)}function Lb(e){return clearTimeout(e)}Zh&&Bt(document,"touchmove",function(e){(dt.active||Ui)&&e.cancelable&&e.preventDefault()});dt.utils={on:Bt,off:Rt,css:ct,find:z7,is:function(e,t){return!!gr(e,t,e,!1)},extend:cbe,throttle:j7,closest:gr,toggleClass:Bo,clone:F7,index:tr,nextTick:uf,cancelNextTick:Lb,detectDirection:L7,getChild:Ts};dt.get=function(e){return e[_o]};dt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(dt.utils=Yr(Yr({},dt.utils),o.utils)),md.mount(o)})};dt.create=function(e,t){return new dt(e,t)};dt.version=ibe;var yn=[],Ou,Wb,Kb=!1,Km,Vm,$v,Iu;function Pbe(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?Bt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Bt(document,"pointermove",this._handleFallbackAutoScroll):n.touches?Bt(document,"touchmove",this._handleFallbackAutoScroll):Bt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?Rt(document,"dragover",this._handleAutoScroll):(Rt(document,"pointermove",this._handleFallbackAutoScroll),Rt(document,"touchmove",this._handleFallbackAutoScroll),Rt(document,"mousemove",this._handleFallbackAutoScroll)),K3(),cf(),dbe()},nulling:function(){$v=Wb=Ou=Kb=Iu=Km=Vm=null,yn.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var o=this,r=(t.touches?t.touches[0]:t).clientX,l=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,l);if($v=t,n||this.options.forceAutoScrollFallback||gd||Rl||ec){Xm(t,this.options,a,n);var i=oa(a,!0);Kb&&(!Iu||r!==Km||l!==Vm)&&(Iu&&K3(),Iu=setInterval(function(){var s=oa(document.elementFromPoint(r,l),!0);s!==i&&(i=s,cf()),Xm(t,o.options,s,n)},10),Km=r,Vm=l)}else{if(!this.options.bubbleScroll||oa(a,!0)===Kr()){cf();return}Xm(t,this.options,oa(a,!1),!1)}}},Il(e,{pluginName:"scroll",initializeByDefault:!0})}function cf(){yn.forEach(function(e){clearInterval(e.pid)}),yn=[]}function K3(){clearInterval(Iu)}var Xm=j7(function(e,t,n,o){if(t.scroll){var r=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,s=Kr(),u=!1,c;Wb!==n&&(Wb=n,cf(),Ou=t.scroll,c=t.scrollFn,Ou===!0&&(Ou=oa(n,!0)));var d=0,p=Ou;do{var f=p,g=wn(f),h=g.top,b=g.bottom,$=g.left,y=g.right,x=g.width,w=g.height,C=void 0,k=void 0,S=f.scrollWidth,O=f.scrollHeight,E=ct(f),P=f.scrollLeft,T=f.scrollTop;f===s?(C=x<S&&(E.overflowX==="auto"||E.overflowX==="scroll"||E.overflowX==="visible"),k=w<O&&(E.overflowY==="auto"||E.overflowY==="scroll"||E.overflowY==="visible")):(C=x<S&&(E.overflowX==="auto"||E.overflowX==="scroll"),k=w<O&&(E.overflowY==="auto"||E.overflowY==="scroll"));var R=C&&(Math.abs(y-r)<=a&&P+x<S)-(Math.abs($-r)<=a&&!!P),j=k&&(Math.abs(b-l)<=a&&T+w<O)-(Math.abs(h-l)<=a&&!!T);if(!yn[d])for(var F=0;F<=d;F++)yn[F]||(yn[F]={});(yn[d].vx!=R||yn[d].vy!=j||yn[d].el!==f)&&(yn[d].el=f,yn[d].vx=R,yn[d].vy=j,clearInterval(yn[d].pid),(R!=0||j!=0)&&(u=!0,yn[d].pid=setInterval((function(){o&&this.layer===0&&dt.active._onTouchMove($v);var M=yn[this.layer].vy?yn[this.layer].vy*i:0,z=yn[this.layer].vx?yn[this.layer].vx*i:0;typeof c=="function"&&c.call(dt.dragged.parentNode[_o],z,M,e,$v,yn[this.layer].el)!=="continue"||N7(yn[this.layer].el,z,M)}).bind({layer:d}),24))),d++}while(t.bubbleScroll&&p!==s&&(p=oa(p,!1)));Kb=u}},30),X7=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,r=e.activeSortable,l=e.dispatchSortableEvent,a=e.hideGhostForTarget,i=e.unhideGhostForTarget;if(t){var s=n||r;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);i(),s&&!s.el.contains(c)&&(l("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function zx(){}zx.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=Ts(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:X7};Il(zx,{pluginName:"revertOnSpill"});function jx(){}jx.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,o=n||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:X7};Il(jx,{pluginName:"removeOnSpill"});dt.mount(new Pbe);dt.mount(jx,zx);const G7={change:"change",updateOpen:"update:open"},Mbe=Object.values(G7),Tbe={open:{required:!0,type:Boolean},config:{required:!0,type:Object}},Abe=te({components:{DragOutlined:Sx},inheritAttrs:!1,props:Tbe,emits:Mbe,setup(e,{emit:t}){const n=Jh(e,"open",t),o=ee(),r=ee([]),l=ee([]),a=ee([]),i=ee({checkAll:I(()=>[...r.value.filter(d=>d.checked),...l.value.filter(d=>d.checked),...a.value.filter(d=>d.checked)].length===r.value.length+l.value.length+a.value.length),indeterminate:I(()=>{const d=[...r.value.filter(f=>f.checked),...l.value.filter(f=>f.checked),...a.value.filter(f=>f.checked)].length,p=r.value.length+l.value.length+a.value.length;return!(d===0||d===p)})});function s(){const d=o.value;dt.create(d,{animation:200,group:"name",sort:!0,onEnd:function(p){const f=p.oldIndex,g=p.newIndex;let h=l.value[f];if(f<g)for(let b=f;b<g;b++)l.value[b]=l.value[b+1];else if(f>g)for(let b=f;b>g;b--)l.value[b]=l.value[b-1];l.value[g]=h}})}function u(){n.value=!1,t(G7.change,{fixedLeftColumns:r.value,activeColumns:l.value,fixedRightColumns:a.value})}function c(){i.value.checkAll?(r.value.forEach(d=>d.checked=!1),l.value.forEach(d=>d.checked=!1),a.value.forEach(d=>d.checked=!1)):(r.value.forEach(d=>d.checked=!0),l.value.forEach(d=>d.checked=!0),a.value.forEach(d=>d.checked=!0))}return he([()=>e.config],()=>{r.value=Re(e.config.fixedLeftColumns),l.value=Re(e.config.activeColumns),a.value=Re(e.config.fixedRightColumns)},{immediate:!0,deep:!0}),Ke(()=>{s()}),{sortableBoxCompRef:o,handleOk:u,fixedLeftColumnsRef:r,activeColumnsRef:l,fixedRightColumnsRef:a,openVM:n,checkConfigRf:i,handleCheckChange:c}}}),Rbe={class:"no-drag-item"},Dbe={class:"checkbox"},Bbe={class:"checkbox"},zbe={key:1,ref:"sortableBoxCompRef"},jbe={class:"checkbox"},Nbe={class:"checkbox"};function Fbe(e,t,n,o,r,l){const a=ut("m-checkbox"),i=ut("drag-outlined"),s=ut("m-modal");return ze(),St(s,{open:e.openVM,"onUpdate:open":t[0]||(t[0]=u=>e.openVM=u),title:"自定义列",onOk:e.handleOk},{default:bt(()=>[Ht("div",Rbe,[Ht("div",Dbe,[v(a,{checked:e.checkConfigRf.checkAll,indeterminate:e.checkConfigRf.indeterminate,onChange:e.handleCheckChange},{default:bt(()=>[Ot(" 全选/反选 ")]),_:1},8,["checked","indeterminate","onChange"])])]),e.fixedLeftColumnsRef.length>0?(ze(!0),it(De,{key:0},Sn(e.fixedLeftColumnsRef,(u,c)=>(ze(),it("div",{key:c,class:"no-drag-item"},[Ht("div",Bbe,[v(a,{checked:u.checked,"onUpdate:checked":d=>u.checked=d},{default:bt(()=>[Ot($n(u.title),1)]),_:2},1032,["checked","onUpdate:checked"])])]))),128)):xt("",!0),e.activeColumnsRef.length>0?(ze(),it("div",zbe,[(ze(!0),it(De,null,Sn(e.activeColumnsRef,u=>(ze(),it("div",{key:u.dataIndex,class:"drag-item"},[v(i,{class:"drag-icon"}),Ht("div",jbe,[v(a,{checked:u.checked,"onUpdate:checked":c=>u.checked=c},{default:bt(()=>[Ot($n(u.title),1)]),_:2},1032,["checked","onUpdate:checked"])])]))),128))],512)):xt("",!0),e.fixedRightColumnsRef.length>0?(ze(!0),it(De,{key:2},Sn(e.fixedRightColumnsRef,(u,c)=>(ze(),it("div",{key:c,class:"no-drag-item"},[Ht("div",Nbe,[v(a,{checked:u.checked,"onUpdate:checked":d=>u.checked=d},{default:bt(()=>[Ot($n(u.title),1)]),_:2},1032,["checked","onUpdate:checked"])])]))),128)):xt("",!0)]),_:1},8,["open","onOk"])}const _be=lo(Abe,[["render",Fbe],["__scopeId","data-v-33794367"]]),U7={change:"change",updateModelValue:"update:modelValue"},Hbe=Object.values(U7),Lbe={modelValue:{required:!0,type:[String,Number]},tabsConfig:{required:!1,type:Object}},Wbe=te({props:Lbe,emits:Hbe,setup(e,{emit:t}){const n=Jh(e,"modelValue",t);function o(r){n.value=r,t(U7.change)}return he([()=>e.tabsConfig.defaultValue],()=>{e.tabsConfig.defaultValue?n.value=e.tabsConfig.defaultValue:n.value=e.tabsConfig.items&&e.tabsConfig.items[0]&&e.tabsConfig.items[0].key||""},{immediate:!0}),{activeKeyVM:n,handleChange:o}}});function Kbe(e,t,n,o,r,l){const a=ut("m-tab-pane"),i=ut("m-tabs");return e.tabsConfig.items&&e.tabsConfig.items.length>0?(ze(),St(i,{key:0,activeKey:e.activeKeyVM,type:"card",onChange:e.handleChange},{default:bt(()=>[(ze(!0),it(De,null,Sn(e.tabsConfig.items,s=>(ze(),St(a,{key:s.key,tab:s.tab},null,8,["tab"]))),128))]),_:1},8,["activeKey","onChange"])):xt("",!0)}const Vbe=lo(Wbe,[["render",Kbe],["__scopeId","data-v-d3a3fcf0"]]),V3=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],wl=(()=>{if(typeof document>"u")return!1;const e=V3[0],t={};for(const n of V3)if((n==null?void 0:n[1])in document){for(const[o,r]of n.entries())t[e[o]]=r;return t}return!1})(),X3={change:wl.fullscreenchange,error:wl.fullscreenerror};let No={request(e=document.documentElement,t){return new Promise((n,o)=>{const r=()=>{No.off("change",r),n()};No.on("change",r);const l=e[wl.requestFullscreen](t);l instanceof Promise&&l.then(r).catch(o)})},exit(){return new Promise((e,t)=>{if(!No.isFullscreen){e();return}const n=()=>{No.off("change",n),e()};No.on("change",n);const o=document[wl.exitFullscreen]();o instanceof Promise&&o.then(n).catch(t)})},toggle(e,t){return No.isFullscreen?No.exit():No.request(e,t)},onchange(e){No.on("change",e)},onerror(e){No.on("error",e)},on(e,t){const n=X3[e];n&&document.addEventListener(n,t,!1)},off(e,t){const n=X3[e];n&&document.removeEventListener(n,t,!1)},raw:wl};Object.defineProperties(No,{isFullscreen:{get:()=>!!document[wl.fullscreenElement]},element:{enumerable:!0,get:()=>document[wl.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[wl.fullscreenEnabled]}});wl||(No={isEnabled:!1});const gu=No,Gm=ee({});function Xbe(){const e=ee(null);function t(){gu.isFullscreen?(Gm.value={getContainer:()=>e.value},e.value.classList.add("m-overflow-auto")):(Gm.value=void 0,e.value.classList.remove("m-overflow-auto"))}function n(){const o=e.value;gu.isEnabled&&gu.request(o)}return Ke(()=>{gu.on("change",t)}),Je(()=>{gu.off("change",t)}),{tableContainerDomRef:e,handleFullScreen:n,stickyRef:Gm}}function Y7(e,t){e.shownColumns.forEach(n=>{const o=t.find(r=>r.dataIndex===n.dataIndex);n&&n.typeConfig&&(n.typeConfig=o.typeConfig)})}const Eu="m-components",_a="table-columns",os=ee(""),Gbe={oriColumns:[],config:{fixedLeftColumns:[],activeColumns:[],fixedRightColumns:[]},shownColumns:[]};function Ube(){os.value=location.href}function q7(e,t,n){return[...e.filter(o=>o.checked).map(o=>{const r={...o};return delete r.checked,r}),...t.filter(o=>o.checked).map(o=>{const r={...o};return delete r.checked,r}),...n.filter(o=>o.checked).map(o=>{const r={...o};return delete r.checked,r})]}function Ybe(e){const t=e.findLastIndex(r=>["left",!0].includes(r.fixed));let n=e.findIndex(r=>["right"].includes(r.fixed));n=n===-1?e.length:n;const o={oriColumns:[],config:{fixedLeftColumns:e.slice(0,t+1),activeColumns:e.slice(t+1,n),fixedRightColumns:e.slice(n)},shownColumns:[]};return o.config.fixedLeftColumns.forEach(r=>r.checked=!0),o.config.activeColumns.forEach(r=>r.checked=!0),o.config.fixedRightColumns.forEach(r=>r.checked=!0),o.oriColumns=e,o.shownColumns=q7(o.config.fixedLeftColumns,o.config.activeColumns,o.config.fixedRightColumns),o}function qbe(e,t){if(e.value.shownColumns=q7(e.value.config.fixedLeftColumns,e.value.config.activeColumns,e.value.config.fixedRightColumns),Y7(e.value,t),!localStorage.getItem(Eu))localStorage.setItem(Eu,JSON.stringify({[_a]:{[os.value]:e.value}}));else{const n=JSON.parse(localStorage.getItem(Eu));n[_a]||(n[_a]={}),n[_a][os.value]?n[_a][os.value]=e.value:n[_a][os.value]={},localStorage.setItem(Eu,JSON.stringify(n))}}function Qbe(e){Ube();const t=ee(),n=ee();function o(){let l=Re(Gbe);const a=Ybe(e.value);let i=localStorage.getItem(Eu);if(!i)l=a;else{i=JSON.parse(i);const s=i[_a];if(!s)l=a;else{const u=s[os.value];u?JSON.stringify(u.oriColumns)!==JSON.stringify(e.value)?l=a:(l=u,Y7(l,e.value)):l=a}}return{isShowCustomColumnsModal:!1,pageConfig:l}}function r(l){n.value.config=l,qbe(n,e.value)}return he(e,()=>{const{isShowCustomColumnsModal:l,pageConfig:a}=o();t.value=l,n.value=a},{immediate:!0}),{pageConfigRef:n,isShowCustomColumnsModalRef:t,handleCustomColumnsChange:r}}const Jbe=te({components:{pageTabs:Vbe,ability:obe,customColumnsModal:_be},inheritAttrs:!1,props:K0e,emits:W0e,setup(e,{expose:t}){const{pageConfigRef:n,isShowCustomColumnsModalRef:o,handleCustomColumnsChange:r}=Qbe(Be(e,"columns")),{formCompRef:l}=V0e(),{antTableComponentRef:a,getProps:i}=X0e(),{tableContainerDomRef:s,stickyRef:u,handleFullScreen:c}=Xbe(),d=ee({data:""}),p=ee({data:{}}),f=ee(null),g=ee({multipleConfig:{}}),h=ee({data:""}),b=ee({isFirstGetTable:!0,isLoading:!1,table:{data:[],pageable:{}},condition:{}});async function $(){let P={};if(d.value.data){const T={[e.pageTopTabs.uploadKey]:d.value.data};Object.assign(P,T)}if(p.value.data){const T=Re(p.value.data);Object.assign(P,Re(T))}if(h.value.data){const T={[e.tableAboveTabs.uploadKey]:h.value.data};Object.assign(P,T)}return b.value.condition.pagination&&Object.assign(P,b.value.condition.pagination),e.getTableDataExtraParamsAsync&&(P=await e.getTableDataExtraParamsAsync(P)),Promise.resolve(P)}async function y(){b.value.isLoading=!0;try{b.value.isFirstGetTable&&e.delayFirstAsync&&(await e.delayFirstAsync(),b.value.isFirstGetTable=!1);const P=await $(),T=await e.getTableDataAsync(P);b.value.table.data=T.data,b.value.table.pageable=T.pageable}catch{b.value.table.data=[]}finally{b.value.isLoading=!1}}function x(...P){f.value.handleCancelMultiple(...P)}function w(){p.value.data={},rt(()=>{a.value.reset()})}function C(){a.value.reset()}function k(){a.value.reset()}function S(){p.value.data={},rt(()=>{a.value.reset()})}function O(){y()}function E(){o.value=!0}return t({antFormComponent:I(()=>l.value&&l.value.antFormComponent||null),antTableComponent:I(()=>a.value.antTableComponent),handleFormQuery:k,getTableData:y}),{formCompRef:l,antTableComponentRef:a,tableConfigRef:b,formConfigRef:p,getProps:i,handleFormQuery:k,handleFormReset:S,handleCancelMultiple:x,pageTopTabsConfigRf:d,tableAboveTabsConfigRef:h,FORM_TYPE:fa,abilityConfigRef:g,handlePaginationChange:O,handlePageTopTabChange:w,handleTableAboveTabChange:C,pageConfigRef:n,isShowCustomColumnsModalRef:o,handleOpenResizeModal:E,handleCustomColumnsChange:r,abilityRef:f,handleFullScreen:c,stickyRef:u,tableContainerDomRef:s,getParamsAsync:$}}}),Zbe={key:3,class:"mt-10px"},eye={ref:"tableContainerDomRef",class:"table-container"},tye={key:0,class:"table-slot"},nye={key:1,class:"table-slot"};function oye(e,t,n,o,r,l){const a=ut("page-tabs"),i=ut("m-form"),s=ut("ability"),u=ut("m-table"),c=ut("custom-columns-modal");return ze(),it("div",{class:xr(["m-page",e.$attrs.class]),style:Ho(e.$attrs.style)},[e.pageTopTabs?(ze(),St(a,{key:0,modelValue:e.pageTopTabsConfigRf.data,"onUpdate:modelValue":t[0]||(t[0]=d=>e.pageTopTabsConfigRf.data=d),tabsConfig:e.pageTopTabs,onChange:e.handlePageTopTabChange},null,8,["modelValue","tabsConfig","onChange"])):xt("",!0),e.condition?(ze(),St(i,Gt({key:1,ref:"formCompRef",modelValue:e.formConfigRef.data,"onUpdate:modelValue":t[1]||(t[1]=d=>e.formConfigRef.data=d)},e.condition,{type:e.FORM_TYPE.tableCondition,onQuery:e.handleFormQuery,onReset:e.handleFormReset}),null,16,["modelValue","type","onQuery","onReset"])):xt("",!0),v(s,{ref:"abilityRef",modelValue:e.abilityConfigRef.multipleConfig,"onUpdate:modelValue":t[2]||(t[2]=d=>e.abilityConfigRef.multipleConfig=d),class:"ability mt-10px",ability:e.ability,getParamsAsync:e.getParamsAsync,onOpenResizeModal:e.handleOpenResizeModal,onFullScreen:e.handleFullScreen},null,8,["modelValue","ability","getParamsAsync","onOpenResizeModal","onFullScreen"]),e.tableAboveTabs?(ze(),St(a,{key:2,modelValue:e.tableAboveTabsConfigRef.data,"onUpdate:modelValue":t[3]||(t[3]=d=>e.tableAboveTabsConfigRef.data=d),class:"mt-10px",tabsConfig:e.tableAboveTabs,onChange:e.handleTableAboveTabChange},null,8,["modelValue","tabsConfig","onChange"])):xt("",!0),e.$slots.tableAbove?(ze(),it("div",Zbe,[po(e.$slots,"tableAbove",{},void 0,!0)])):xt("",!0),Ht("div",eye,[e.$slots.tableLeft?(ze(),it("div",tye,[po(e.$slots,"tableLeft",{},void 0,!0)])):xt("",!0),v(u,Gt({ref:"antTableComponentRef",paginationParams:e.tableConfigRef.condition,"onUpdate:paginationParams":t[4]||(t[4]=d=>e.tableConfigRef.condition=d),class:"flex-1"},e.getProps(e.$attrs),{sticky:e.stickyRef,columns:e.pageConfigRef.shownColumns,operationsColumn:e.operationsColumn,dataSource:e.tableConfigRef.table.data,loading:e.tableConfigRef.isLoading,multiple:e.abilityConfigRef.multipleConfig,pagination:e.tableConfigRef.table.pageable,paginationMap:e.paginationMap,onChange:e.handlePaginationChange,onCancelMultiple:e.handleCancelMultiple}),Cl({_:2},[Sn(e.$slots,(d,p)=>({name:p,fn:bt(f=>[po(e.$slots,p,Gt(f,{key:p}),void 0,!0)])}))]),1040,["paginationParams","sticky","columns","operationsColumn","dataSource","loading","multiple","pagination","paginationMap","onChange","onCancelMultiple"]),e.$slots.tableRight?(ze(),it("div",nye,[po(e.$slots,"tableRight",{},void 0,!0)])):xt("",!0)],512),e.isShowCustomColumnsModalRef?(ze(),St(c,{key:4,open:e.isShowCustomColumnsModalRef,"onUpdate:open":t[5]||(t[5]=d=>e.isShowCustomColumnsModalRef=d),config:e.pageConfigRef.config,onChange:e.handleCustomColumnsChange},null,8,["open","config","onChange"])):xt("",!0)],6)}const rye=lo(Jbe,[["render",oye],["__scopeId","data-v-85a2c4c1"]]),lye={},aye=Object.values(lye),iye={};function sye(){function e(t){const{style:n,...o}=t;return delete o.class,o}return{getProps:e}}const uye=te({inheritAttrs:!1,props:iye,emits:aye,setup(e,{expose:t}){const{getProps:n}=sye();return t({}),{getProps:n}}}),cye={key:0,class:"description"};function dye(e,t,n,o,r,l){return ze(),it("div",Gt({class:["m-title"]},e.getProps(e.$attrs),{style:e.$attrs.style}),[po(e.$slots,"default",{},void 0,!0),e.$slots.description?(ze(),it("span",cye,[po(e.$slots,"description",{},void 0,!0)])):xt("",!0)],16)}const pye=lo(uye,[["render",dye],["__scopeId","data-v-88d3edb7"]]),fye={},vye={},hye={},gye={},mye={...gye},bye=Object.values(mye),yye={items:{required:!1,type:Array,default(){return[]}}};function $ye(){function e(t){const{style:n,...o}=t;delete o.class;for(const r of Object.values(vye))delete o[r];return Object.assign(Re(o),Re(fye),Re(o))}return{getProps:e}}function xye(){function e(t){const{...n}=t;for(const o of Object.values(hye))delete n[o];return n}return{getSlots:e}}const wye={disabled:!1,hidden:!1,async confirmAsync(){console.error("未提供必输confirmAsync函数")},label:"",mode:hd.normal,loading:!1};function Cye(e){const t=ee([]);function n(){t.value=Re(e.value),t.value.forEach((o,r)=>{Object.assign(t.value[r],Re(wye),Re(t.value[r]))})}return he(e,()=>{n()},{immediate:!0,deep:!0}),{itemsRef:t}}const Sye=te({inheritAttrs:!1,props:yye,emits:bye,setup(e,{expose:t}){const{getProps:n}=$ye(),{getSlots:o}=xye(),{itemsRef:r}=Cye(Be(e,"items"));function l(a){a.loading=!0,a.confirmAsync().then(()=>{}).finally(()=>{a.loading=!1})}return t({}),{getProps:n,getSlots:o,itemsRef:r,handleClick:l}}});function kye(e,t,n,o,r,l){const a=ut("m-button");return ze(),it("div",Gt(e.getProps(e.$attrs),{class:["m-footer",e.$attrs.class],style:e.$attrs.style}),[(ze(!0),it(De,null,Sn(e.itemsRef,(i,s)=>(ze(),it(De,{key:s},[i.hidden?xt("",!0):(ze(),St(a,{key:0,mode:i.mode,loading:i.loading,disabled:i.disabled,onClick:u=>e.handleClick(i)},{default:bt(()=>[Ot($n(i.label),1)]),_:2},1032,["mode","loading","disabled","onClick"]))],64))),128))],16)}const Oye=lo(Sye,[["render",kye],["__scopeId","data-v-3f974934"]]),Q7={click:"click"},Iye=Object.values(Q7),Eye={type:{required:!1,type:String,default:"primary"},disabled:{required:!1,type:Boolean,default:!1},href:{required:!1,type:String,default:""}},Pye=te({props:Eye,emits:Iye,setup(e,{emit:t,expose:n}){const o=I(()=>!e.disabled&&e.href?e.href:"javascript:void(0);");function r(a){e.disabled||t(Q7.click,a)}const l={};return n(l),{...l,hrefCp:o,handleClick:r}}}),Mye=["href"];function Tye(e,t,n,o,r,l){return ze(),it("a",{href:e.hrefCp,class:xr(["m-link",e.type,{disabled:e.disabled}]),onClick:t[0]||(t[0]=(...a)=>e.handleClick&&e.handleClick(...a))},[po(e.$slots,"default",{},void 0,!0)],10,Mye)}const Aye=lo(Pye,[["render",Tye],["__scopeId","data-v-24f79ee6"]]),Rye={},Dye={},Bye={},zye={};function jye(){function e(t){const{style:n,...o}=t;delete o.class;for(const r of Object.values(Dye))delete o[r];return Object.assign(Re(o),Re(Rye),Re(o))}return{getProps:e}}function Nye(){function e(t){const{...n}=t;for(const o of Object.values(Bye))delete n[o];return n}return{getSlots:e}}const Fye={...zye},_ye=Object.values(Fye),Hye={url:{required:!0,type:String},enablePreview:{required:!1,type:Boolean,default(){return!0}},enableDownload:{required:!1,type:Boolean,default(){return!0}},downloadAsync:{required:!1,type:Function}},Wi={PIC:"PIC",AUDIO:"AUDIO",VIDEO:"VIDEO",OFFICE:"OFFICE",PDF:"PDF"},Lye=[".png",".jpg",".jpeg"],Wye=[".audio",".mp3",".ogg"],Kye=[".video",".mp4"],Vye=[".docx",".xlsx",".ppt"],Xye=te({components:{AudioOutlined:wx,VideoCameraOutlined:Ex,FileWordOutlined:Ox,FilePdfOutlined:kx,CompressOutlined:Cx,ArrowDownOutlined:xx},inheritAttrs:!1,props:Hye,emits:_ye,setup(e,{expose:t}){const{getProps:n}=jye(),{getSlots:o}=Nye(),r=ee(!1),l=I(()=>Lye.find(u=>e.url.includes(u))?Wi.PIC:Wye.find(u=>e.url.includes(u))?Wi.AUDIO:Kye.find(u=>e.url.includes(u))?Wi.VIDEO:Vye.find(u=>e.url.includes(u))?Wi.OFFICE:Wi.PDF);function a(){r.value=!0}function i(){r.value=!1}async function s(){e.downloadAsync(e.url).then(()=>{})}return t({}),{getProps:n,getSlots:o,TYPE:Wi,currentTypeCp:l,visibleRef:r,handlePreview:a,handlePreviewCancel:i,handleDownload:s}}}),Gye={class:"inline-flex items-center"},Uye=["src"],Yye={key:0,controls:"",controlsList:"nodownload",class:"w-100%"},qye=Ht("track",{kind:"captions"},null,-1),Qye=["src"],Jye={key:1,controls:"",muted:"",controlsList:"nodownload"},Zye=Ht("track",{kind:"captions"},null,-1),e1e=["src"],t1e=["src"],n1e=["src"];function o1e(e,t,n,o,r,l){const a=ut("AudioOutlined"),i=ut("VideoCameraOutlined"),s=ut("FileWordOutlined"),u=ut("FilePdfOutlined"),c=ut("CompressOutlined"),d=ut("ArrowDownOutlined"),p=ut("m-image"),f=ut("m-modal");return ze(),it("div",Gt(e.getProps(e.$attrs),{class:["m-preview-download",e.$attrs.class],style:e.$attrs.style}),[Ht("div",Gye,[e.currentTypeCp===e.TYPE.PIC?(ze(),it("img",{key:0,src:e.url,class:"w-24px h-24px"},null,8,Uye)):e.currentTypeCp===e.TYPE.AUDIO?(ze(),St(a,{key:1,class:"text-24px"})):e.currentTypeCp===e.TYPE.VIDEO?(ze(),St(i,{key:2,class:"text-24px"})):e.currentTypeCp===e.TYPE.OFFICE?(ze(),St(s,{key:3,class:"text-24px"})):e.currentTypeCp===e.TYPE.PDF?(ze(),St(u,{key:4,class:"text-24px"})):xt("",!0),e.enablePreview?(ze(),St(c,{key:5,class:"ml-8px cursor-pointer text-14px",onClick:e.handlePreview},null,8,["onClick"])):xt("",!0),e.enableDownload?(ze(),St(d,{key:6,class:"ml-8px cursor-pointer text-14px",onClick:e.handleDownload},null,8,["onClick"])):xt("",!0)]),v(p,{class:"hidden",preview:{visible:e.currentTypeCp===e.TYPE.PIC&&e.visibleRef,onVisibleChange:e.handlePreviewCancel},src:e.url},null,8,["preview","src"]),e.currentTypeCp!==e.TYPE.PIC&&e.visibleRef?(ze(),St(f,{key:0,title:"预览",footer:null,visible:!0,width:"100%","wrap-class-name":"full-modal",onCancel:e.handlePreviewCancel},{default:bt(()=>[e.currentTypeCp===e.TYPE.AUDIO?(ze(),it("audio",Yye,[qye,Ht("source",{src:e.url,type:"audio/mpeg"},null,8,Qye)])):xt("",!0),e.currentTypeCp===e.TYPE.VIDEO?(ze(),it("video",Jye,[Zye,Ht("source",{src:e.url,type:"video/mp4"},null,8,e1e)])):xt("",!0),e.currentTypeCp===e.TYPE.OFFICE?(ze(),it("iframe",{key:2,src:"https://view.officeapps.live.com/op/view.aspx?src="+e.url,class:"w-100% h-100%"},null,8,t1e)):xt("",!0),e.currentTypeCp===e.TYPE.PDF?(ze(),it("iframe",{key:3,src:e.url,class:"w-100% h-100%"},null,8,n1e)):xt("",!0)]),_:1},8,["onCancel"])):xt("",!0)],16)}const r1e=lo(Xye,[["render",o1e]]),l1e={Page:rye,Title:pye,Footer:Oye,Link:Aye,PreviewDownload:r1e},a1e=Object.assign({},She,H0e,l1e);function i1e(e){for(const[t,n]of Object.entries(a1e))e.component(`m${t}`,n)}const s1e="mo-h5-bridge",u1e="0.0.39",c1e="module",d1e="./dist/mo-h5-bridge.js",p1e="./dist/index.d.ts",f1e={dev:"vite --mode dev",pack:"cd ./build && ./index.sh",doc:"vite build --mode doc",build:"vite build --mode package"},v1e={"@types/pinyin":"^2.10.2","lodash-es":"^4.17.21","mo-front-end-util":"^0.0.12","mo-web-components":"^4.0.17",nprogress:"^0.2.0",rimraf:"^6.0.1",screenfull:"^6.0.2",unocss:"^0.60.4","vite-plugin-dts":"^4.5.0",vue:"^3.4.21","vue-router":"^4.3.2"},h1e={"@eslint/js":"^9.30.0","@typescript-eslint/eslint-plugin":"^8.35.0","@typescript-eslint/parser":"^8.35.0","@vitejs/plugin-vue":"^5.0.4","@vueuse/core":"^10.10.0",autoprefixer:"^10.4.19",eslint:"^9.4.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-unused-imports":"^4.0.0","eslint-plugin-vue":"^9.26.0",globals:"^15.4.0","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.2","rollup-plugin-visualizer":"^5.12.0",sass:"^1.77.4","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^5.0.1","stylelint-config-recommended-scss":"^14.0.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard":"^36.0.0","stylelint-config-standard-scss":"^13.1.0","stylelint-order":"^6.0.4","stylelint-prettier":"^5.0.0","stylelint-scss":"^6.3.1",typescript:"^5.2.2","typescript-eslint":"^7.13.0",vite:"^5.2.0","vite-plugin-doc-preview":"^0.2.1","vite-plugin-eslint":"^1.8.1","vite-plugin-stylelint":"^5.3.1","vue-eslint-parser":"^10.1.4","vue-tsc":"^2.0.6"},g1e={name:s1e,private:!1,version:u1e,type:c1e,main:d1e,types:p1e,scripts:f1e,dependencies:v1e,devDependencies:h1e};/*!
|
|
500
500
|
* vue-router v4.3.2
|
|
501
501
|
* (c) 2024 Eduardo San Martin Morote
|
|
502
502
|
* @license MIT
|
|
503
503
|
*/const Yi=typeof document<"u";function m1e(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const jt=Object.assign;function Um(e,t){const n={};for(const o in t){const r=t[o];n[o]=kr(r)?r.map(e):e(r)}return n}const lc=()=>{},kr=Array.isArray,J7=/#/g,b1e=/&/g,y1e=/\//g,$1e=/=/g,x1e=/\?/g,Z7=/\+/g,w1e=/%5B/g,C1e=/%5D/g,eA=/%5E/g,S1e=/%60/g,tA=/%7B/g,k1e=/%7C/g,nA=/%7D/g,O1e=/%20/g;function Nx(e){return encodeURI(""+e).replace(k1e,"|").replace(w1e,"[").replace(C1e,"]")}function I1e(e){return Nx(e).replace(tA,"{").replace(nA,"}").replace(eA,"^")}function Vb(e){return Nx(e).replace(Z7,"%2B").replace(O1e,"+").replace(J7,"%23").replace(b1e,"%26").replace(S1e,"`").replace(tA,"{").replace(nA,"}").replace(eA,"^")}function E1e(e){return Vb(e).replace($1e,"%3D")}function P1e(e){return Nx(e).replace(J7,"%23").replace(x1e,"%3F")}function M1e(e){return e==null?"":P1e(e).replace(y1e,"%2F")}function _c(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const T1e=/\/$/,A1e=e=>e.replace(T1e,"");function Ym(e,t,n="/"){let o,r={},l="",a="";const i=t.indexOf("#");let s=t.indexOf("?");return i<s&&i>=0&&(s=-1),s>-1&&(o=t.slice(0,s),l=t.slice(s+1,i>-1?i:t.length),r=e(l)),i>-1&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=z1e(o??t,n),{fullPath:o+(l&&"?")+l+a,path:o,query:r,hash:_c(a)}}function R1e(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function G3(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function D1e(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&As(t.matched[o],n.matched[r])&&oA(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function As(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function oA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!B1e(e[n],t[n]))return!1;return!0}function B1e(e,t){return kr(e)?U3(e,t):kr(t)?U3(t,e):e===t}function U3(e,t){return kr(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function z1e(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let l=n.length-1,a,i;for(a=0;a<o.length;a++)if(i=o[a],i!==".")if(i==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+o.slice(a).join("/")}var Hc;(function(e){e.pop="pop",e.push="push"})(Hc||(Hc={}));var ac;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ac||(ac={}));function j1e(e){if(!e)if(Yi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),A1e(e)}const N1e=/^[^#]+#/;function F1e(e,t){return e.replace(N1e,"#")+t}function _1e(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const eg=()=>({left:window.scrollX,top:window.scrollY});function H1e(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=_1e(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Y3(e,t){return(history.state?history.state.position-t:-1)+e}const Xb=new Map;function L1e(e,t){Xb.set(e,t)}function W1e(e){const t=Xb.get(e);return Xb.delete(e),t}let K1e=()=>location.protocol+"//"+location.host;function rA(e,t){const{pathname:n,search:o,hash:r}=t,l=e.indexOf("#");if(l>-1){let i=r.includes(e.slice(l))?e.slice(l).length:1,s=r.slice(i);return s[0]!=="/"&&(s="/"+s),G3(s,"")}return G3(n,e)+o+r}function V1e(e,t,n,o){let r=[],l=[],a=null;const i=({state:p})=>{const f=rA(e,location),g=n.value,h=t.value;let b=0;if(p){if(n.value=f,t.value=p,a&&a===g){a=null;return}b=h?p.position-h.position:0}else o(f);r.forEach($=>{$(n.value,g,{delta:b,type:Hc.pop,direction:b?b>0?ac.forward:ac.back:ac.unknown})})};function s(){a=n.value}function u(p){r.push(p);const f=()=>{const g=r.indexOf(p);g>-1&&r.splice(g,1)};return l.push(f),f}function c(){const{history:p}=window;p.state&&p.replaceState(jt({},p.state,{scroll:eg()}),"")}function d(){for(const p of l)p();l=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:s,listen:u,destroy:d}}function q3(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?eg():null}}function X1e(e){const{history:t,location:n}=window,o={value:rA(e,n)},r={value:t.state};r.value||l(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(s,u,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:K1e()+e+s;try{t[c?"replaceState":"pushState"](u,"",p),r.value=u}catch(f){console.error(f),n[c?"replace":"assign"](p)}}function a(s,u){const c=jt({},t.state,q3(r.value.back,s,r.value.forward,!0),u,{position:r.value.position});l(s,c,!0),o.value=s}function i(s,u){const c=jt({},r.value,t.state,{forward:s,scroll:eg()});l(c.current,c,!0);const d=jt({},q3(o.value,s,null),{position:c.position+1},u);l(s,d,!1),o.value=s}return{location:o,state:r,push:i,replace:a}}function G1e(e){e=j1e(e);const t=X1e(e),n=V1e(e,t.state,t.location,t.replace);function o(l,a=!0){a||n.pauseListeners(),history.go(l)}const r=jt({location:"",base:e,go:o,createHref:F1e.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function U1e(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),G1e(e)}function Y1e(e){return typeof e=="string"||e&&typeof e=="object"}function lA(e){return typeof e=="string"||typeof e=="symbol"}const Hl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},aA=Symbol("");var Q3;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Q3||(Q3={}));function Rs(e,t){return jt(new Error,{type:e,[aA]:!0},t)}function rl(e,t){return e instanceof Error&&aA in e&&(t==null||!!(e.type&t))}const J3="[^/]+?",q1e={sensitive:!1,strict:!1,start:!0,end:!0},Q1e=/[.+*?^${}()[\]/\\]/g;function J1e(e,t){const n=jt({},q1e,t),o=[];let r=n.start?"^":"";const l=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let d=0;d<u.length;d++){const p=u[d];let f=40+(n.sensitive?.25:0);if(p.type===0)d||(r+="/"),r+=p.value.replace(Q1e,"\\$&"),f+=40;else if(p.type===1){const{value:g,repeatable:h,optional:b,regexp:$}=p;l.push({name:g,repeatable:h,optional:b});const y=$||J3;if(y!==J3){f+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${g}" (${y}): `+w.message)}}let x=h?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;d||(x=b&&u.length<2?`(?:/${x})`:"/"+x),b&&(x+="?"),r+=x,f+=20,b&&(f+=-8),h&&(f+=-20),y===".*"&&(f+=-50)}c.push(f)}o.push(c)}if(n.strict&&n.end){const u=o.length-1;o[u][o[u].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function i(u){const c=u.match(a),d={};if(!c)return null;for(let p=1;p<c.length;p++){const f=c[p]||"",g=l[p-1];d[g.name]=f&&g.repeatable?f.split("/"):f}return d}function s(u){let c="",d=!1;for(const p of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const f of p)if(f.type===0)c+=f.value;else if(f.type===1){const{value:g,repeatable:h,optional:b}=f,$=g in u?u[g]:"";if(kr($)&&!h)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const y=kr($)?$.join("/"):$;if(!y)if(b)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);c+=y}}return c||"/"}return{re:a,score:o,keys:l,parse:i,stringify:s}}function Z1e(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function e$e(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const l=Z1e(o[n],r[n]);if(l)return l;n++}if(Math.abs(r.length-o.length)===1){if(Z3(o))return 1;if(Z3(r))return-1}return r.length-o.length}function Z3(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const t$e={type:0,value:""},n$e=/[a-zA-Z0-9_]/;function o$e(e){if(!e)return[[]];if(e==="/")return[[t$e]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${u}": ${f}`)}let n=0,o=n;const r=[];let l;function a(){l&&r.push(l),l=[]}let i=0,s,u="",c="";function d(){u&&(n===0?l.push({type:0,value:u}):n===1||n===2||n===3?(l.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:u,regexp:c,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=s}for(;i<e.length;){if(s=e[i++],s==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:s==="/"?(u&&d(),a()):s===":"?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:s==="("?n=2:n$e.test(s)?p():(d(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&i--);break;case 2:s===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+s:n=3:c+=s;break;case 3:d(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&i--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),a(),r}function r$e(e,t,n){const o=J1e(o$e(e.path),n),r=jt(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function l$e(e,t){const n=[],o=new Map;t=n6({strict:!1,end:!0,sensitive:!1},t);function r(c){return o.get(c)}function l(c,d,p){const f=!p,g=a$e(c);g.aliasOf=p&&p.record;const h=n6(t,c),b=[g];if("alias"in c){const x=typeof c.alias=="string"?[c.alias]:c.alias;for(const w of x)b.push(jt({},g,{components:p?p.record.components:g.components,path:w,aliasOf:p?p.record:g}))}let $,y;for(const x of b){const{path:w}=x;if(d&&w[0]!=="/"){const C=d.record.path,k=C[C.length-1]==="/"?"":"/";x.path=d.record.path+(w&&k+w)}if($=r$e(x,d,h),p?p.alias.push($):(y=y||$,y!==$&&y.alias.push($),f&&c.name&&!t6($)&&a(c.name)),g.children){const C=g.children;for(let k=0;k<C.length;k++)l(C[k],$,p&&p.children[k])}p=p||$,($.record.components&&Object.keys($.record.components).length||$.record.name||$.record.redirect)&&s($)}return y?()=>{a(y)}:lc}function a(c){if(lA(c)){const d=o.get(c);d&&(o.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&o.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function i(){return n}function s(c){let d=0;for(;d<n.length&&e$e(c,n[d])>=0&&(c.record.path!==n[d].record.path||!iA(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!t6(c)&&o.set(c.record.name,c)}function u(c,d){let p,f={},g,h;if("name"in c&&c.name){if(p=o.get(c.name),!p)throw Rs(1,{location:c});h=p.record.name,f=jt(e6(d.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),c.params&&e6(c.params,p.keys.map(y=>y.name))),g=p.stringify(f)}else if(c.path!=null)g=c.path,p=n.find(y=>y.re.test(g)),p&&(f=p.parse(g),h=p.record.name);else{if(p=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!p)throw Rs(1,{location:c,currentLocation:d});h=p.record.name,f=jt({},d.params,c.params),g=p.stringify(f)}const b=[];let $=p;for(;$;)b.unshift($.record),$=$.parent;return{name:h,path:g,params:f,matched:b,meta:s$e(b)}}return e.forEach(c=>l(c)),{addRoute:l,resolve:u,removeRoute:a,getRoutes:i,getRecordMatcher:r}}function e6(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function a$e(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:i$e(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function i$e(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function t6(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function s$e(e){return e.reduce((t,n)=>jt(t,n.meta),{})}function n6(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function iA(e,t){return t.children.some(n=>n===e||iA(e,n))}function u$e(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const l=o[r].replace(Z7," "),a=l.indexOf("="),i=_c(a<0?l:l.slice(0,a)),s=a<0?null:_c(l.slice(a+1));if(i in t){let u=t[i];kr(u)||(u=t[i]=[u]),u.push(s)}else t[i]=s}return t}function o6(e){let t="";for(let n in e){const o=e[n];if(n=E1e(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(kr(o)?o.map(l=>l&&Vb(l)):[o&&Vb(o)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function c$e(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=kr(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const d$e=Symbol(""),r6=Symbol(""),tg=Symbol(""),sA=Symbol(""),Gb=Symbol("");function mu(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ql(e,t,n,o,r,l=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,s)=>{const u=p=>{p===!1?s(Rs(4,{from:n,to:t})):p instanceof Error?s(p):Y1e(p)?s(Rs(2,{from:t,to:p})):(a&&o.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),i())},c=l(()=>e.call(o&&o.instances[r],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(p=>s(p))})}function qm(e,t,n,o,r=l=>l()){const l=[];for(const a of e)for(const i in a.components){let s=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(p$e(s)){const c=(s.__vccOpts||s)[t];c&&l.push(ql(c,n,o,a,i,r))}else{let u=s();l.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${a.path}"`));const d=m1e(c)?c.default:c;a.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&ql(f,n,o,a,i,r)()}))}}return l}function p$e(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function l6(e){const t=Ve(tg),n=Ve(sA),o=I(()=>{const s=Xt(e.to);return t.resolve(s)}),r=I(()=>{const{matched:s}=o.value,{length:u}=s,c=s[u-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(As.bind(null,c));if(p>-1)return p;const f=a6(s[u-2]);return u>1&&a6(c)===f&&d[d.length-1].path!==f?d.findIndex(As.bind(null,s[u-2])):p}),l=I(()=>r.value>-1&&g$e(n.params,o.value.params)),a=I(()=>r.value>-1&&r.value===n.matched.length-1&&oA(n.params,o.value.params));function i(s={}){return h$e(s)?t[Xt(e.replace)?"replace":"push"](Xt(e.to)).catch(lc):Promise.resolve()}return{route:o,href:I(()=>o.value.href),isActive:l,isExactActive:a,navigate:i}}const f$e=te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:l6,setup(e,{slots:t}){const n=yt(l6(e)),{options:o}=Ve(tg),r=I(()=>({[i6(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[i6(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&t.default(n);return e.custom?l:Lo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},l)}}}),v$e=f$e;function h$e(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function g$e(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!kr(r)||r.length!==o.length||o.some((l,a)=>l!==r[a]))return!1}return!0}function a6(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const i6=(e,t,n)=>e??t??n,m$e=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ve(Gb),r=I(()=>e.route||o.value),l=Ve(r6,0),a=I(()=>{let u=Xt(l);const{matched:c}=r.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),i=I(()=>r.value.matched[a.value]);qe(r6,I(()=>a.value+1)),qe(d$e,i),qe(Gb,r);const s=ee();return he(()=>[s.value,i.value,e.name],([u,c,d],[p,f,g])=>{c&&(c.instances[d]=u,f&&f!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),u&&c&&(!f||!As(c,f)||!p)&&(c.enterCallbacks[d]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,d=i.value,p=d&&d.components[c];if(!p)return s6(n.default,{Component:p,route:u});const f=d.props[c],g=f?f===!0?u.params:typeof f=="function"?f(u):f:null,b=Lo(p,jt({},g,t,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(d.instances[c]=null)},ref:s}));return s6(n.default,{Component:b,route:u})||b}}});function s6(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const b$e=m$e;function y$e(e){const t=l$e(e.routes,e),n=e.parseQuery||u$e,o=e.stringifyQuery||o6,r=e.history,l=mu(),a=mu(),i=mu(),s=oe(Hl);let u=Hl;Yi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Um.bind(null,V=>""+V),d=Um.bind(null,M1e),p=Um.bind(null,_c);function f(V,X){let G,U;return lA(V)?(G=t.getRecordMatcher(V),U=X):U=V,t.addRoute(U,G)}function g(V){const X=t.getRecordMatcher(V);X&&t.removeRoute(X)}function h(){return t.getRoutes().map(V=>V.record)}function b(V){return!!t.getRecordMatcher(V)}function $(V,X){if(X=jt({},X||s.value),typeof V=="string"){const Y=Ym(n,V,X.path),le=t.resolve({path:Y.path},X),ue=r.createHref(Y.fullPath);return jt(Y,le,{params:p(le.params),hash:_c(Y.hash),redirectedFrom:void 0,href:ue})}let G;if(V.path!=null)G=jt({},V,{path:Ym(n,V.path,X.path).path});else{const Y=jt({},V.params);for(const le in Y)Y[le]==null&&delete Y[le];G=jt({},V,{params:d(Y)}),X.params=d(X.params)}const U=t.resolve(G,X),ae=V.hash||"";U.params=c(p(U.params));const fe=R1e(o,jt({},V,{hash:I1e(ae),path:U.path})),H=r.createHref(fe);return jt({fullPath:fe,hash:ae,query:o===o6?c$e(V.query):V.query||{}},U,{redirectedFrom:void 0,href:H})}function y(V){return typeof V=="string"?Ym(n,V,s.value.path):jt({},V)}function x(V,X){if(u!==V)return Rs(8,{from:X,to:V})}function w(V){return S(V)}function C(V){return w(jt(y(V),{replace:!0}))}function k(V){const X=V.matched[V.matched.length-1];if(X&&X.redirect){const{redirect:G}=X;let U=typeof G=="function"?G(V):G;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=y(U):{path:U},U.params={}),jt({query:V.query,hash:V.hash,params:U.path!=null?{}:V.params},U)}}function S(V,X){const G=u=$(V),U=s.value,ae=V.state,fe=V.force,H=V.replace===!0,Y=k(G);if(Y)return S(jt(y(Y),{state:typeof Y=="object"?jt({},ae,Y.state):ae,force:fe,replace:H}),X||G);const le=G;le.redirectedFrom=X;let ue;return!fe&&D1e(o,U,G)&&(ue=Rs(16,{to:le,from:U}),K(U,U,!0,!1)),(ue?Promise.resolve(ue):P(le,U)).catch(ne=>rl(ne)?rl(ne,2)?ne:_(ne):A(ne,le,U)).then(ne=>{if(ne){if(rl(ne,2))return S(jt({replace:H},y(ne.to),{state:typeof ne.to=="object"?jt({},ae,ne.to.state):ae,force:fe}),X||le)}else ne=R(le,U,!0,H,ae);return T(le,U,ne),ne})}function O(V,X){const G=x(V,X);return G?Promise.reject(G):Promise.resolve()}function E(V){const X=J.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(V):V()}function P(V,X){let G;const[U,ae,fe]=$$e(V,X);G=qm(U.reverse(),"beforeRouteLeave",V,X);for(const Y of U)Y.leaveGuards.forEach(le=>{G.push(ql(le,V,X))});const H=O.bind(null,V,X);return G.push(H),Z(G).then(()=>{G=[];for(const Y of l.list())G.push(ql(Y,V,X));return G.push(H),Z(G)}).then(()=>{G=qm(ae,"beforeRouteUpdate",V,X);for(const Y of ae)Y.updateGuards.forEach(le=>{G.push(ql(le,V,X))});return G.push(H),Z(G)}).then(()=>{G=[];for(const Y of fe)if(Y.beforeEnter)if(kr(Y.beforeEnter))for(const le of Y.beforeEnter)G.push(ql(le,V,X));else G.push(ql(Y.beforeEnter,V,X));return G.push(H),Z(G)}).then(()=>(V.matched.forEach(Y=>Y.enterCallbacks={}),G=qm(fe,"beforeRouteEnter",V,X,E),G.push(H),Z(G))).then(()=>{G=[];for(const Y of a.list())G.push(ql(Y,V,X));return G.push(H),Z(G)}).catch(Y=>rl(Y,8)?Y:Promise.reject(Y))}function T(V,X,G){i.list().forEach(U=>E(()=>U(V,X,G)))}function R(V,X,G,U,ae){const fe=x(V,X);if(fe)return fe;const H=X===Hl,Y=Yi?history.state:{};G&&(U||H?r.replace(V.fullPath,jt({scroll:H&&Y&&Y.scroll},ae)):r.push(V.fullPath,ae)),s.value=V,K(V,X,G,H),_()}let j;function F(){j||(j=r.listen((V,X,G)=>{if(!q.listening)return;const U=$(V),ae=k(U);if(ae){S(jt(ae,{replace:!0}),U).catch(lc);return}u=U;const fe=s.value;Yi&&L1e(Y3(fe.fullPath,G.delta),eg()),P(U,fe).catch(H=>rl(H,12)?H:rl(H,2)?(S(H.to,U).then(Y=>{rl(Y,20)&&!G.delta&&G.type===Hc.pop&&r.go(-1,!1)}).catch(lc),Promise.reject()):(G.delta&&r.go(-G.delta,!1),A(H,U,fe))).then(H=>{H=H||R(U,fe,!1),H&&(G.delta&&!rl(H,8)?r.go(-G.delta,!1):G.type===Hc.pop&&rl(H,20)&&r.go(-1,!1)),T(U,fe,H)}).catch(lc)}))}let M=mu(),z=mu(),D;function A(V,X,G){_(V);const U=z.list();return U.length?U.forEach(ae=>ae(V,X,G)):console.error(V),Promise.reject(V)}function N(){return D&&s.value!==Hl?Promise.resolve():new Promise((V,X)=>{M.add([V,X])})}function _(V){return D||(D=!V,F(),M.list().forEach(([X,G])=>V?G(V):X()),M.reset()),V}function K(V,X,G,U){const{scrollBehavior:ae}=e;if(!Yi||!ae)return Promise.resolve();const fe=!G&&W1e(Y3(V.fullPath,0))||(U||!G)&&history.state&&history.state.scroll||null;return rt().then(()=>ae(V,X,fe)).then(H=>H&&H1e(H)).catch(H=>A(H,V,X))}const W=V=>r.go(V);let Q;const J=new Set,q={currentRoute:s,listening:!0,addRoute:f,removeRoute:g,hasRoute:b,getRoutes:h,resolve:$,options:e,push:w,replace:C,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:l.add,beforeResolve:a.add,afterEach:i.add,onError:z.add,isReady:N,install(V){const X=this;V.component("RouterLink",v$e),V.component("RouterView",b$e),V.config.globalProperties.$router=X,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Xt(s)}),Yi&&!Q&&s.value===Hl&&(Q=!0,w(r.location).catch(ae=>{}));const G={};for(const ae in Hl)Object.defineProperty(G,ae,{get:()=>s.value[ae],enumerable:!0});V.provide(tg,X),V.provide(sA,J6(G)),V.provide(Gb,s);const U=V.unmount;J.add(V),V.unmount=function(){J.delete(V),J.size<1&&(u=Hl,j&&j(),j=null,s.value=Hl,Q=!1,D=!1),U()}}};function Z(V){return V.reduce((X,G)=>X.then(()=>E(G)),Promise.resolve())}return q}function $$e(e,t){const n=[],o=[],r=[],l=Math.max(t.matched.length,e.matched.length);for(let a=0;a<l;a++){const i=t.matched[a];i&&(e.matched.find(u=>As(u,i))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find(u=>As(u,s))||r.push(s))}return[n,o,r]}function x$e(){return Ve(tg)}const w$e="modulepreload",C$e=function(e,t){return new URL(e,t).href},u6={},wo=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const l=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),i=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.all(n.map(s=>{if(s=C$e(s,o),s in u6)return;u6[s]=!0;const u=s.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!o)for(let f=l.length-1;f>=0;f--){const g=l[f];if(g.href===s&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${c}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":w$e,u||(p.as="script",p.crossOrigin=""),p.href=s,i&&p.setAttribute("nonce",i),document.head.appendChild(p),u)return new Promise((f,g)=>{p.addEventListener("load",f),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${s}`)))})}))}return r.then(()=>t()).catch(l=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=l,window.dispatchEvent(a),!a.defaultPrevented)throw l})};var S$e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function k$e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uA={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
504
|
-
* @license MIT */(function(e,t){(function(n,o){e.exports=o()})(S$e,function(){var n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(g){var h,b;for(h in g)b=g[h],b!==void 0&&g.hasOwnProperty(h)&&(o[h]=b);return this},n.status=null,n.set=function(g){var h=n.isStarted();g=r(g,o.minimum,1),n.status=g===1?null:g;var b=n.render(!h),$=b.querySelector(o.barSelector),y=o.speed,x=o.easing;return b.offsetWidth,i(function(w){o.positionUsing===""&&(o.positionUsing=n.getPositioningCSS()),s($,a(g,y,x)),g===1?(s(b,{transition:"none",opacity:1}),b.offsetWidth,setTimeout(function(){s(b,{transition:"all "+y+"ms linear",opacity:0}),setTimeout(function(){n.remove(),w()},y)},y)):setTimeout(w,y)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var g=function(){setTimeout(function(){n.status&&(n.trickle(),g())},o.trickleSpeed)};return o.trickle&&g(),this},n.done=function(g){return!g&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(g){var h=n.status;return h?(typeof g!="number"&&(g=(1-h)*r(Math.random()*h,.1,.95)),h=r(h+g,0,.994),n.set(h)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},function(){var g=0,h=0;n.promise=function(b){return!b||b.state()==="resolved"?this:(h===0&&n.start(),g++,h++,b.always(function(){h--,h===0?(g=0,n.done()):n.set((g-h)/g)}),this)}}(),n.render=function(g){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var h=document.createElement("div");h.id="nprogress",h.innerHTML=o.template;var b=h.querySelector(o.barSelector),$=g?"-100":l(n.status||0),y=document.querySelector(o.parent),x;return s(b,{transition:"all 0 linear",transform:"translate3d("+$+"%,0,0)"}),o.showSpinner||(x=h.querySelector(o.spinnerSelector),x&&f(x)),y!=document.body&&c(y,"nprogress-custom-parent"),y.appendChild(h),h},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&f(g)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var g=document.body.style,h="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return h+"Perspective"in g?"translate3d":h+"Transform"in g?"translate":"margin"};function r(g,h,b){return g<h?h:g>b?b:g}function l(g){return(-1+g)*100}function a(g,h,b){var $;return o.positionUsing==="translate3d"?$={transform:"translate3d("+l(g)+"%,0,0)"}:o.positionUsing==="translate"?$={transform:"translate("+l(g)+"%,0)"}:$={"margin-left":l(g)+"%"},$.transition="all "+h+"ms "+b,$}var i=function(){var g=[];function h(){var b=g.shift();b&&b(h)}return function(b){g.push(b),g.length==1&&h()}}(),s=function(){var g=["Webkit","O","Moz","ms"],h={};function b(w){return w.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(C,k){return k.toUpperCase()})}function $(w){var C=document.body.style;if(w in C)return w;for(var k=g.length,S=w.charAt(0).toUpperCase()+w.slice(1),O;k--;)if(O=g[k]+S,O in C)return O;return w}function y(w){return w=b(w),h[w]||(h[w]=$(w))}function x(w,C,k){C=y(C),w.style[C]=k}return function(w,C){var k=arguments,S,O;if(k.length==2)for(S in C)O=C[S],O!==void 0&&C.hasOwnProperty(S)&&x(w,S,O);else x(w,k[1],k[2])}}();function u(g,h){var b=typeof g=="string"?g:p(g);return b.indexOf(" "+h+" ")>=0}function c(g,h){var b=p(g),$=b+h;u(b,h)||(g.className=$.substring(1))}function d(g,h){var b=p(g),$;u(g,h)&&($=b.replace(" "+h+" "," "),g.className=$.substring(1,$.length-1))}function p(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function f(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return n})})(uA);var O$e=uA.exports;const cA=k$e(O$e),Fx=[{path:"/introduce",name:"introduce",meta:{title:"介绍"},children:[{path:"/introduce/explain",name:"explain",component:()=>wo(()=>import("./index-BJtubsIy.js"),__vite__mapDeps([0,1]),import.meta.url),meta:{title:"开发说明"}}]},{path:"/common",name:"common",meta:{title:"各端通用"},children:[{path:"/common/navigate-to",name:"navigateTo",component:()=>wo(()=>import("./index-oq9Bd0UD.js"),__vite__mapDeps([2,3,1]),import.meta.url),meta:{title:"跳转到某页"}},{path:"/common/navigate-back",name:"navigateBack",component:()=>wo(()=>import("./index-BdnFYay5.js"),__vite__mapDeps([4,3,1]),import.meta.url),meta:{title:"返回上一页"}},{path:"/common/redirect-to",name:"redirectTo",component:()=>wo(()=>import("./index-B-v8HhE9.js"),__vite__mapDeps([5,3,1]),import.meta.url),meta:{title:"重定向"}},{path:"/common/switch-tab",name:"switchTab",component:()=>wo(()=>import("./index--vr-ogPd.js"),__vite__mapDeps([6,3,1]),import.meta.url),meta:{title:"跳转tab页"}},{path:"/common/get-location",name:"getLocation",component:()=>wo(()=>import("./index-BXpuuNqO.js"),__vite__mapDeps([7,3,1]),import.meta.url),meta:{title:"获取位置信息"}},{path:"/common/open-location",name:"openLocation",component:()=>wo(()=>import("./index-B9O-pvFv.js"),__vite__mapDeps([8,3,1]),import.meta.url),meta:{title:"打开地图"}}]},{path:"/wx-my",name:"wxMy",meta:{title:"微信与支付宝"},children:[{path:"/wx-my/post-message",name:"postMessage",component:()=>wo(()=>import("./index-D4WNZCgR.js"),__vite__mapDeps([9,3,1]),import.meta.url),meta:{title:"发送消息"}}]},{path:"/android-ios",name:"androidIos",meta:{title:"安卓与苹果"},children:[{path:"/android-ios/get-area",name:"getArea",component:()=>wo(()=>import("./index-U0ZajFgL.js"),__vite__mapDeps([10,3,1]),import.meta.url),meta:{title:"获取区域"}},{path:"/android-ios/get-areas",name:"getAreas",component:()=>wo(()=>import("./index-ClxOrcFI.js"),__vite__mapDeps([11,3,1]),import.meta.url),meta:{title:"获取库存区域"}},{path:"/android-ios/get-token",name:"getToken",component:()=>wo(()=>import("./index-BOY2v7SC.js"),__vite__mapDeps([12,3,1]),import.meta.url),meta:{title:"获取token"}},{path:"/android-ios/goto-order-detail",name:"gotoOrderDetail",component:()=>wo(()=>import("./index-xshNlWrA.js"),__vite__mapDeps([13,3,1]),import.meta.url),meta:{title:"进详情页"}},{path:"/android-ios/update-app-message-share-data",name:"updateAppMessageShareData",component:()=>wo(()=>import("./index-DQh8FIBo.js"),__vite__mapDeps([14,3,1]),import.meta.url),meta:{title:"分享内容"}},{path:"/android-ios/update-timeline-share-data",name:"updateTimelineShareData",component:()=>wo(()=>import("./index-DVpCRRK1.js"),__vite__mapDeps([15,3,1]),import.meta.url),meta:{title:"按钮分享内容"}}]}],I$e={path:"/:pathMatch(.*)",redirect:Fx[0].children[0].path},_x=y$e({history:U1e(),routes:[...Object.values(Fx).reduce((e,t)=>(e.push(...t.children),e),[]),I$e],scrollBehavior(){document.getElementById("container").scrollTop=0}});_x.beforeEach(async(e,t,n)=>{cA.start(),n()});_x.afterEach(()=>{cA.done()});var dA=typeof global=="object"&&global&&global.Object===Object&&global,E$e=typeof self=="object"&&self&&self.Object===Object&&self,Zr=dA||E$e||Function("return this")(),Ds=Zr.Symbol,pA=Object.prototype,P$e=pA.hasOwnProperty,M$e=pA.toString,bu=Ds?Ds.toStringTag:void 0;function T$e(e){var t=P$e.call(e,bu),n=e[bu];try{e[bu]=void 0;var o=!0}catch{}var r=M$e.call(e);return o&&(t?e[bu]=n:delete e[bu]),r}var A$e=Object.prototype,R$e=A$e.toString;function D$e(e){return R$e.call(e)}var B$e="[object Null]",z$e="[object Undefined]",c6=Ds?Ds.toStringTag:void 0;function bd(e){return e==null?e===void 0?z$e:B$e:c6&&c6 in Object(e)?T$e(e):D$e(e)}function yd(e){return e!=null&&typeof e=="object"}var Hx=Array.isArray;function $d(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var j$e="[object AsyncFunction]",N$e="[object Function]",F$e="[object GeneratorFunction]",_$e="[object Proxy]";function fA(e){if(!$d(e))return!1;var t=bd(e);return t==N$e||t==F$e||t==j$e||t==_$e}var Qm=Zr["__core-js_shared__"],d6=function(){var e=/[^.]+$/.exec(Qm&&Qm.keys&&Qm.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function H$e(e){return!!d6&&d6 in e}var L$e=Function.prototype,W$e=L$e.toString;function Ai(e){if(e!=null){try{return W$e.call(e)}catch{}try{return e+""}catch{}}return""}var K$e=/[\\^$.*+?()[\]{}|]/g,V$e=/^\[object .+?Constructor\]$/,X$e=Function.prototype,G$e=Object.prototype,U$e=X$e.toString,Y$e=G$e.hasOwnProperty,q$e=RegExp("^"+U$e.call(Y$e).replace(K$e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Q$e(e){if(!$d(e)||H$e(e))return!1;var t=fA(e)?q$e:V$e;return t.test(Ai(e))}function J$e(e,t){return e==null?void 0:e[t]}function Ri(e,t){var n=J$e(e,t);return Q$e(n)?n:void 0}var Ub=Ri(Zr,"WeakMap"),p6=Object.create,Z$e=function(){function e(){}return function(t){if(!$d(t))return{};if(p6)return p6(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function exe(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var f6=function(){try{var e=Ri(Object,"defineProperty");return e({},"",{}),e}catch{}}();function txe(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}var nxe=9007199254740991,oxe=/^(?:0|[1-9]\d*)$/;function rxe(e,t){var n=typeof e;return t=t??nxe,!!t&&(n=="number"||n!="symbol"&&oxe.test(e))&&e>-1&&e%1==0&&e<t}function vA(e,t,n){t=="__proto__"&&f6?f6(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function hA(e,t){return e===t||e!==e&&t!==t}var lxe=Object.prototype,axe=lxe.hasOwnProperty;function gA(e,t,n){var o=e[t];(!(axe.call(e,t)&&hA(o,n))||n===void 0&&!(t in e))&&vA(e,t,n)}function ng(e,t,n,o){var r=!n;n||(n={});for(var l=-1,a=t.length;++l<a;){var i=t[l],s=void 0;s===void 0&&(s=e[i]),r?vA(n,i,s):gA(n,i,s)}return n}var ixe=9007199254740991;function mA(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ixe}function bA(e){return e!=null&&mA(e.length)&&!fA(e)}var sxe=Object.prototype;function Lx(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||sxe;return e===n}function uxe(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var cxe="[object Arguments]";function v6(e){return yd(e)&&bd(e)==cxe}var yA=Object.prototype,dxe=yA.hasOwnProperty,pxe=yA.propertyIsEnumerable,fxe=v6(function(){return arguments}())?v6:function(e){return yd(e)&&dxe.call(e,"callee")&&!pxe.call(e,"callee")};function vxe(){return!1}var $A=typeof exports=="object"&&exports&&!exports.nodeType&&exports,h6=$A&&typeof module=="object"&&module&&!module.nodeType&&module,hxe=h6&&h6.exports===$A,g6=hxe?Zr.Buffer:void 0,gxe=g6?g6.isBuffer:void 0,xA=gxe||vxe,mxe="[object Arguments]",bxe="[object Array]",yxe="[object Boolean]",$xe="[object Date]",xxe="[object Error]",wxe="[object Function]",Cxe="[object Map]",Sxe="[object Number]",kxe="[object Object]",Oxe="[object RegExp]",Ixe="[object Set]",Exe="[object String]",Pxe="[object WeakMap]",Mxe="[object ArrayBuffer]",Txe="[object DataView]",Axe="[object Float32Array]",Rxe="[object Float64Array]",Dxe="[object Int8Array]",Bxe="[object Int16Array]",zxe="[object Int32Array]",jxe="[object Uint8Array]",Nxe="[object Uint8ClampedArray]",Fxe="[object Uint16Array]",_xe="[object Uint32Array]",Jt={};Jt[Axe]=Jt[Rxe]=Jt[Dxe]=Jt[Bxe]=Jt[zxe]=Jt[jxe]=Jt[Nxe]=Jt[Fxe]=Jt[_xe]=!0;Jt[mxe]=Jt[bxe]=Jt[Mxe]=Jt[yxe]=Jt[Txe]=Jt[$xe]=Jt[xxe]=Jt[wxe]=Jt[Cxe]=Jt[Sxe]=Jt[kxe]=Jt[Oxe]=Jt[Ixe]=Jt[Exe]=Jt[Pxe]=!1;function Hxe(e){return yd(e)&&mA(e.length)&&!!Jt[bd(e)]}function Wx(e){return function(t){return e(t)}}var wA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ic=wA&&typeof module=="object"&&module&&!module.nodeType&&module,Lxe=ic&&ic.exports===wA,Jm=Lxe&&dA.process,Bs=function(){try{var e=ic&&ic.require&&ic.require("util").types;return e||Jm&&Jm.binding&&Jm.binding("util")}catch{}}(),m6=Bs&&Bs.isTypedArray,Wxe=m6?Wx(m6):Hxe,Kxe=Object.prototype,Vxe=Kxe.hasOwnProperty;function CA(e,t){var n=Hx(e),o=!n&&fxe(e),r=!n&&!o&&xA(e),l=!n&&!o&&!r&&Wxe(e),a=n||o||r||l,i=a?uxe(e.length,String):[],s=i.length;for(var u in e)(t||Vxe.call(e,u))&&!(a&&(u=="length"||r&&(u=="offset"||u=="parent")||l&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||rxe(u,s)))&&i.push(u);return i}function SA(e,t){return function(n){return e(t(n))}}var Xxe=SA(Object.keys,Object),Gxe=Object.prototype,Uxe=Gxe.hasOwnProperty;function Yxe(e){if(!Lx(e))return Xxe(e);var t=[];for(var n in Object(e))Uxe.call(e,n)&&n!="constructor"&&t.push(n);return t}function Kx(e){return bA(e)?CA(e):Yxe(e)}function qxe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Qxe=Object.prototype,Jxe=Qxe.hasOwnProperty;function Zxe(e){if(!$d(e))return qxe(e);var t=Lx(e),n=[];for(var o in e)o=="constructor"&&(t||!Jxe.call(e,o))||n.push(o);return n}function Vx(e){return bA(e)?CA(e,!0):Zxe(e)}var Lc=Ri(Object,"create");function ewe(){this.__data__=Lc?Lc(null):{},this.size=0}function twe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nwe="__lodash_hash_undefined__",owe=Object.prototype,rwe=owe.hasOwnProperty;function lwe(e){var t=this.__data__;if(Lc){var n=t[e];return n===nwe?void 0:n}return rwe.call(t,e)?t[e]:void 0}var awe=Object.prototype,iwe=awe.hasOwnProperty;function swe(e){var t=this.__data__;return Lc?t[e]!==void 0:iwe.call(t,e)}var uwe="__lodash_hash_undefined__";function cwe(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Lc&&t===void 0?uwe:t,this}function yi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}yi.prototype.clear=ewe;yi.prototype.delete=twe;yi.prototype.get=lwe;yi.prototype.has=swe;yi.prototype.set=cwe;function dwe(){this.__data__=[],this.size=0}function og(e,t){for(var n=e.length;n--;)if(hA(e[n][0],t))return n;return-1}var pwe=Array.prototype,fwe=pwe.splice;function vwe(e){var t=this.__data__,n=og(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():fwe.call(t,n,1),--this.size,!0}function hwe(e){var t=this.__data__,n=og(t,e);return n<0?void 0:t[n][1]}function gwe(e){return og(this.__data__,e)>-1}function mwe(e,t){var n=this.__data__,o=og(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Dl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Dl.prototype.clear=dwe;Dl.prototype.delete=vwe;Dl.prototype.get=hwe;Dl.prototype.has=gwe;Dl.prototype.set=mwe;var Wc=Ri(Zr,"Map");function bwe(){this.size=0,this.__data__={hash:new yi,map:new(Wc||Dl),string:new yi}}function ywe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function rg(e,t){var n=e.__data__;return ywe(t)?n[typeof t=="string"?"string":"hash"]:n.map}function $we(e){var t=rg(this,e).delete(e);return this.size-=t?1:0,t}function xwe(e){return rg(this,e).get(e)}function wwe(e){return rg(this,e).has(e)}function Cwe(e,t){var n=rg(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function nu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}nu.prototype.clear=bwe;nu.prototype.delete=$we;nu.prototype.get=xwe;nu.prototype.has=wwe;nu.prototype.set=Cwe;function kA(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var OA=SA(Object.getPrototypeOf,Object);function Swe(){this.__data__=new Dl,this.size=0}function kwe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Owe(e){return this.__data__.get(e)}function Iwe(e){return this.__data__.has(e)}var Ewe=200;function Pwe(e,t){var n=this.__data__;if(n instanceof Dl){var o=n.__data__;if(!Wc||o.length<Ewe-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new nu(o)}return n.set(e,t),this.size=n.size,this}function ou(e){var t=this.__data__=new Dl(e);this.size=t.size}ou.prototype.clear=Swe;ou.prototype.delete=kwe;ou.prototype.get=Owe;ou.prototype.has=Iwe;ou.prototype.set=Pwe;function Mwe(e,t){return e&&ng(t,Kx(t),e)}function Twe(e,t){return e&&ng(t,Vx(t),e)}var IA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,b6=IA&&typeof module=="object"&&module&&!module.nodeType&&module,Awe=b6&&b6.exports===IA,y6=Awe?Zr.Buffer:void 0,$6=y6?y6.allocUnsafe:void 0;function Rwe(e,t){if(t)return e.slice();var n=e.length,o=$6?$6(n):new e.constructor(n);return e.copy(o),o}function Dwe(e,t){for(var n=-1,o=e==null?0:e.length,r=0,l=[];++n<o;){var a=e[n];t(a,n,e)&&(l[r++]=a)}return l}function EA(){return[]}var Bwe=Object.prototype,zwe=Bwe.propertyIsEnumerable,x6=Object.getOwnPropertySymbols,Xx=x6?function(e){return e==null?[]:(e=Object(e),Dwe(x6(e),function(t){return zwe.call(e,t)}))}:EA;function jwe(e,t){return ng(e,Xx(e),t)}var Nwe=Object.getOwnPropertySymbols,PA=Nwe?function(e){for(var t=[];e;)kA(t,Xx(e)),e=OA(e);return t}:EA;function Fwe(e,t){return ng(e,PA(e),t)}function MA(e,t,n){var o=t(e);return Hx(e)?o:kA(o,n(e))}function _we(e){return MA(e,Kx,Xx)}function Hwe(e){return MA(e,Vx,PA)}var Yb=Ri(Zr,"DataView"),qb=Ri(Zr,"Promise"),Qb=Ri(Zr,"Set"),w6="[object Map]",Lwe="[object Object]",C6="[object Promise]",S6="[object Set]",k6="[object WeakMap]",O6="[object DataView]",Wwe=Ai(Yb),Kwe=Ai(Wc),Vwe=Ai(qb),Xwe=Ai(Qb),Gwe=Ai(Ub),dl=bd;(Yb&&dl(new Yb(new ArrayBuffer(1)))!=O6||Wc&&dl(new Wc)!=w6||qb&&dl(qb.resolve())!=C6||Qb&&dl(new Qb)!=S6||Ub&&dl(new Ub)!=k6)&&(dl=function(e){var t=bd(e),n=t==Lwe?e.constructor:void 0,o=n?Ai(n):"";if(o)switch(o){case Wwe:return O6;case Kwe:return w6;case Vwe:return C6;case Xwe:return S6;case Gwe:return k6}return t});var Uwe=Object.prototype,Ywe=Uwe.hasOwnProperty;function qwe(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Ywe.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var I6=Zr.Uint8Array;function Gx(e){var t=new e.constructor(e.byteLength);return new I6(t).set(new I6(e)),t}function Qwe(e,t){var n=t?Gx(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Jwe=/\w*$/;function Zwe(e){var t=new e.constructor(e.source,Jwe.exec(e));return t.lastIndex=e.lastIndex,t}var E6=Ds?Ds.prototype:void 0,P6=E6?E6.valueOf:void 0;function eCe(e){return P6?Object(P6.call(e)):{}}function tCe(e,t){var n=t?Gx(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var nCe="[object Boolean]",oCe="[object Date]",rCe="[object Map]",lCe="[object Number]",aCe="[object RegExp]",iCe="[object Set]",sCe="[object String]",uCe="[object Symbol]",cCe="[object ArrayBuffer]",dCe="[object DataView]",pCe="[object Float32Array]",fCe="[object Float64Array]",vCe="[object Int8Array]",hCe="[object Int16Array]",gCe="[object Int32Array]",mCe="[object Uint8Array]",bCe="[object Uint8ClampedArray]",yCe="[object Uint16Array]",$Ce="[object Uint32Array]";function xCe(e,t,n){var o=e.constructor;switch(t){case cCe:return Gx(e);case nCe:case oCe:return new o(+e);case dCe:return Qwe(e,n);case pCe:case fCe:case vCe:case hCe:case gCe:case mCe:case bCe:case yCe:case $Ce:return tCe(e,n);case rCe:return new o;case lCe:case sCe:return new o(e);case aCe:return Zwe(e);case iCe:return new o;case uCe:return eCe(e)}}function wCe(e){return typeof e.constructor=="function"&&!Lx(e)?Z$e(OA(e)):{}}var CCe="[object Map]";function SCe(e){return yd(e)&&dl(e)==CCe}var M6=Bs&&Bs.isMap,kCe=M6?Wx(M6):SCe,OCe="[object Set]";function ICe(e){return yd(e)&&dl(e)==OCe}var T6=Bs&&Bs.isSet,ECe=T6?Wx(T6):ICe,PCe=1,MCe=2,TCe=4,TA="[object Arguments]",ACe="[object Array]",RCe="[object Boolean]",DCe="[object Date]",BCe="[object Error]",AA="[object Function]",zCe="[object GeneratorFunction]",jCe="[object Map]",NCe="[object Number]",RA="[object Object]",FCe="[object RegExp]",_Ce="[object Set]",HCe="[object String]",LCe="[object Symbol]",WCe="[object WeakMap]",KCe="[object ArrayBuffer]",VCe="[object DataView]",XCe="[object Float32Array]",GCe="[object Float64Array]",UCe="[object Int8Array]",YCe="[object Int16Array]",qCe="[object Int32Array]",QCe="[object Uint8Array]",JCe="[object Uint8ClampedArray]",ZCe="[object Uint16Array]",eSe="[object Uint32Array]",Vt={};Vt[TA]=Vt[ACe]=Vt[KCe]=Vt[VCe]=Vt[RCe]=Vt[DCe]=Vt[XCe]=Vt[GCe]=Vt[UCe]=Vt[YCe]=Vt[qCe]=Vt[jCe]=Vt[NCe]=Vt[RA]=Vt[FCe]=Vt[_Ce]=Vt[HCe]=Vt[LCe]=Vt[QCe]=Vt[JCe]=Vt[ZCe]=Vt[eSe]=!0;Vt[BCe]=Vt[AA]=Vt[WCe]=!1;function df(e,t,n,o,r,l){var a,i=t&PCe,s=t&MCe,u=t&TCe;if(a!==void 0)return a;if(!$d(e))return e;var c=Hx(e);if(c){if(a=qwe(e),!i)return exe(e,a)}else{var d=dl(e),p=d==AA||d==zCe;if(xA(e))return Rwe(e,i);if(d==RA||d==TA||p&&!r){if(a=s||p?{}:wCe(e),!i)return s?Fwe(e,Twe(a,e)):jwe(e,Mwe(a,e))}else{if(!Vt[d])return r?e:{};a=xCe(e,d,i)}}l||(l=new ou);var f=l.get(e);if(f)return f;l.set(e,a),ECe(e)?e.forEach(function(b){a.add(df(b,t,n,b,e,l))}):kCe(e)&&e.forEach(function(b,$){a.set($,df(b,t,n,$,e,l))});var g=u?s?Hwe:_we:s?Vx:Kx,h=c?void 0:g(e);return txe(h||e,function(b,$){h&&($=b,b=e[$]),gA(a,$,df(b,t,n,$,e,l))}),a}var tSe=1,nSe=4;function oSe(e){return df(e,tSe|nSe)}const rSe=te({__name:"index",setup(e){const t=x$e();function n(){const i=oSe(Fx);return i.forEach(s=>{s.key=s.path,s.label=s.meta.title,s.children.forEach(u=>{u.key=u.path,u.label=u.meta.title,delete u.component})}),i}const o=ee(n()),r=ee(n().map(i=>i.key)),l=ee([]);function a({key:i}){t.push(i)}return he(t.currentRoute,()=>{l.value=[t.currentRoute.value.path]},{immediate:!0,deep:!0}),(i,s)=>{const u=ut("m-menu");return ze(),St(u,{selectedKeys:l.value,"onUpdate:selectedKeys":s[0]||(s[0]=c=>l.value=c),openKeys:r.value,"onUpdate:openKeys":s[1]||(s[1]=c=>r.value=c),mode:"inline",items:o.value,class:"flex-1",onSelect:a},null,8,["selectedKeys","openKeys","items"])}}}),lSe={class:"h-100% flex overflow-hidden"},aSe={class:"w-200px h-100% overflow-y-auto flex flex-col"},iSe={class:"p-10px"},sSe={class:"flex-1 h-100% p-10px overflow-y-auto"},uSe={id:"container",class:"h-100% overflow-auto translate-x-0 translate-y-0"},cSe=te({__name:"app",setup(e){const t=`v${g1e.version}`;return(n,o)=>{const r=ut("m-input"),l=ut("router-view"),a=ut("m-config-provider");return ze(),St(a,{locale:Xt(xD)},{default:bt(()=>[Ht("div",lSe,[Ht("div",aSe,[Ht("div",iSe,[v(r,{value:t,readonly:""})]),v(rSe)]),Ht("div",sSe,[Ht("div",uSe,[v(l,{class:"markdown-body"})])])])]),_:1},8,["locale"])}}}),dSe=XO(cSe);dSe.use(i1e).use(_x).mount("#app");export{Ht as a,Ot as b,it as c,te as d,v as e,ee as f,po as g,Ln as h,H9 as i,ze as o,_9 as p,ut as r,$n as t,Xt as u,Jn as v,bt as w};
|
|
504
|
+
* @license MIT */(function(e,t){(function(n,o){e.exports=o()})(S$e,function(){var n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(g){var h,b;for(h in g)b=g[h],b!==void 0&&g.hasOwnProperty(h)&&(o[h]=b);return this},n.status=null,n.set=function(g){var h=n.isStarted();g=r(g,o.minimum,1),n.status=g===1?null:g;var b=n.render(!h),$=b.querySelector(o.barSelector),y=o.speed,x=o.easing;return b.offsetWidth,i(function(w){o.positionUsing===""&&(o.positionUsing=n.getPositioningCSS()),s($,a(g,y,x)),g===1?(s(b,{transition:"none",opacity:1}),b.offsetWidth,setTimeout(function(){s(b,{transition:"all "+y+"ms linear",opacity:0}),setTimeout(function(){n.remove(),w()},y)},y)):setTimeout(w,y)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var g=function(){setTimeout(function(){n.status&&(n.trickle(),g())},o.trickleSpeed)};return o.trickle&&g(),this},n.done=function(g){return!g&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(g){var h=n.status;return h?(typeof g!="number"&&(g=(1-h)*r(Math.random()*h,.1,.95)),h=r(h+g,0,.994),n.set(h)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},function(){var g=0,h=0;n.promise=function(b){return!b||b.state()==="resolved"?this:(h===0&&n.start(),g++,h++,b.always(function(){h--,h===0?(g=0,n.done()):n.set((g-h)/g)}),this)}}(),n.render=function(g){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var h=document.createElement("div");h.id="nprogress",h.innerHTML=o.template;var b=h.querySelector(o.barSelector),$=g?"-100":l(n.status||0),y=document.querySelector(o.parent),x;return s(b,{transition:"all 0 linear",transform:"translate3d("+$+"%,0,0)"}),o.showSpinner||(x=h.querySelector(o.spinnerSelector),x&&f(x)),y!=document.body&&c(y,"nprogress-custom-parent"),y.appendChild(h),h},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&f(g)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var g=document.body.style,h="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return h+"Perspective"in g?"translate3d":h+"Transform"in g?"translate":"margin"};function r(g,h,b){return g<h?h:g>b?b:g}function l(g){return(-1+g)*100}function a(g,h,b){var $;return o.positionUsing==="translate3d"?$={transform:"translate3d("+l(g)+"%,0,0)"}:o.positionUsing==="translate"?$={transform:"translate("+l(g)+"%,0)"}:$={"margin-left":l(g)+"%"},$.transition="all "+h+"ms "+b,$}var i=function(){var g=[];function h(){var b=g.shift();b&&b(h)}return function(b){g.push(b),g.length==1&&h()}}(),s=function(){var g=["Webkit","O","Moz","ms"],h={};function b(w){return w.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(C,k){return k.toUpperCase()})}function $(w){var C=document.body.style;if(w in C)return w;for(var k=g.length,S=w.charAt(0).toUpperCase()+w.slice(1),O;k--;)if(O=g[k]+S,O in C)return O;return w}function y(w){return w=b(w),h[w]||(h[w]=$(w))}function x(w,C,k){C=y(C),w.style[C]=k}return function(w,C){var k=arguments,S,O;if(k.length==2)for(S in C)O=C[S],O!==void 0&&C.hasOwnProperty(S)&&x(w,S,O);else x(w,k[1],k[2])}}();function u(g,h){var b=typeof g=="string"?g:p(g);return b.indexOf(" "+h+" ")>=0}function c(g,h){var b=p(g),$=b+h;u(b,h)||(g.className=$.substring(1))}function d(g,h){var b=p(g),$;u(g,h)&&($=b.replace(" "+h+" "," "),g.className=$.substring(1,$.length-1))}function p(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function f(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return n})})(uA);var O$e=uA.exports;const cA=k$e(O$e),Fx=[{path:"/introduce",name:"introduce",meta:{title:"介绍"},children:[{path:"/introduce/explain",name:"explain",component:()=>wo(()=>import("./index-Lve4tkqR.js"),__vite__mapDeps([0,1]),import.meta.url),meta:{title:"开发说明"}}]},{path:"/common",name:"common",meta:{title:"各端通用"},children:[{path:"/common/navigate-to",name:"navigateTo",component:()=>wo(()=>import("./index-DJmN5ZjH.js"),__vite__mapDeps([2,3,1]),import.meta.url),meta:{title:"跳转到某页"}},{path:"/common/navigate-back",name:"navigateBack",component:()=>wo(()=>import("./index-Dy2rzoCt.js"),__vite__mapDeps([4,3,1]),import.meta.url),meta:{title:"返回上一页"}},{path:"/common/redirect-to",name:"redirectTo",component:()=>wo(()=>import("./index-CahgnCeI.js"),__vite__mapDeps([5,3,1]),import.meta.url),meta:{title:"重定向"}},{path:"/common/switch-tab",name:"switchTab",component:()=>wo(()=>import("./index-D4fDFaRw.js"),__vite__mapDeps([6,3,1]),import.meta.url),meta:{title:"跳转tab页"}},{path:"/common/get-location",name:"getLocation",component:()=>wo(()=>import("./index-Bj05_9gR.js"),__vite__mapDeps([7,3,1]),import.meta.url),meta:{title:"获取位置信息"}},{path:"/common/open-location",name:"openLocation",component:()=>wo(()=>import("./index-ExIo_WmK.js"),__vite__mapDeps([8,3,1]),import.meta.url),meta:{title:"打开地图"}}]},{path:"/wx-my",name:"wxMy",meta:{title:"微信与支付宝"},children:[{path:"/wx-my/post-message",name:"postMessage",component:()=>wo(()=>import("./index-B45wvUvd.js"),__vite__mapDeps([9,3,1]),import.meta.url),meta:{title:"发送消息"}}]},{path:"/android-ios",name:"androidIos",meta:{title:"安卓与苹果"},children:[{path:"/android-ios/get-area",name:"getArea",component:()=>wo(()=>import("./index-Bs890x46.js"),__vite__mapDeps([10,3,1]),import.meta.url),meta:{title:"获取区域"}},{path:"/android-ios/get-areas",name:"getAreas",component:()=>wo(()=>import("./index-CmepzL9v.js"),__vite__mapDeps([11,3,1]),import.meta.url),meta:{title:"获取库存区域"}},{path:"/android-ios/get-token",name:"getToken",component:()=>wo(()=>import("./index-Ao_QNIqd.js"),__vite__mapDeps([12,3,1]),import.meta.url),meta:{title:"获取token"}},{path:"/android-ios/goto-order-detail",name:"gotoOrderDetail",component:()=>wo(()=>import("./index-lNSi5YYg.js"),__vite__mapDeps([13,3,1]),import.meta.url),meta:{title:"进详情页"}},{path:"/android-ios/update-app-message-share-data",name:"updateAppMessageShareData",component:()=>wo(()=>import("./index-XzCQKQlN.js"),__vite__mapDeps([14,3,1]),import.meta.url),meta:{title:"分享内容"}},{path:"/android-ios/update-timeline-share-data",name:"updateTimelineShareData",component:()=>wo(()=>import("./index-D0etwguE.js"),__vite__mapDeps([15,3,1]),import.meta.url),meta:{title:"按钮分享内容"}}]}],I$e={path:"/:pathMatch(.*)",redirect:Fx[0].children[0].path},_x=y$e({history:U1e(),routes:[...Object.values(Fx).reduce((e,t)=>(e.push(...t.children),e),[]),I$e],scrollBehavior(){document.getElementById("container").scrollTop=0}});_x.beforeEach(async(e,t,n)=>{cA.start(),n()});_x.afterEach(()=>{cA.done()});var dA=typeof global=="object"&&global&&global.Object===Object&&global,E$e=typeof self=="object"&&self&&self.Object===Object&&self,Zr=dA||E$e||Function("return this")(),Ds=Zr.Symbol,pA=Object.prototype,P$e=pA.hasOwnProperty,M$e=pA.toString,bu=Ds?Ds.toStringTag:void 0;function T$e(e){var t=P$e.call(e,bu),n=e[bu];try{e[bu]=void 0;var o=!0}catch{}var r=M$e.call(e);return o&&(t?e[bu]=n:delete e[bu]),r}var A$e=Object.prototype,R$e=A$e.toString;function D$e(e){return R$e.call(e)}var B$e="[object Null]",z$e="[object Undefined]",c6=Ds?Ds.toStringTag:void 0;function bd(e){return e==null?e===void 0?z$e:B$e:c6&&c6 in Object(e)?T$e(e):D$e(e)}function yd(e){return e!=null&&typeof e=="object"}var Hx=Array.isArray;function $d(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var j$e="[object AsyncFunction]",N$e="[object Function]",F$e="[object GeneratorFunction]",_$e="[object Proxy]";function fA(e){if(!$d(e))return!1;var t=bd(e);return t==N$e||t==F$e||t==j$e||t==_$e}var Qm=Zr["__core-js_shared__"],d6=function(){var e=/[^.]+$/.exec(Qm&&Qm.keys&&Qm.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function H$e(e){return!!d6&&d6 in e}var L$e=Function.prototype,W$e=L$e.toString;function Ai(e){if(e!=null){try{return W$e.call(e)}catch{}try{return e+""}catch{}}return""}var K$e=/[\\^$.*+?()[\]{}|]/g,V$e=/^\[object .+?Constructor\]$/,X$e=Function.prototype,G$e=Object.prototype,U$e=X$e.toString,Y$e=G$e.hasOwnProperty,q$e=RegExp("^"+U$e.call(Y$e).replace(K$e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Q$e(e){if(!$d(e)||H$e(e))return!1;var t=fA(e)?q$e:V$e;return t.test(Ai(e))}function J$e(e,t){return e==null?void 0:e[t]}function Ri(e,t){var n=J$e(e,t);return Q$e(n)?n:void 0}var Ub=Ri(Zr,"WeakMap"),p6=Object.create,Z$e=function(){function e(){}return function(t){if(!$d(t))return{};if(p6)return p6(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function exe(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var f6=function(){try{var e=Ri(Object,"defineProperty");return e({},"",{}),e}catch{}}();function txe(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}var nxe=9007199254740991,oxe=/^(?:0|[1-9]\d*)$/;function rxe(e,t){var n=typeof e;return t=t??nxe,!!t&&(n=="number"||n!="symbol"&&oxe.test(e))&&e>-1&&e%1==0&&e<t}function vA(e,t,n){t=="__proto__"&&f6?f6(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function hA(e,t){return e===t||e!==e&&t!==t}var lxe=Object.prototype,axe=lxe.hasOwnProperty;function gA(e,t,n){var o=e[t];(!(axe.call(e,t)&&hA(o,n))||n===void 0&&!(t in e))&&vA(e,t,n)}function ng(e,t,n,o){var r=!n;n||(n={});for(var l=-1,a=t.length;++l<a;){var i=t[l],s=void 0;s===void 0&&(s=e[i]),r?vA(n,i,s):gA(n,i,s)}return n}var ixe=9007199254740991;function mA(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ixe}function bA(e){return e!=null&&mA(e.length)&&!fA(e)}var sxe=Object.prototype;function Lx(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||sxe;return e===n}function uxe(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var cxe="[object Arguments]";function v6(e){return yd(e)&&bd(e)==cxe}var yA=Object.prototype,dxe=yA.hasOwnProperty,pxe=yA.propertyIsEnumerable,fxe=v6(function(){return arguments}())?v6:function(e){return yd(e)&&dxe.call(e,"callee")&&!pxe.call(e,"callee")};function vxe(){return!1}var $A=typeof exports=="object"&&exports&&!exports.nodeType&&exports,h6=$A&&typeof module=="object"&&module&&!module.nodeType&&module,hxe=h6&&h6.exports===$A,g6=hxe?Zr.Buffer:void 0,gxe=g6?g6.isBuffer:void 0,xA=gxe||vxe,mxe="[object Arguments]",bxe="[object Array]",yxe="[object Boolean]",$xe="[object Date]",xxe="[object Error]",wxe="[object Function]",Cxe="[object Map]",Sxe="[object Number]",kxe="[object Object]",Oxe="[object RegExp]",Ixe="[object Set]",Exe="[object String]",Pxe="[object WeakMap]",Mxe="[object ArrayBuffer]",Txe="[object DataView]",Axe="[object Float32Array]",Rxe="[object Float64Array]",Dxe="[object Int8Array]",Bxe="[object Int16Array]",zxe="[object Int32Array]",jxe="[object Uint8Array]",Nxe="[object Uint8ClampedArray]",Fxe="[object Uint16Array]",_xe="[object Uint32Array]",Jt={};Jt[Axe]=Jt[Rxe]=Jt[Dxe]=Jt[Bxe]=Jt[zxe]=Jt[jxe]=Jt[Nxe]=Jt[Fxe]=Jt[_xe]=!0;Jt[mxe]=Jt[bxe]=Jt[Mxe]=Jt[yxe]=Jt[Txe]=Jt[$xe]=Jt[xxe]=Jt[wxe]=Jt[Cxe]=Jt[Sxe]=Jt[kxe]=Jt[Oxe]=Jt[Ixe]=Jt[Exe]=Jt[Pxe]=!1;function Hxe(e){return yd(e)&&mA(e.length)&&!!Jt[bd(e)]}function Wx(e){return function(t){return e(t)}}var wA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ic=wA&&typeof module=="object"&&module&&!module.nodeType&&module,Lxe=ic&&ic.exports===wA,Jm=Lxe&&dA.process,Bs=function(){try{var e=ic&&ic.require&&ic.require("util").types;return e||Jm&&Jm.binding&&Jm.binding("util")}catch{}}(),m6=Bs&&Bs.isTypedArray,Wxe=m6?Wx(m6):Hxe,Kxe=Object.prototype,Vxe=Kxe.hasOwnProperty;function CA(e,t){var n=Hx(e),o=!n&&fxe(e),r=!n&&!o&&xA(e),l=!n&&!o&&!r&&Wxe(e),a=n||o||r||l,i=a?uxe(e.length,String):[],s=i.length;for(var u in e)(t||Vxe.call(e,u))&&!(a&&(u=="length"||r&&(u=="offset"||u=="parent")||l&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||rxe(u,s)))&&i.push(u);return i}function SA(e,t){return function(n){return e(t(n))}}var Xxe=SA(Object.keys,Object),Gxe=Object.prototype,Uxe=Gxe.hasOwnProperty;function Yxe(e){if(!Lx(e))return Xxe(e);var t=[];for(var n in Object(e))Uxe.call(e,n)&&n!="constructor"&&t.push(n);return t}function Kx(e){return bA(e)?CA(e):Yxe(e)}function qxe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Qxe=Object.prototype,Jxe=Qxe.hasOwnProperty;function Zxe(e){if(!$d(e))return qxe(e);var t=Lx(e),n=[];for(var o in e)o=="constructor"&&(t||!Jxe.call(e,o))||n.push(o);return n}function Vx(e){return bA(e)?CA(e,!0):Zxe(e)}var Lc=Ri(Object,"create");function ewe(){this.__data__=Lc?Lc(null):{},this.size=0}function twe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nwe="__lodash_hash_undefined__",owe=Object.prototype,rwe=owe.hasOwnProperty;function lwe(e){var t=this.__data__;if(Lc){var n=t[e];return n===nwe?void 0:n}return rwe.call(t,e)?t[e]:void 0}var awe=Object.prototype,iwe=awe.hasOwnProperty;function swe(e){var t=this.__data__;return Lc?t[e]!==void 0:iwe.call(t,e)}var uwe="__lodash_hash_undefined__";function cwe(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Lc&&t===void 0?uwe:t,this}function yi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}yi.prototype.clear=ewe;yi.prototype.delete=twe;yi.prototype.get=lwe;yi.prototype.has=swe;yi.prototype.set=cwe;function dwe(){this.__data__=[],this.size=0}function og(e,t){for(var n=e.length;n--;)if(hA(e[n][0],t))return n;return-1}var pwe=Array.prototype,fwe=pwe.splice;function vwe(e){var t=this.__data__,n=og(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():fwe.call(t,n,1),--this.size,!0}function hwe(e){var t=this.__data__,n=og(t,e);return n<0?void 0:t[n][1]}function gwe(e){return og(this.__data__,e)>-1}function mwe(e,t){var n=this.__data__,o=og(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Dl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Dl.prototype.clear=dwe;Dl.prototype.delete=vwe;Dl.prototype.get=hwe;Dl.prototype.has=gwe;Dl.prototype.set=mwe;var Wc=Ri(Zr,"Map");function bwe(){this.size=0,this.__data__={hash:new yi,map:new(Wc||Dl),string:new yi}}function ywe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function rg(e,t){var n=e.__data__;return ywe(t)?n[typeof t=="string"?"string":"hash"]:n.map}function $we(e){var t=rg(this,e).delete(e);return this.size-=t?1:0,t}function xwe(e){return rg(this,e).get(e)}function wwe(e){return rg(this,e).has(e)}function Cwe(e,t){var n=rg(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function nu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}nu.prototype.clear=bwe;nu.prototype.delete=$we;nu.prototype.get=xwe;nu.prototype.has=wwe;nu.prototype.set=Cwe;function kA(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var OA=SA(Object.getPrototypeOf,Object);function Swe(){this.__data__=new Dl,this.size=0}function kwe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Owe(e){return this.__data__.get(e)}function Iwe(e){return this.__data__.has(e)}var Ewe=200;function Pwe(e,t){var n=this.__data__;if(n instanceof Dl){var o=n.__data__;if(!Wc||o.length<Ewe-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new nu(o)}return n.set(e,t),this.size=n.size,this}function ou(e){var t=this.__data__=new Dl(e);this.size=t.size}ou.prototype.clear=Swe;ou.prototype.delete=kwe;ou.prototype.get=Owe;ou.prototype.has=Iwe;ou.prototype.set=Pwe;function Mwe(e,t){return e&&ng(t,Kx(t),e)}function Twe(e,t){return e&&ng(t,Vx(t),e)}var IA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,b6=IA&&typeof module=="object"&&module&&!module.nodeType&&module,Awe=b6&&b6.exports===IA,y6=Awe?Zr.Buffer:void 0,$6=y6?y6.allocUnsafe:void 0;function Rwe(e,t){if(t)return e.slice();var n=e.length,o=$6?$6(n):new e.constructor(n);return e.copy(o),o}function Dwe(e,t){for(var n=-1,o=e==null?0:e.length,r=0,l=[];++n<o;){var a=e[n];t(a,n,e)&&(l[r++]=a)}return l}function EA(){return[]}var Bwe=Object.prototype,zwe=Bwe.propertyIsEnumerable,x6=Object.getOwnPropertySymbols,Xx=x6?function(e){return e==null?[]:(e=Object(e),Dwe(x6(e),function(t){return zwe.call(e,t)}))}:EA;function jwe(e,t){return ng(e,Xx(e),t)}var Nwe=Object.getOwnPropertySymbols,PA=Nwe?function(e){for(var t=[];e;)kA(t,Xx(e)),e=OA(e);return t}:EA;function Fwe(e,t){return ng(e,PA(e),t)}function MA(e,t,n){var o=t(e);return Hx(e)?o:kA(o,n(e))}function _we(e){return MA(e,Kx,Xx)}function Hwe(e){return MA(e,Vx,PA)}var Yb=Ri(Zr,"DataView"),qb=Ri(Zr,"Promise"),Qb=Ri(Zr,"Set"),w6="[object Map]",Lwe="[object Object]",C6="[object Promise]",S6="[object Set]",k6="[object WeakMap]",O6="[object DataView]",Wwe=Ai(Yb),Kwe=Ai(Wc),Vwe=Ai(qb),Xwe=Ai(Qb),Gwe=Ai(Ub),dl=bd;(Yb&&dl(new Yb(new ArrayBuffer(1)))!=O6||Wc&&dl(new Wc)!=w6||qb&&dl(qb.resolve())!=C6||Qb&&dl(new Qb)!=S6||Ub&&dl(new Ub)!=k6)&&(dl=function(e){var t=bd(e),n=t==Lwe?e.constructor:void 0,o=n?Ai(n):"";if(o)switch(o){case Wwe:return O6;case Kwe:return w6;case Vwe:return C6;case Xwe:return S6;case Gwe:return k6}return t});var Uwe=Object.prototype,Ywe=Uwe.hasOwnProperty;function qwe(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Ywe.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var I6=Zr.Uint8Array;function Gx(e){var t=new e.constructor(e.byteLength);return new I6(t).set(new I6(e)),t}function Qwe(e,t){var n=t?Gx(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Jwe=/\w*$/;function Zwe(e){var t=new e.constructor(e.source,Jwe.exec(e));return t.lastIndex=e.lastIndex,t}var E6=Ds?Ds.prototype:void 0,P6=E6?E6.valueOf:void 0;function eCe(e){return P6?Object(P6.call(e)):{}}function tCe(e,t){var n=t?Gx(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var nCe="[object Boolean]",oCe="[object Date]",rCe="[object Map]",lCe="[object Number]",aCe="[object RegExp]",iCe="[object Set]",sCe="[object String]",uCe="[object Symbol]",cCe="[object ArrayBuffer]",dCe="[object DataView]",pCe="[object Float32Array]",fCe="[object Float64Array]",vCe="[object Int8Array]",hCe="[object Int16Array]",gCe="[object Int32Array]",mCe="[object Uint8Array]",bCe="[object Uint8ClampedArray]",yCe="[object Uint16Array]",$Ce="[object Uint32Array]";function xCe(e,t,n){var o=e.constructor;switch(t){case cCe:return Gx(e);case nCe:case oCe:return new o(+e);case dCe:return Qwe(e,n);case pCe:case fCe:case vCe:case hCe:case gCe:case mCe:case bCe:case yCe:case $Ce:return tCe(e,n);case rCe:return new o;case lCe:case sCe:return new o(e);case aCe:return Zwe(e);case iCe:return new o;case uCe:return eCe(e)}}function wCe(e){return typeof e.constructor=="function"&&!Lx(e)?Z$e(OA(e)):{}}var CCe="[object Map]";function SCe(e){return yd(e)&&dl(e)==CCe}var M6=Bs&&Bs.isMap,kCe=M6?Wx(M6):SCe,OCe="[object Set]";function ICe(e){return yd(e)&&dl(e)==OCe}var T6=Bs&&Bs.isSet,ECe=T6?Wx(T6):ICe,PCe=1,MCe=2,TCe=4,TA="[object Arguments]",ACe="[object Array]",RCe="[object Boolean]",DCe="[object Date]",BCe="[object Error]",AA="[object Function]",zCe="[object GeneratorFunction]",jCe="[object Map]",NCe="[object Number]",RA="[object Object]",FCe="[object RegExp]",_Ce="[object Set]",HCe="[object String]",LCe="[object Symbol]",WCe="[object WeakMap]",KCe="[object ArrayBuffer]",VCe="[object DataView]",XCe="[object Float32Array]",GCe="[object Float64Array]",UCe="[object Int8Array]",YCe="[object Int16Array]",qCe="[object Int32Array]",QCe="[object Uint8Array]",JCe="[object Uint8ClampedArray]",ZCe="[object Uint16Array]",eSe="[object Uint32Array]",Vt={};Vt[TA]=Vt[ACe]=Vt[KCe]=Vt[VCe]=Vt[RCe]=Vt[DCe]=Vt[XCe]=Vt[GCe]=Vt[UCe]=Vt[YCe]=Vt[qCe]=Vt[jCe]=Vt[NCe]=Vt[RA]=Vt[FCe]=Vt[_Ce]=Vt[HCe]=Vt[LCe]=Vt[QCe]=Vt[JCe]=Vt[ZCe]=Vt[eSe]=!0;Vt[BCe]=Vt[AA]=Vt[WCe]=!1;function df(e,t,n,o,r,l){var a,i=t&PCe,s=t&MCe,u=t&TCe;if(a!==void 0)return a;if(!$d(e))return e;var c=Hx(e);if(c){if(a=qwe(e),!i)return exe(e,a)}else{var d=dl(e),p=d==AA||d==zCe;if(xA(e))return Rwe(e,i);if(d==RA||d==TA||p&&!r){if(a=s||p?{}:wCe(e),!i)return s?Fwe(e,Twe(a,e)):jwe(e,Mwe(a,e))}else{if(!Vt[d])return r?e:{};a=xCe(e,d,i)}}l||(l=new ou);var f=l.get(e);if(f)return f;l.set(e,a),ECe(e)?e.forEach(function(b){a.add(df(b,t,n,b,e,l))}):kCe(e)&&e.forEach(function(b,$){a.set($,df(b,t,n,$,e,l))});var g=u?s?Hwe:_we:s?Vx:Kx,h=c?void 0:g(e);return txe(h||e,function(b,$){h&&($=b,b=e[$]),gA(a,$,df(b,t,n,$,e,l))}),a}var tSe=1,nSe=4;function oSe(e){return df(e,tSe|nSe)}const rSe=te({__name:"index",setup(e){const t=x$e();function n(){const i=oSe(Fx);return i.forEach(s=>{s.key=s.path,s.label=s.meta.title,s.children.forEach(u=>{u.key=u.path,u.label=u.meta.title,delete u.component})}),i}const o=ee(n()),r=ee(n().map(i=>i.key)),l=ee([]);function a({key:i}){t.push(i)}return he(t.currentRoute,()=>{l.value=[t.currentRoute.value.path]},{immediate:!0,deep:!0}),(i,s)=>{const u=ut("m-menu");return ze(),St(u,{selectedKeys:l.value,"onUpdate:selectedKeys":s[0]||(s[0]=c=>l.value=c),openKeys:r.value,"onUpdate:openKeys":s[1]||(s[1]=c=>r.value=c),mode:"inline",items:o.value,class:"flex-1",onSelect:a},null,8,["selectedKeys","openKeys","items"])}}}),lSe={class:"h-100% flex overflow-hidden"},aSe={class:"w-200px h-100% overflow-y-auto flex flex-col"},iSe={class:"p-10px"},sSe={class:"flex-1 h-100% p-10px overflow-y-auto"},uSe={id:"container",class:"h-100% overflow-auto translate-x-0 translate-y-0"},cSe=te({__name:"app",setup(e){const t=`v${g1e.version}`;return(n,o)=>{const r=ut("m-input"),l=ut("router-view"),a=ut("m-config-provider");return ze(),St(a,{locale:Xt(xD)},{default:bt(()=>[Ht("div",lSe,[Ht("div",aSe,[Ht("div",iSe,[v(r,{value:t,readonly:""})]),v(rSe)]),Ht("div",sSe,[Ht("div",uSe,[v(l,{class:"markdown-body"})])])])]),_:1},8,["locale"])}}}),dSe=XO(cSe);dSe.use(i1e).use(_x).mount("#app");export{Ht as a,Ot as b,it as c,te as d,v as e,ee as f,po as g,Ln as h,H9 as i,ze as o,_9 as p,ut as r,$n as t,Xt as u,Jn as v,bt as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as r,B as h,C as d}from"./main-
|
|
1
|
+
import{i as r,B as h,C as d}from"./main-BVsgWIXK.js";import{d as m,r as g,o as t,c,b as s,e as n,w as e,u as _,a}from"./index-D7Nzvbcr.js";/* empty css */const j=m({__name:"index.md.Virtualf9e47842",setup(i){r();async function l(){h.navigateTo({url:"/pages/esign/index?aa=111"})}return(o,E)=>{const p=g("m-button");return t(),c("div",null,[s(" 在console中查看 "),n(p,{onClick:l},{default:e(()=>[s("检验")]),_:1})])}}}),u={class:"marked-body"},A=a("h2",{id:"navigateto"},"navigateTo",-1),C=a("p",null,"跳转到非tabBar中的某一页",-1),B=a("h3",{id:"使用说明"},"使用说明",-1),f=a("ul",null,[a("li",null,"以微信小程序的api为准")],-1),k=a("pre",{class:"language-xml"},[a("code",{class:"hljs"},[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(`
|
|
2
2
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(">")]),s(`
|
|
3
3
|
在console中查看
|
|
4
4
|
`),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"m-button"),s(" @"),a("span",{class:"hljs-attr"},"click"),s("="),a("span",{class:"hljs-string"},'"handleCheck"'),s(">")]),s("检验"),a("span",{class:"hljs-tag"},[s("</"),a("span",{class:"hljs-name"},"m-button"),s(">")]),s(`
|