sd-webui-infinite-image-bro.../vue/dist/assets/fullScreenContextMenu-99495...

3 lines
52 KiB
JavaScript

import{P as re,by as $t,a as F,d as W,bh as be,u as nt,c as a,bz as Ae,_ as it,U as le,$ as ce,ah as G,bn as Me,a2 as Ne,av as It,h as j,bA as zt,b as Pt,aw as Lt,bB as kt,a1 as xe,bm as Bt,aD as Qt,bC as Mt,az as Se,bf as fe,bD as Nt,bE as Te,e as De,bF as xt,af as U,al as Tt,am as Dt,o as E,m as M,bG as jt,bH as Ft,bI as Vt,bJ as Ut,bK as Rt,a4 as Ht,y as L,bL as Z,H as V,n as g,z as H,A as oe,bM as je,bN as Jt,bO as Yt,B as Gt,L as K,k as Ee,x as _,v as S,r as O,bP as rt,V as lt,bQ as Wt,bR as Kt,M as ot,Z as J,bq as st,bS as Xt,K as me,p as x,bT as qt,W as at,ay as Zt,ap as en,l as ut,bU as tn,bV as nn,ag as ee,t as rn,q as ln}from"./index-3ed6c068.js";import{h as on}from"./hook-ab96b9b6.js";import{f as dt}from"./db-fd44e31c.js";var ct=function(){return{arrow:{type:[Boolean,Object],default:void 0},trigger:{type:[Array,String]},overlay:re.any,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},align:{type:Object},getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:{type:Object,default:void 0},forceRender:{type:Boolean,default:void 0},mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:void 0},onVisibleChange:{type:Function},"onUpdate:visible":{type:Function}}},ue=$t(),sn=function(){return F(F({},ct()),{},{type:ue.type,size:String,htmlType:ue.htmlType,href:String,disabled:{type:Boolean,default:void 0},prefixCls:String,icon:re.any,title:String,loading:ue.loading,onClick:{type:Function}})},an=["type","disabled","loading","htmlType","class","overlay","trigger","align","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:visible"],un=le.Group;const se=W({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:be(sn(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:["icon","leftButton","rightButton","overlay"],setup:function(t,n){var i=n.slots,r=n.attrs,s=n.emit,v=function($){s("update:visible",$),s("visibleChange",$)},u=nt("dropdown-button",t),p=u.prefixCls,o=u.direction,y=u.getPopupContainer;return function(){var w,$,c=F(F({},t),r),z=c.type,h=z===void 0?"default":z,l=c.disabled,f=c.loading,d=c.htmlType,A=c.class,m=A===void 0?"":A,I=c.overlay,C=I===void 0?(w=i.overlay)===null||w===void 0?void 0:w.call(i):I,N=c.trigger,k=c.align,D=c.visible;c.onVisibleChange;var b=c.placement,B=b===void 0?o.value==="rtl"?"bottomLeft":"bottomRight":b,P=c.href,Q=c.title,R=c.icon,X=R===void 0?(($=i.icon)===null||$===void 0?void 0:$.call(i))||a(Ae,null,null):R,T=c.mouseEnterDelay,q=c.mouseLeaveDelay,At=c.overlayClassName,St=c.overlayStyle,Et=c.destroyPopupOnHide,wt=c.onClick;c["onUpdate:visible"];var Ot=it(c,an),Ct={align:k,disabled:l,trigger:l?[]:N,placement:B,getPopupContainer:y.value,onVisibleChange:v,mouseEnterDelay:T,mouseLeaveDelay:q,visible:D,overlayClassName:At,overlayStyle:St,destroyPopupOnHide:Et},Be=a(le,{type:h,disabled:l,loading:f,onClick:wt,htmlType:d,href:P,title:Q},{default:i.default}),Qe=a(le,{type:h,icon:X},null);return a(un,F(F({},Ot),{},{class:ce(p.value,m)}),{default:function(){return[i.leftButton?i.leftButton({button:Be}):Be,a(Y,Ct,{default:function(){return[i.rightButton?i.rightButton({button:Qe}):Qe]},overlay:function(){return C}})]}})}}});var ft=W({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:be(ct(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:["overlay"],setup:function(t,n){var i=n.slots,r=n.attrs,s=n.emit,v=nt("dropdown",t),u=v.prefixCls,p=v.rootPrefixCls,o=v.direction,y=v.getPopupContainer,w=G(function(){var h=t.placement,l=h===void 0?"":h,f=t.transitionName;return f!==void 0?f:l.indexOf("top")>=0?"".concat(p.value,"-slide-down"):"".concat(p.value,"-slide-up")}),$=function(){var l,f,d,A=t.overlay||((l=i.overlay)===null||l===void 0?void 0:l.call(i)),m=Array.isArray(A)?A[0]:A;if(!m)return null;var I=m.props||{};Me(!I.mode||I.mode==="vertical","Dropdown",'mode="'.concat(I.mode,`" is not supported for Dropdown's Menu.`));var C=I.selectable,N=C===void 0?!1:C,k=I.expandIcon,D=k===void 0?(f=m.children)===null||f===void 0||(d=f.expandIcon)===null||d===void 0?void 0:d.call(f):k,b=typeof D<"u"&&xe(D)?D:a("span",{class:"".concat(u.value,"-menu-submenu-arrow")},[a(Bt,{class:"".concat(u.value,"-menu-submenu-arrow-icon")},null)]),B=xe(m)?Ne(m,{mode:"vertical",selectable:N,expandIcon:function(){return b}}):m;return B},c=G(function(){var h=t.placement;if(!h)return o.value==="rtl"?"bottomRight":"bottomLeft";if(h.includes("Center")){var l=h.slice(0,h.indexOf("Center"));return Me(!h.includes("Center"),"Dropdown","You are using '".concat(h,"' placement in Dropdown, which is deprecated. Try to use '").concat(l,"' instead.")),l}return h}),z=function(l){s("update:visible",l),s("visibleChange",l)};return function(){var h,l,f=t.arrow,d=t.trigger,A=t.disabled,m=t.overlayClassName,I=(h=i.default)===null||h===void 0?void 0:h.call(i)[0],C=Ne(I,It({class:ce(I==null||(l=I.props)===null||l===void 0?void 0:l.class,j({},"".concat(u.value,"-rtl"),o.value==="rtl"),"".concat(u.value,"-trigger"))},A?{disabled:A}:{})),N=ce(m,j({},"".concat(u.value,"-rtl"),o.value==="rtl")),k=A?[]:d,D;k&&k.indexOf("contextmenu")!==-1&&(D=!0);var b=zt({arrowPointAtCenter:Pt(f)==="object"&&f.pointAtCenter,autoAdjustOverflow:!0}),B=Lt(F(F(F({},t),r),{},{builtinPlacements:b,overlayClassName:N,arrow:f,alignPoint:D,prefixCls:u.value,getPopupContainer:y.value,transitionName:w.value,trigger:k,onVisibleChange:z,placement:c.value}),["overlay","onUpdate:visible"]);return a(kt,B,{default:function(){return[C]},overlay:$})}}});ft.Button=se;const Y=ft;Y.Button=se;Y.install=function(e){return e.component(Y.name,Y),e.component(se.name,se),e};var dn=["class","style"],cn=function(){return{prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:re.any,delay:Number,indicator:re.any}},te=null;function fn(e,t){return!!e&&!!t&&!isNaN(Number(t))}function Hi(e){var t=e.indicator;te=typeof t=="function"?t:function(){return a(t,null,null)}}const Ji=W({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:be(cn(),{size:"default",spinning:!0,wrapperClassName:""}),setup:function(){return{originalUpdateSpinning:null,configProvider:Qt("configProvider",Mt)}},data:function(){var t=this.spinning,n=this.delay,i=fn(t,n);return{sSpinning:t&&!i}},created:function(){this.originalUpdateSpinning=this.updateSpinning,this.debouncifyUpdateSpinning(this.$props)},mounted:function(){this.updateSpinning()},updated:function(){var t=this;Se(function(){t.debouncifyUpdateSpinning(),t.updateSpinning()})},beforeUnmount:function(){this.cancelExistingSpin()},methods:{debouncifyUpdateSpinning:function(t){var n=t||this.$props,i=n.delay;i&&(this.cancelExistingSpin(),this.updateSpinning=fe(this.originalUpdateSpinning,i))},updateSpinning:function(){var t=this.spinning,n=this.sSpinning;n!==t&&(this.sSpinning=t)},cancelExistingSpin:function(){var t=this.updateSpinning;t&&t.cancel&&t.cancel()},renderIndicator:function(t){var n="".concat(t,"-dot"),i=Nt(this,"indicator");return i===null?null:(Array.isArray(i)&&(i=i.length===1?i[0]:i),Te(i)?De(i,{class:n}):te&&Te(te())?De(te(),{class:n}):a("span",{class:"".concat(n," ").concat(t,"-dot-spin")},[a("i",{class:"".concat(t,"-dot-item")},null),a("i",{class:"".concat(t,"-dot-item")},null),a("i",{class:"".concat(t,"-dot-item")},null),a("i",{class:"".concat(t,"-dot-item")},null)]))}},render:function(){var t,n,i,r=this.$props,s=r.size,v=r.prefixCls,u=r.tip,p=u===void 0?(t=(n=this.$slots).tip)===null||t===void 0?void 0:t.call(n):u,o=r.wrapperClassName,y=this.$attrs,w=y.class,$=y.style,c=it(y,dn),z=this.configProvider,h=z.getPrefixCls,l=z.direction,f=h("spin",v),d=this.sSpinning,A=(i={},j(i,f,!0),j(i,"".concat(f,"-sm"),s==="small"),j(i,"".concat(f,"-lg"),s==="large"),j(i,"".concat(f,"-spinning"),d),j(i,"".concat(f,"-show-text"),!!p),j(i,"".concat(f,"-rtl"),l==="rtl"),j(i,w,!!w),i),m=a("div",F(F({},c),{},{style:$,class:A}),[this.renderIndicator(f),p?a("div",{class:"".concat(f,"-text")},[p]):null]),I=xt(this);if(I&&I.length){var C,N=(C={},j(C,"".concat(f,"-container"),!0),j(C,"".concat(f,"-blur"),d),C);return a("div",{class:["".concat(f,"-nested-loading"),o]},[d&&a("div",{key:"loading"},[m]),a("div",{class:N,key:"container"},[I])])}return m}});var mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const pn=mn;function Fe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){vn(e,r,n[r])})}return e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=function(t,n){var i=Fe({},t,n.attrs);return a(U,Fe({},i,{icon:pn}),null)};we.displayName="StarFilled";we.inheritAttrs=!1;const mt=we;var hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const gn=hn;function Ve(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){yn(e,r,n[r])})}return e}function yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=function(t,n){var i=Ve({},t,n.attrs);return a(U,Ve({},i,{icon:gn}),null)};Oe.displayName="FileOutlined";Oe.inheritAttrs=!1;const Ue=Oe;var bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const An=bn;function Re(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Sn(e,r,n[r])})}return e}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(t,n){var i=Re({},t,n.attrs);return a(U,Re({},i,{icon:An}),null)};Ce.displayName="FolderOpenOutlined";Ce.inheritAttrs=!1;const He=Ce,En="data:image/png;base64,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";var wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"};const On=wn;function Je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Cn(e,r,n[r])})}return e}function Cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _e=function(t,n){var i=Je({},t,n.attrs);return a(U,Je({},i,{icon:On}),null)};_e.displayName="ArrowsAltOutlined";_e.inheritAttrs=!1;const _n=_e;var $n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"};const In=$n;function Ye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){zn(e,r,n[r])})}return e}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $e=function(t,n){var i=Ye({},t,n.attrs);return a(U,Ye({},i,{icon:In}),null)};$e.displayName="DragOutlined";$e.inheritAttrs=!1;const Pn=$e;var Ln={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"};const kn=Ln;function Ge(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Bn(e,r,n[r])})}return e}function Bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ie=function(t,n){var i=Ge({},t,n.attrs);return a(U,Ge({},i,{icon:kn}),null)};Ie.displayName="FullscreenExitOutlined";Ie.inheritAttrs=!1;const Qn=Ie;var Mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"};const Nn=Mn;function We(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){xn(e,r,n[r])})}return e}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(t,n){var i=We({},t,n.attrs);return a(U,We({},i,{icon:Nn}),null)};ze.displayName="FullscreenOutlined";ze.inheritAttrs=!1;const Tn=ze;var Dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"left-circle",theme:"outlined"};const jn=Dn;function Ke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Fn(e,r,n[r])})}return e}function Fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe=function(t,n){var i=Ke({},t,n.attrs);return a(U,Ke({},i,{icon:jn}),null)};Pe.displayName="LeftCircleOutlined";Pe.inheritAttrs=!1;const Yi=Pe;var Vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"right-circle",theme:"outlined"};const Un=Vn;function Xe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Rn(e,r,n[r])})}return e}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=function(t,n){var i=Xe({},t,n.attrs);return a(U,Xe({},i,{icon:Un}),null)};Le.displayName="RightCircleOutlined";Le.inheritAttrs=!1;const Gi=Le;var Hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};const Jn=Hn;function qe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Yn(e,r,n[r])})}return e}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke=function(t,n){var i=qe({},t,n.attrs);return a(U,qe({},i,{icon:Jn}),null)};ke.displayName="StarOutlined";ke.inheritAttrs=!1;const pt=ke;function Gn(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let ne;function pe(){pe.init||(pe.init=!0,ne=Gn()!==-1)}var ae={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){pe(),Se(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ne&&this.$el.appendChild(e),e.data="about:blank",ne||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ne&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Wn=jt();Tt("data-v-b329ee4c");const Kn={class:"resize-observer",tabindex:"-1"};Dt();const Xn=Wn((e,t,n,i,r,s)=>(E(),M("div",Kn)));ae.render=Xn;ae.__scopeId="data-v-b329ee4c";ae.__file="src/components/ResizeObserver.vue";function ie(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ie=function(t){return typeof t}:ie=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ie(e)}function qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Zn(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function et(e){return ei(e)||ti(e)||ni(e)||ii()}function ei(e){if(Array.isArray(e))return ve(e)}function ti(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function ni(e,t){if(e){if(typeof e=="string")return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ve(e,t)}}function ve(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ii(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ri(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function li(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,s,v=function(p){for(var o=arguments.length,y=new Array(o>1?o-1:0),w=1;w<o;w++)y[w-1]=arguments[w];if(s=y,!(i&&p===r)){var $=n.leading;typeof $=="function"&&($=$(p,r)),(!i||p!==r)&&$&&e.apply(void 0,[p].concat(et(s))),r=p,clearTimeout(i),i=setTimeout(function(){e.apply(void 0,[p].concat(et(s))),i=0},t)}};return v._clear=function(){clearTimeout(i),i=null},v}function vt(e,t){if(e===t)return!0;if(ie(e)==="object"){for(var n in e)if(!vt(e[n],t[n]))return!1;return!0}return!1}var oi=function(){function e(t,n,i){qn(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,i)}return Zn(e,[{key:"createObserver",value:function(n,i){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=ri(n),this.callback=function(u,p){r.options.callback(u,p),u&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var s=this.options.throttleOptions||{},v=s.leading;this.callback=li(this.callback,this.options.throttle,{leading:function(p){return v==="both"||v==="visible"&&p||v==="hidden"&&!p}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(u){var p=u[0];if(u.length>1){var o=u.find(function(w){return w.isIntersecting});o&&(p=o)}if(r.callback){var y=p.isIntersecting&&p.intersectionRatio>=r.threshold;if(y===r.oldResult)return;r.oldResult=y,r.callback(y,p)}},this.options.intersection),Se(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function ht(e,t,n){var i=t.value;if(i)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new oi(e,i,n);e._vue_visibilityState=r}}function si(e,t,n){var i=t.value,r=t.oldValue;if(!vt(i,r)){var s=e._vue_visibilityState;if(!i){gt(e);return}s?s.createObserver(i,n):ht(e,{value:i},n)}}function gt(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var ai={beforeMount:ht,updated:si,unmounted:gt},ui={itemsLimit:1e3},di=/(auto|scroll)/;function yt(e,t){return e.parentNode===null?t:yt(e.parentNode,t.concat([e]))}var de=function(t,n){return getComputedStyle(t,null).getPropertyValue(n)},ci=function(t){return de(t,"overflow")+de(t,"overflow-y")+de(t,"overflow-x")},fi=function(t){return di.test(ci(t))};function tt(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=yt(e.parentNode,[]),n=0;n<t.length;n+=1)if(fi(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function he(e){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},he(e)}var mi={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function pi(){return this.items.length&&he(this.items[0])!=="object"}var ge=!1;if(typeof window<"u"){ge=!1;try{var vi=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",null,vi)}catch{}}let hi=0;var bt={name:"RecycleScroller",components:{ResizeObserver:ae},directives:{ObserveVisibility:ai},props:{...mi,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,i=this.minItemSize;let r=1e4,s=0,v;for(let u=0,p=t.length;u<p;u++)v=t[u][n]||i,v<r&&(r=v),s+=v,e[u]={accumulator:s,size:v};return this.$_computedMinItemSize=r,e}return[]},simpleArray:pi,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let i=0,r=t.length;i<r;i++)n[t[i][e]]=i;return n}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,i,r){const s=Ft({id:hi++,index:t,used:!0,key:i,type:r}),v=Vt({item:n,position:0,nr:s});return e.push(v),v},unuseView(e,t=!1){const n=this.$_unusedViews,i=e.nr.type;let r=n.get(i);r||(r=[],n.set(i,r)),r.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,i=this.gridItems||1,r=this.itemSecondarySize||n,s=this.$_computedMinItemSize,v=this.typeField,u=this.simpleArray?null:this.keyField,p=this.items,o=p.length,y=this.sizes,w=this.$_views,$=this.$_unusedViews,c=this.pool,z=this.itemIndexByKey;let h,l,f,d,A;if(!o)h=l=d=A=f=0;else if(this.$_prerender)h=d=0,l=A=Math.min(this.prerender,p.length),f=null;else{const b=this.getScroll();if(t){let Q=b.start-this.$_lastUpdateScrollPosition;if(Q<0&&(Q=-Q),n===null&&Q<s||Q<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=b.start;const B=this.buffer;b.start-=B,b.end+=B;let P=0;if(this.$refs.before&&(P=this.$refs.before.scrollHeight,b.start-=P),this.$refs.after){const Q=this.$refs.after.scrollHeight;b.end+=Q}if(n===null){let Q,R=0,X=o-1,T=~~(o/2),q;do q=T,Q=y[T].accumulator,Q<b.start?R=T:T<o-1&&y[T+1].accumulator>b.start&&(X=T),T=~~((R+X)/2);while(T!==q);for(T<0&&(T=0),h=T,f=y[o-1].accumulator,l=T;l<o&&y[l].accumulator<b.end;l++);for(l===-1?l=p.length-1:(l++,l>o&&(l=o)),d=h;d<o&&P+y[d].accumulator<b.start;d++);for(A=d;A<o&&P+y[A].accumulator<b.end;A++);}else{h=~~(b.start/n*i);const Q=h%i;h-=Q,l=Math.ceil(b.end/n*i),d=Math.max(0,Math.floor((b.start-P)/n*i)),A=Math.floor((b.end-P)/n*i),h<0&&(h=0),l>o&&(l=o),d<0&&(d=0),A>o&&(A=o),f=Math.ceil(o/i)*n}}l-h>ui.itemsLimit&&this.itemsLimitError(),this.totalSize=f;let m;const I=h<=this.$_endIndex&&l>=this.$_startIndex;if(I)for(let b=0,B=c.length;b<B;b++)m=c[b],m.nr.used&&(e&&(m.nr.index=z[m.item[u]]),(m.nr.index==null||m.nr.index<h||m.nr.index>=l)&&this.unuseView(m));const C=I?null:new Map;let N,k,D;for(let b=h;b<l;b++){N=p[b];const B=u?N[u]:N;if(B==null)throw new Error(`Key is ${B} on item (keyField is '${u}')`);if(m=w.get(B),!n&&!y[b].size){m&&this.unuseView(m);continue}k=N[v];let P=$.get(k),Q=!1;if(!m)I?P&&P.length?m=P.pop():m=this.addView(c,b,N,B,k):(D=C.get(k)||0,(!P||D>=P.length)&&(m=this.addView(c,b,N,B,k),this.unuseView(m,!0),P=$.get(k)),m=P[D],C.set(k,D+1)),w.delete(m.nr.key),m.nr.used=!0,m.nr.index=b,m.nr.key=B,m.nr.type=k,w.set(B,m),Q=!0;else if(!m.nr.used&&(m.nr.used=!0,m.nr.index=b,Q=!0,P)){const R=P.indexOf(m);R!==-1&&P.splice(R,1)}m.item=N,Q&&(b===p.length-1&&this.$emit("scroll-end"),b===0&&this.$emit("scroll-start")),n===null?(m.position=y[b-1].accumulator,m.offset=0):(m.position=Math.floor(b/i)*n,m.offset=b%i*r)}return this.$_startIndex=h,this.$_endIndex=l,this.emitUpdate&&this.$emit("update",h,l,d,A),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:I}},getListenerTarget(){let e=tt(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let i;if(this.pageMode){const r=e.getBoundingClientRect(),s=n?r.height:r.width;let v=-(n?r.top:r.left),u=n?window.innerHeight:window.innerWidth;v<0&&(u+=v,v=0),v+u>s&&(u=s-v),i={start:v,end:v+u}}else n?i={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:i={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,ge?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,r;if(this.pageMode){const s=tt(this.$el),v=s.tagName==="HTML"?0:s[t.scroll],u=s.getBoundingClientRect(),o=this.$el.getBoundingClientRect()[t.start]-u[t.start];n=s,i=t.scroll,r=e+v+o}else n=this.$el,i=t.scroll,r=e;n[i]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const gi={key:0,ref:"before",class:"vue-recycle-scroller__slot"},yi={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function bi(e,t,n,i,r,s){const v=Ut("ResizeObserver"),u=Rt("observe-visibility");return Ht((E(),L("div",{class:K(["vue-recycle-scroller",{ready:r.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...p)=>s.handleScroll&&s.handleScroll(...p))},[e.$slots.before?(E(),L("div",gi,[Z(e.$slots,"before")],512)):V("v-if",!0),(E(),M(je(n.listTag),{ref:"wrapper",style:Gt({[e.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:K(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:g(()=>[(E(!0),L(H,null,oe(r.pool,p=>(E(),M(je(n.itemTag),Jt({key:p.nr.id,style:r.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${p.position}px) translate${e.direction==="vertical"?"X":"Y"}(${p.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&r.hoverKey===p.nr.key}]]},Yt(n.skipHover?{}:{mouseenter:()=>{r.hoverKey=p.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:g(()=>[Z(e.$slots,"default",{item:p.item,index:p.nr.index,active:p.nr.used})]),_:2},1040,["style","class"]))),128)),Z(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(E(),L("div",yi,[Z(e.$slots,"after")],512)):V("v-if",!0),a(v,{onNotify:s.handleResize},null,8,["onNotify"])],34)),[[u,s.handleVisibilityChange]])}bt.render=bi;bt.__file="src/components/RecycleScroller.vue";const ye=W({__name:"ContextMenu",props:{file:{},idx:{},selectedTag:{},disableDelete:{type:Boolean}},emits:["contextMenuClick"],setup(e,{emit:t}){const n=e,i=Ee(),r=G(()=>{var s;return(((s=i.conf)==null?void 0:s.all_custom_tags)??[]).reduce((v,u)=>[...v,{...u,selected:!!n.selectedTag.find(p=>p.id===u.id)}],[])});return(s,v)=>{const u=lt,p=Wt,o=Kt,y=ot;return E(),M(y,{onClick:v[0]||(v[0]=w=>t("contextMenuClick",w,s.file,s.idx))},{default:g(()=>[a(u,{key:"deleteFiles",disabled:s.disableDelete},{default:g(()=>[_(S(s.$t("deleteSelected")),1)]),_:1},8,["disabled"]),s.file.type==="dir"?(E(),L(H,{key:0},[a(u,{key:"openInNewTab"},{default:g(()=>[_(S(s.$t("openInNewTab")),1)]),_:1}),a(u,{key:"openOnTheRight"},{default:g(()=>[_(S(s.$t("openOnTheRight")),1)]),_:1}),a(u,{key:"openWithWalkMode"},{default:g(()=>[_(S(s.$t("openWithWalkMode")),1)]),_:1})],64)):V("",!0),s.file.type==="file"?(E(),L(H,{key:1},[O(rt)(s.file.name)?(E(),L(H,{key:0},[a(u,{key:"viewGenInfo"},{default:g(()=>[_(S(s.$t("viewGenerationInfo")),1)]),_:1}),a(p),a(u,{key:"send2txt2img"},{default:g(()=>[_(S(s.$t("sendToTxt2img")),1)]),_:1}),a(u,{key:"send2img2img"},{default:g(()=>[_(S(s.$t("sendToImg2img")),1)]),_:1}),a(u,{key:"send2inpaint"},{default:g(()=>[_(S(s.$t("sendToInpaint")),1)]),_:1}),a(u,{key:"send2extras"},{default:g(()=>[_(S(s.$t("sendToExtraFeatures")),1)]),_:1}),a(o,{key:"send2controlnet",title:s.$t("sendToControlNet")},{default:g(()=>[a(u,{key:"send2controlnet-txt2img"},{default:g(()=>[_(S(s.$t("t2i")),1)]),_:1}),a(u,{key:"send2controlnet-img2img"},{default:g(()=>[_(S(s.$t("i2i")),1)]),_:1})]),_:1},8,["title"]),a(u,{key:"send2savedDir"},{default:g(()=>[_(S(s.$t("send2savedDir")),1)]),_:1}),a(p),a(o,{key:"toggle-tag",title:s.$t("toggleTag")},{default:g(()=>[(E(!0),L(H,null,oe(r.value,w=>(E(),M(u,{key:`toggle-tag-${w.id}`},{default:g(()=>[_(S(w.name)+" ",1),w.selected?(E(),M(O(mt),{key:0})):(E(),M(O(pt),{key:1}))]),_:2},1024))),128))]),_:1},8,["title"]),a(u,{key:"openWithLocalFileBrowser"},{default:g(()=>[_(S(s.$t("openWithLocalFileBrowser")),1)]),_:1})],64)):V("",!0),a(u,{key:"previewInNewWindow"},{default:g(()=>[_(S(s.$t("previewInNewWindow")),1)]),_:1}),a(u,{key:"download"},{default:g(()=>[_(S(s.$t("download")),1)]),_:1}),a(u,{key:"copyPreviewUrl"},{default:g(()=>[_(S(s.$t("copySourceFilePreviewLink")),1)]),_:1})],64)):V("",!0)]),_:1})}}}),Ai=["data-idx"],Si={key:0},Ei={class:"more"},wi={key:1,class:"preview-icon-wrap"},Oi={class:"profile"},Ci={class:"name line-clamp-1"},_i={class:"basic-info"},$i={class:"name line-clamp-1"},Ii={class:"basic-info"},zi=W({__name:"FileItem",props:{file:{},idx:{},selected:{type:Boolean,default:!1},showMenuIdx:{},viewMode:{default:"previewGrid"},fullScreenPreviewImageUrl:{}},emits:["update:showMenuIdx","fileItemClick","dragstart","dragend","previewVisibleChange","contextMenuClick"],setup(e,{emit:t}){const n=e,i=Ee(),r=J([]),s=()=>{var o;((o=n==null?void 0:n.file)==null?void 0:o.type)==="file"&&v.pushAction(()=>dt(n.file.fullpath)).res.then(y=>{r.value=y})},v=st(),u=G(()=>n.viewMode==="previewGrid"?[i.gridThumbnailSize,i.gridThumbnailSize].join("x"):[i.largeGridThumbnailSize,i.largeGridThumbnailSize].join("x")),p=G(()=>i.enableThumbnail?Xt(n.file,u.value):me(n.file));return(o,y)=>{const w=Y,$=qt;return E(),M(w,{trigger:["contextmenu"],visible:O(i).longPressOpenContextMenu?typeof o.idx=="number"&&o.showMenuIdx===o.idx:void 0,"onUpdate:visible":y[5]||(y[5]=c=>typeof o.idx=="number"&&t("update:showMenuIdx",c?o.idx:-1))},{overlay:g(()=>[a(ye,{file:o.file,idx:o.idx,"selected-tag":r.value,onContextMenuClick:y[4]||(y[4]=(c,z,h)=>t("contextMenuClick",c,z,h))},null,8,["file","idx","selected-tag"])]),default:g(()=>[(E(),L("li",{class:K(["file file-item-trigger",{clickable:o.file.type==="dir",selected:o.selected,grid:o.viewMode==="previewGrid"||o.viewMode==="largePreviewGrid","large-grid":o.viewMode==="largePreviewGrid"}]),"data-idx":o.idx,key:o.file.name,draggable:"true",onDragstart:y[1]||(y[1]=c=>t("dragstart",c,o.idx)),onDragend:y[2]||(y[2]=c=>t("dragend",c,o.idx)),onContextmenu:s,onClickCapture:y[3]||(y[3]=c=>t("fileItemClick",c,o.file,o.idx))},[o.viewMode!=="detailList"?(E(),L("div",Si,[a(w,null,{overlay:g(()=>[a(ye,{file:o.file,idx:o.idx,"selected-tag":r.value,onContextMenuClick:y[0]||(y[0]=(c,z,h)=>t("contextMenuClick",c,z,h))},null,8,["file","idx","selected-tag"])]),default:g(()=>[x("div",Ei,[a(O(Ae))])]),_:1}),O(rt)(o.file.name)?(E(),M($,{key:o.file.fullpath,class:K(`idx-${o.idx}`),src:p.value,fallback:O(En),preview:{src:o.fullScreenPreviewImageUrl,onVisibleChange:(c,z)=>t("previewVisibleChange",c,z)}},null,8,["class","src","fallback","preview"])):(E(),L("div",wi,[o.file.type==="file"?(E(),M(O(Ue),{key:0,class:"icon center"})):(E(),M(O(He),{key:1,class:"icon center"}))])),x("div",Oi,[x("div",Ci,S(o.file.name),1),x("div",_i,[x("div",null,S(o.file.size),1),x("div",null,S(o.file.date),1)])])])):(E(),L(H,{key:1},[o.file.type==="file"?(E(),M(O(Ue),{key:0,class:"icon"})):(E(),M(O(He),{key:1,class:"icon"})),x("div",$i,S(o.file.name),1),x("div",Ii,[x("div",null,S(o.file.size),1),x("div",null,S(o.file.date),1)])],64))],42,Ai))]),_:1},8,["visible"])}}});const Wi=at(zi,[["__scopeId","data-v-427cf11d"]]);function Pi(e,t,n,i){const r={x:0,y:0};let s=0,v=0,u=typeof(i==null?void 0:i.width)=="number"?i.width:0,p=typeof(i==null?void 0:i.height)=="number"?i.height:0,o=typeof(i==null?void 0:i.left)=="number"?i.left:0,y=typeof(i==null?void 0:i.top)=="number"?i.top:0,w=!1;const $=d=>{d.stopPropagation(),d.preventDefault(),!(!e.value||!t.value)&&(s=d instanceof MouseEvent?d.clientX:d.touches[0].clientX,v=d instanceof MouseEvent?d.clientY:d.touches[0].clientY,u=e.value.offsetWidth,p=e.value.offsetHeight,r.x=t.value.offsetLeft,r.y=t.value.offsetTop,document.documentElement.addEventListener("mousemove",c),document.documentElement.addEventListener("touchmove",c),document.documentElement.addEventListener("mouseup",z),document.documentElement.addEventListener("touchend",z))},c=d=>{if(!e.value||!t.value)return;const A=u+((d instanceof MouseEvent?d.clientX:d.touches[0].clientX)-s),m=p+((d instanceof MouseEvent?d.clientY:d.touches[0].clientY)-v),I=r.x+((d instanceof MouseEvent?d.clientX:d.touches[0].clientX)-s),C=r.y+((d instanceof MouseEvent?d.clientY:d.touches[0].clientY)-v);e.value.style.width=`${A}px`,e.value.style.height=`${m}px`,t.value.style.left=`${I}px`,t.value.style.top=`${C}px`,i!=null&&i.onResize&&i.onResize(A,m)},z=()=>{document.documentElement.removeEventListener("mousemove",c),document.documentElement.removeEventListener("touchmove",c),document.documentElement.removeEventListener("mouseup",z),document.documentElement.removeEventListener("touchend",z)},h=d=>{d.stopPropagation(),d.preventDefault(),!(!e.value||!n.value)&&(w=!0,o=e.value.offsetLeft,y=e.value.offsetTop,s=d instanceof MouseEvent?d.clientX:d.touches[0].clientX,v=d instanceof MouseEvent?d.clientY:d.touches[0].clientY,document.documentElement.addEventListener("mousemove",l),document.documentElement.addEventListener("touchmove",l),document.documentElement.addEventListener("mouseup",f),document.documentElement.addEventListener("touchend",f))},l=d=>{if(!e.value||!n.value||!w)return;const A=o+((d instanceof MouseEvent?d.clientX:d.touches[0].clientX)-s),m=y+((d instanceof MouseEvent?d.clientY:d.touches[0].clientY)-v);e.value.style.left=`${A}px`,e.value.style.top=`${m}px`,i!=null&&i.onDrag&&i.onDrag(A,m)},f=()=>{w=!1,document.documentElement.removeEventListener("mousemove",l),document.documentElement.removeEventListener("touchmove",l),document.documentElement.removeEventListener("mouseup",f),document.documentElement.removeEventListener("touchend",f)};return Zt(()=>{!e.value||!i||(typeof i.width=="number"&&(e.value.style.width=`${i.width}px`),typeof i.height=="number"&&(e.value.style.height=`${i.height}px`),typeof i.left=="number"&&(e.value.style.left=`${i.left}px`),typeof i.top=="number"&&(e.value.style.top=`${i.top}px`))}),en(()=>{document.documentElement.removeEventListener("mousemove",c),document.documentElement.removeEventListener("touchmove",c),document.documentElement.removeEventListener("mouseup",z),document.documentElement.removeEventListener("touchend",z),document.documentElement.removeEventListener("mousemove",l),document.documentElement.removeEventListener("touchmove",l),document.documentElement.removeEventListener("mouseup",f),document.documentElement.removeEventListener("touchend",f)}),ut(()=>[e.value,t.value,n.value],([d,A,m])=>{d&&A&&(A.addEventListener("mousedown",$),A.addEventListener("touchstart",$)),d&&m&&(m.addEventListener("mousedown",h),m.addEventListener("touchstart",h))}),{handleResizeMouseDown:$,handleDragMouseDown:h}}const Li={class:"container"},ki={class:"action-bar"},Bi={key:0,class:"icon",style:{cursor:"pointer"}},Qi={key:0,"flex-placeholder":""},Mi={key:1,class:"action-bar"},Ni={key:0,class:"gen-info"},xi={class:"tags"},Ti={class:"name"},Di={class:"value"},ji=W({__name:"fullScreenContextMenu",props:{file:{},idx:{}},emits:["contextMenuClick"],setup(e,{emit:t}){const n=e,i=Ee(),r=J(),s=J([]),v=G(()=>{var l;return(((l=i.conf)==null?void 0:l.all_custom_tags)??[]).reduce((f,d)=>[...f,{...d,selected:!!s.value.find(A=>A.id===d.id)}],[])}),u=J(""),p=st(),o=J("");ut(()=>{var l;return(l=n==null?void 0:n.file)==null?void 0:l.fullpath},async l=>{l&&(p.tasks.forEach(f=>f.cancel()),p.pushAction(()=>tn(l)).res.then(f=>{o.value=f}))},{immediate:!0});const y=l=>{l&&p.pushAction(()=>dt(n.file.fullpath)).res.then(f=>{s.value=f})},w=J(),$=J(),c=nn("fullScreenContextMenu.vue-drag",{left:100,top:100,width:512,height:384,expanded:!0});Pi(r,w,$,{...c.value,onDrag:fe(function(l,f){c.value={...c.value,left:l,top:f}},300),onResize:fe(function(l,f){c.value={...c.value,width:l,height:f}},300)});function z(l){return l.parentNode}on("load",l=>{const f=l.target;f.className==="ant-image-preview-img"&&(u.value=`${f.width} x ${f.height}`)},{capture:!0});const h=G(()=>{const l=[{name:ee("fileName"),val:n.file.name},{name:ee("fileSize"),val:n.file.size}];return u.value&&l.push({name:ee("resolution"),val:u.value}),l});return(l,f)=>{const d=Y,A=le,m=lt,I=ot;return E(),L("div",{ref_key:"el",ref:r,class:K(["full-screen-menu",{"unset-size":!O(c).expanded}]),onWheelCapture:f[5]||(f[5]=ln(()=>{},["stop"]))},[x("div",Li,[x("div",ki,[x("div",{ref_key:"dragHandle",ref:$,class:"icon",style:{cursor:"grab"}},[a(O(Pn))],512),x("div",{class:"icon",style:{cursor:"pointer"},onClick:f[0]||(f[0]=C=>O(c).expanded=!O(c).expanded)},[O(c).expanded?(E(),M(O(Qn),{key:0})):(E(),M(O(Tn),{key:1}))]),a(d,{onVisibleChange:y,"get-popup-container":z},{overlay:g(()=>[a(ye,{file:l.file,idx:l.idx,"selected-tag":s.value,"disable-delete":O(me)(l.file)===O(i).fullscreenPreviewInitialUrl,onContextMenuClick:f[1]||(f[1]=(C,N,k)=>t("contextMenuClick",C,N,k))},null,8,["file","idx","selected-tag","disable-delete"])]),default:g(()=>[O(c).expanded?V("",!0):(E(),L("div",Bi,[a(O(Ae))]))]),_:1}),O(c).expanded?(E(),L("div",Qi)):V("",!0),O(c).expanded?(E(),L("div",Mi,[a(d,{trigger:["hover"],"get-popup-container":z,onVisibleChange:y},{overlay:g(()=>[a(I,{onClick:f[2]||(f[2]=C=>t("contextMenuClick",C,l.file,l.idx))},{default:g(()=>[(E(!0),L(H,null,oe(v.value,C=>(E(),M(m,{key:`toggle-tag-${C.id}`},{default:g(()=>[_(S(C.name)+" ",1),C.selected?(E(),M(O(mt),{key:0})):(E(),M(O(pt),{key:1}))]),_:2},1024))),128))]),_:1})]),default:g(()=>[a(A,null,{default:g(()=>[_(S(l.$t("toggleTag")),1)]),_:1})]),_:1}),a(d,{trigger:["hover"],"get-popup-container":z},{overlay:g(()=>[a(I,{onClick:f[3]||(f[3]=C=>t("contextMenuClick",C,l.file,l.idx))},{default:g(()=>[a(m,{key:"send2txt2img"},{default:g(()=>[_(S(l.$t("sendToTxt2img")),1)]),_:1}),a(m,{key:"send2img2img"},{default:g(()=>[_(S(l.$t("sendToImg2img")),1)]),_:1}),a(m,{key:"send2inpaint"},{default:g(()=>[_(S(l.$t("sendToInpaint")),1)]),_:1}),a(m,{key:"send2extras"},{default:g(()=>[_(S(l.$t("sendToExtraFeatures")),1)]),_:1}),a(m,{key:"send2savedDir"},{default:g(()=>[_(S(l.$t("send2savedDir")),1)]),_:1}),a(m,{key:"deleteFiles",disabled:O(me)(l.file)===O(i).fullscreenPreviewInitialUrl},{default:g(()=>[_(S(l.$t("deleteSelected")),1)]),_:1},8,["disabled"]),a(m,{key:"previewInNewWindow"},{default:g(()=>[_(S(l.$t("previewInNewWindow")),1)]),_:1}),a(m,{key:"download"},{default:g(()=>[_(S(l.$t("download")),1)]),_:1}),a(m,{key:"copyPreviewUrl"},{default:g(()=>[_(S(l.$t("copySourceFilePreviewLink")),1)]),_:1})]),_:1})]),default:g(()=>[a(A,null,{default:g(()=>[_(S(O(ee)("openContextMenu")),1)]),_:1})]),_:1}),a(A,{onClick:f[4]||(f[4]=C=>O(rn)(o.value))},{default:g(()=>[_(S(l.$t("copyPrompt")),1)]),_:1})])):V("",!0)]),O(c).expanded?(E(),L("div",Ni,[x("div",xi,[(E(!0),L(H,null,oe(h.value,C=>(E(),L("span",{class:"tag",key:C.name},[x("span",Ti,S(C.name),1),x("span",Di,S(C.val),1)]))),128))]),_(" "+S(o.value),1)])):V("",!0)]),O(c).expanded?(E(),L("div",{key:0,class:"mouse-sensor",ref_key:"resizeHandle",ref:w},[a(O(_n))],512)):V("",!0)],34)}}});const Ki=at(ji,[["__scopeId","data-v-ee54ea6b"]]);export{Y as D,Yi as L,Gi as R,Ji as S,bt as a,Ki as b,Wi as f,Hi as s};