1import{J as ae,Q as At,n as v,C as Rt,s as ie,Z as nt,q as Dt,w as cn,_ as Ie,F as we,D as dn,v as vn,$ as pn,z as it,P as S,V as hn,U as mn,a0 as rt,a1 as gn,m as fe}from"./entry.203fae1c.js";import{w as ee,f as J,h as se,s as ue,j as yn,P as ot,k as wn}from"./RightList.40b86660.js";import{j,r as bn,E as je,ak as Nt,x as Le,b as X,g as Cn,H as T,V as kt,am as Pn,K as Xe,a as C,o as xn,k as N,al as Tn,n as $e,t as On,W as Mn,an as at,i as $t,p as zt,G as Sn}from"./swiper-vue.a0fd340e.js";import{i as _n}from"./client-only.9ab7ce4f.js";var Ft=function(){if(typeof Map<"u")return Map;function t(e,n){var i=-1;return e.some(function(r,o){return r[0]===n?(i=o,!0):!1}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var i=t(this.__entries__,n),r=this.__entries__[i];return r&&r[1]},e.prototype.set=function(n,i){var r=t(this.__entries__,n);~r?this.__entries__[r][1]=i:this.__entries__.push([n,i])},e.prototype.delete=function(n){var i=this.__entries__,r=t(i,n);~r&&i.splice(r,1)},e.prototype.has=function(n){return!!~t(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,i){i===void 0&&(i=null);for(var r=0,o=this.__entries__;r<o.length;r++){var a=o[r];n.call(i,a[1],a[0])}},e}()}(),ze=typeof window<"u"&&typeof document<"u"&&window.document===document,be=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),En=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(be):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),An=2;function Rn(t,e){var n=!1,i=!1,r=0;function o(){n&&(n=!1,t()),i&&s()}function a(){En(o)}function s(){var u=Date.now();if(n){if(u-r<An)return;i=!0}else n=!0,i=!1,setTimeout(a,e);r=u}return s}var Dn=20,Nn=["top","right","bottom","left","width","height","size","weight"],kn=typeof MutationObserver<"u",$n=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Rn(this.refresh.bind(this),Dn)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var n=this.observers_,i=n.indexOf(e);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!ze||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),kn?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!ze||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var n=e.propertyName,i=n===void 0?"":n,r=Nn.some(function(o){return!!~i.indexOf(o)});r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),Ht=function(t,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,
vendor: 4,099 bytes, line 1
1configurable:!0})}return t},ne=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||be},Vt=xe(0,0,0,0);function Ce(t){return parseFloat(t)||0}function st(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(i,r){var o=t["border-"+r+"-width"];return i+Ce(o)},0)}function zn(t){for(var e=["top","right","bottom","left"],n={},i=0,r=e;i<r.length;i++){var o=r[i],a=t["padding-"+o];n[o]=Ce(a)}return n}function Fn(t){var e=t.getBBox();return xe(0,0,e.width,e.height)}function Hn(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return Vt;var i=ne(t).getComputedStyle(t),r=zn(i),o=r.left+r.right,a=r.top+r.bottom,s=Ce(i.width),u=Ce(i.height);if(i.boxSizing==="border-box"&&(Math.round(s+o)!==e&&(s-=st(i,"left","right")+o),Math.round(u+a)!==n&&(u-=st(i,"top","bottom")+a)),!Bn(t)){var l=Math.round(s+o)-e,f=Math.round(u+a)-n;Math.abs(l)!==1&&(s-=l),Math.abs(f)!==1&&(u-=f)}return xe(r.left,r.top,s,u)}var Vn=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof ne(t).SVGGraphicsElement}:function(t){return t instanceof ne(t).SVGElement&&typeof t.getBBox=="function"}}();function Bn(t){return t===ne(t).document.documentElement}function Wn(t){return ze?Vn(t)?Fn(t):Hn(t):Vt}function In(t){var e=t.x,n=t.y,i=t.width,r=t.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(o.prototype);return Ht(a,{x:e,y:n,width:i,height:r,top:n,right:e+i,bottom:r+n,left:e}),a}function xe(t,e,n,i){return{x:t,y:e,width:n,height:i}}var jn=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=xe(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=Wn(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),Ln=function(){function t(e,n){var i=In(n);Ht(this,{target:e,contentRect:i})}return t}(),Xn=function(){function t(e,n,i){if(this.activeObservations_=[],this.observations_=new Ft,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=i}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ne(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new jn(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ne(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(i){return new Ln(i.target,i.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),Bt=typeof WeakMap<"u"?new WeakMap:new Ft,Wt=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=$n.getInstance(),i=new Xn(e,n,this);Bt.set(this,i)}return t}();["observe","unobserve","disconnect"].forEach(function(t){Wt.prototype[t]=function(){var e;return(e=Bt.get(this))[t].apply(e,arguments)}});
1var It=function(){return typeof be.ResizeObserver<"u"?be.ResizeObserver:Wt}();const jt=j({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup:function(e,n){var i=n.slots,r=bn({width:0,height:0,offsetHeight:0,offsetWidth:0}),o=null,a=null,s=function(){a&&(a.disconnect(),a=null)},u=function(d){var c=e.onResize,p=d[0].target,h=p.getBoundingClientRect(),P=h.width,b=h.height,y=p.offsetWidth,w=p.offsetHeight,M=Math.floor(P),D=Math.floor(b);if(r.width!==M||r.height!==D||r.offsetWidth!==y||r.offsetHeight!==w){var _={width:M,height:D,offsetWidth:y,offsetHeight:w};At(r,_),c&&Promise.resolve().then(function(){c(v(v({},_),{},{offsetWidth:y,offsetHeight:w}),p)})}},l=Cn(),f=function(){var d=e.disabled;if(d){s();return}var c=ae(l),p=c!==o;p&&(s(),o=c),!a&&c&&(a=new It(u),a.observe(c))};return je(function(){f()}),Nt(function(){f()}),Le(function(){s()}),X(function(){return e.disabled},function(){f()},{flush:"post"}),function(){var m;return(m=i.default)===null||m===void 0?void 0:m.call(i)[0]}}});function ut(t,e,n,i,r,o,a){try{var s=t[o](a),u=s.value}catch(l){n(l);return}s.done?e(u):Promise.resolve(u).then(i,r)}function Yn(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var o=t.apply(e,n);function a(u){ut(o,i,r,a,s,"next",u)}function s(u){ut(o,i,r,a,s,"throw",u)}a(void 0)})}}var Lt=["moz","ms","webkit"];function qn(){var t=0;return function(e){var n=new Date().getTime(),i=Math.max(0,16-(n-t)),r=window.setTimeout(function(){e(n+i)},i);return t=n+i,r}}function Un(){if(typeof window>"u")return function(){};if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);var t=Lt.filter(function(e){return"".concat(e,"RequestAnimationFrame")in window})[0];return t?window["".concat(t,"RequestAnimationFrame")]:qn()}function Gn(t){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(t);var e=Lt.filter(function(n){return"".concat(n,"CancelAnimationFrame")in window||"".concat(n,"CancelRequestAnimationFrame")in window})[0];return e?(window["".concat(e,"CancelAnimationFrame")]||window["".concat(e,"CancelRequestAnimationFrame")]).call(this,t):clearTimeout(t)}var lt=Un(),Kn=function(e){return Gn(e.id)},Qn=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=Date.now();function r(){Date.now()-i>=n?e.call():o.id=lt(r)}var o={id:lt(r)};return o},Ye={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},Zn=v(v({},Ye),{},{mobile:{type:Object}}),Jn=v(v({},Ye),{},{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function Xt(t){var e=t.prefixCls,n=t.animation,i=t.transitionName;return n?{name:"".concat(e,"-").concat(n)}:i?{name:i}:{}}function Yt(t){var e=t.prefixCls,n=t.visible,i=t.zIndex,r=t.mask,o=t.maskAnimation,a=t.maskTransitionName;if(!r)return null;var s={};return(a||o)&&(s=Xt({prefixCls:e,transitionName:a,animation:o})),T(Xe,v({appear:!0},s),{default:function(){return[kt(T("div",{style:{zIndex:i},class:"".concat(e,"-mask")},null),[[Pn("if"),n]])]}})}Yt.displayName="Mask";const ei=j({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:Zn,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup:function(e,n){var i=n.expose,r=n.slots,o=C();return i({forceAlign:function(){},getElement:function(){return o.value}}),function(){var a,s=e.zIndex,u=e.visible,l=e.prefixCls,f=e.mobile,m=f===void 0?{}:f,d=m.popupClassName,c=m.popupStyle,p=m.popupMotion,h=p===void 0?{}:p,P=m.popupRender,b=v({zIndex:s},c),y=Rt((a=r.default)===null||a===void 0?void 0:a.call(r));y.length>1&&(y=T("div",{class:"".concat(l,"-content")},[y])),P&&(y=P(y));var w=ie(l,d);return T(Xe,v({ref:o},h),{default:function(){return[u?T("div",{class:w,style:b},[y]):null]}})}}});var ft=["measure","align",null,"motion"];const ti=function(t,e){var n=C(null),i=C(),r=C(!1);function o(u){r.value||(n.value=u)}function a(){ee.cancel(i.value)}function s(u){a(),i.value=ee(function(){var l=n.value;switch(n.value){case"align":l="motion";break;case"motion":l="stable";break}o(l),u==null||u()})}return X(t,function(){o("measure")},{immediate:!0,flush:"post"}),je(function(){X(n,function(){switch(n.value){case"measure":e();break}n.value&&(i.value=ee(Yn(nt.mark(function u(){var l,f;return nt.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:l=ft.indexOf(n.value),f=ft[l+1],f&&l!==-1&&o(f);case 3:case"end":return d.stop()}},u)}))))},{immediate:!0,flush:"post"})}),xn(function(){r.value=!0,a()}),[n,s]},ni=function(t){var e=C({width:0,height:0});function n(r){e.value={width:r.offsetWidth,height:r.offsetHeight}}var i=N(function(){var r={};if(t.value){var o=e.value,a=o.width,s=o.height;t.value.indexOf("height")!==-1&&s?r.height="".concat(s,"px"):t.value.indexOf("minHeight")!==-1&&s&&(r.minHeight="".concat(s,"px")),t.value.indexOf("width")!==-1&&a?r.width="".concat(a,"px"):t.value.indexOf("minWidth")!==-1&&a&&(r.minWidth="".concat(a,"px"))}return r});return[i,n]};function ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function dt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};
vendor: 12,863 bytes, line 1
1e%2?ct(Object(n),!0).forEach(function(i){ii(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function Fe(t){"@babel/helpers - typeof";return Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(t)}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var oe,ri={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function Pe(){if(oe!==void 0)return oe;oe="";var t=document.createElement("p").style,e="Transform";for(var n in ri)n+e in t&&(oe=n);return oe}function qt(){return Pe()?"".concat(Pe(),"TransitionProperty"):"transitionProperty"}function Te(){return Pe()?"".concat(Pe(),"Transform"):"transform"}function vt(t,e){var n=qt();n&&(t.style[n]=e,n!=="transitionProperty"&&(t.style.transitionProperty=e))}function Re(t,e){var n=Te();n&&(t.style[n]=e,n!=="transform"&&(t.style.transform=e))}function oi(t){return t.style.transitionProperty||t.style[qt()]}function ai(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("transform")||e.getPropertyValue(Te());if(n&&n!=="none"){var i=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(i[12]||i[4],0),y:parseFloat(i[13]||i[5],0)}}return{x:0,y:0}}var si=/matrix\((.*)\)/,ui=/matrix3d\((.*)\)/;function li(t,e){var n=window.getComputedStyle(t,null),i=n.getPropertyValue("transform")||n.getPropertyValue(Te());if(i&&i!=="none"){var r,o=i.match(si);if(o)o=o[1],r=o.split(",").map(function(s){return parseFloat(s,10)}),r[4]=e.x,r[5]=e.y,Re(t,"matrix(".concat(r.join(","),")"));else{var a=i.match(ui)[1];r=a.split(",").map(function(s){return parseFloat(s,10)}),r[12]=e.x,r[13]=e.y,Re(t,"matrix3d(".concat(r.join(","),")"))}}else Re(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}var fi=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,de;function pt(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function te(t,e,n){var i=n;if(Fe(e)==="object"){for(var r in e)e.hasOwnProperty(r)&&te(t,r,e[r]);return}if(typeof i<"u"){typeof i=="number"&&(i="".concat(i,"px")),t.style[e]=i;return}return de(t,e)}function ci(t){var e,n,i,r=t.ownerDocument,o=r.body,a=r&&r.documentElement;return e=t.getBoundingClientRect(),n=Math.floor(e.left),i=Math.floor(e.top),n-=a.clientLeft||o.clientLeft||0,i-=a.clientTop||o.clientTop||0,{left:n,top:i}}function Ut(t,e){var n=t["page".concat(e?"Y":"X","Offset")],i="scroll".concat(e?"Top":"Left");if(typeof n!="number"){var r=t.document;n=r.documentElement[i],typeof n!="number"&&(n=r.body[i])}return n}function Gt(t){return Ut(t)}function Kt(t){return Ut(t,!0)}function ce(t){var e=ci(t),n=t.ownerDocument,i=n.defaultView||n.parentWindow;return e.left+=Gt(i),e.top+=Kt(i),e}function qe(t){return t!=null&&t==t.window}function Qt(t){return qe(t)?t.document:t.nodeType===9?t:t.ownerDocument}function di(t,e,n){var i=n,r="",o=Qt(t);return i=i||o.defaultView.getComputedStyle(t,null),i&&(r=i.getPropertyValue(e)||i[e]),r}var vi=new RegExp("^(".concat(fi,")(?!px)[a-z%]+$"),"i"),pi=/^(top|right|bottom|left)$/,De="currentStyle",Ne="runtimeStyle",G="left",hi="px";function mi(t,e){var n=t[De]&&t[De][e];if(vi.test(n)&&!pi.test(e)){var i=t.style,r=i[G],o=t[Ne][G];t[Ne][G]=t[De][G],i[G]=e==="fontSize"?"1em":n||0,n=i.pixelLeft+hi,i[G]=r,t[Ne][G]=o}return n===""?"auto":n}typeof window<"u"&&(de=window.getComputedStyle?di:mi);function pe(t,e){return t==="left"?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function ht(t){if(t==="left")return"right";if(t==="right")return"left";if(t==="top")return"bottom";if(t==="bottom")return"top"}function mt(t,e,n){te(t,"position")==="static"&&(t.style.position="relative");var i=-999,r=-999,o=pe("left",n),a=pe("top",n),s=ht(o),u=ht(a);o!=="left"&&(i=999),a!=="top"&&(r=999);var l="",f=ce(t);("left"in e||"top"in e)&&(l=oi(t)||"",vt(t,"none")),"left"in e&&(t.style[s]="",t.style[o]="".concat(i,"px")),"top"in e&&(t.style[u]="",t.style[a]="".concat(r,"px")),pt(t);var m=ce(t),d={};for(var c in e)if(e.hasOwnProperty(c)){var p=pe(c,n),h=c==="left"?i:r,P=f[c]-m[c];p===c?d[p]=h+P:d[p]=h-P}te(t,d),pt(t),("left"in e||"top"in e)&&vt(t,l);var b={};for(var y in e)if(e.hasOwnProperty(y)){var w=pe(y,n),M=e[y]-f[y];y===w?b[w]=d[w]+M:b[w]=d[w]-M}te(t,b)}function gi(t,e){var n=ce(t),i=ai(t),r={x:i.x,y:i.y};"left"in e&&(r.x=i.x+e.left-n.left),"top"in e&&(r.y=i.y+e.top-n.top),li(t,r)}function yi(t,e,n){if(n.ignoreShake){var i=ce(t),r=i.left.toFixed(0),o=i.top.toFixed(0),a=e.left.toFixed(0),s=e.top.toFixed(0);if(r===a&&o===s)return}n.useCssRight||n.useCssBottom?mt(t,e,n):n.useCssTransform&&Te()in document.body.style?gi(t,e):mt(t,e,n)}function Ue(t,e){for(var n=0;n<t.length;n++)e(t[n])}function Zt(t){return de(t,"boxSizing")==="border-box"}var wi=["margin","border","padding"],He=-1,bi=2,Ve=1,Ci=0;function Pi(t,e,n){var i={},r=t.style,o;for(o in e)e.hasOwnProperty(o)&&(i[o]=r[o],r[o]=e[o]);n.call(t);for(o in e)e.hasOwnProperty(o)&&(r[o]=i[o])}function le(t,e,n){var i=0,r,o,a;for(o=0;o<e.length;o++)if(r=e[o],r)for(a=0;a<n.length;a++){var s=void 0;r==="border"?s="".concat(r).concat(n[a],"Width"):s=r+n[a],i+=parseFloat(de(t,s))||0}return i}var I={getParent:function(e){var n=e;do n.nodeType===11&&n.host?n=n.host:n=n.parentNode;while(n&&n.nodeType!==1&&n.nodeType!==9);return n}};Ue(["Width","Height"],function(t){I["doc".concat(t)]=function(e){var n=e.document;return Math.max(n.documentElement["scroll".concat(t)],n.body["scroll".concat(t)],I["viewport".concat(t)](n))},I["viewport".concat(t)]=function(e){var n="client".concat(t),i=e.document,r=i.body,o=i.documentElement,a=o[n];return i.compatMode==="CSS1Compat"&&a||r&&r[n]||a}});function gt(t,e,n){var i=n;if(qe(t))return e==="width"?I.viewportWidth(t):I.viewportHeight(t);if(t.nodeType===9)return e==="width"?I.docWidth(t):I.docHeight(t);var r=e==="width"?["Left","Right"]:["Top","Bottom"],o=Math.floor(e==="width"?t.getBoundingClientRect().width:t.getBoundingClientRect().height),a=Zt(t),s=0;(o==null||o<=0)&&(o=void 0,s=de(t,e),(s==null||Number(s)<0)&&(s=t.style[e]||0),s=Math.floor(parseFloat(s))||0),i===void 0&&(i=a?Ve:He);var u=o!==void 0||a,l=o||s;return i===He?u?l-le(t,["border","padding"],r):s:u?i===Ve?l:l+(i===bi?-le(t,["border"],r):le(t,["margin"],r)):s+le(t,wi.slice(i),r)}var xi={position:"absolute",visibility:"hidden",display:"block"};function yt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e[0];return r.offsetWidth!==0?i=gt.apply(void 0,e):Pi(r,xi,function(){i=gt.apply(void 0,e)}),i}Ue(["width","height"],function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);I["outer".concat(e)]=function(i,r){return i&&yt(i,t,r?Ci:Ve)};var n=t==="width"?["Left","Right"]:["Top","Bottom"];I[t]=function(i,r){var o=r;if(o!==void 0){if(i){var a=Zt(i);return a&&(o+=le(i,["padding","border"],n)),te(i,t,o)}return}return i&&yt(i,t,He)}});function Jt(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var g={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var n=e.ownerDocument||e;return n.defaultView||n.parentWindow},getDocument:Qt,offset:function(e,n,i){if(typeof n<"u")yi(e,n,i||{});else return ce(e)},isWindow:qe,each:Ue,css:te,clone:function(e){var n,i={};for(n in e)e.hasOwnProperty(n)&&(i[n]=e[n]);var r=e.overflow;if(r)for(n in e)e.hasOwnProperty(n)&&(i.overflow[n]=e.overflow[n]);return i},mix:Jt,getWindowScrollLeft:function(e){return Gt(e)},getWindowScrollTop:function(e){return Kt(e)},merge:function(){for(var e={},n=0;n<arguments.length;n++)g.mix(e,n<0||arguments.length<=n?void 0:arguments[n]);return e},viewportWidth:0,viewportHeight:0};Jt(g,I);var ke=g.getParent;function Be(t){if(g.isWindow(t)||t.nodeType===9)return null;var e=g.getDocument(t),n=e.body,i,r=g.css(t,"position"),o=r==="fixed"||r==="absolute";if(!o)return t.nodeName.toLowerCase()==="html"?null:ke(t);for(i=ke(t);i&&i!==n&&i.nodeType!==9;i=ke(i))if(r=g.css(i,"position"),r!=="static")return i;return null}var wt=g.getParent;function Ti(t){if(g.isWindow(t)||t.nodeType===9)return!1;var e=g.getDocument(t),n=e.body,i=null;for(i=wt(t);i&&i!==n&&i!==e;i=wt(i)){var r=g.css(i,"position");if(r==="fixed")return!0}return!1}function Ge(t,e){for(var n={left:0,right:1/0,top:0,bottom:1/0},i=Be(t),r=g.getDocument(t),o=r.defaultView||r.parentWindow,a=r.body,s=r.documentElement;i;){if((navigator.userAgent.indexOf("MSIE")===-1||i.clientWidth!==0)&&i!==a&&i!==s&&g.css(i,"overflow")!=="visible"){var u=g.offset(i);u.left+=i.clientLeft,u.top+=i.clientTop,n.top=Math.max(n.top,u.top),n.right=Math.min(n.right,u.left+i.clientWidth),n.bottom=Math.min(n.bottom,u.top+i.clientHeight),n.left=Math.max(n.left,u.left)}else if(i===a||i===s)break;i=Be(i)}var l=null;if(!g.isWindow(t)&&t.nodeType!==9){l=t.style.position;var f=g.css(t,"position");f==="absolute"&&(t.style.position="fixed")}var m=g.getWindowScrollLeft(o),d=g.getWindowScrollTop(o),c=g.viewportWidth(o),p=g.viewportHeight(o),h=s.scrollWidth,P=s.scrollHeight,b=window.getComputedStyle(a);if(b.overflowX==="hidden"&&(h=o.innerWidth),b.overflowY==="hidden"&&(P=o.innerHeight),t.style&&(t.style.position=l),e||Ti(t))n.left=Math.max(n.left,m),n.top=Math.max(n.top,d),n.right=Math.min(n.right,m+c),n.bottom=Math.min(n.bottom,d+p);else{var y=Math.max(h,m+c);n.right=Math.min(n.right,y);var w=Math.max(P,d+p);n.bottom=Math.min(n.bottom,w)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Oi(t,e,n,i){var r=g.clone(t),o={width:e.width,height:e.height};return i.adjustX&&r.left<n.left&&(r.left=n.left),i.resizeWidth&&r.left>=n.left&&r.left+o.width>n.right&&(o.width-=r.left+o.width-n.right),i.adjustX&&r.left+o.width>n.right&&(r.left=Math.max(n.right-o.width,n.left)),i.adjustY&&r.top<n.top&&(r.top=n.top),i.resizeHeight&&r.top>=n.top&&r.top+o.height>n.bottom&&(o.height-=r.top+o.height-n.bottom),i.adjustY&&r.top+o.height>n.bottom&&(r.top=Math.max(n.bottom-o.height,n.top)),g.mix(r,o)}function Ke(t){var e,n,i;if(!g.isWindow(t)&&t.nodeType!==9)e=g.offset(t),n=g.outerWidth(t),i=g.outerHeight(t);else{var r=g.getWindow(t);e={left:g.getWindowScrollLeft(r),top:g.getWindowScrollTop(r)},n=g.viewportWidth(r),i=g.viewportHeight(r)}return e.width=n,e.height=i,e}function bt(t,e){var n=e.charAt(0),i=e.charAt(1),r=t.width,o=t.height,a=t.left,s=t.top;return n==="c"?s+=o/2:n==="b"&&(s+=o),i==="c"?a+=r/2:i==="r"&&(a+=r),{left:a,top:s}}function he(t,e,n,i,r){var o=bt(e,n[1]),a=bt(t,n[0]),s=[a.left-o.left,a.top-o.top];return{left:Math.round(t.left-s[0]+i[0]-r[0]),top:Math.round(t.top-s[1]+i[1]-r[1])}}function Ct(t,e,n){return t.left<n.left||t.left+e.width>n.right}function Pt(t,e,n){return t.top<n.top||t.top+e.height>n.bottom}function Mi(t,e,n){return t.left>n.right||t.left+e.width<n.left}function Si(t,e,n){return t.top>n.bottom||t.top+e.height<n.top}function me(t,e,n){var i=[];return g.each(t,function(r){i.push(r.replace(e,function(o){return n[o]}))}),i}function ge(t,e){return t[e]=-t[e],t}function xt(t,e){var n;return/%$/.test(t)?n=parseInt(t.substring(0,t.length-1),10)/100*e:n=parseInt(t,10),n||0}function Tt(t,e){t[0]=xt(t[0],e.width),t[1]=xt(t[1],e.height)}function en(t,e,n,i){var r=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,u=n.source||t;o=[].concat(o),a=[].concat(a),s=s||{};var l={},f=0,m=!!(s&&s.alwaysByViewport),d=Ge(u,m),c=Ke(u);Tt(o,c),Tt(a,e);var p=he(c,e,r,o,a),h=g.merge(c,p);if(d&&(s.adjustX||s.adjustY)&&i){if(s.adjustX&&Ct(p,c,d)){var P=me(r,/[lr]/gi,{l:"r",r:"l"}),b=ge(o,0),y=ge(a,0),w=he(c,e,P,b,y);Mi(w,c,d)||(f=1,r=P,o=b,a=y)}if(s.adjustY&&Pt(p,c,d)){var M=me(r,/[tb]/gi,{t:"b",b:"t"}),D=ge(o,1),_=ge(a,1),z=he(c,e,M,D,_);Si(z,c,d)||(f=1,r=M,o=D,a=_)}f&&(p=he(c,e,r,o,a),g.mix(h,p));var k=Ct(p,c,d),L=Pt(p,c,d);if(k||L){var H=r;k&&(H=me(r,/[lr]/gi,{l:"r",r:"l"})),L&&(H=me(r,/[tb]/gi,{t:"b",b:"t"})),r=H,o=n.offset||[0,0],a=n.targetOffset||[0,0]}l.adjustX=s.adjustX&&k,l.adjustY=s.adjustY&&L,(l.adjustX||l.adjustY)&&(h=Oi(p,c,d,l))}return h.width!==c.width&&g.css(u,"width",g.width(u)+h.width-c.width),h.height!==c.height&&g.css(u,"height",g.height(u)+h.height-c.height),g.offset(u,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:o,targetOffset:a,overflow:l}}function _i(t,e){var n=Ge(t,e),i=Ke(t);return!n||i.left+i.width<=n.left||i.top+i.height<=n.top||i.left>=n.right||i.top>=n.bottom}function Qe(t,e,n){var i=n.target||e,r=Ke(i),o=!_i(i,n.overflow&&n.overflow.alwaysByViewport);return en(t,r,n,o)}Qe.__getOffsetParent=Be;Qe.__getVisibleRectForElement=Ge;function Ei(t,e,n){var i,r,o=g.getDocument(t),a=o.defaultView||o.parentWindow,s=g.getWindowScrollLeft(a),u=g.getW
1indowScrollTop(a),l=g.viewportWidth(a),f=g.viewportHeight(a);"pageX"in e?i=e.pageX:i=s+e.clientX,"pageY"in e?r=e.pageY:r=u+e.clientY;var m={left:i,top:r,width:0,height:0},d=i>=0&&i<=s+l&&r>=0&&r<=u+f,c=[n.points[0],"cc"];return en(t,m,dt(dt({},n),{},{points:c}),d)}function tn(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=t;if(Array.isArray(t)&&(r=Dt(t)[0]),!r)return null;var o=Tn(r,e,i);return o.props=n?v(v({},o.props),e):o.props,cn(Ie(o.props.class)!=="object","class must be string"),o}const Ai=function(t){if(!t)return!1;if(t.offsetParent)return!0;if(t.getBBox){var e=t.getBBox();if(e.width||e.height)return!0}if(t.getBoundingClientRect){var n=t.getBoundingClientRect();if(n.width||n.height)return!0}return!1};function Ri(t,e){return t===e?!0:!t||!e?!1:"pageX"in e&&"pageY"in e?t.pageX===e.pageX&&t.pageY===e.pageY:"clientX"in e&&"clientY"in e?t.clientX===e.clientX&&t.clientY===e.clientY:!1}function Di(t,e){t!==document.activeElement&&J(e,t)&&typeof t.focus=="function"&&t.focus()}function Ot(t,e){var n=null,i=null;function r(a){var s=we(a,1),u=s[0].target;if(document.documentElement.contains(u)){var l=u.getBoundingClientRect(),f=l.width,m=l.height,d=Math.floor(f),c=Math.floor(m);(n!==d||i!==c)&&Promise.resolve().then(function(){e({width:d,height:c})}),n=d,i=c}}var o=new It(r);return t&&o.observe(t),function(){o.disconnect()}}const Ni=function(t,e){var n=!1,i=null;function r(){clearTimeout(i)}function o(a){if(!n||a===!0){if(t()===!1)return;n=!0,r(),i=setTimeout(function(){n=!1},e.value)}else r(),i=setTimeout(function(){n=!1,o()},e.value)}return[o,function(){n=!1,r()}]};var ki={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function Mt(t){return typeof t!="function"?null:t()}function St(t){return Ie(t)!=="object"||!t?null:t}const $i=j({compatConfig:{MODE:3},name:"Align",props:ki,emits:["align"],setup:function(e,n){var i=n.expose,r=n.slots,o=C({}),a=C(),s=Ni(function(){var h=e.disabled,P=e.target,b=e.align,y=e.onAlign;if(!h&&P&&a.value){var w=a.value,M,D=Mt(P),_=St(P);o.value.element=D,o.value.point=_,o.value.align=b;var z=document,k=z.activeElement;return D&&Ai(D)?M=Qe(w,D,b):_&&(M=Ei(w,_,b)),Di(k,w),y&&M&&y(w,M),!0}return!1},N(function(){return e.monitorBufferTime})),u=we(s,2),l=u[0],f=u[1],m=C({cancel:function(){}}),d=C({cancel:function(){}}),c=function(){var P=e.target,b=Mt(P),y=St(P);a.value!==d.value.element&&(d.value.cancel(),d.value.element=a.value,d.value.cancel=Ot(a.value,l)),(o.value.element!==b||!Ri(o.value.point,y)||!_n(o.value.align,e.align))&&(l(),m.value.element!==b&&(m.value.cancel(),m.value.element=b,m.value.cancel=Ot(b,l)))};je(function(){$e(function(){c()})}),Nt(function(){$e(function(){c()})}),X(function(){return e.disabled},function(h){h?f():l()},{immediate:!0,flush:"post"});var p=C(null);return X(function(){return e.monitorWindowResize},function(h){h?p.value||(p.value=se(window,"resize",l)):p.value&&(p.value.remove(),p.value=null)},{flush:"post"}),Le(function(){m.value.cancel(),d.value.cancel(),p.value&&p.value.remove(),f()}),i({forceAlign:function(){return l(!0)}}),function(){var h=r==null?void 0:r.default();return h?tn(h[0],{ref:a},!0,!0):null}}}),zi=j({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Ye,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup:function(e,n){var i=n.expose,r=n.attrs,o=n.slots,a=C(),s=C(),u=C(),l=ni(On(e,"stretch")),f=we(l,2),m=f[0],d=f[1],c=function(){e.stretch&&d(e.getRootDomNode())},p=C(!1),h;X(function(){return e.visible},function(A){clearTimeout(h),A?h=setTimeout(function(){p.value=e.visible}):p.value=!1},{immediate:!0});var P=ti(p,c),b=we(P,2),y=b[0],w=b[1],M=C(),D=function(){return e.point?e.point:e.getRootDomNode},_=function(){var $;($=a.value)===null||$===void 0||$.forceAlign()},z=function($,V){var B=e.getClassNameFromAlign(V),Y=u.value;if(u.value!==B&&(u.value=B),y.value==="align"){var O;Y!==B?Promise.resolve().then(function(){_()}):w(function(){var x;(x=M.value)===null||x===void 0||x.call(M)}),(O=e.onAlign)===null||O===void 0||O.call(e,$,V)}},k=N(function(){var A=Ie(e.animation)==="object"?e.animation:Xt(e);return["onAfterEnter","onAfterLeave"].forEach(function($){var V=A[$];A[$]=function(B){w(),y.value="stable",V==null||V(B)}}),A}),L=function(){return new Promise(function($){M.value=$})};X([k,y],function(){!k.value&&y.value==="motion"&&w()},{immediate:!0}),i({forceAlign:_,getElement:function(){return s.value.$el||s.value}});var H=N(function(){var A;return!((A=e.align)!==null&&A!==void 0&&A.points&&(y.value==="align"||y.value==="stable"))});return function(){var A,$=e.zIndex,V=e.align,B=e.prefixCls,Y=e.destroyPopupOnHide,O=e.onMouseenter,x=e.onMouseleave,E=e.onTouchstart,R=E===void 0?function(){}:E,q=e.onMousedown,K=y.value,Me=[v(v({},m.value),{},{zIndex:$,opacity:K==="motion"||K==="stable"||!p.value?null:0,pointerEvents:!p.value&&K!=="stable"?"none":null}),r.style],U=Rt((A=o.default)===null||A===void 0?void 0:A.call(o,{visible:e.visible}));U.length>1&&(U=T("div",{class:"".concat(B,"-content")},[U]));var ve=ie(B,r.class,u.value),Se=p.value||!e.visible,_e=Se?dn(k.value.name,k.value):{};return T(Xe,v(v({ref:s},_e),{},{onBeforeEnter:L}),{default:function(){return!Y||e.visible?kt(T($i,{target:D(),key:"popup",ref:a,monitorWindowResize:!0,disabled:H.value,align:V,onAlign:z},{default:function(){return T("div",v(v({class:ve,onMouseenter:O,onMouseleave:x,onMousedown:at(q,["capture"])},vn({},ue?"onTouchstartPassive":"onTouchstart",at(R,["capture"]))),{},{style:Me}),[U])}}),[[Mn,p.value]]):null}})}}}),Fi=j({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Jn,setup:function(e,n){var i=n.attrs,r=n.slots,o=n.expose,a=C(!1),s=C(!1),u=C();return X([function(){return e.visible},function(){return e.mobile}],function(){a.value=e.visible,e.visible&&e.mobile&&(s.value=!0)},{immediate:!0,flush:"post"}),o({forceAlign:function(){var f;(f=u.value)===null||f===void 0||f.forceAlign()},getElement:function(){var f;return(f=u.value)===null||f===void 0?void 0:f.getElement()}}),function(){var l=v(v(v({},e),i),{},{visible:a.value}),f=s.value?T(ei,v(v({},l),{},{mobile:e.mobile,ref:u}),{default:r.default}):T(zi,v(v({},l),{},{ref:u}),{default:r.default});return T("div",null,[T(Yt,l,null),f])}}});function Hi(t,e,n){return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}function _t(t,e,n){var i=t[e]||{};return v(v({},i),n)}function Vi(t,e,n,i){for(var r=n.points,o=Object.keys(t),a=0;a<o.length;a+=1){var s=o[a];if(Hi(t[s].points,r,i))return"".concat(e,"-placement-").concat(s)}return""}const Bi={methods:{setState:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){var r=this.getDerivedStateFromProps(pn(this),v(v({},this.$data),i));if(r===null)return;i=v(v({},i),r||{})}At(this.$data,i),this._.isMounted&&this.$forceUpdate(),$e(function(){n&&n()})},__emit:function(){var e=[].slice.call(arguments,0),n=e[0];n="on".concat(n[0].toUpperCase()).concat(n.substring(1));var i=this.$props[n]||this.$attrs[n];if(e.length&&i)if(Array.isArray(i))for(var r=0,o=i.length;r<o;r++)i[r].apply(i,it(e.slice(1)));else i.apply(void 0,it(e.slice(1)))}}};function Et(){}function Wi(){return""}function Ii(t){return t?t.ownerDocument:window.document}var ji=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onF
1ocus","onBlur","onContextmenu"];const ir=j({compatConfig:{MODE:3},name:"Trigger",mixins:[Bi],inheritAttrs:!1,props:{action:S.oneOfType([S.string,S.arrayOf(S.string)]).def([]),showAction:S.any.def([]),hideAction:S.any.def([]),getPopupClassNameFromAlign:S.any.def(Wi),onPopupVisibleChange:Function,afterPopupVisibleChange:S.func.def(Et),popup:S.any,popupStyle:{type:Object,default:void 0},prefixCls:S.string.def("rc-trigger-popup"),popupClassName:S.string.def(""),popupPlacement:String,builtinPlacements:S.object,popupTransitionName:String,popupAnimation:S.any,mouseEnterDelay:S.number.def(0),mouseLeaveDelay:S.number.def(.1),zIndex:Number,focusDelay:S.number.def(0),blurDelay:S.number.def(.15),getPopupContainer:Function,getDocument:S.func.def(Ii),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:S.object.def(function(){return{}}),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function,tryPopPortal:Boolean},setup:function(e){var n=N(function(){var u=e.popupPlacement,l=e.popupAlign,f=e.builtinPlacements;return u&&f?_t(f,u,l):l}),i=yn(e.tryPopPortal),r=i.setPortal,o=i.popPortal,a=C(null),s=function(l){a.value=l};return{popPortal:o,setPortal:r,vcTriggerContext:$t("vcTriggerContext",{}),popupRef:a,setPopupRef:s,triggerRef:C(null),align:n,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data:function(){var e=this,n,i=this.$props,r;return this.popupVisible!==void 0?r=!!i.popupVisible:r=!!i.defaultPopupVisible,ji.forEach(function(o){e["fire".concat(o)]=function(a){e.fireEvents(o,a)}}),(n=this.setPortal)===null||n===void 0||n.call(this,T(ot,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},{default:this.getComponent})),{prevPopupVisible:r,sPopupVisible:r,point:null}},watch:{popupVisible:function(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created:function(){zt("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown}),wn(this)},deactivated:function(){this.setPopupVisible(!1)},mounted:function(){var e=this;this.$nextTick(function(){e.updatedCal()})},updated:function(){var e=this;this.$nextTick(function(){e.updatedCal()})},beforeUnmount:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),ee.cancel(this.attachId)},methods:{updatedCal:function(){var e=this.$props,n=this.$data;if(n.sPopupVisible){var i;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(i=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=se(i,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(i=i||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=se(i,"touchstart",this.onDocumentClick,ue?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(i=i||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=se(i,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=se(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter:function(e){var n=this.$props.mouseEnterDelay;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,n,n?null:e)},onMouseMove:function(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave:function(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter:function(){this.clearDelayTimer()},onPopupMouseleave:function(e){var n;e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&J((n=this.popupRef)===null||n===void 0?void 0:n.getElement(),e.relatedTarget)||this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onFocus:function(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown:function(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart:function(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur:function(e){J(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu:function(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose:function(){this.isContextmenuToShow()&&this.close()},onClick:function(e){if(this.fireEvents("onClick",e),this.focusTime){var n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();var i=!this.$data.sPopupVisible;(this.isClickToHide()&&!i||i&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown:function(){var e=this,n=this.vcTriggerContext,i=n===void 0?{}:n;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(function(){e.hasPopupMouseDown=!1},0),i.onPopupMouseDown&&i.onPopupMouseDown.apply(i,arguments)},onDocumentClick:function(e){if(!(this.$props.mask&&!this.$props.maskClosable)){var n=e.target,i=this.getRootDomNo
1de(),r=this.getPopupDomNode();(!J(i,n)||this.isContextMenuOnly())&&!J(r,n)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)}},getPopupDomNode:function(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode:function(){var e=this.$props.getTriggerDOMNode;if(e){var n=ae(this.triggerRef);return ae(e(n))}try{var i=ae(this.triggerRef);if(i)return i}catch{}return ae(this)},handleGetPopupClassFromAlign:function(e){var n=[],i=this.$props,r=i.popupPlacement,o=i.builtinPlacements,a=i.prefixCls,s=i.alignPoint,u=i.getPopupClassNameFromAlign;return r&&o&&n.push(Vi(o,a,e,s)),u&&n.push(u(e)),n.join(" ")},getPopupAlign:function(){var e=this.$props,n=e.popupPlacement,i=e.popupAlign,r=e.builtinPlacements;return n&&r?_t(r,n,i):i},getComponent:function(){var e=this,n={};this.isMouseEnterToShow()&&(n.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(n.onMouseleave=this.onPopupMouseleave),n.onMousedown=this.onPopupMouseDown,n[ue?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;var i=this.handleGetPopupClassFromAlign,r=this.getRootDomNode,o=this.getContainer,a=this.$attrs,s=this.$props,u=s.prefixCls,l=s.destroyPopupOnHide,f=s.popupClassName,m=s.popupAnimation,d=s.popupTransitionName,c=s.popupStyle,p=s.mask,h=s.maskAnimation,P=s.maskTransitionName,b=s.zIndex,y=s.stretch,w=s.alignPoint,M=s.mobile,D=s.forceRender,_=this.$data,z=_.sPopupVisible,k=_.point,L=v(v({prefixCls:u,destroyPopupOnHide:l,visible:z,point:w?k:null,align:this.align,animation:m,getClassNameFromAlign:i,stretch:y,getRootDomNode:r,mask:p,zIndex:b,transitionName:d,maskAnimation:h,maskTransitionName:P,getContainer:o,class:f,style:c,onAlign:a.onPopupAlign||Et},n),{},{ref:this.setPopupRef,mobile:M,forceRender:D});return T(Fi,L,{default:this.$slots.popup||function(){return hn(e,"popup")}})},attachParent:function(e){var n=this;ee.cancel(this.attachId);var i=this.$props,r=i.getPopupContainer,o=i.getDocument,a=this.getRootDomNode(),s;r?(a||r.length===0)&&(s=r(a)):s=o(this.getRootDomNode()).body,s?s.appendChild(e):this.attachId=ee(function(){n.attachParent(e)})},getContainer:function(){var e=this.$props,n=e.getDocument,i=n(this.getRootDomNode()).createElement("div");return i.style.position="absolute",i.style.top="0",i.style.left="0",i.style.width="100%",this.attachParent(i),i},setPopupVisible:function(e,n){var i=this.alignPoint,r=this.sPopupVisible,o=this.onPopupVisibleChange;this.clearDelayTimer(),r!==e&&(mn(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),o&&o(e)),i&&n&&e&&this.setPoint(n)},setPoint:function(e){var n=this.$props.alignPoint;!n||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate:function(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible:function(e,n,i){var r=this,o=n*1e3;if(this.clearDelayTimer(),o){var a=i?{pageX:i.pageX,pageY:i.pageY}:null;this.delayTimer=Qn(function(){r.setPopupVisible(e,a),r.clearDelayTimer()},o)}else this.setPopupVisible(e,i)},clearDelayTimer:function(){this.delayTimer&&(Kn(this.delayTimer),this.delayTimer=null)},clearOutsideHandler:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains:function(e){var n=function(){},i=rt(this);return this.childOriginEvents[e]&&i[e]?this["fire".concat(e)]:(n=this.childOriginEvents[e]||i[e]||n,n)},isClickToShow:function(){var e=this.$props,n=e.action,i=e.showAction;return n.indexOf("click")!==-1||i.indexOf("click")!==-1},isContextMenuOnly:function(){var e=this.$props.action;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow:function(){var e=this.$props,n=e.action,i=e.showAction;return n.indexOf("contextmenu")!==-1||i.indexOf("contextmenu")!==-1}
1,isClickToHide:function(){var e=this.$props,n=e.action,i=e.hideAction;return n.indexOf("click")!==-1||i.indexOf("click")!==-1},isMouseEnterToShow:function(){var e=this.$props,n=e.action,i=e.showAction;return n.indexOf("hover")!==-1||i.indexOf("mouseenter")!==-1},isMouseLeaveToHide:function(){var e=this.$props,n=e.action,i=e.hideAction;return n.indexOf("hover")!==-1||i.indexOf("mouseleave")!==-1},isFocusToShow:function(){var e=this.$props,n=e.action,i=e.showAction;return n.indexOf("focus")!==-1||i.indexOf("focus")!==-1},isBlurToHide:function(){var e=this.$props,n=e.action,i=e.hideAction;return n.indexOf("focus")!==-1||i.indexOf("blur")!==-1},forcePopupAlign:function(){if(this.$data.sPopupVisible){var e;(e=this.popupRef)===null||e===void 0||e.forceAlign()}},fireEvents:function(e,n){this.childOriginEvents[e]&&this.childOriginEvents[e](n);var i=this.$props[e]||this.$attrs[e];i&&i(n)},close:function(){this.setPopupVisible(!1)}},render:function(){var e=this,n=this.$attrs,i=Dt(gn(this)),r=this.$props.alignPoint,o=i[0];this.childOriginEvents=rt(o);var a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[ue?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[ue?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,r&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=function(f){f&&(!f.relatedTarget||!J(f.target,f.relatedTarget))&&e.createTwoChains("onBlur")(f)});var s=ie(o&&o.props&&o.props.class,n.class);s&&(a.class=s);var u=tn(o,v(v({},a),{},{ref:"triggerRef"}),!0,!0);if(this.popPortal)return u;var l=T(ot,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},{default:this.getComponent});return T(Sn,null,[l,u])}});var nn=Symbol("OverflowContextProviderKey"),We=j({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup:function(e,n){var i=n.slots;return zt(nn,N(function(){return e.value})),function(){var r;return(r=i.default)===null||r===void 0?void 0:r.call(i)}}}),Li=function(){return $t(nn,N(function(){return null}))},Xi=["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"],Z=void 0;const ye=j({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:S.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:S.any,invalidate:Boolean},setup:function(e,n){var i=n.slots,r=n.expose,o=N(function(){return e.responsive&&!e.display}),a=C();r({itemNodeRef:a});function s(u){e.registerSize(e.itemKey,u)}return Le(function(){s(null)}),function(){var u,l=e.prefixCls,f=e.invalidate,m=e.item,d=e.renderItem,c=e.responsive;e.registerSize,e.itemKey,e.display;var p=e.order,h=e.component,P=h===void 0?"div":h,b=fe(e,Xi),y=(u=i.default)===null||u===void 0?void 0:u.call(i),w=d&&m!==Z?d(m):y,M;f||(M={opacity:o.value?0:1,height:o.value?0:Z,overflowY:o.value?"hidden":Z,order:c?p:Z,pointerEvents:o.value?"none":Z,position:o.value?"absolute":Z});var D={};return o.value&&(D["aria-hidden"]=!0),T(jt,{disabled:!c,onResize:function(z){var k=z.offsetWidth;s(k)}},{default:function(){return T(P,v(v(v({class:ie(!f&&l),style:M},D),b),{},{ref:a}),{default:function(){return[w]}})}})}}});var Yi=["component"],qi=["className"],Ui=["class"];const Gi=j({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:S.any,title:S.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function}},setup:function(e,n){var i=n.slots,r=n.attrs,o=Li();return function(){if(!o.value){var a,s=e.component,u=s===void 0?"div":s,l=fe(e,Yi);return T(u,v(v({},l),r),{default:function(){return[(a=i.default)===null||a===void 0?void 0:a.call(i)]}})}var f=o.value,m=f.className,d=fe(f,qi),c=r.class,p=fe(r,Ui);return T(We,{value:null},{default:function(){return[T(ye,v(v(v({class:ie(m,c)},d),p),e),i)]}})}}});var Ki=["class","style"],rn="responsive",on="invalidate";function Qi(t){return"+ ".concat(t.length," ...")}var Zi=function(){return{id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:S.any,component:String,itemComponent:S.any,onVisibleChange:Function,ssr:String,onMousedown:Function}},Oe=j({name:"Overflow",inheritAttrs:!1,props:Zi(),emits:["visibleChange"],setup:function(e,n){var i=n.attrs,r=n.emit,o=n.slots,a=N(function(){return e.ssr==="full"}),s=C(null),u=N(function(){return s.value||0}),l=C(new Map),f=C(0),m=C(0),d=C(0),c=C(null),p=C(null),h=N(function(){return p.value===null&&a.value?Number.MAX_SAFE_INTEGER:p.value||0}),P=C(!1),b=N(function(){return"".concat(e.prefixCls,"-item")}),y=N(function(){return Math.max(f.value,m.value)}),w=N(function(){return!!(e.data.length&&e.maxCount===rn)}),M=N(function(){return e.maxCount===on}),D=N(function(){return w.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount}),_=N(function(){var O=e.data;return w.value?s.value===null&&a.value?O=e.data:O=e.data.slice(0,Math.min(e.data.length,u.value/e.itemWidth)):typeof e.maxCount=="number"&&(O=e.data.slice(0,e.maxCount)),O}),z=N(function(){return w.value?e.data.slice(h.value+1):e.data.slice(_.value.length)}),k=function(x,E){var R;return typeof e.itemKey=="function"?e.itemKey(x):(R=e.itemKey&&(x==null?void 0:x[e.itemKey]))!==null&&R!==void 0?R:E},L=N(function(){return e.renderItem||function(O){return O}}),H=function(x,E){p.value=x,E||(P.value=x<e.data.length-1,r("visibleChange",x))},A=function(x,E){s.value=E.clientWidth},$=function(x,E){var R=new Map(l.value);E===null?R.delete(x):R.set(x,E),l.value=R},V=function(x,E){f.value=m.value,m.value=E},B=function(x,E){d.value=E},Y=function(x){return l.value.get(k(_.value[x],x))};return X([u,l,m,d,function(){return e.itemKey},_],function(){if(u.value&&y.value&&_.value){var O=d.value,x=_.value.length,E=x-1;if(!x){H(0),c.value=null;return}for(var R=0;R<x;R+=1){var q=Y(R);if(q===void 0){H(R-1,!0);break}if(O+=q,E===0&&O<=u.value||R===E-1&&O+Y(E)<=u.value){H(E),c.value=null;break}else if(O+y.value>u.value){H(R-1),c.value=O-q-d.value+m.value;break}}e.suffix&&Y(0)+d.value>u.value&&(c.value=null)}}),function(){var O=P.value&&!!z.value.length,x=e.itemComponent,E=e.renderRawItem,R=e.renderRawRest,q=e.renderRest,K=e.prefixCls,Me=K===void 0?"rc-overflow":K,U=e.suffix,ve=e.component,Se=ve===void 0?"div":ve,_e=e.id,Ze=e.onMousedown,Je=i.class,an=i.style,sn=fe(i,Ki),et={};c.value!==null&&w.value&&(et={position:"absolute",left:"".concat(c.value,"px"),top:0});var re={prefixCls:b.value,responsive:w.value,component:x,invalidate:M.value},un=E?function(W,F){var Q=k(W,F);return T(We,{key:Q,value:v(v({},re),{},{order:F,item:W,itemKey:Q,registerSize:$,display:F<=h.value})},{default:function(){return[E(W,F)]}})}:function(W,F){var Q=k(W,F);return T(ye,v(v({},re),{},{order:F,key:Q,item:W,renderItem:L.value,itemKey:Q,registerSize:$,display:F<=h.value}),null)},Ee=function(){return null},tt={order:O?h.value:Number.MAX_SAFE_INTEGER,className:"".concat(b.value," ").concat(b.value,"-rest"),registerSize:V,display:O};if(R)R&&(Ee=function(){return T(We,{value:v(v({},re),tt)},{default:function(){return[R(z.value)]}})});else{var Ae=q||Qi;Ee=function(){return T(ye,v(v({},re),tt),{default:function(){return typeof Ae=="function"?Ae(z.value):Ae}})}}var ln=function(){var F;return T(Se,v({id:_e,class:ie(!M.value&&Me,Je),style:an,onMousedown:Ze},sn),{default:function(){return[_.value.map(un),D.value?Ee():null,U&&T(ye,v(v({},re),{},{order:h.value,class:"".concat(b.value,"-suffix"),registerSize:B,display:!0,style:et}),{default:function(){return U}}),(F=o.default)===null||F===void 0?void 0:F.call(o)]}})};return T(jt,{disabled:!w.value,onResize:A},{default:ln})}}});Oe.Item=Gi;Oe.RESPONSIVE=rn;Oe.INVALIDATE=on;const rr=Oe,or=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4)))};function ar(t){var e=typeof t=="function"?t():t,n=C(e);function i(r){n.value=r}return[n,i]}function sr(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=0,n=t.length;e<n;e++)if(t[e]!==void 0)return t[e]}export{Bi as B,rr as O,jt as R,ir as T,tn as c,sr as f,or as i,ar as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.